{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.cloudtrail#AddTags": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#AddTagsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#AddTagsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#CloudTrailARNInvalidException" }, { "target": "com.amazonaws.cloudtrail#InvalidTagParameterException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#ResourceNotFoundException" }, { "target": "com.amazonaws.cloudtrail#ResourceTypeNotSupportedException" }, { "target": "com.amazonaws.cloudtrail#TagsLimitExceededException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "
Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. \n Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. \n If you specify a key without a value, the tag will be created with the specified key and a value of null. \n You can tag a trail that applies to all AWS Regions only from the Region in which the trail was created (also known as its home region).
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#AddTagsRequest": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Contains a list of CloudTrail tags, up to a limit of 50
" } } }, "traits": { "smithy.api#documentation": "Specifies the tags to add to a trail.
" } }, "com.amazonaws.cloudtrail#AddTagsResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#AdvancedEventSelector": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#SelectorName", "traits": { "smithy.api#documentation": "An optional, descriptive name for an advanced event selector, such as \"Log data events\n for only two S3 buckets\".
" } }, "FieldSelectors": { "target": "com.amazonaws.cloudtrail#AdvancedFieldSelectors", "traits": { "smithy.api#documentation": "Contains all selector statements in an advanced event selector.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Advanced event selectors let you create fine-grained selectors for the following AWS\n CloudTrail event record fields. They help you control costs by logging only those events\n that are important to you. For more information about advanced event selectors, see Logging data events for trails in the AWS\n CloudTrail User Guide.
\n\n readOnly
\n
\n eventSource
\n
\n eventName
\n
\n eventCategory
\n
\n resources.type
\n
\n resources.ARN
\n
You cannot apply both event selectors and advanced event selectors to a trail.
" } }, "com.amazonaws.cloudtrail#AdvancedEventSelectors": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#AdvancedEventSelector" } }, "com.amazonaws.cloudtrail#AdvancedFieldSelector": { "type": "structure", "members": { "Field": { "target": "com.amazonaws.cloudtrail#SelectorField", "traits": { "smithy.api#documentation": "\n A field in an event record on which to filter events to be logged. Supported fields include readOnly
, eventCategory
, \n eventSource
(for management events), eventName
, resources.type
, and resources.ARN
.\n
\n \n readOnly
\n - Optional. Can be set to Equals
a value of true
\n or false
. A value of false
logs both read
and\n write
events.
\n \n eventSource
\n - For filtering management events only. \n This can be set only to NotEquals
\n kms.amazonaws.com
.
\n \n eventName
\n - Can use any operator. You can use it to filter in\n or filter out any data event logged to CloudTrail, such as PutBucket
. You can have multiple values\n for this field, separated by commas.
\n \n eventCategory
\n - This is required. It must be set to Equals
, and \n the value must be Management
or Data
.
\n \n resources.type
\n - This field is required. resources.type
\n can only use the Equals
operator, and the value can be one of the following: AWS::S3::Object
, \n AWS::Lambda::Function
, or AWS::S3Outposts::Object
. You can have only one resources.type
field per selector. To log \n data events on more than one resource type, add another selector.
\n \n resources.ARN
\n - You can use any operator with resources.ARN, but\n if you use Equals
or NotEquals
, the value must exactly match the ARN of a valid resource \n of the type you've specified in the template as the value of resources.type. For example, if resources.type equals \n AWS::S3::Object
, the ARN must be in one of the following formats. The trailing slash is intentional; do not exclude it.
\n arn:partition:s3:::bucket_name/
\n
\n arn:partition:s3:::bucket_name/object_or_file_name/
\n
When resources.type equals AWS::Lambda::Function
, and the operator is set\n to Equals
or NotEquals
, the ARN must be in the following format:
\n arn:partition:lambda:region:account_ID:function:function_name
\n
When resources.type
equals AWS::S3Outposts::Object
, and the operator \n is set to Equals
or NotEquals
, the ARN must be in the following format:
\n arn:partition:s3-outposts:region:>account_ID:object_path
\n
\n An operator that includes events that match the exact value of the event record field specified as the value of Field
. This is the only valid operator \n that you can use with the readOnly
, eventCategory
, and resources.type
fields.\n
\n An operator that includes events that match the first few characters of the event record field specified as the value of Field
.\n
\n An operator that includes events that match the last few characters of the event record field specified as the value of Field
.\n
\n An operator that excludes events that match the exact value of the event record field specified as the value of Field
.\n
\n An operator that excludes events that match the first few characters of the event record field specified as the value of Field
.\n
\n An operator that excludes events that match the last few characters of the event record field specified as the value of Field
.\n
A single selector statement in an advanced event selector.
" } }, "com.amazonaws.cloudtrail#AdvancedFieldSelectors": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#AdvancedFieldSelector" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.cloudtrail#Boolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.cloudtrail#ByteBuffer": { "type": "blob" }, "com.amazonaws.cloudtrail#CloudTrailARNInvalidException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when an operation is called with an invalid trail ARN. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when trusted access has not been enabled between AWS CloudTrail and AWS Organizations. For more information, \n see Enabling Trusted Access with Other AWS Services\n and Prepare For Creating a Trail For Your Organization.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#CloudTrailInvalidClientTokenIdException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when a call results in the InvalidClientTokenId
error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that \n is in a suspended AWS account.
This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.
\nCloudTrail is a web service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. The recorded information includes the identity of the user, the start time of the AWS API call, the source IP address, the request parameters, and the response elements returned by the service.
\n \nAs an alternative to the API,\n you can use one of the AWS SDKs, which consist of libraries and sample code for various\n programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs\n provide a convenient way to create programmatic access to AWSCloudTrail. For example, the SDKs\n take care of cryptographically signing requests, managing errors, and retrying requests\n automatically. For information about the AWS SDKs, including how to download and install\n them, see the Tools for Amazon Web Services\n page.
\nSee the AWS CloudTrail User Guide for information about the data that is included with each AWS API call listed in the log files.
", "smithy.api#title": "AWS CloudTrail", "smithy.api#xmlNamespace": { "uri": "http://cloudtrail.amazonaws.com/doc/2013-11-01/" } } }, "com.amazonaws.cloudtrail#CloudWatchLogsDeliveryUnavailableException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Cannot set a CloudWatch Logs delivery for this region.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#ConflictException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified resource is not ready for an operation. \n This can occur when you try to run an operation on a trail before CloudTrail has time to fully load the trail. \n If this exception occurs, wait a few minutes, and then try the operation again.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.cloudtrail#CreateTrail": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#CreateTrailRequest" }, "output": { "target": "com.amazonaws.cloudtrail#CreateTrailResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException" }, { "target": "com.amazonaws.cloudtrail#CloudTrailInvalidClientTokenIdException" }, { "target": "com.amazonaws.cloudtrail#CloudWatchLogsDeliveryUnavailableException" }, { "target": "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException" }, { "target": "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException" }, { "target": "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException" }, { "target": "com.amazonaws.cloudtrail#InsufficientSnsTopicPolicyException" }, { "target": "com.amazonaws.cloudtrail#InvalidCloudWatchLogsLogGroupArnException" }, { "target": "com.amazonaws.cloudtrail#InvalidCloudWatchLogsRoleArnException" }, { "target": "com.amazonaws.cloudtrail#InvalidKmsKeyIdException" }, { "target": "com.amazonaws.cloudtrail#InvalidParameterCombinationException" }, { "target": "com.amazonaws.cloudtrail#InvalidS3BucketNameException" }, { "target": "com.amazonaws.cloudtrail#InvalidS3PrefixException" }, { "target": "com.amazonaws.cloudtrail#InvalidSnsTopicNameException" }, { "target": "com.amazonaws.cloudtrail#InvalidTagParameterException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#KmsException" }, { "target": "com.amazonaws.cloudtrail#KmsKeyDisabledException" }, { "target": "com.amazonaws.cloudtrail#KmsKeyNotFoundException" }, { "target": "com.amazonaws.cloudtrail#MaximumNumberOfTrailsExceededException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException" }, { "target": "com.amazonaws.cloudtrail#OrganizationsNotInUseException" }, { "target": "com.amazonaws.cloudtrail#S3BucketDoesNotExistException" }, { "target": "com.amazonaws.cloudtrail#TrailAlreadyExistsException" }, { "target": "com.amazonaws.cloudtrail#TrailNotProvidedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#CreateTrailRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the trail. The name must meet the following requirements:
\nContain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are invalid.
Not be in IP address format (for example, 192.168.5.4)
\nSpecifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
", "smithy.api#required": {} } }, "S3KeyPrefix": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated\n for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
" } }, "SnsTopicName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
" } }, "IncludeGlobalServiceEvents": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail is publishing events from global services such as IAM to the log files.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail is created in the current region or in all regions. The default is false, which creates a trail only in the region where you are signed in. As a best practice, consider\n creating trails that log events in all regions.
" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether log file integrity validation is enabled. The default is false.
\nWhen you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail.
\nSpecifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group \n to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
" } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
" } }, "KmsKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The\n value can be an alias name prefixed by \"alias/\", a fully specified ARN to an alias, a fully\n specified ARN to a key, or a globally unique identifier.
\nExamples:
\nalias/MyAliasName
\narn:aws:kms:us-east-2:123456789012:alias/MyAliasName
\narn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
\n12345678-1234-1234-1234-123456789012
\nSpecifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. \n The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in \n AWS Organizations.
" } }, "TagsList": { "target": "com.amazonaws.cloudtrail#TagsList" } }, "traits": { "smithy.api#documentation": "Specifies the settings for each trail.
" } }, "com.amazonaws.cloudtrail#CreateTrailResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the trail.
" } }, "S3BucketName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the Amazon S3 bucket designated for publishing log files.
" } }, "S3KeyPrefix": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated\n for log file delivery. For more information, see Finding Your CloudTrail Log Files.
" } }, "SnsTopicName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "This field is no longer in use. Use SnsTopicARN.
" } }, "SnsTopicARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is:
\n\n arn:aws:sns:us-east-2:123456789012:MyTopic
\n
Specifies whether the trail is publishing events from global services such as IAM to the log files.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail exists in one region or in all regions.
" } }, "TrailARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the trail that was created. The format of a trail ARN\n is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies whether log file integrity validation is enabled.
" } }, "CloudWatchLogsLogGroupArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
" } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
" } }, "KmsKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format:
\n\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
\n
Specifies whether the trail is an organization trail.
" } } }, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#DataResource": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The resource type in which you want to log data events. You can specify AWS::S3::Object
or\n AWS::Lambda::Function
resources.
The AWS::S3Outposts::Object
resource type is not valid in basic event selectors. To log data events on this resource type, \n use advanced event selectors.
An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
\nTo log data events for all objects in all S3 buckets in your AWS account, specify the \n prefix as arn:aws:s3:::
.
This will also enable logging of data event activity performed by any user or role in your AWS account, \n even if that activity is performed on a bucket that belongs to another AWS account.
\nTo log data events for all objects in an S3 bucket, specify the bucket and an empty\n object prefix such as arn:aws:s3:::bucket-1/
. The trail logs data events for\n all objects in this S3 bucket.
To log data events for specific objects, specify the S3 bucket and object prefix such\n as arn:aws:s3:::bucket-1/example-images
. The trail logs data events for\n objects in this S3 bucket that match the prefix.
To log data events for all functions in your AWS account, specify the prefix as\n arn:aws:lambda
.
This will also enable logging of Invoke
activity performed by any user or role in your AWS account, \n even if that activity is performed on a function that belongs to another AWS account.
To log data events for a specific Lambda function, specify the function ARN.
\nLambda function ARNs are exact. For example, if you specify a \n function ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld, data events will\n only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld. They will\n not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2.
\nThe Amazon S3 buckets or AWS Lambda functions that you specify in your event selectors for your trail to\n log data events. Data events provide information about the resource operations performed on or within a resource itself.\n These are also known as data plane operations. You can specify up to 250 data resources for a trail.
\nThe total number of allowed data resources is 250. This number can be distributed between 1 and 5 event selectors, \n but the total cannot exceed 250 across all selectors.
\nIf you are using advanced event selectors, the maximum total number of values for\n all conditions, across all advanced event selectors for the trail, is 500.
\nThe following example demonstrates how logging works when you configure logging of all data events\n for an S3 bucket named bucket-1
. In this example, the CloudTrail user specified an empty prefix, \n and the option to log both Read
and Write
data events.
A user uploads an image file to bucket-1
.
The PutObject
API operation is an Amazon S3 object-level API. \n It is recorded as a data event in CloudTrail. Because the CloudTrail user specified an S3 bucket\n with an empty prefix, events that occur on any object in that bucket are logged. The trail processes and logs the\n event.
A user uploads an object to an Amazon S3 bucket named\n arn:aws:s3:::bucket-2
.
The PutObject
API operation occurred for an object in an S3 bucket that the CloudTrail\n user didn't specify for the trail. The trail doesn’t log the event.
The following example demonstrates how logging works when you configure logging of AWS Lambda data events for a \n Lambda function named MyLambdaFunction, but not for all AWS Lambda functions.
\nA user runs a script that includes a call to the MyLambdaFunction function and the\n MyOtherLambdaFunction function.
\nThe Invoke
API operation on MyLambdaFunction is an AWS Lambda API. \n It is recorded as a data event in CloudTrail. Because the CloudTrail user specified logging data events for\n MyLambdaFunction, any invocations of that function are logged. The trail processes and logs the event.
The Invoke
API operation on MyOtherLambdaFunction is an AWS Lambda API. \n Because the CloudTrail user did not specify logging data events for all Lambda functions,\n the Invoke
operation for MyOtherLambdaFunction does not match the function specified for the trail. \n The trail doesn’t log the event.
Deletes a trail. This operation must be called from the region in which the trail was\n created. DeleteTrail
cannot be called on the shadow trails (replicated trails\n in other regions) of a trail that is enabled in all regions.
Specifies the name or the CloudTrail ARN of the trail to be deleted. The format of a\n trail ARN is:\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
The request that specifies the name of a trail to delete.
" } }, "com.amazonaws.cloudtrail#DeleteTrailResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#DescribeTrails": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#DescribeTrailsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#DescribeTrailsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Retrieves settings for one or more trails associated with the current region for your account.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#DescribeTrailsRequest": { "type": "structure", "members": { "trailNameList": { "target": "com.amazonaws.cloudtrail#TrailNameList", "traits": { "smithy.api#documentation": "Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
If an empty list is specified, information for the trail in the current region is returned.
\nIf an empty list is specified and IncludeShadowTrails
is false, then\n information for all trails in the current region is returned.
If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned.
\nIf one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN.
\nSpecifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region,\n or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account\n and region replication trails will not be returned. The default is true.
" } } }, "traits": { "smithy.api#documentation": "Returns information about the trail.
" } }, "com.amazonaws.cloudtrail#DescribeTrailsResponse": { "type": "structure", "members": { "trailList": { "target": "com.amazonaws.cloudtrail#TrailList", "traits": { "smithy.api#documentation": "The list of trail objects. Trail objects with string values are only returned if values for the objects exist in a trail's configuration. \n For example, SNSTopicName
and SNSTopicARN
are only returned in results if a trail is configured to send SNS notifications. Similarly, \n KMSKeyId
only appears in results if a trail's log files are encrypted with AWS KMS-managed keys.
Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#ErrorMessage": { "type": "string" }, "com.amazonaws.cloudtrail#Event": { "type": "structure", "members": { "EventId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The CloudTrail ID of the event returned.
" } }, "EventName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The name of the event returned.
" } }, "ReadOnly": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Information about whether the event is a write event or a read event.
" } }, "AccessKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The AWS access key ID that was used to sign the request. If the request was made \n with temporary security credentials, this is the access key ID of the temporary credentials.
" } }, "EventTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "The date and time of the event returned.
" } }, "EventSource": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The AWS service that the request was made to.
" } }, "Username": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "A user name or role name of the requester that called the API in the event returned.
" } }, "Resources": { "target": "com.amazonaws.cloudtrail#ResourceList", "traits": { "smithy.api#documentation": "A list of resources referenced by the event returned.
" } }, "CloudTrailEvent": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "A JSON string that contains a representation of the event returned.
" } } }, "traits": { "smithy.api#documentation": "Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
" } }, "com.amazonaws.cloudtrail#EventCategory": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "insight", "name": "Insight" } ] } }, "com.amazonaws.cloudtrail#EventSelector": { "type": "structure", "members": { "ReadWriteType": { "target": "com.amazonaws.cloudtrail#ReadWriteType", "traits": { "smithy.api#documentation": "Specify if you want your trail to log read-only events, write-only events, or all. For example,\n the EC2 GetConsoleOutput
is a read-only API operation and\n RunInstances
is a write-only API operation.
By default, the value is All
.
Specify if you want your event selector to include management events for your trail.
\n\n For more information, see Management Events in the AWS CloudTrail User Guide.
\n \nBy default, the value is true
.
The first copy of management events is free. You are charged for additional copies of management \n events that you are logging on any subsequent trail in the same region. For more information about \n CloudTrail pricing, see AWS CloudTrail Pricing.
" } }, "DataResources": { "target": "com.amazonaws.cloudtrail#DataResources", "traits": { "smithy.api#documentation": "CloudTrail supports data event logging for Amazon S3 objects and AWS Lambda functions. You can specify \n up to 250 resources for an individual event selector, but the total number of data resources cannot exceed \n 250 across all event selectors in a trail. This limit does not apply if you configure resource logging for all data events.
\nFor more information, see Data Events and Limits in AWS CloudTrail \n in the AWS CloudTrail User Guide.
" } }, "ExcludeManagementEventSources": { "target": "com.amazonaws.cloudtrail#ExcludeManagementEventSources", "traits": { "smithy.api#documentation": "An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by \n containing \"kms.amazonaws.com\"
. By default, ExcludeManagementEventSources
is empty, and AWS KMS events are included in events that are logged to your trail.
Use event selectors to further specify the management and data event settings for your trail. By\n default, trails created without specific event selectors will be configured to log all read and \n write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector\n for all trails. For each trail, if the event matches any event selector, the trail\n processes and logs the event. If the event doesn't match any event selector, the trail\n doesn't log the event.
\nYou can configure up to five event selectors for a trail.
\nYou cannot apply both event selectors and advanced event selectors to a trail.
" } }, "com.amazonaws.cloudtrail#EventSelectors": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#EventSelector" } }, "com.amazonaws.cloudtrail#EventsList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#Event" } }, "com.amazonaws.cloudtrail#ExcludeManagementEventSources": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#String" } }, "com.amazonaws.cloudtrail#GetEventSelectors": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#GetEventSelectorsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#GetEventSelectorsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Describes the settings for the event selectors that you configured for your trail.\n The information returned for your event selectors includes the following:
\nIf your event selector includes read-only events, write-only events, or\n all events. This applies to both management events and data events.
\nIf your event selector includes management events.
\nIf your event selector includes data events, the Amazon S3 objects or AWS Lambda functions\n that you are logging for data events.
\nFor more information, see Logging Data and Management Events for Trails\n in the AWS CloudTrail User Guide.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#GetEventSelectorsRequest": { "type": "structure", "members": { "TrailName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the trail or trail ARN. If you specify a trail name, the\n string must meet the following requirements:
\nContain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are not valid.
Not be in IP address format (for example, 192.168.5.4)
\nIf you specify a trail ARN, it must be in the format:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
The specified trail ARN that has the event selectors.
" } }, "EventSelectors": { "target": "com.amazonaws.cloudtrail#EventSelectors", "traits": { "smithy.api#documentation": "The event selectors that are configured for the trail.
" } }, "AdvancedEventSelectors": { "target": "com.amazonaws.cloudtrail#AdvancedEventSelectors", "traits": { "smithy.api#documentation": "\n The advanced event selectors that are configured for the trail.\n
" } } } }, "com.amazonaws.cloudtrail#GetInsightSelectors": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#GetInsightSelectorsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#GetInsightSelectorsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InsightNotEnabledException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors
shows \n if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. \n If you run GetInsightSelectors
on a trail that does not have Insights events enabled, the operation throws the exception\n InsightNotEnabledException
\n
For more information, see Logging CloudTrail Insights Events for Trails\n in the AWS CloudTrail User Guide.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#GetInsightSelectorsRequest": { "type": "structure", "members": { "TrailName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the trail or trail ARN. If you specify a trail name, the\n string must meet the following requirements:
\nContain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are not valid.
Not be in IP address format (for example, 192.168.5.4)
\nIf you specify a trail ARN, it must be in the format:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
" } }, "InsightSelectors": { "target": "com.amazonaws.cloudtrail#InsightSelectors", "traits": { "smithy.api#documentation": "A JSON string that contains the insight types you want to log on a trail. In this release, only ApiCallRateInsight
is supported as an insight type.
Returns settings information for a specified trail.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#GetTrailRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.
", "smithy.api#required": {} } } } }, "com.amazonaws.cloudtrail#GetTrailResponse": { "type": "structure", "members": { "Trail": { "target": "com.amazonaws.cloudtrail#Trail" } } }, "com.amazonaws.cloudtrail#GetTrailStatus": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#GetTrailStatusRequest" }, "output": { "target": "com.amazonaws.cloudtrail#GetTrailStatusResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#GetTrailStatusRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
The name of a trail about which you want the current status.
" } }, "com.amazonaws.cloudtrail#GetTrailStatusResponse": { "type": "structure", "members": { "IsLogging": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Whether the CloudTrail is currently logging AWS API calls.
" } }, "LatestDeliveryError": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files\n to the designated bucket. For more information see the topic Error\n Responses in the Amazon S3 API Reference.
\nThis error occurs only when there is a problem with the destination S3 bucket and will\n not occur for timeouts. To resolve the issue, create a new bucket and call\n UpdateTrail
to specify the new bucket, or fix the existing objects so that\n CloudTrail can again write to the bucket.
Displays any Amazon SNS error that CloudTrail encountered when attempting to send a\n notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.\n
" } }, "LatestDeliveryTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
" } }, "LatestNotificationTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.
" } }, "StartLoggingTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
" } }, "StopLoggingTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
" } }, "LatestCloudWatchLogsDeliveryError": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
" } }, "LatestCloudWatchLogsDeliveryTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
" } }, "LatestDigestDeliveryTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
" } }, "LatestDigestDeliveryError": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest\n file to the designated bucket. For more information see the topic Error\n Responses in the Amazon S3 API Reference.
\nThis error occurs only when there is a problem with the destination S3 bucket and will\n not occur for timeouts. To resolve the issue, create a new bucket and call\n UpdateTrail
to specify the new bucket, or fix the existing objects so that\n CloudTrail can again write to the bucket.
This field is no longer in use.
" } }, "LatestNotificationAttemptTime": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "This field is no longer in use.
" } }, "LatestNotificationAttemptSucceeded": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "This field is no longer in use.
" } }, "LatestDeliveryAttemptSucceeded": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "This field is no longer in use.
" } }, "TimeLoggingStarted": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "This field is no longer in use.
" } }, "TimeLoggingStopped": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "This field is no longer in use.
" } } }, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#InsightNotEnabledException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "If you run GetInsightSelectors
on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException
.
The type of insights to log on a trail. In this release, only ApiCallRateInsight
is supported as an insight type.
A JSON string that contains a list of insight types that are logged on a trail.
" } }, "com.amazonaws.cloudtrail#InsightSelectors": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#InsightSelector" } }, "com.amazonaws.cloudtrail#InsightType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ApiCallRateInsight", "name": "ApiCallRateInsight" } ] } }, "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the IAM user or role that is used to create the organization trail is lacking one or more required permissions for \n creating an organization trail in a required service. For more information, see \n Prepare For Creating a Trail For Your Organization.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the policy on the S3 bucket is not sufficient.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.cloudtrail#InsufficientSnsTopicPolicyException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the policy on the SNS topic is not sufficient.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.cloudtrail#InvalidCloudWatchLogsLogGroupArnException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided CloudWatch log group is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidCloudWatchLogsRoleArnException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided role is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidEventCategoryException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Occurs if an event category that is not valid is specified as a value of EventCategory
.
Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the PutEventSelectors
operation is called with a number of event \n selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and \n data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum \n of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
\nSpecify a valid number of event selectors (1 to 5) for a trail.
\nSpecify a valid number of data resources (1 to 250) for an event selector. \n The limit of number of resources on an individual event selector is configurable up to 250. \n However, this upper limit is allowed only if the total number of data resources does not \n exceed 250 across all event selectors for a trail.
\nSpecify up to 500 values for all conditions in all advanced event selectors for a trail.
\nSpecify a valid value for a parameter. For example, specifying the ReadWriteType
\n parameter with a value of read-only
is invalid.
Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when an operation is called on a trail from a region other than the region in which the trail was created.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidInsightSelectorsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "The formatting or syntax of the InsightSelectors
JSON statement in your PutInsightSelectors
or GetInsightSelectors
request \n is not valid, or the specified insight type in the InsightSelectors
statement is not a valid insight type.
Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the KMS key ARN is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidLookupAttributesException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Occurs when an invalid lookup attribute is specified.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidMaxResultsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown if the limit specified is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidNextTokenException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Invalid token or token that was previously used in a request with different parameters. This exception is thrown if the token is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidParameterCombinationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the combination of parameters provided is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidS3BucketNameException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided S3 bucket name is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidS3PrefixException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided S3 prefix is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidSnsTopicNameException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided SNS topic name is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidTagParameterException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified tag key or values are not valid. \n It can also occur if there are duplicate tags or too many tags on the resource.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidTimeRangeException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Occurs if the timestamp values are invalid. Either the start time occurs after the end time or the time range is outside the range of possible values.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidTokenException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "Reserved for future use.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#InvalidTrailNameException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
\nContain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are invalid.
Not be in IP address format (for example, 192.168.5.4)
\nBrief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when there is an issue with the specified KMS key and the trail can’t be updated.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#KmsKeyDisabledException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "This exception is no longer in use.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#KmsKeyNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not \n in the same region, or when the KMS key associated with the SNS topic either does not exist or is not \n in the same region.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#ListPublicKeys": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#ListPublicKeysRequest" }, "output": { "target": "com.amazonaws.cloudtrail#ListPublicKeysResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InvalidTimeRangeException" }, { "target": "com.amazonaws.cloudtrail#InvalidTokenException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
\nCloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.
\nOptionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
" } }, "EndTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.
" } }, "NextToken": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Reserved for future use.
" } } }, "traits": { "smithy.api#documentation": "Requests the public keys for a specified time range.
" } }, "com.amazonaws.cloudtrail#ListPublicKeysResponse": { "type": "structure", "members": { "PublicKeyList": { "target": "com.amazonaws.cloudtrail#PublicKeyList", "traits": { "smithy.api#documentation": "Contains an array of PublicKey objects.
\nThe returned public keys may have validity time ranges that overlap.
\nReserved for future use.
" } } }, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#ListTags": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#ListTagsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#ListTagsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#CloudTrailARNInvalidException" }, { "target": "com.amazonaws.cloudtrail#InvalidTokenException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#ResourceNotFoundException" }, { "target": "com.amazonaws.cloudtrail#ResourceTypeNotSupportedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Lists the tags for the trail in the current region.
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ResourceTagList" } } }, "com.amazonaws.cloudtrail#ListTagsRequest": { "type": "structure", "members": { "ResourceIdList": { "target": "com.amazonaws.cloudtrail#ResourceIdList", "traits": { "smithy.api#documentation": "Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Reserved for future use.
" } } }, "traits": { "smithy.api#documentation": "Specifies a list of trail tags to return.
" } }, "com.amazonaws.cloudtrail#ListTagsResponse": { "type": "structure", "members": { "ResourceTagList": { "target": "com.amazonaws.cloudtrail#ResourceTagList", "traits": { "smithy.api#documentation": "A list of resource tags.
" } }, "NextToken": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Reserved for future use.
" } } }, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#ListTrails": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#ListTrailsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#ListTrailsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Lists trails that are in the current account.
", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Trails" } } }, "com.amazonaws.cloudtrail#ListTrailsRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The token to use to get the next page of results after a previous API call. This token must be passed \n in with the same parameters that were specified in the the original call. For example, if the original \n call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should \n include those same parameters.
" } } } }, "com.amazonaws.cloudtrail#ListTrailsResponse": { "type": "structure", "members": { "Trails": { "target": "com.amazonaws.cloudtrail#Trails", "traits": { "smithy.api#documentation": "Returns the name, ARN, and home region of trails in the current account.
" } }, "NextToken": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The token to use to get the next page of results after a previous API call. If the token does not appear, \n there are no more results to return. The token must be passed in with the same parameters as the previous call. \n For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with \n NextToken should include those same parameters.
" } } } }, "com.amazonaws.cloudtrail#LookupAttribute": { "type": "structure", "members": { "AttributeKey": { "target": "com.amazonaws.cloudtrail#LookupAttributeKey", "traits": { "smithy.api#documentation": "Specifies an attribute on which to filter the events returned.
", "smithy.api#required": {} } }, "AttributeValue": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies a value for the specified AttributeKey.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies an attribute and value that filter the events returned.
" } }, "com.amazonaws.cloudtrail#LookupAttributeKey": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "EventId", "name": "EVENT_ID" }, { "value": "EventName", "name": "EVENT_NAME" }, { "value": "ReadOnly", "name": "READ_ONLY" }, { "value": "Username", "name": "USERNAME" }, { "value": "ResourceType", "name": "RESOURCE_TYPE" }, { "value": "ResourceName", "name": "RESOURCE_NAME" }, { "value": "EventSource", "name": "EVENT_SOURCE" }, { "value": "AccessKeyId", "name": "ACCESS_KEY_ID" } ] } }, "com.amazonaws.cloudtrail#LookupAttributesList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#LookupAttribute" } }, "com.amazonaws.cloudtrail#LookupEvents": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#LookupEventsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#LookupEventsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InvalidEventCategoryException" }, { "target": "com.amazonaws.cloudtrail#InvalidLookupAttributesException" }, { "target": "com.amazonaws.cloudtrail#InvalidMaxResultsException" }, { "target": "com.amazonaws.cloudtrail#InvalidNextTokenException" }, { "target": "com.amazonaws.cloudtrail#InvalidTimeRangeException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Looks up management events or \n CloudTrail Insights events that are captured by CloudTrail. \n You can look up events that occurred in a region within the last 90 days. Lookup supports the following attributes for management events:
\nAWS access key
\nEvent ID
\nEvent name
\nEvent source
\nRead only
\nResource name
\nResource type
\nUser name
\nLookup supports the following attributes for Insights events:
\nEvent ID
\nEvent name
\nEvent source
\nAll attributes are optional. The default number of results returned is 50, with a\n maximum of 50 possible. The response includes a token that you can use to get the next page\n of results.
\nThe rate of lookup requests is limited to two per second, per account, per region. If this\n limit is exceeded, a throttling error occurs.
\nContains a list of lookup attributes. Currently the list can contain only one item.
" } }, "StartTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
" } }, "EndTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
" } }, "EventCategory": { "target": "com.amazonaws.cloudtrail#EventCategory", "traits": { "smithy.api#documentation": "Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, \n if you do not specify insight
as the value of EventCategory
, no Insights events are returned.
The number of events to return. Possible values are 1 through 50. The default is 50.
" } }, "NextToken": { "target": "com.amazonaws.cloudtrail#NextToken", "traits": { "smithy.api#documentation": "The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. \n For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
" } } }, "traits": { "smithy.api#documentation": "Contains a request for LookupEvents.
" } }, "com.amazonaws.cloudtrail#LookupEventsResponse": { "type": "structure", "members": { "Events": { "target": "com.amazonaws.cloudtrail#EventsList", "traits": { "smithy.api#documentation": "A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.
" } }, "NextToken": { "target": "com.amazonaws.cloudtrail#NextToken", "traits": { "smithy.api#documentation": "The token to use to get the next page of results after a previous API call. If the token does not appear, \n there are no more results to return. The token must be passed in with the same parameters as the previous call. \n For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with \n NextToken should include those same parameters.
" } } }, "traits": { "smithy.api#documentation": "Contains a response to a LookupEvents action.
" } }, "com.amazonaws.cloudtrail#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 } } }, "com.amazonaws.cloudtrail#MaximumNumberOfTrailsExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the maximum number of trails is reached.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.cloudtrail#NextToken": { "type": "string" }, "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the AWS account making the request to create or update an organization trail is not the master account for an \n organization in AWS Organizations. For more information, see \n Prepare For Creating a Trail For Your Organization.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#OperationNotPermittedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the requested operation is not permitted.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#Operator": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#OperatorValue" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.cloudtrail#OperatorValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": ".+" } }, "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when AWS Organizations is not configured to support all features. All features must be enabled in AWS Organization to support\n creating an organization trail. For more information, see \n Prepare For Creating a Trail For Your Organization.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#OrganizationsNotInUseException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the request is made from an AWS account that is not a member of an organization. \n To make this request, sign in using the credentials of an account that belongs to an organization.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.cloudtrail#PublicKey": { "type": "structure", "members": { "Value": { "target": "com.amazonaws.cloudtrail#ByteBuffer", "traits": { "smithy.api#documentation": "The DER encoded public key value in PKCS#1 format.
" } }, "ValidityStartTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "The starting time of validity of the public key.
" } }, "ValidityEndTime": { "target": "com.amazonaws.cloudtrail#Date", "traits": { "smithy.api#documentation": "The ending time of validity of the public key.
" } }, "Fingerprint": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The fingerprint of the public key.
" } } }, "traits": { "smithy.api#documentation": "Contains information about a returned public key.
" } }, "com.amazonaws.cloudtrail#PublicKeyList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#PublicKey" } }, "com.amazonaws.cloudtrail#PutEventSelectors": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#PutEventSelectorsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#PutEventSelectorsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException" }, { "target": "com.amazonaws.cloudtrail#InvalidEventSelectorsException" }, { "target": "com.amazonaws.cloudtrail#InvalidHomeRegionException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Configures an event selector or advanced event selectors for your trail. \n Use event selectors or advanced event selectors to specify management and data event settings for your trail. By\n default, trails created without specific event selectors are configured to log all read and \n write management events, and no data events.
\nWhen an event occurs in your account, CloudTrail\n evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches \n any event selector, the trail processes and logs the event. If the event doesn't match any event\n selector, the trail doesn't log the event.
\nExample
\nYou create an event selector for a trail and specify that you want\n write-only events.
\nThe EC2 GetConsoleOutput
and RunInstances
API\n operations occur in your account.
CloudTrail evaluates whether the events match your event\n selectors.
\nThe RunInstances
is a write-only event and it matches your\n event selector. The trail logs the event.
The GetConsoleOutput
is a read-only event that doesn't\n match your event selector. The trail doesn't log the event.\n
The PutEventSelectors
operation must be called from the region in which\n the trail was created; otherwise, an InvalidHomeRegionException
exception is\n thrown.
You can configure up to five event selectors for each trail. For more information, see Logging data and management events for trails\n and Quotas in AWS CloudTrail \n in the AWS CloudTrail User Guide.
\nYou can add advanced event selectors, and conditions for your advanced \n event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. \n You can use either AdvancedEventSelectors
or EventSelectors
, but not both. If you apply AdvancedEventSelectors
\n to a trail, any existing EventSelectors
are overwritten. For more information about \n advanced event selectors, see \n Logging \n data events for trails in the AWS CloudTrail User Guide.
Specifies the name of the trail or trail ARN. If you specify a trail name, the\n string must meet the following requirements:
\nContain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are invalid.
Not be in IP address format (for example, 192.168.5.4)
\nIf you specify a trail ARN, it must be in the format:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies the settings for your event selectors. You can configure up to five event selectors for a trail. \n You can use either EventSelectors
or AdvancedEventSelectors
in a PutEventSelectors
request, but not both. \n If you apply EventSelectors
to a trail, any existing AdvancedEventSelectors
are overwritten.
\n Specifies the settings for advanced event selectors. You can add advanced event selectors, and conditions for your advanced \n event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. \n You can use either AdvancedEventSelectors
or EventSelectors
, but not both. If you apply AdvancedEventSelectors
\n to a trail, any existing EventSelectors
are overwritten. For more information about \n advanced event selectors, see \n Logging \n data events for trails in the AWS CloudTrail User Guide.\n
Specifies the ARN of the trail that was updated with event selectors. The format of a trail ARN\n is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies the event selectors configured for your trail.
" } }, "AdvancedEventSelectors": { "target": "com.amazonaws.cloudtrail#AdvancedEventSelectors", "traits": { "smithy.api#documentation": "Specifies the advanced event selectors configured for your trail.
" } } } }, "com.amazonaws.cloudtrail#PutInsightSelectors": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#PutInsightSelectorsRequest" }, "output": { "target": "com.amazonaws.cloudtrail#PutInsightSelectorsResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException" }, { "target": "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException" }, { "target": "com.amazonaws.cloudtrail#InvalidHomeRegionException" }, { "target": "com.amazonaws.cloudtrail#InvalidInsightSelectorsException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#KmsException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#S3BucketDoesNotExistException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Lets you enable Insights event logging by specifying the Insights\n selectors that you want to enable on an existing trail. You also use\n PutInsightSelectors
to turn off Insights event logging, by passing an empty list of insight types. \n In this release, only ApiCallRateInsight
is supported as an Insights selector.
The name of the CloudTrail trail for which you want to change or add Insights selectors.
", "smithy.api#required": {} } }, "InsightSelectors": { "target": "com.amazonaws.cloudtrail#InsightSelectors", "traits": { "smithy.api#documentation": "A JSON string that contains the insight types you want to log on a trail. In this release, only ApiCallRateInsight
is supported as an insight type.
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
" } }, "InsightSelectors": { "target": "com.amazonaws.cloudtrail#InsightSelectors", "traits": { "smithy.api#documentation": "A JSON string that contains the insight types you want to log on a trail. In this release, only ApiCallRateInsight
is supported as an insight type.
Removes the specified tags from a trail.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#RemoveTagsRequest": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies a list of tags to be removed.
" } } }, "traits": { "smithy.api#documentation": "Specifies the tags to remove from a trail.
" } }, "com.amazonaws.cloudtrail#RemoveTagsResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#Resource": { "type": "structure", "members": { "ResourceType": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The type of a resource referenced by the event returned. When the resource type cannot be\n determined, null is returned. Some examples of resource types are: Instance for EC2,\n Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM.\n To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.
" } }, "ResourceName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be \"auto-scaling-test-group\" for an Auto Scaling Group or \"i-1234567\" for an EC2 Instance.
" } } }, "traits": { "smithy.api#documentation": "Specifies the type and name of a resource referenced by an event.
" } }, "com.amazonaws.cloudtrail#ResourceIdList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#String" } }, "com.amazonaws.cloudtrail#ResourceList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#Resource" }, "traits": { "smithy.api#documentation": "A list of resources referenced by the event returned.
" } }, "com.amazonaws.cloudtrail#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified resource is not found.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#ResourceTag": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the resource.
" } }, "TagsList": { "target": "com.amazonaws.cloudtrail#TagsList", "traits": { "smithy.api#documentation": "A list of tags.
" } } }, "traits": { "smithy.api#documentation": "A resource tag.
" } }, "com.amazonaws.cloudtrail#ResourceTagList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#ResourceTag" } }, "com.amazonaws.cloudtrail#ResourceTypeNotSupportedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified resource type is not supported by CloudTrail.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#S3BucketDoesNotExistException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified S3 bucket does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.cloudtrail#SelectorField": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1000 }, "smithy.api#pattern": "[\\w|\\d|\\.|_]+" } }, "com.amazonaws.cloudtrail#SelectorName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1000 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.cloudtrail#StartLogging": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#StartLoggingRequest" }, "output": { "target": "com.amazonaws.cloudtrail#StartLoggingResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException" }, { "target": "com.amazonaws.cloudtrail#InvalidHomeRegionException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.
", "smithy.api#idempotent": {} } }, "com.amazonaws.cloudtrail#StartLoggingRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
The request to CloudTrail to start logging AWS API calls for an account.
" } }, "com.amazonaws.cloudtrail#StartLoggingResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#StopLogging": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#StopLoggingRequest" }, "output": { "target": "com.amazonaws.cloudtrail#StopLoggingResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException" }, { "target": "com.amazonaws.cloudtrail#InvalidHomeRegionException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Suspends the recording of AWS API calls and log file delivery for the specified trail.\n Under most circumstances, there is no need to use this action. You can update a trail\n without stopping it first. This action is the only way to stop recording. For a trail\n enabled in all regions, this operation must be called from the region in which the trail\n was created, or an InvalidHomeRegionException
will occur. This operation\n cannot be called on the shadow trails (replicated trails in other regions) of a trail\n enabled in all regions.
Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Passes the request to CloudTrail to stop logging AWS API calls for the specified account.
" } }, "com.amazonaws.cloudtrail#StopLoggingResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } }, "com.amazonaws.cloudtrail#String": { "type": "string" }, "com.amazonaws.cloudtrail#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.
" } } }, "traits": { "smithy.api#documentation": "A custom key-value pair associated with a resource such as a CloudTrail trail.
" } }, "com.amazonaws.cloudtrail#TagsLimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "The number of tags per trail has exceeded the permitted amount. Currently, the limit is 50.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#TagsList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#Tag" }, "traits": { "smithy.api#documentation": "A list of tags.
" } }, "com.amazonaws.cloudtrail#Trail": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Name of the trail set by calling CreateTrail. The maximum length is 128\n characters.
" } }, "S3BucketName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.
" } }, "S3KeyPrefix": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated\n for log file delivery. For more information, see Finding Your CloudTrail Log Files.The maximum length is 200 characters.
" } }, "SnsTopicName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "This field is no longer in use. Use SnsTopicARN.
" } }, "SnsTopicARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications\n when log files are delivered. The format of a topic ARN is:
\n\n arn:aws:sns:us-east-2:123456789012:MyTopic
\n
Set to True to include AWS API calls from AWS global services such as IAM.\n Otherwise, False.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail exists only in one region or exists in all regions.
" } }, "HomeRegion": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The region in which the trail was created.
" } }, "TrailARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the trail. The format of a trail ARN is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies whether log file validation is enabled.
" } }, "CloudWatchLogsLogGroupArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.
" } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
" } }, "KmsKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format:
\n\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
\n
Specifies if the trail has custom event selectors.
" } }, "HasInsightSelectors": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether a trail has insight types specified in an InsightSelector
list.
Specifies whether the trail is an organization trail.
" } } }, "traits": { "smithy.api#documentation": "The settings for a trail.
" } }, "com.amazonaws.cloudtrail#TrailAlreadyExistsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the specified trail already exists.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#TrailInfo": { "type": "structure", "members": { "TrailARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The ARN of a trail.
" } }, "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The name of a trail.
" } }, "HomeRegion": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "The AWS region in which a trail was created.
" } } }, "traits": { "smithy.api#documentation": "Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).
" } }, "com.amazonaws.cloudtrail#TrailList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#Trail" } }, "com.amazonaws.cloudtrail#TrailNameList": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#String" } }, "com.amazonaws.cloudtrail#TrailNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the trail with the given name is not found.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.cloudtrail#TrailNotProvidedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is no longer in use.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.cloudtrail#Trails": { "type": "list", "member": { "target": "com.amazonaws.cloudtrail#TrailInfo" } }, "com.amazonaws.cloudtrail#UnsupportedOperationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.cloudtrail#ErrorMessage", "traits": { "smithy.api#documentation": "Brief description of the exception returned by the request.
" } } }, "traits": { "smithy.api#documentation": "This exception is thrown when the requested operation is not supported.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.cloudtrail#UpdateTrail": { "type": "operation", "input": { "target": "com.amazonaws.cloudtrail#UpdateTrailRequest" }, "output": { "target": "com.amazonaws.cloudtrail#UpdateTrailResponse" }, "errors": [ { "target": "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException" }, { "target": "com.amazonaws.cloudtrail#CloudTrailInvalidClientTokenIdException" }, { "target": "com.amazonaws.cloudtrail#CloudWatchLogsDeliveryUnavailableException" }, { "target": "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException" }, { "target": "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException" }, { "target": "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException" }, { "target": "com.amazonaws.cloudtrail#InsufficientSnsTopicPolicyException" }, { "target": "com.amazonaws.cloudtrail#InvalidCloudWatchLogsLogGroupArnException" }, { "target": "com.amazonaws.cloudtrail#InvalidCloudWatchLogsRoleArnException" }, { "target": "com.amazonaws.cloudtrail#InvalidEventSelectorsException" }, { "target": "com.amazonaws.cloudtrail#InvalidHomeRegionException" }, { "target": "com.amazonaws.cloudtrail#InvalidKmsKeyIdException" }, { "target": "com.amazonaws.cloudtrail#InvalidParameterCombinationException" }, { "target": "com.amazonaws.cloudtrail#InvalidS3BucketNameException" }, { "target": "com.amazonaws.cloudtrail#InvalidS3PrefixException" }, { "target": "com.amazonaws.cloudtrail#InvalidSnsTopicNameException" }, { "target": "com.amazonaws.cloudtrail#InvalidTrailNameException" }, { "target": "com.amazonaws.cloudtrail#KmsException" }, { "target": "com.amazonaws.cloudtrail#KmsKeyDisabledException" }, { "target": "com.amazonaws.cloudtrail#KmsKeyNotFoundException" }, { "target": "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException" }, { "target": "com.amazonaws.cloudtrail#OperationNotPermittedException" }, { "target": "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException" }, { "target": "com.amazonaws.cloudtrail#OrganizationsNotInUseException" }, { "target": "com.amazonaws.cloudtrail#S3BucketDoesNotExistException" }, { "target": "com.amazonaws.cloudtrail#TrailNotFoundException" }, { "target": "com.amazonaws.cloudtrail#TrailNotProvidedException" }, { "target": "com.amazonaws.cloudtrail#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "Updates the settings that specify delivery of log files. Changes to a trail do not require\n stopping the CloudTrail service. Use this action to designate an existing bucket for log\n delivery. If the existing bucket has previously been a target for CloudTrail log files,\n an IAM policy exists for the bucket. UpdateTrail
must be called from the\n region in which the trail was created; otherwise, an\n InvalidHomeRegionException
is thrown.
Specifies the name of the trail or trail ARN. If Name
is a trail name, the\n string must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
\nStart with a letter or number, and end with a letter or number
\nBe between 3 and 128 characters
\nHave no adjacent periods, underscores or dashes. Names like my-_namespace
\n and my--namespace
are invalid.
Not be in IP address format (for example, 192.168.5.4)
\nIf Name
is a trail ARN, it must be in the format:
\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.
" } }, "S3KeyPrefix": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated\n for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.
" } }, "SnsTopicName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
" } }, "IncludeGlobalServiceEvents": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail is publishing events from global services such as IAM to the log files.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, \n shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region \n where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider\n using trails that log events in all regions.
" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether log file validation is enabled. The default is false.
\nWhen you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail.
\nSpecifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn.
" } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
" } }, "KmsKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The\n value can be an alias name prefixed by \"alias/\", a fully specified ARN to an alias, a fully\n specified ARN to a key, or a globally unique identifier.
\nExamples:
\nalias/MyAliasName
\narn:aws:kms:us-east-2:123456789012:alias/MyAliasName
\narn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
\n12345678-1234-1234-1234-123456789012
\nSpecifies whether the trail is applied to all accounts in an organization in AWS Organizations, or only for the current AWS account. \n The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in \n AWS Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all AWS accounts that belong\n to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current AWS account but be \n deleted from all member accounts in the organization.
" } } }, "traits": { "smithy.api#documentation": "Specifies settings to update for the trail.
" } }, "com.amazonaws.cloudtrail#UpdateTrailResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the trail.
" } }, "S3BucketName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the name of the Amazon S3 bucket designated for publishing log files.
" } }, "S3KeyPrefix": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated\n for log file delivery. For more information, see Finding Your CloudTrail Log Files.
" } }, "SnsTopicName": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "This field is no longer in use. Use SnsTopicARN.
" } }, "SnsTopicARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications\n when log files are delivered. The format of a topic ARN is:
\n\n arn:aws:sns:us-east-2:123456789012:MyTopic
\n
Specifies whether the trail is publishing events from global services such as IAM to the log files.
" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { "smithy.api#documentation": "Specifies whether the trail exists in one region or in all regions.
" } }, "TrailARN": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the ARN of the trail that was updated. The format of a trail ARN\n is:
\n\n arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
\n
Specifies whether log file integrity validation is enabled.
" } }, "CloudWatchLogsLogGroupArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
" } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
" } }, "KmsKeyId": { "target": "com.amazonaws.cloudtrail#String", "traits": { "smithy.api#documentation": "Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format:
\n \n\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
\n
Specifies whether the trail is an organization trail.
" } } }, "traits": { "smithy.api#documentation": "Returns the objects or data listed below if successful. Otherwise, returns an error.
" } } } }