# Packages
Package cloudtrailiface provides an interface to enable mocking the AWS CloudTrail service client for testing your code.
# Functions
New creates a new instance of the CloudTrail client with a session.
# Constants
Service ID for Regions and Endpoints metadata.
ErrCodeARNInvalidException for service response error code "ARNInvalidException".
ErrCodeCloudWatchLogsDeliveryUnavailableException for service response error code "CloudWatchLogsDeliveryUnavailableException".
ErrCodeInsufficientEncryptionPolicyException for service response error code "InsufficientEncryptionPolicyException".
ErrCodeInsufficientS3BucketPolicyException for service response error code "InsufficientS3BucketPolicyException".
ErrCodeInsufficientSnsTopicPolicyException for service response error code "InsufficientSnsTopicPolicyException".
ErrCodeInvalidCloudWatchLogsLogGroupArnException for service response error code "InvalidCloudWatchLogsLogGroupArnException".
ErrCodeInvalidCloudWatchLogsRoleArnException for service response error code "InvalidCloudWatchLogsRoleArnException".
ErrCodeInvalidEventSelectorsException for service response error code "InvalidEventSelectorsException".
ErrCodeInvalidHomeRegionException for service response error code "InvalidHomeRegionException".
ErrCodeInvalidKmsKeyIdException for service response error code "InvalidKmsKeyIdException".
ErrCodeInvalidLookupAttributesException for service response error code "InvalidLookupAttributesException".
ErrCodeInvalidMaxResultsException for service response error code "InvalidMaxResultsException".
ErrCodeInvalidNextTokenException for service response error code "InvalidNextTokenException".
ErrCodeInvalidParameterCombinationException for service response error code "InvalidParameterCombinationException".
ErrCodeInvalidS3BucketNameException for service response error code "InvalidS3BucketNameException".
ErrCodeInvalidS3PrefixException for service response error code "InvalidS3PrefixException".
ErrCodeInvalidSnsTopicNameException for service response error code "InvalidSnsTopicNameException".
ErrCodeInvalidTagParameterException for service response error code "InvalidTagParameterException".
ErrCodeInvalidTimeRangeException for service response error code "InvalidTimeRangeException".
ErrCodeInvalidTokenException for service response error code "InvalidTokenException".
ErrCodeInvalidTrailNameException for service response error code "InvalidTrailNameException".
ErrCodeKmsException for service response error code "KmsException".
ErrCodeKmsKeyDisabledException for service response error code "KmsKeyDisabledException".
ErrCodeKmsKeyNotFoundException for service response error code "KmsKeyNotFoundException".
ErrCodeMaximumNumberOfTrailsExceededException for service response error code "MaximumNumberOfTrailsExceededException".
ErrCodeOperationNotPermittedException for service response error code "OperationNotPermittedException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeResourceTypeNotSupportedException for service response error code "ResourceTypeNotSupportedException".
ErrCodeS3BucketDoesNotExistException for service response error code "S3BucketDoesNotExistException".
ErrCodeTagsLimitExceededException for service response error code "TagsLimitExceededException".
ErrCodeTrailAlreadyExistsException for service response error code "TrailAlreadyExistsException".
ErrCodeTrailNotFoundException for service response error code "TrailNotFoundException".
ErrCodeTrailNotProvidedException for service response error code "TrailNotProvidedException".
ErrCodeUnsupportedOperationException for service response error code "UnsupportedOperationException".
LookupAttributeKeyEventId is a LookupAttributeKey enum value.
LookupAttributeKeyEventName is a LookupAttributeKey enum value.
LookupAttributeKeyEventSource is a LookupAttributeKey enum value.
LookupAttributeKeyResourceName is a LookupAttributeKey enum value.
LookupAttributeKeyResourceType is a LookupAttributeKey enum value.
LookupAttributeKeyUsername is a LookupAttributeKey enum value.
ReadWriteTypeAll is a ReadWriteType enum value.
ReadWriteTypeReadOnly is a ReadWriteType enum value.
ReadWriteTypeWriteOnly is a ReadWriteType enum value.
Service endpoint prefix API calls made to.
# Structs
Specifies the tags to add to a trail.
Returns the objects or data listed below if successful.
CloudTrail provides the API operation methods for making requests to AWS CloudTrail.
Specifies the settings for each trail.
Returns the objects or data listed below if successful.
The Amazon S3 objects that you specify in your event selectors for your trail to log data events.
The request that specifies the name of a trail to delete.
Returns the objects or data listed below if successful.
Returns information about the trail.
Returns the objects or data listed below if successful.
Contains information about an event that was returned by a lookup request.
Use event selectors to specify whether you want your trail to log management and/or data events.
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse.
The name of a trail about which you want the current status.
Returns the objects or data listed below if successful.
Requests the public keys for a specified time range.
Returns the objects or data listed below if successful.
Specifies a list of trail tags to return.
Returns the objects or data listed below if successful.
Specifies an attribute and value that filter the events returned.
Contains a request for LookupEvents.
Contains a response to a LookupEvents action.
Contains information about a returned public key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest.
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse.
Specifies the tags to remove from a trail.
Returns the objects or data listed below if successful.
Specifies the type and name of a resource referenced by an event.
A resource tag.
The request to CloudTrail to start logging AWS API calls for an account.
Returns the objects or data listed below if successful.
Passes the request to CloudTrail to stop logging AWS API calls for the specified account.
Returns the objects or data listed below if successful.
A custom key-value pair associated with a resource such as a CloudTrail trail.
The settings for a trail.
Specifies settings to update for the trail.
Returns the objects or data listed below if successful.