libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudTrail

Contents

Description

Derived from API version 2013-11-01 of the AWS service descriptions, licensed under Apache 2.0.

CloudTrail

This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.

CloudTrail is a web service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. The recorded information includes the identity of the user, the start time of the Amazon Web Services API call, the source IP address, the request parameters, and the response elements returned by the service.

As an alternative to the API, you can use one of the Amazon Web Services SDKs, which consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide programmatic access to CloudTrail. For example, the SDKs handle cryptographically signing requests, managing errors, and retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools to Build on Amazon Web Services.

See the CloudTrail User Guide for information about the data that is included with each Amazon Web Services API call listed in the log files.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2013-11-01 of the Amazon CloudTrail SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudTrail.

InvalidTimeRangeException

_InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.

InsufficientS3BucketPolicyException

_InsufficientS3BucketPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the policy on the S3 bucket is not sufficient.

MaximumNumberOfTrailsExceededException

_MaximumNumberOfTrailsExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the maximum number of trails is reached.

InsufficientDependencyServiceAccessPermissionException

_InsufficientDependencyServiceAccessPermissionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 creating an organization trail in a required service. For more information, see Prepare For Creating a Trail For Your Organization.

UnsupportedOperationException

_UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the requested operation is not supported.

InvalidEventCategoryException

_InvalidEventCategoryException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Occurs if an event category that is not valid is specified as a value of EventCategory.

KmsKeyDisabledException

_KmsKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is no longer in use.

InsufficientEncryptionPolicyException

_InsufficientEncryptionPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the policy on the S3 bucket or KMS key is not sufficient.

InsufficientSnsTopicPolicyException

_InsufficientSnsTopicPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the policy on the Amazon SNS topic is not sufficient.

InvalidCloudWatchLogsRoleArnException

_InvalidCloudWatchLogsRoleArnException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided role is not valid.

CloudTrailAccessNotEnabledException

_CloudTrailAccessNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services and Prepare For Creating a Trail For Your Organization.

TagsLimitExceededException

_TagsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of tags per trail has exceeded the permitted amount. Currently, the limit is 50.

CloudTrailARNInvalidException

_CloudTrailARNInvalidException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when an operation is called with a trail ARN that is not valid. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

InvalidLookupAttributesException

_InvalidLookupAttributesException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Occurs when a lookup attribute is specified that is not valid.

InvalidTrailNameException

_InvalidTrailNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

InvalidSnsTopicNameException

_InvalidSnsTopicNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided SNS topic name is not valid.

ResourceTypeNotSupportedException

_ResourceTypeNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified resource type is not supported by CloudTrail.

CloudWatchLogsDeliveryUnavailableException

_CloudWatchLogsDeliveryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot set a CloudWatch Logs delivery for this region.

OrganizationsNotInUseException

_OrganizationsNotInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.

KmsKeyNotFoundException

_KmsKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same region.

TrailNotFoundException

_TrailNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the trail with the given name is not found.

ConflictException

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a trail before CloudTrail has time to fully load the trail. If this exception occurs, wait a few minutes, and then try the operation again.

InsightNotEnabledException

_InsightNotEnabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException.

NotOrganizationMasterAccountException

_NotOrganizationMasterAccountException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization.

InvalidEventSelectorsException

_InvalidEventSelectorsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum 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:

  • Specify a valid number of event selectors (1 to 5) for a trail.
  • Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
  • Specify up to 500 values for all conditions in all advanced event selectors for a trail.
  • Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.

TrailNotProvidedException

_TrailNotProvidedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is no longer in use.

InvalidS3BucketNameException

_InvalidS3BucketNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided S3 bucket name is not valid.

InvalidCloudWatchLogsLogGroupArnException

_InvalidCloudWatchLogsLogGroupArnException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided CloudWatch Logs log group is not valid.

KmsException

_KmsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when there is an issue with the specified KMS key and the trail can’t be updated.

CloudTrailInvalidClientTokenIdException

_CloudTrailInvalidClientTokenIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 is in a suspended Amazon Web Services account.

S3BucketDoesNotExistException

_S3BucketDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified S3 bucket does not exist.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.

InvalidTagParameterException

_InvalidTagParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.

OperationNotPermittedException

_OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the requested operation is not permitted.

InvalidTokenException

InvalidMaxResultsException

_InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown if the limit specified is not valid.

TrailAlreadyExistsException

_TrailAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified trail already exists.

OrganizationNotInAllFeaturesModeException

_OrganizationNotInAllFeaturesModeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail. For more information, see Prepare For Creating a Trail For Your Organization.

InvalidInsightSelectorsException

_InvalidInsightSelectorsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors or GetInsightSelectors request is not valid, or the specified insight type in the InsightSelectors statement is not a valid insight type.

InvalidS3PrefixException

_InvalidS3PrefixException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the provided S3 prefix is not valid.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the specified resource is not found.

InvalidParameterCombinationException

_InvalidParameterCombinationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the combination of parameters provided is not valid.

InvalidKmsKeyIdException

_InvalidKmsKeyIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the KMS key ARN is not valid.

InvalidHomeRegionException

_InvalidHomeRegionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeTrails

data DescribeTrails Source #

Returns information about the trail.

See: newDescribeTrails smart constructor.

Constructors

DescribeTrails' (Maybe Bool) (Maybe [Text]) 

Instances

Instances details
Eq DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Read DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Show DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Generic DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type Rep DescribeTrails :: Type -> Type #

NFData DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Methods

rnf :: DescribeTrails -> () #

Hashable DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

ToJSON DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

AWSRequest DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type AWSResponse DescribeTrails #

ToHeaders DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

ToPath DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

ToQuery DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type Rep DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type Rep DescribeTrails = D1 ('MetaData "DescribeTrails" "Amazonka.CloudTrail.DescribeTrails" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "DescribeTrails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "includeShadowTrails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "trailNameList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

newDescribeTrails :: DescribeTrails Source #

Create a value of DescribeTrails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:includeShadowTrails:DescribeTrails', describeTrails_includeShadowTrails - Specifies 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, 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 and region replication trails will not be returned. The default is true.

$sel:trailNameList:DescribeTrails', describeTrails_trailNameList - Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

If an empty list is specified, information for the trail in the current region is returned.

  • If an empty list is specified and IncludeShadowTrails is false, then 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.

If 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.

data DescribeTrailsResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newDescribeTrailsResponse smart constructor.

Instances

Instances details
Eq DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Read DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Show DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Generic DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type Rep DescribeTrailsResponse :: Type -> Type #

NFData DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Methods

rnf :: DescribeTrailsResponse -> () #

type Rep DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type Rep DescribeTrailsResponse = D1 ('MetaData "DescribeTrailsResponse" "Amazonka.CloudTrail.DescribeTrails" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "DescribeTrailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Trail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeTrailsResponse Source #

Create a value of DescribeTrailsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailList:DescribeTrailsResponse', describeTrailsResponse_trailList - The list of trail objects. Trail objects with string values are only returned if values for the objects exist in a trail's configuration. For example, SNSTopicName and SNSTopicARN are only returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId only appears in results if a trail's log files are encrypted with KMS customer managed keys.

$sel:httpStatus:DescribeTrailsResponse', describeTrailsResponse_httpStatus - The response's http status code.

ListPublicKeys (Paginated)

data ListPublicKeys Source #

Requests the public keys for a specified time range.

See: newListPublicKeys smart constructor.

Instances

Instances details
Eq ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Read ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Show ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Generic ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeys :: Type -> Type #

NFData ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeys -> () #

Hashable ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

ToJSON ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

AWSPager ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

AWSRequest ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Associated Types

type AWSResponse ListPublicKeys #

ToHeaders ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

ToPath ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

ToQuery ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type Rep ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type Rep ListPublicKeys = D1 ('MetaData "ListPublicKeys" "Amazonka.CloudTrail.ListPublicKeys" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListPublicKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))
type AWSResponse ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

newListPublicKeys :: ListPublicKeys Source #

Create a value of ListPublicKeys with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:startTime:ListPublicKeys', listPublicKeys_startTime - Optionally 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.

$sel:nextToken:ListPublicKeys', listPublicKeys_nextToken - Reserved for future use.

$sel:endTime:ListPublicKeys', listPublicKeys_endTime - 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.

data ListPublicKeysResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newListPublicKeysResponse smart constructor.

Instances

Instances details
Eq ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Read ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Show ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Generic ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeysResponse :: Type -> Type #

NFData ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeysResponse -> () #

type Rep ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type Rep ListPublicKeysResponse = D1 ('MetaData "ListPublicKeysResponse" "Amazonka.CloudTrail.ListPublicKeys" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListPublicKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicKeyList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PublicKey])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPublicKeysResponse Source #

Create a value of ListPublicKeysResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:publicKeyList:ListPublicKeysResponse', listPublicKeysResponse_publicKeyList - Contains an array of PublicKey objects.

The returned public keys may have validity time ranges that overlap.

$sel:nextToken:ListPublicKeys', listPublicKeysResponse_nextToken - Reserved for future use.

$sel:httpStatus:ListPublicKeysResponse', listPublicKeysResponse_httpStatus - The response's http status code.

RemoveTags

data RemoveTags Source #

Specifies the tags to remove from a trail.

See: newRemoveTags smart constructor.

Constructors

RemoveTags' (Maybe [Tag]) Text 

Instances

Instances details
Eq RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Read RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Generic RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

NFData RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTags -> () #

Hashable RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

ToJSON RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

AWSRequest RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type AWSResponse RemoveTags #

ToHeaders RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

toHeaders :: RemoveTags -> [Header] #

ToPath RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

ToQuery RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTags = D1 ('MetaData "RemoveTags" "Amazonka.CloudTrail.RemoveTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "RemoveTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

newRemoveTags Source #

Create a value of RemoveTags with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tagsList:RemoveTags', removeTags_tagsList - Specifies a list of tags to be removed.

$sel:resourceId:RemoveTags', removeTags_resourceId - Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data RemoveTagsResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newRemoveTagsResponse smart constructor.

Constructors

RemoveTagsResponse' Int 

Instances

Instances details
Eq RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Read RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Generic RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

NFData RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse = D1 ('MetaData "RemoveTagsResponse" "Amazonka.CloudTrail.RemoveTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "RemoveTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveTagsResponse Source #

Create a value of RemoveTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:RemoveTagsResponse', removeTagsResponse_httpStatus - The response's http status code.

LookupEvents (Paginated)

data LookupEvents Source #

Contains a request for LookupEvents.

See: newLookupEvents smart constructor.

Instances

Instances details
Eq LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Read LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Show LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Generic LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Associated Types

type Rep LookupEvents :: Type -> Type #

NFData LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Methods

rnf :: LookupEvents -> () #

Hashable LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

ToJSON LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

AWSPager LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

AWSRequest LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Associated Types

type AWSResponse LookupEvents #

ToHeaders LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

ToPath LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

ToQuery LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type Rep LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type Rep LookupEvents = D1 ('MetaData "LookupEvents" "Amazonka.CloudTrail.LookupEvents" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "LookupEvents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventCategory)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lookupAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LookupAttribute])))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

newLookupEvents :: LookupEvents Source #

Create a value of LookupEvents with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:eventCategory:LookupEvents', lookupEvents_eventCategory - Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight as the value of EventCategory, no Insights events are returned.

$sel:startTime:LookupEvents', lookupEvents_startTime - 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.

$sel:lookupAttributes:LookupEvents', lookupEvents_lookupAttributes - Contains a list of lookup attributes. Currently the list can contain only one item.

$sel:nextToken:LookupEvents', lookupEvents_nextToken - 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. 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.

$sel:endTime:LookupEvents', lookupEvents_endTime - 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.

$sel:maxResults:LookupEvents', lookupEvents_maxResults - The number of events to return. Possible values are 1 through 50. The default is 50.

data LookupEventsResponse Source #

Contains a response to a LookupEvents action.

See: newLookupEventsResponse smart constructor.

Instances

Instances details
Eq LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Read LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Show LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Generic LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Associated Types

type Rep LookupEventsResponse :: Type -> Type #

NFData LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Methods

rnf :: LookupEventsResponse -> () #

type Rep LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type Rep LookupEventsResponse = D1 ('MetaData "LookupEventsResponse" "Amazonka.CloudTrail.LookupEvents" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "LookupEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Event])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newLookupEventsResponse Source #

Create a value of LookupEventsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:LookupEvents', lookupEventsResponse_nextToken - The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. 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.

$sel:events:LookupEventsResponse', lookupEventsResponse_events - 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.

$sel:httpStatus:LookupEventsResponse', lookupEventsResponse_httpStatus - The response's http status code.

StopLogging

data StopLogging Source #

Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.

See: newStopLogging smart constructor.

Constructors

StopLogging' Text 

Instances

Instances details
Eq StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Read StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Show StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Generic StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type Rep StopLogging :: Type -> Type #

NFData StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Methods

rnf :: StopLogging -> () #

Hashable StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

ToJSON StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

AWSRequest StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type AWSResponse StopLogging #

ToHeaders StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Methods

toHeaders :: StopLogging -> [Header] #

ToPath StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

ToQuery StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type Rep StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type Rep StopLogging = D1 ('MetaData "StopLogging" "Amazonka.CloudTrail.StopLogging" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "StopLogging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

newStopLogging Source #

Create a value of StopLogging with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:StopLogging', stopLogging_name - Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging Amazon Web Services API calls. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data StopLoggingResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newStopLoggingResponse smart constructor.

Instances

Instances details
Eq StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Read StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Show StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Generic StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type Rep StopLoggingResponse :: Type -> Type #

NFData StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Methods

rnf :: StopLoggingResponse -> () #

type Rep StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type Rep StopLoggingResponse = D1 ('MetaData "StopLoggingResponse" "Amazonka.CloudTrail.StopLogging" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "StopLoggingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopLoggingResponse Source #

Create a value of StopLoggingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StopLoggingResponse', stopLoggingResponse_httpStatus - The response's http status code.

DeleteTrail

data DeleteTrail Source #

The request that specifies the name of a trail to delete.

See: newDeleteTrail smart constructor.

Constructors

DeleteTrail' Text 

Instances

Instances details
Eq DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Read DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Show DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Generic DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type Rep DeleteTrail :: Type -> Type #

NFData DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Methods

rnf :: DeleteTrail -> () #

Hashable DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

ToJSON DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

AWSRequest DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type AWSResponse DeleteTrail #

ToHeaders DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Methods

toHeaders :: DeleteTrail -> [Header] #

ToPath DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

ToQuery DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type Rep DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type Rep DeleteTrail = D1 ('MetaData "DeleteTrail" "Amazonka.CloudTrail.DeleteTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "DeleteTrail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

newDeleteTrail Source #

Create a value of DeleteTrail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:DeleteTrail', deleteTrail_name - Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data DeleteTrailResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newDeleteTrailResponse smart constructor.

Instances

Instances details
Eq DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Read DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Show DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Generic DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type Rep DeleteTrailResponse :: Type -> Type #

NFData DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Methods

rnf :: DeleteTrailResponse -> () #

type Rep DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type Rep DeleteTrailResponse = D1 ('MetaData "DeleteTrailResponse" "Amazonka.CloudTrail.DeleteTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "DeleteTrailResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTrailResponse Source #

Create a value of DeleteTrailResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteTrailResponse', deleteTrailResponse_httpStatus - The response's http status code.

UpdateTrail

data UpdateTrail Source #

Specifies settings to update for the trail.

See: newUpdateTrail smart constructor.

Instances

Instances details
Eq UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Read UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Show UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Generic UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type Rep UpdateTrail :: Type -> Type #

NFData UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Methods

rnf :: UpdateTrail -> () #

Hashable UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

ToJSON UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

AWSRequest UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type AWSResponse UpdateTrail #

ToHeaders UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Methods

toHeaders :: UpdateTrail -> [Header] #

ToPath UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

ToQuery UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type Rep UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type Rep UpdateTrail = D1 ('MetaData "UpdateTrail" "Amazonka.CloudTrail.UpdateTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "UpdateTrail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enableLogFileValidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

newUpdateTrail Source #

Create a value of UpdateTrail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3KeyPrefix:UpdateTrail', updateTrail_s3KeyPrefix - Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.

$sel:snsTopicName:UpdateTrail', updateTrail_snsTopicName - Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.

$sel:enableLogFileValidation:UpdateTrail', updateTrail_enableLogFileValidation - Specifies whether log file validation is enabled. The default is false.

When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail does 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.

$sel:cloudWatchLogsLogGroupArn:UpdateTrail', updateTrail_cloudWatchLogsLogGroupArn - Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered. Not required unless you specify CloudWatchLogsRoleArn.

$sel:kmsKeyId:UpdateTrail', updateTrail_kmsKeyId - Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.

CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.

Examples:

  • alias/MyAliasName
  • arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
  • arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
  • 12345678-1234-1234-1234-123456789012

$sel:includeGlobalServiceEvents:UpdateTrail', updateTrail_includeGlobalServiceEvents - Specifies whether the trail is publishing events from global services such as IAM to the log files.

$sel:isOrganizationTrail:UpdateTrail', updateTrail_isOrganizationTrail - Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all Amazon Web Services accounts that belong to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current Amazon Web Services account but be deleted from all member accounts in the organization.

$sel:cloudWatchLogsRoleArn:UpdateTrail', updateTrail_cloudWatchLogsRoleArn - Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

$sel:s3BucketName:UpdateTrail', updateTrail_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.

$sel:isMultiRegionTrail:UpdateTrail', updateTrail_isMultiRegionTrail - 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, 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 where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails that log events in all regions.

$sel:name:UpdateTrail', updateTrail_name - Specifies the name of the trail or trail ARN. If Name is a trail name, the string must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

If Name is a trail ARN, it must be in the following format.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data UpdateTrailResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newUpdateTrailResponse smart constructor.

Instances

Instances details
Eq UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Read UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Show UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Generic UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type Rep UpdateTrailResponse :: Type -> Type #

NFData UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Methods

rnf :: UpdateTrailResponse -> () #

type Rep UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type Rep UpdateTrailResponse = D1 ('MetaData "UpdateTrailResponse" "Amazonka.CloudTrail.UpdateTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "UpdateTrailResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "snsTopicARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateTrailResponse Source #

Create a value of UpdateTrailResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logFileValidationEnabled:UpdateTrailResponse', updateTrailResponse_logFileValidationEnabled - Specifies whether log file integrity validation is enabled.

$sel:trailARN:UpdateTrailResponse', updateTrailResponse_trailARN - Specifies the ARN of the trail that was updated. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

$sel:s3KeyPrefix:UpdateTrail', updateTrailResponse_s3KeyPrefix - Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your IAM Log Files.

$sel:snsTopicARN:UpdateTrailResponse', updateTrailResponse_snsTopicARN - Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The following is the format of a topic ARN.

arn:aws:sns:us-east-2:123456789012:MyTopic

$sel:snsTopicName:UpdateTrail', updateTrailResponse_snsTopicName - This field is no longer in use. Use UpdateTrailResponse$SnsTopicARN.

$sel:cloudWatchLogsLogGroupArn:UpdateTrail', updateTrailResponse_cloudWatchLogsLogGroupArn - Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.

$sel:kmsKeyId:UpdateTrail', updateTrailResponse_kmsKeyId - 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 following format.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

$sel:name:UpdateTrail', updateTrailResponse_name - Specifies the name of the trail.

$sel:includeGlobalServiceEvents:UpdateTrail', updateTrailResponse_includeGlobalServiceEvents - Specifies whether the trail is publishing events from global services such as IAM to the log files.

$sel:isOrganizationTrail:UpdateTrail', updateTrailResponse_isOrganizationTrail - Specifies whether the trail is an organization trail.

$sel:cloudWatchLogsRoleArn:UpdateTrail', updateTrailResponse_cloudWatchLogsRoleArn - Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

$sel:s3BucketName:UpdateTrail', updateTrailResponse_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files.

$sel:isMultiRegionTrail:UpdateTrail', updateTrailResponse_isMultiRegionTrail - Specifies whether the trail exists in one region or in all regions.

$sel:httpStatus:UpdateTrailResponse', updateTrailResponse_httpStatus - The response's http status code.

CreateTrail

data CreateTrail Source #

Specifies the settings for each trail.

See: newCreateTrail smart constructor.

Instances

Instances details
Eq CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Read CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Show CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Generic CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type Rep CreateTrail :: Type -> Type #

NFData CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Methods

rnf :: CreateTrail -> () #

Hashable CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

ToJSON CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

AWSRequest CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type AWSResponse CreateTrail #

ToHeaders CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Methods

toHeaders :: CreateTrail -> [Header] #

ToPath CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

ToQuery CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type Rep CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type Rep CreateTrail = D1 ('MetaData "CreateTrail" "Amazonka.CloudTrail.CreateTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "CreateTrail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enableLogFileValidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

newCreateTrail Source #

Create a value of CreateTrail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3KeyPrefix:CreateTrail', createTrail_s3KeyPrefix - Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters.

$sel:snsTopicName:CreateTrail', createTrail_snsTopicName - Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.

$sel:enableLogFileValidation:CreateTrail', createTrail_enableLogFileValidation - Specifies whether log file integrity validation is enabled. The default is false.

When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail does 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.

$sel:cloudWatchLogsLogGroupArn:CreateTrail', createTrail_cloudWatchLogsLogGroupArn - Specifies 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.

$sel:kmsKeyId:CreateTrail', createTrail_kmsKeyId - Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.

CloudTrail also supports KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the Key Management Service Developer Guide.

Examples:

  • alias/MyAliasName
  • arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
  • arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
  • 12345678-1234-1234-1234-123456789012

$sel:includeGlobalServiceEvents:CreateTrail', createTrail_includeGlobalServiceEvents - Specifies whether the trail is publishing events from global services such as IAM to the log files.

$sel:tagsList:CreateTrail', createTrail_tagsList - Undocumented member.

$sel:isOrganizationTrail:CreateTrail', createTrail_isOrganizationTrail - Specifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in Organizations.

$sel:cloudWatchLogsRoleArn:CreateTrail', createTrail_cloudWatchLogsRoleArn - Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

$sel:isMultiRegionTrail:CreateTrail', createTrail_isMultiRegionTrail - 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 creating trails that log events in all regions.

$sel:name:CreateTrail', createTrail_name - Specifies the name of the trail. The name must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

$sel:s3BucketName:CreateTrail', createTrail_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements.

data CreateTrailResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newCreateTrailResponse smart constructor.

Instances

Instances details
Eq CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Read CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Show CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Generic CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type Rep CreateTrailResponse :: Type -> Type #

NFData CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Methods

rnf :: CreateTrailResponse -> () #

type Rep CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type Rep CreateTrailResponse = D1 ('MetaData "CreateTrailResponse" "Amazonka.CloudTrail.CreateTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "CreateTrailResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "snsTopicARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateTrailResponse Source #

Create a value of CreateTrailResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logFileValidationEnabled:CreateTrailResponse', createTrailResponse_logFileValidationEnabled - Specifies whether log file integrity validation is enabled.

$sel:trailARN:CreateTrailResponse', createTrailResponse_trailARN - Specifies the ARN of the trail that was created. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

$sel:s3KeyPrefix:CreateTrail', createTrailResponse_s3KeyPrefix - Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files.

$sel:snsTopicARN:CreateTrailResponse', createTrailResponse_snsTopicARN - 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:

arn:aws:sns:us-east-2:123456789012:MyTopic

$sel:snsTopicName:CreateTrail', createTrailResponse_snsTopicName - This field is no longer in use. Use SnsTopicARN.

$sel:cloudWatchLogsLogGroupArn:CreateTrail', createTrailResponse_cloudWatchLogsLogGroupArn - Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.

$sel:kmsKeyId:CreateTrail', createTrailResponse_kmsKeyId - 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 following format.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

$sel:name:CreateTrail', createTrailResponse_name - Specifies the name of the trail.

$sel:includeGlobalServiceEvents:CreateTrail', createTrailResponse_includeGlobalServiceEvents - Specifies whether the trail is publishing events from global services such as IAM to the log files.

$sel:isOrganizationTrail:CreateTrail', createTrailResponse_isOrganizationTrail - Specifies whether the trail is an organization trail.

$sel:cloudWatchLogsRoleArn:CreateTrail', createTrailResponse_cloudWatchLogsRoleArn - Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

$sel:s3BucketName:CreateTrail', createTrailResponse_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files.

$sel:isMultiRegionTrail:CreateTrail', createTrailResponse_isMultiRegionTrail - Specifies whether the trail exists in one region or in all regions.

$sel:httpStatus:CreateTrailResponse', createTrailResponse_httpStatus - The response's http status code.

PutInsightSelectors

data PutInsightSelectors Source #

See: newPutInsightSelectors smart constructor.

Instances

Instances details
Eq PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Read PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Show PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Generic PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type Rep PutInsightSelectors :: Type -> Type #

NFData PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Methods

rnf :: PutInsightSelectors -> () #

Hashable PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

ToJSON PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

AWSRequest PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type AWSResponse PutInsightSelectors #

ToHeaders PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

ToPath PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

ToQuery PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

type Rep PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

type Rep PutInsightSelectors = D1 ('MetaData "PutInsightSelectors" "Amazonka.CloudTrail.PutInsightSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "PutInsightSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InsightSelector])))
type AWSResponse PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

newPutInsightSelectors Source #

Create a value of PutInsightSelectors with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailName:PutInsightSelectors', putInsightSelectors_trailName - The name of the CloudTrail trail for which you want to change or add Insights selectors.

$sel:insightSelectors:PutInsightSelectors', putInsightSelectors_insightSelectors - A JSON string that contains the Insights types that you want to log on a trail. The valid Insights type in this release is ApiCallRateInsight.

data PutInsightSelectorsResponse Source #

See: newPutInsightSelectorsResponse smart constructor.

Instances

Instances details
Eq PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Read PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Show PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Generic PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type Rep PutInsightSelectorsResponse :: Type -> Type #

NFData PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

type Rep PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

type Rep PutInsightSelectorsResponse = D1 ('MetaData "PutInsightSelectorsResponse" "Amazonka.CloudTrail.PutInsightSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "PutInsightSelectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSelector])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutInsightSelectorsResponse Source #

Create a value of PutInsightSelectorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailARN:PutInsightSelectorsResponse', putInsightSelectorsResponse_trailARN - The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.

$sel:insightSelectors:PutInsightSelectors', putInsightSelectorsResponse_insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights type in this release is ApiCallRateInsight.

$sel:httpStatus:PutInsightSelectorsResponse', putInsightSelectorsResponse_httpStatus - The response's http status code.

GetEventSelectors

data GetEventSelectors Source #

See: newGetEventSelectors smart constructor.

Constructors

GetEventSelectors' Text 

Instances

Instances details
Eq GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Read GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Show GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Generic GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type Rep GetEventSelectors :: Type -> Type #

NFData GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Methods

rnf :: GetEventSelectors -> () #

Hashable GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

ToJSON GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

AWSRequest GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type AWSResponse GetEventSelectors #

ToHeaders GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

ToPath GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

ToQuery GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

type Rep GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

type Rep GetEventSelectors = D1 ('MetaData "GetEventSelectors" "Amazonka.CloudTrail.GetEventSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetEventSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

newGetEventSelectors Source #

Create a value of GetEventSelectors with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailName:GetEventSelectors', getEventSelectors_trailName - Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

If you specify a trail ARN, it must be in the format:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data GetEventSelectorsResponse Source #

See: newGetEventSelectorsResponse smart constructor.

Instances

Instances details
Eq GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Read GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Show GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Generic GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type Rep GetEventSelectorsResponse :: Type -> Type #

NFData GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

type Rep GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

type Rep GetEventSelectorsResponse = D1 ('MetaData "GetEventSelectorsResponse" "Amazonka.CloudTrail.GetEventSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetEventSelectorsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector]))) :*: (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetEventSelectorsResponse Source #

Create a value of GetEventSelectorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailARN:GetEventSelectorsResponse', getEventSelectorsResponse_trailARN - The specified trail ARN that has the event selectors.

$sel:eventSelectors:GetEventSelectorsResponse', getEventSelectorsResponse_eventSelectors - The event selectors that are configured for the trail.

$sel:advancedEventSelectors:GetEventSelectorsResponse', getEventSelectorsResponse_advancedEventSelectors - The advanced event selectors that are configured for the trail.

$sel:httpStatus:GetEventSelectorsResponse', getEventSelectorsResponse_httpStatus - The response's http status code.

GetTrail

data GetTrail Source #

See: newGetTrail smart constructor.

Constructors

GetTrail' Text 

Instances

Instances details
Eq GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Read GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Generic GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type Rep GetTrail :: Type -> Type #

Methods

from :: GetTrail -> Rep GetTrail x #

to :: Rep GetTrail x -> GetTrail #

NFData GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrail -> () #

Hashable GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

hashWithSalt :: Int -> GetTrail -> Int #

hash :: GetTrail -> Int #

ToJSON GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

AWSRequest GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type AWSResponse GetTrail #

ToHeaders GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

toHeaders :: GetTrail -> [Header] #

ToPath GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

ToQuery GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrail = D1 ('MetaData "GetTrail" "Amazonka.CloudTrail.GetTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

newGetTrail Source #

Create a value of GetTrail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:GetTrail', getTrail_name - The name or the Amazon Resource Name (ARN) of the trail for which you want to retrieve settings information.

data GetTrailResponse Source #

See: newGetTrailResponse smart constructor.

Instances

Instances details
Eq GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Read GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Generic GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type Rep GetTrailResponse :: Type -> Type #

NFData GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrailResponse -> () #

type Rep GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrailResponse = D1 ('MetaData "GetTrailResponse" "Amazonka.CloudTrail.GetTrail" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrailResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Trail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTrailResponse Source #

Create a value of GetTrailResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trail:GetTrailResponse', getTrailResponse_trail - Undocumented member.

$sel:httpStatus:GetTrailResponse', getTrailResponse_httpStatus - The response's http status code.

GetTrailStatus

data GetTrailStatus Source #

The name of a trail about which you want the current status.

See: newGetTrailStatus smart constructor.

Constructors

GetTrailStatus' Text 

Instances

Instances details
Eq GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Read GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Show GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Generic GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type Rep GetTrailStatus :: Type -> Type #

NFData GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Methods

rnf :: GetTrailStatus -> () #

Hashable GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

ToJSON GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

AWSRequest GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type AWSResponse GetTrailStatus #

ToHeaders GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

ToPath GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

ToQuery GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type Rep GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type Rep GetTrailStatus = D1 ('MetaData "GetTrailStatus" "Amazonka.CloudTrail.GetTrailStatus" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrailStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

newGetTrailStatus Source #

Create a value of GetTrailStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:GetTrailStatus', getTrailStatus_name - 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 following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data GetTrailStatusResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newGetTrailStatusResponse smart constructor.

Instances

Instances details
Eq GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Read GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Show GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Generic GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type Rep GetTrailStatusResponse :: Type -> Type #

NFData GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Methods

rnf :: GetTrailStatusResponse -> () #

type Rep GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type Rep GetTrailStatusResponse = D1 ('MetaData "GetTrailStatusResponse" "Amazonka.CloudTrail.GetTrailStatus" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetTrailStatusResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "timeLoggingStopped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestDeliveryError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestDigestDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestNotificationAttemptSucceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "startLoggingTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestNotificationError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestDeliveryAttemptSucceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isLogging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "timeLoggingStarted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "latestDigestDeliveryError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestDeliveryAttemptTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestCloudWatchLogsDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "latestCloudWatchLogsDeliveryError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestNotificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "latestNotificationAttemptTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stopLoggingTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newGetTrailStatusResponse Source #

Create a value of GetTrailStatusResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timeLoggingStopped:GetTrailStatusResponse', getTrailStatusResponse_timeLoggingStopped - This field is no longer in use.

$sel:latestDeliveryError:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryError - Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

$sel:latestDigestDeliveryTime:GetTrailStatusResponse', getTrailStatusResponse_latestDigestDeliveryTime - Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.

$sel:latestNotificationAttemptSucceeded:GetTrailStatusResponse', getTrailStatusResponse_latestNotificationAttemptSucceeded - This field is no longer in use.

$sel:startLoggingTime:GetTrailStatusResponse', getTrailStatusResponse_startLoggingTime - Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.

$sel:latestNotificationError:GetTrailStatusResponse', getTrailStatusResponse_latestNotificationError - Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.

$sel:latestDeliveryAttemptSucceeded:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryAttemptSucceeded - This field is no longer in use.

$sel:isLogging:GetTrailStatusResponse', getTrailStatusResponse_isLogging - Whether the CloudTrail trail is currently logging Amazon Web Services API calls.

$sel:timeLoggingStarted:GetTrailStatusResponse', getTrailStatusResponse_timeLoggingStarted - This field is no longer in use.

$sel:latestDigestDeliveryError:GetTrailStatusResponse', getTrailStatusResponse_latestDigestDeliveryError - Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

$sel:latestDeliveryAttemptTime:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryAttemptTime - This field is no longer in use.

$sel:latestDeliveryTime:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryTime - Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.

$sel:latestCloudWatchLogsDeliveryTime:GetTrailStatusResponse', getTrailStatusResponse_latestCloudWatchLogsDeliveryTime - Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.

$sel:latestCloudWatchLogsDeliveryError:GetTrailStatusResponse', getTrailStatusResponse_latestCloudWatchLogsDeliveryError - Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.

$sel:latestNotificationTime:GetTrailStatusResponse', getTrailStatusResponse_latestNotificationTime - 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.

$sel:latestNotificationAttemptTime:GetTrailStatusResponse', getTrailStatusResponse_latestNotificationAttemptTime - This field is no longer in use.

$sel:stopLoggingTime:GetTrailStatusResponse', getTrailStatusResponse_stopLoggingTime - Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.

$sel:httpStatus:GetTrailStatusResponse', getTrailStatusResponse_httpStatus - The response's http status code.

AddTags

data AddTags Source #

Specifies the tags to add to a trail.

See: newAddTags smart constructor.

Constructors

AddTags' (Maybe [Tag]) Text 

Instances

Instances details
Eq AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

(==) :: AddTags -> AddTags -> Bool #

(/=) :: AddTags -> AddTags -> Bool #

Read AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Generic AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Associated Types

type Rep AddTags :: Type -> Type #

Methods

from :: AddTags -> Rep AddTags x #

to :: Rep AddTags x -> AddTags #

NFData AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

rnf :: AddTags -> () #

Hashable AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

ToJSON AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Associated Types

type AWSResponse AddTags #

ToHeaders AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

toHeaders :: AddTags -> [Header] #

ToPath AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

toPath :: AddTags -> ByteString #

ToQuery AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

type Rep AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

type Rep AddTags = D1 ('MetaData "AddTags" "Amazonka.CloudTrail.AddTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

newAddTags Source #

Create a value of AddTags with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tagsList:AddTags', addTags_tagsList - Contains a list of tags, up to a limit of 50

$sel:resourceId:AddTags', addTags_resourceId - Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data AddTagsResponse Source #

Returns the objects or data if successful. Otherwise, returns an error.

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' Int 

Instances

Instances details
Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

rnf :: AddTagsResponse -> () #

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.CloudTrail.AddTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "AddTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddTagsResponse Source #

Create a value of AddTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:AddTagsResponse', addTagsResponse_httpStatus - The response's http status code.

ListTags (Paginated)

data ListTags Source #

Specifies a list of trail tags to return.

See: newListTags smart constructor.

Constructors

ListTags' (Maybe Text) [Text] 

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Generic ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

NFData ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

AWSPager ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.CloudTrail.ListTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceIdList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

newListTags :: ListTags Source #

Create a value of ListTags with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTags', listTags_nextToken - Reserved for future use.

$sel:resourceIdList:ListTags', listTags_resourceIdList - Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data ListTagsResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newListTagsResponse smart constructor.

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.CloudTrail.ListTags" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceTagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceTag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsResponse Source #

Create a value of ListTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTags', listTagsResponse_nextToken - Reserved for future use.

$sel:resourceTagList:ListTagsResponse', listTagsResponse_resourceTagList - A list of resource tags.

$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.

PutEventSelectors

data PutEventSelectors Source #

See: newPutEventSelectors smart constructor.

Instances

Instances details
Eq PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Read PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Show PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Generic PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type Rep PutEventSelectors :: Type -> Type #

NFData PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Methods

rnf :: PutEventSelectors -> () #

Hashable PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

ToJSON PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

AWSRequest PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type AWSResponse PutEventSelectors #

ToHeaders PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

ToPath PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

ToQuery PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

type Rep PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

type Rep PutEventSelectors = D1 ('MetaData "PutEventSelectors" "Amazonka.CloudTrail.PutEventSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "PutEventSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector])) :*: (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

newPutEventSelectors Source #

Create a value of PutEventSelectors with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:eventSelectors:PutEventSelectors', putEventSelectors_eventSelectors - Specifies the settings for your event selectors. You can configure up to five event selectors for a trail. You can use either EventSelectors or AdvancedEventSelectors in a PutEventSelectors request, but not both. If you apply EventSelectors to a trail, any existing AdvancedEventSelectors are overwritten.

$sel:advancedEventSelectors:PutEventSelectors', putEventSelectors_advancedEventSelectors - Specifies the settings for advanced event selectors. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.

$sel:trailName:PutEventSelectors', putEventSelectors_trailName - Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

If you specify a trail ARN, it must be in the following format.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data PutEventSelectorsResponse Source #

See: newPutEventSelectorsResponse smart constructor.

Instances

Instances details
Eq PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Read PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Show PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Generic PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type Rep PutEventSelectorsResponse :: Type -> Type #

NFData PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

type Rep PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

type Rep PutEventSelectorsResponse = D1 ('MetaData "PutEventSelectorsResponse" "Amazonka.CloudTrail.PutEventSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "PutEventSelectorsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector]))) :*: (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutEventSelectorsResponse Source #

Create a value of PutEventSelectorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailARN:PutEventSelectorsResponse', putEventSelectorsResponse_trailARN - Specifies the ARN of the trail that was updated with event selectors. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

$sel:eventSelectors:PutEventSelectors', putEventSelectorsResponse_eventSelectors - Specifies the event selectors configured for your trail.

$sel:advancedEventSelectors:PutEventSelectors', putEventSelectorsResponse_advancedEventSelectors - Specifies the advanced event selectors configured for your trail.

$sel:httpStatus:PutEventSelectorsResponse', putEventSelectorsResponse_httpStatus - The response's http status code.

StartLogging

data StartLogging Source #

The request to CloudTrail to start logging Amazon Web Services API calls for an account.

See: newStartLogging smart constructor.

Constructors

StartLogging' Text 

Instances

Instances details
Eq StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Read StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Show StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Generic StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type Rep StartLogging :: Type -> Type #

NFData StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Methods

rnf :: StartLogging -> () #

Hashable StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

ToJSON StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

AWSRequest StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type AWSResponse StartLogging #

ToHeaders StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

ToPath StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

ToQuery StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type Rep StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type Rep StartLogging = D1 ('MetaData "StartLogging" "Amazonka.CloudTrail.StartLogging" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "StartLogging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

newStartLogging Source #

Create a value of StartLogging with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:StartLogging', startLogging_name - Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs Amazon Web Services API calls. The following is the format of a trail ARN.

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data StartLoggingResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: newStartLoggingResponse smart constructor.

Instances

Instances details
Eq StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Read StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Show StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Generic StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type Rep StartLoggingResponse :: Type -> Type #

NFData StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Methods

rnf :: StartLoggingResponse -> () #

type Rep StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type Rep StartLoggingResponse = D1 ('MetaData "StartLoggingResponse" "Amazonka.CloudTrail.StartLogging" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "StartLoggingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartLoggingResponse Source #

Create a value of StartLoggingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StartLoggingResponse', startLoggingResponse_httpStatus - The response's http status code.

ListTrails (Paginated)

data ListTrails Source #

See: newListTrails smart constructor.

Constructors

ListTrails' (Maybe Text) 

Instances

Instances details
Eq ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Read ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Show ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Generic ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Associated Types

type Rep ListTrails :: Type -> Type #

NFData ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Methods

rnf :: ListTrails -> () #

Hashable ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

ToJSON ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

AWSPager ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

AWSRequest ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Associated Types

type AWSResponse ListTrails #

ToHeaders ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Methods

toHeaders :: ListTrails -> [Header] #

ToPath ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

ToQuery ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type Rep ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type Rep ListTrails = D1 ('MetaData "ListTrails" "Amazonka.CloudTrail.ListTrails" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListTrails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

newListTrails :: ListTrails Source #

Create a value of ListTrails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTrails', listTrails_nextToken - 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. 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.

data ListTrailsResponse Source #

See: newListTrailsResponse smart constructor.

Instances

Instances details
Eq ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Read ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Show ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Generic ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Associated Types

type Rep ListTrailsResponse :: Type -> Type #

NFData ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Methods

rnf :: ListTrailsResponse -> () #

type Rep ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type Rep ListTrailsResponse = D1 ('MetaData "ListTrailsResponse" "Amazonka.CloudTrail.ListTrails" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "ListTrailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrailInfo])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTrailsResponse Source #

Create a value of ListTrailsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTrails', listTrailsResponse_nextToken - The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. 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.

$sel:trails:ListTrailsResponse', listTrailsResponse_trails - Returns the name, ARN, and home region of trails in the current account.

$sel:httpStatus:ListTrailsResponse', listTrailsResponse_httpStatus - The response's http status code.

GetInsightSelectors

data GetInsightSelectors Source #

See: newGetInsightSelectors smart constructor.

Instances

Instances details
Eq GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Read GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Show GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Generic GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type Rep GetInsightSelectors :: Type -> Type #

NFData GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Methods

rnf :: GetInsightSelectors -> () #

Hashable GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

ToJSON GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

AWSRequest GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type AWSResponse GetInsightSelectors #

ToHeaders GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

ToPath GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

ToQuery GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

type Rep GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

type Rep GetInsightSelectors = D1 ('MetaData "GetInsightSelectors" "Amazonka.CloudTrail.GetInsightSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetInsightSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

newGetInsightSelectors Source #

Create a value of GetInsightSelectors with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailName:GetInsightSelectors', getInsightSelectors_trailName - Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
  • Start with a letter or number, and end with a letter or number
  • Be between 3 and 128 characters
  • Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are not valid.
  • Not be in IP address format (for example, 192.168.5.4)

If you specify a trail ARN, it must be in the format:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

data GetInsightSelectorsResponse Source #

See: newGetInsightSelectorsResponse smart constructor.

Instances

Instances details
Eq GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Read GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Show GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Generic GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type Rep GetInsightSelectorsResponse :: Type -> Type #

NFData GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

type Rep GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

type Rep GetInsightSelectorsResponse = D1 ('MetaData "GetInsightSelectorsResponse" "Amazonka.CloudTrail.GetInsightSelectors" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" 'False) (C1 ('MetaCons "GetInsightSelectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSelector])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetInsightSelectorsResponse Source #

Create a value of GetInsightSelectorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trailARN:GetInsightSelectorsResponse', getInsightSelectorsResponse_trailARN - The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.

$sel:insightSelectors:GetInsightSelectorsResponse', getInsightSelectorsResponse_insightSelectors - 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.

$sel:httpStatus:GetInsightSelectorsResponse', getInsightSelectorsResponse_httpStatus - The response's http status code.

Types

EventCategory