amazonka-cloudtrail-2.0: Amazon CloudTrail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

AccountHasOngoingImportException

_AccountHasOngoingImportException :: AsError a => Fold a ServiceError Source #

This exception is thrown when you start a new import and a previous import is still in progress.

AccountNotFoundException

_AccountNotFoundException :: AsError a => Fold a ServiceError Source #

This exception is thrown when when the specified account is not found or not part of an organization.

AccountNotRegisteredException

_AccountNotRegisteredException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.

AccountRegisteredException

_AccountRegisteredException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the account is already registered as the CloudTrail delegated administrator.

CannotDelegateManagementAccountException

_CannotDelegateManagementAccountException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the management account of an organization is registered as the CloudTrail delegated administrator.

ChannelARNInvalidException

_ChannelARNInvalidException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the specified value of ChannelARN is not valid.

ChannelNotFoundException

_ChannelNotFoundException :: AsError a => Fold a ServiceError Source #

The specified channel was not found.

CloudTrailARNInvalidException

_CloudTrailARNInvalidException :: AsError a => Fold 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

CloudTrailAccessNotEnabledException

_CloudTrailAccessNotEnabledException :: AsError a => Fold 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.

CloudTrailInvalidClientTokenIdException

_CloudTrailInvalidClientTokenIdException :: AsError a => Fold 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.

CloudWatchLogsDeliveryUnavailableException

_CloudWatchLogsDeliveryUnavailableException :: AsError a => Fold a ServiceError Source #

Cannot set a CloudWatch Logs delivery for this region.

ConflictException

_ConflictException :: AsError a => Fold 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 resource before CloudTrail has time to fully load the resource. If this exception occurs, wait a few minutes, and then try the operation again.

DelegatedAdminAccountLimitExceededException

_DelegatedAdminAccountLimitExceededException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the maximum number of CloudTrail delegated administrators is reached.

EventDataStoreARNInvalidException

_EventDataStoreARNInvalidException :: AsError a => Fold a ServiceError Source #

The specified event data store ARN is not valid or does not map to an event data store in your account.

EventDataStoreAlreadyExistsException

_EventDataStoreAlreadyExistsException :: AsError a => Fold a ServiceError Source #

An event data store with that name already exists.

EventDataStoreHasOngoingImportException

_EventDataStoreHasOngoingImportException :: AsError a => Fold a ServiceError Source #

This exception is thrown when you try to update or delete an event data store that currently has an import in progress.

EventDataStoreMaxLimitExceededException

_EventDataStoreMaxLimitExceededException :: AsError a => Fold a ServiceError Source #

Your account has used the maximum number of event data stores.

EventDataStoreNotFoundException

_EventDataStoreNotFoundException :: AsError a => Fold a ServiceError Source #

The specified event data store was not found.

EventDataStoreTerminationProtectedException

_EventDataStoreTerminationProtectedException :: AsError a => Fold a ServiceError Source #

The event data store cannot be deleted because termination protection is enabled for it.

ImportNotFoundException

_ImportNotFoundException :: AsError a => Fold a ServiceError Source #

The specified import was not found.

InactiveEventDataStoreException

_InactiveEventDataStoreException :: AsError a => Fold a ServiceError Source #

The event data store is inactive.

InactiveQueryException

_InactiveQueryException :: AsError a => Fold a ServiceError Source #

The specified query cannot be canceled because it is in the FINISHED, FAILED, TIMED_OUT, or CANCELLED state.

InsightNotEnabledException

_InsightNotEnabledException :: AsError a => Fold a ServiceError Source #

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

InsufficientDependencyServiceAccessPermissionException

_InsufficientDependencyServiceAccessPermissionException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the IAM user or role that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.

InsufficientEncryptionPolicyException

_InsufficientEncryptionPolicyException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.

InsufficientS3BucketPolicyException

_InsufficientS3BucketPolicyException :: AsError a => Fold a ServiceError Source #

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

InsufficientSnsTopicPolicyException

_InsufficientSnsTopicPolicyException :: AsError a => Fold a ServiceError Source #

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

InvalidCloudWatchLogsLogGroupArnException

_InvalidCloudWatchLogsLogGroupArnException :: AsError a => Fold a ServiceError Source #

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

InvalidCloudWatchLogsRoleArnException

_InvalidCloudWatchLogsRoleArnException :: AsError a => Fold a ServiceError Source #

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

InvalidDateRangeException

_InvalidDateRangeException :: AsError a => Fold a ServiceError Source #

A date range for the query was specified that is not valid. Be sure that the start time is chronologically before the end time. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.

InvalidEventCategoryException

_InvalidEventCategoryException :: AsError a => Fold a ServiceError Source #

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

InvalidEventDataStoreCategoryException

_InvalidEventDataStoreCategoryException :: AsError a => Fold a ServiceError Source #

This exception is thrown when event categories of specified event data stores are not valid.

InvalidEventDataStoreStatusException

_InvalidEventDataStoreStatusException :: AsError a => Fold a ServiceError Source #

The event data store is not in a status that supports the operation.

InvalidEventSelectorsException

_InvalidEventSelectorsException :: AsError a => Fold 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.

InvalidHomeRegionException

_InvalidHomeRegionException :: AsError a => Fold 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.

InvalidImportSourceException

_InvalidImportSourceException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the provided source S3 bucket is not valid for import.

InvalidInsightSelectorsException

_InvalidInsightSelectorsException :: AsError a => Fold 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.

InvalidKmsKeyIdException

_InvalidKmsKeyIdException :: AsError a => Fold a ServiceError Source #

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

InvalidLookupAttributesException

_InvalidLookupAttributesException :: AsError a => Fold a ServiceError Source #

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

InvalidMaxResultsException

_InvalidMaxResultsException :: AsError a => Fold a ServiceError Source #

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

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Fold 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.

InvalidParameterCombinationException

_InvalidParameterCombinationException :: AsError a => Fold a ServiceError Source #

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

InvalidParameterException

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

The request includes a parameter that is not valid.

InvalidQueryStatementException

_InvalidQueryStatementException :: AsError a => Fold a ServiceError Source #

The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.

InvalidQueryStatusException

_InvalidQueryStatusException :: AsError a => Fold a ServiceError Source #

The query status is not valid for the operation.

InvalidS3BucketNameException

_InvalidS3BucketNameException :: AsError a => Fold a ServiceError Source #

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

InvalidS3PrefixException

_InvalidS3PrefixException :: AsError a => Fold a ServiceError Source #

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

InvalidSnsTopicNameException

_InvalidSnsTopicNameException :: AsError a => Fold a ServiceError Source #

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

InvalidTagParameterException

_InvalidTagParameterException :: AsError a => Fold 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.

InvalidTimeRangeException

_InvalidTimeRangeException :: AsError a => Fold 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.

InvalidTokenException

_InvalidTokenException :: AsError a => Fold a ServiceError Source #

Reserved for future use.

InvalidTrailNameException

_InvalidTrailNameException :: AsError a => Fold 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)

KmsException

_KmsException :: AsError a => Fold a ServiceError Source #

This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.

KmsKeyDisabledException

_KmsKeyDisabledException :: AsError a => Fold a ServiceError Source #

This exception is no longer in use.

KmsKeyNotFoundException

_KmsKeyNotFoundException :: AsError a => Fold 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.

MaxConcurrentQueriesException

_MaxConcurrentQueriesException :: AsError a => Fold a ServiceError Source #

You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.

MaximumNumberOfTrailsExceededException

_MaximumNumberOfTrailsExceededException :: AsError a => Fold a ServiceError Source #

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

NoManagementAccountSLRExistsException

_NoManagementAccountSLRExistsException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the management account does not have a service-linked role.

NotOrganizationManagementAccountException

_NotOrganizationManagementAccountException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the account making the request is not the organization's management account.

NotOrganizationMasterAccountException

_NotOrganizationMasterAccountException :: AsError a => Fold a ServiceError Source #

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

OperationNotPermittedException

_OperationNotPermittedException :: AsError a => Fold a ServiceError Source #

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

OrganizationNotInAllFeaturesModeException

_OrganizationNotInAllFeaturesModeException :: AsError a => Fold 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 or event data store.

OrganizationsNotInUseException

_OrganizationsNotInUseException :: AsError a => Fold 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.

QueryIdNotFoundException

_QueryIdNotFoundException :: AsError a => Fold a ServiceError Source #

The query ID does not exist or does not map to a query.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

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

ResourceTypeNotSupportedException

_ResourceTypeNotSupportedException :: AsError a => Fold a ServiceError Source #

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

S3BucketDoesNotExistException

_S3BucketDoesNotExistException :: AsError a => Fold a ServiceError Source #

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

TagsLimitExceededException

_TagsLimitExceededException :: AsError a => Fold a ServiceError Source #

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

TrailAlreadyExistsException

_TrailAlreadyExistsException :: AsError a => Fold a ServiceError Source #

This exception is thrown when the specified trail already exists.

TrailNotFoundException

_TrailNotFoundException :: AsError a => Fold a ServiceError Source #

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

TrailNotProvidedException

_TrailNotProvidedException :: AsError a => Fold a ServiceError Source #

This exception is no longer in use.

UnsupportedOperationException

_UnsupportedOperationException :: AsError a => Fold a ServiceError Source #

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

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.

AddTags

data AddTags Source #

Specifies the tags to add to a trail or event data store.

See: newAddTags smart constructor.

Constructors

AddTags' Text [Tag] 

Instances

Instances details
ToJSON AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Associated Types

type AWSResponse 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 #

Read AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

NFData AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

rnf :: AddTags -> () #

Eq AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

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

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

Hashable AddTags Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newAddTags Source #

Arguments

:: Text

AddTags

-> AddTags 

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:

AddTags, addTags_resourceId - Specifies the ARN of the trail or event data store 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

AddTags, addTags_tagsList - Contains a list of tags, up to a limit of 50

data AddTagsResponse Source #

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

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' Int 

Instances

Instances details
Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

Methods

rnf :: AddTagsResponse -> () #

Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.CloudTrail.AddTags" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

CancelQuery

data CancelQuery Source #

See: newCancelQuery smart constructor.

Constructors

CancelQuery' (Maybe Text) Text 

Instances

Instances details
ToJSON CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

ToHeaders CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Methods

toHeaders :: CancelQuery -> [Header] #

ToPath CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

ToQuery CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

AWSRequest CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Associated Types

type AWSResponse CancelQuery #

Generic CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Associated Types

type Rep CancelQuery :: Type -> Type #

Read CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Show CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

NFData CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Methods

rnf :: CancelQuery -> () #

Eq CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Hashable CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

type AWSResponse CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

type Rep CancelQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

type Rep CancelQuery = D1 ('MetaData "CancelQuery" "Amazonka.CloudTrail.CancelQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CancelQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelQuery Source #

Create a value of CancelQuery 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:eventDataStore:CancelQuery', cancelQuery_eventDataStore - The ARN (or the ID suffix of the ARN) of an event data store on which the specified query is running.

CancelQuery, cancelQuery_queryId - The ID of the query that you want to cancel. The QueryId comes from the response of a StartQuery operation.

data CancelQueryResponse Source #

See: newCancelQueryResponse smart constructor.

Instances

Instances details
Generic CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Associated Types

type Rep CancelQueryResponse :: Type -> Type #

Read CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Show CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

NFData CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

Methods

rnf :: CancelQueryResponse -> () #

Eq CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

type Rep CancelQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CancelQuery

type Rep CancelQueryResponse = D1 ('MetaData "CancelQueryResponse" "Amazonka.CloudTrail.CancelQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CancelQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QueryStatus))))

newCancelQueryResponse Source #

Create a value of CancelQueryResponse 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:CancelQueryResponse', cancelQueryResponse_httpStatus - The response's http status code.

CancelQuery, cancelQueryResponse_queryId - The ID of the canceled query.

CancelQueryResponse, cancelQueryResponse_queryStatus - Shows the status of a query after a CancelQuery request. Typically, the values shown are either RUNNING or CANCELLED.

CreateEventDataStore

data CreateEventDataStore Source #

See: newCreateEventDataStore smart constructor.

Instances

Instances details
ToJSON CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

ToHeaders CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

ToPath CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

ToQuery CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

AWSRequest CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Associated Types

type AWSResponse CreateEventDataStore #

Generic CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Associated Types

type Rep CreateEventDataStore :: Type -> Type #

Read CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Show CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

NFData CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Methods

rnf :: CreateEventDataStore -> () #

Eq CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Hashable CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

type AWSResponse CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

type Rep CreateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

type Rep CreateEventDataStore = D1 ('MetaData "CreateEventDataStore" "Amazonka.CloudTrail.CreateEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CreateEventDataStore'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateEventDataStore Source #

Create a value of CreateEventDataStore 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:

CreateEventDataStore, createEventDataStore_advancedEventSelectors - The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.

CreateEventDataStore, createEventDataStore_kmsKeyId - Specifies the KMS key ID to use to encrypt the events 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.

Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.

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

CreateEventDataStore, createEventDataStore_multiRegionEnabled - Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created.

CreateEventDataStore, createEventDataStore_organizationEnabled - Specifies whether an event data store collects events logged for an organization in Organizations.

CreateEventDataStore, createEventDataStore_retentionPeriod - The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years.

CreateEventDataStore, createEventDataStore_tagsList - Undocumented member.

CreateEventDataStore, createEventDataStore_terminationProtectionEnabled - Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.

CreateEventDataStore, createEventDataStore_name - The name of the event data store.

data CreateEventDataStoreResponse Source #

See: newCreateEventDataStoreResponse smart constructor.

Instances

Instances details
Generic CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Associated Types

type Rep CreateEventDataStoreResponse :: Type -> Type #

Read CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Show CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

NFData CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

Eq CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

type Rep CreateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateEventDataStore

type Rep CreateEventDataStoreResponse = D1 ('MetaData "CreateEventDataStoreResponse" "Amazonka.CloudTrail.CreateEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CreateEventDataStoreResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)))) :*: ((S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateEventDataStoreResponse Source #

Create a value of CreateEventDataStoreResponse 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:

CreateEventDataStore, createEventDataStoreResponse_advancedEventSelectors - The advanced event selectors that were used to select the events for the data store.

CreateEventDataStoreResponse, createEventDataStoreResponse_createdTimestamp - The timestamp that shows when the event data store was created.

CreateEventDataStoreResponse, createEventDataStoreResponse_eventDataStoreArn - The ARN of the event data store.

CreateEventDataStore, createEventDataStoreResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events 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

CreateEventDataStore, createEventDataStoreResponse_multiRegionEnabled - Indicates whether the event data store collects events from all regions, or only from the region in which it was created.

CreateEventDataStore, createEventDataStoreResponse_name - The name of the event data store.

CreateEventDataStore, createEventDataStoreResponse_organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.

CreateEventDataStore, createEventDataStoreResponse_retentionPeriod - The retention period of an event data store, in days.

CreateEventDataStoreResponse, createEventDataStoreResponse_status - The status of event data store creation.

CreateEventDataStore, createEventDataStoreResponse_tagsList - Undocumented member.

CreateEventDataStore, createEventDataStoreResponse_terminationProtectionEnabled - Indicates whether termination protection is enabled for the event data store.

CreateEventDataStoreResponse, createEventDataStoreResponse_updatedTimestamp - The timestamp that shows when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

$sel:httpStatus:CreateEventDataStoreResponse', createEventDataStoreResponse_httpStatus - The response's http status code.

CreateTrail

data CreateTrail Source #

Specifies the settings for each trail.

See: newCreateTrail smart constructor.

Instances

Instances details
ToJSON CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type AWSResponse CreateTrail #

Generic CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type Rep CreateTrail :: Type -> Type #

Read CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Show CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

NFData CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Methods

rnf :: CreateTrail -> () #

Eq CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Hashable CreateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CreateTrail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enableLogFileValidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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:

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.

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

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

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

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.

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.

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

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.

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

CreateTrail, createTrail_tagsList - Undocumented member.

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)

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
Generic CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Associated Types

type Rep CreateTrailResponse :: Type -> Type #

Read CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Show CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

NFData CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

Methods

rnf :: CreateTrailResponse -> () #

Eq CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type Rep CreateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.CreateTrail

type Rep CreateTrailResponse = D1 ('MetaData "CreateTrailResponse" "Amazonka.CloudTrail.CreateTrail" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "CreateTrailResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "s3BucketName") '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 "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

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

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

CreateTrail, createTrailResponse_isMultiRegionTrail - Specifies whether the trail exists in one region or in all regions.

CreateTrail, createTrailResponse_isOrganizationTrail - Specifies whether the trail is an organization trail.

CreateTrail, createTrailResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events 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

CreateTrailResponse, createTrailResponse_logFileValidationEnabled - Specifies whether log file integrity validation is enabled.

CreateTrail, createTrailResponse_name - Specifies the name of the trail.

CreateTrail, createTrailResponse_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files.

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.

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

CreateTrail, createTrailResponse_snsTopicName - This field is no longer in use. Use SnsTopicARN.

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:httpStatus:CreateTrailResponse', createTrailResponse_httpStatus - The response's http status code.

DeleteEventDataStore

data DeleteEventDataStore Source #

See: newDeleteEventDataStore smart constructor.

Instances

Instances details
ToJSON DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToHeaders DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToPath DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToQuery DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

AWSRequest DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type AWSResponse DeleteEventDataStore #

Generic DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type Rep DeleteEventDataStore :: Type -> Type #

Read DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Show DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

NFData DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Methods

rnf :: DeleteEventDataStore -> () #

Eq DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Hashable DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type AWSResponse DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStore = D1 ('MetaData "DeleteEventDataStore" "Amazonka.CloudTrail.DeleteEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeleteEventDataStore'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEventDataStore Source #

Create a value of DeleteEventDataStore 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:eventDataStore:DeleteEventDataStore', deleteEventDataStore_eventDataStore - The ARN (or the ID suffix of the ARN) of the event data store to delete.

data DeleteEventDataStoreResponse Source #

See: newDeleteEventDataStoreResponse smart constructor.

Instances

Instances details
Generic DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type Rep DeleteEventDataStoreResponse :: Type -> Type #

Read DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Show DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

NFData DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Eq DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStoreResponse = D1 ('MetaData "DeleteEventDataStoreResponse" "Amazonka.CloudTrail.DeleteEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeleteEventDataStoreResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteEventDataStoreResponse Source #

Create a value of DeleteEventDataStoreResponse 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:DeleteEventDataStoreResponse', deleteEventDataStoreResponse_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
ToJSON DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type AWSResponse DeleteTrail #

Generic DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type Rep DeleteTrail :: Type -> Type #

Read DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Show DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

NFData DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Methods

rnf :: DeleteTrail -> () #

Eq DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Hashable DeleteTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeleteTrail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Associated Types

type Rep DeleteTrailResponse :: Type -> Type #

Read DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Show DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

NFData DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

Methods

rnf :: DeleteTrailResponse -> () #

Eq DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type Rep DeleteTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteTrail

type Rep DeleteTrailResponse = D1 ('MetaData "DeleteTrailResponse" "Amazonka.CloudTrail.DeleteTrail" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

DeregisterOrganizationDelegatedAdmin

data DeregisterOrganizationDelegatedAdmin Source #

Removes CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.

See: newDeregisterOrganizationDelegatedAdmin smart constructor.

Instances

Instances details
ToJSON DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

ToHeaders DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

ToPath DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

ToQuery DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

AWSRequest DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Generic DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Read DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Show DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

NFData DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Eq DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Hashable DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

type AWSResponse DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

type Rep DeregisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

type Rep DeregisterOrganizationDelegatedAdmin = D1 ('MetaData "DeregisterOrganizationDelegatedAdmin" "Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeregisterOrganizationDelegatedAdmin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delegatedAdminAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeregisterOrganizationDelegatedAdmin Source #

Create a value of DeregisterOrganizationDelegatedAdmin 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:delegatedAdminAccountId:DeregisterOrganizationDelegatedAdmin', deregisterOrganizationDelegatedAdmin_delegatedAdminAccountId - A delegated administrator account ID. This is a member account in an organization that is currently designated as a delegated administrator.

data DeregisterOrganizationDelegatedAdminResponse Source #

Returns the following response if successful. Otherwise, returns an error.

See: newDeregisterOrganizationDelegatedAdminResponse smart constructor.

Instances

Instances details
Generic DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Read DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Show DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

NFData DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

Eq DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

type Rep DeregisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin

type Rep DeregisterOrganizationDelegatedAdminResponse = D1 ('MetaData "DeregisterOrganizationDelegatedAdminResponse" "Amazonka.CloudTrail.DeregisterOrganizationDelegatedAdmin" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeregisterOrganizationDelegatedAdminResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeregisterOrganizationDelegatedAdminResponse Source #

Create a value of DeregisterOrganizationDelegatedAdminResponse 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:DeregisterOrganizationDelegatedAdminResponse', deregisterOrganizationDelegatedAdminResponse_httpStatus - The response's http status code.

DescribeQuery

data DescribeQuery Source #

See: newDescribeQuery smart constructor.

Constructors

DescribeQuery' (Maybe Text) Text 

Instances

Instances details
ToJSON DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

ToHeaders DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

ToPath DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

ToQuery DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

AWSRequest DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Associated Types

type AWSResponse DescribeQuery #

Generic DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Associated Types

type Rep DescribeQuery :: Type -> Type #

Read DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Show DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

NFData DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Methods

rnf :: DescribeQuery -> () #

Eq DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Hashable DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

type AWSResponse DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

type Rep DescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

type Rep DescribeQuery = D1 ('MetaData "DescribeQuery" "Amazonka.CloudTrail.DescribeQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DescribeQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeQuery Source #

Create a value of DescribeQuery 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:eventDataStore:DescribeQuery', describeQuery_eventDataStore - The ARN (or the ID suffix of the ARN) of an event data store on which the specified query was run.

DescribeQuery, describeQuery_queryId - The query ID.

data DescribeQueryResponse Source #

See: newDescribeQueryResponse smart constructor.

Instances

Instances details
Generic DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Associated Types

type Rep DescribeQueryResponse :: Type -> Type #

Read DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Show DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

NFData DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

Methods

rnf :: DescribeQueryResponse -> () #

Eq DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

type Rep DescribeQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeQuery

newDescribeQueryResponse Source #

Create a value of DescribeQueryResponse 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:deliveryS3Uri:DescribeQueryResponse', describeQueryResponse_deliveryS3Uri - The URI for the S3 bucket where CloudTrail delivered query results, if applicable.

$sel:deliveryStatus:DescribeQueryResponse', describeQueryResponse_deliveryStatus - The delivery status.

DescribeQueryResponse, describeQueryResponse_errorMessage - The error message returned if a query failed.

DescribeQuery, describeQueryResponse_queryId - The ID of the query.

$sel:queryStatistics:DescribeQueryResponse', describeQueryResponse_queryStatistics - Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.

DescribeQueryResponse, describeQueryResponse_queryStatus - The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED

$sel:queryString:DescribeQueryResponse', describeQueryResponse_queryString - The SQL code of a query.

$sel:httpStatus:DescribeQueryResponse', describeQueryResponse_httpStatus - The response's http status code.

DescribeTrails

data DescribeTrails Source #

Returns information about the trail.

See: newDescribeTrails smart constructor.

Constructors

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

Instances

Instances details
ToJSON DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type AWSResponse DescribeTrails #

Generic DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type Rep DescribeTrails :: Type -> Type #

Read DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Show DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

NFData DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Methods

rnf :: DescribeTrails -> () #

Eq DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Hashable DescribeTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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]))))

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
Generic DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Associated Types

type Rep DescribeTrailsResponse :: Type -> Type #

Read DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Show DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

NFData DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

Methods

rnf :: DescribeTrailsResponse -> () #

Eq DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type Rep DescribeTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DescribeTrails

type Rep DescribeTrailsResponse = D1 ('MetaData "DescribeTrailsResponse" "Amazonka.CloudTrail.DescribeTrails" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

GetChannel

data GetChannel Source #

See: newGetChannel smart constructor.

Constructors

GetChannel' Text 

Instances

Instances details
ToJSON GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

ToHeaders GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Methods

toHeaders :: GetChannel -> [Header] #

ToPath GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

ToQuery GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

AWSRequest GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Associated Types

type AWSResponse GetChannel #

Generic GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Associated Types

type Rep GetChannel :: Type -> Type #

Read GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Show GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

NFData GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Methods

rnf :: GetChannel -> () #

Eq GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Hashable GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

type AWSResponse GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

type Rep GetChannel Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

type Rep GetChannel = D1 ('MetaData "GetChannel" "Amazonka.CloudTrail.GetChannel" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetChannel Source #

Create a value of GetChannel 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:channel:GetChannel', getChannel_channel - The ARN or UUID of a channel.

data GetChannelResponse Source #

See: newGetChannelResponse smart constructor.

Instances

Instances details
Generic GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Associated Types

type Rep GetChannelResponse :: Type -> Type #

Read GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Show GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

NFData GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

Methods

rnf :: GetChannelResponse -> () #

Eq GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

type Rep GetChannelResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetChannel

type Rep GetChannelResponse = D1 ('MetaData "GetChannelResponse" "Amazonka.CloudTrail.GetChannel" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetChannelResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Destination))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetChannelResponse Source #

Create a value of GetChannelResponse 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:

GetChannelResponse, getChannelResponse_channelArn - The ARN of an channel returned by a GetChannel request.

GetChannelResponse, getChannelResponse_destinations - The Amazon Web Services service that created the service-linked channel.

GetChannelResponse, getChannelResponse_name - The name of the CloudTrail channel. For service-linked channels, the value is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix generated by the Amazon Web Services service.

$sel:source:GetChannelResponse', getChannelResponse_source - The event source for the CloudTrail channel.

$sel:sourceConfig:GetChannelResponse', getChannelResponse_sourceConfig - Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.

$sel:httpStatus:GetChannelResponse', getChannelResponse_httpStatus - The response's http status code.

GetEventDataStore

data GetEventDataStore Source #

See: newGetEventDataStore smart constructor.

Constructors

GetEventDataStore' Text 

Instances

Instances details
ToJSON GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToHeaders GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToPath GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToQuery GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

AWSRequest GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type AWSResponse GetEventDataStore #

Generic GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type Rep GetEventDataStore :: Type -> Type #

Read GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Show GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

NFData GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Methods

rnf :: GetEventDataStore -> () #

Eq GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Hashable GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type AWSResponse GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStore = D1 ('MetaData "GetEventDataStore" "Amazonka.CloudTrail.GetEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetEventDataStore'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetEventDataStore Source #

Create a value of GetEventDataStore 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:eventDataStore:GetEventDataStore', getEventDataStore_eventDataStore - The ARN (or ID suffix of the ARN) of the event data store about which you want information.

data GetEventDataStoreResponse Source #

See: newGetEventDataStoreResponse smart constructor.

Instances

Instances details
Generic GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type Rep GetEventDataStoreResponse :: Type -> Type #

Read GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Show GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

NFData GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Eq GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStoreResponse = D1 ('MetaData "GetEventDataStoreResponse" "Amazonka.CloudTrail.GetEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetEventDataStoreResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetEventDataStoreResponse Source #

Create a value of GetEventDataStoreResponse 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:

GetEventDataStoreResponse, getEventDataStoreResponse_advancedEventSelectors - The advanced event selectors used to select events for the data store.

GetEventDataStoreResponse, getEventDataStoreResponse_createdTimestamp - The timestamp of the event data store's creation.

GetEventDataStoreResponse, getEventDataStoreResponse_eventDataStoreArn - The event data store Amazon Resource Number (ARN).

GetEventDataStoreResponse, getEventDataStoreResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events 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

GetEventDataStoreResponse, getEventDataStoreResponse_multiRegionEnabled - Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

GetEventDataStoreResponse, getEventDataStoreResponse_name - The name of the event data store.

GetEventDataStoreResponse, getEventDataStoreResponse_organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.

GetEventDataStoreResponse, getEventDataStoreResponse_retentionPeriod - The retention period of the event data store, in days.

GetEventDataStoreResponse, getEventDataStoreResponse_status - The status of an event data store. Values can be ENABLED and PENDING_DELETION.

GetEventDataStoreResponse, getEventDataStoreResponse_terminationProtectionEnabled - Indicates that termination protection is enabled.

GetEventDataStoreResponse, getEventDataStoreResponse_updatedTimestamp - Shows the time that an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

$sel:httpStatus:GetEventDataStoreResponse', getEventDataStoreResponse_httpStatus - The response's http status code.

GetEventSelectors

data GetEventSelectors Source #

See: newGetEventSelectors smart constructor.

Constructors

GetEventSelectors' Text 

Instances

Instances details
ToJSON GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type AWSResponse GetEventSelectors #

Generic GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type Rep GetEventSelectors :: Type -> Type #

Read GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Show GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

NFData GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Methods

rnf :: GetEventSelectors -> () #

Eq GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Hashable GetEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetEventSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Associated Types

type Rep GetEventSelectorsResponse :: Type -> Type #

Read GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Show GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

NFData GetEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventSelectors

Eq 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetEventSelectorsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector]))) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

GetEventSelectorsResponse, getEventSelectorsResponse_advancedEventSelectors - The advanced event selectors that are configured for the trail.

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

GetEventSelectorsResponse, getEventSelectorsResponse_trailARN - The specified trail ARN that has the event selectors.

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

GetImport

data GetImport Source #

See: newGetImport smart constructor.

Constructors

GetImport' Text 

Instances

Instances details
ToJSON GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

ToHeaders GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

toHeaders :: GetImport -> [Header] #

ToPath GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

ToQuery GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

AWSRequest GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type AWSResponse GetImport #

Generic GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type Rep GetImport :: Type -> Type #

Read GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Show GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

NFData GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

rnf :: GetImport -> () #

Eq GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Hashable GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type AWSResponse GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImport = D1 ('MetaData "GetImport" "Amazonka.CloudTrail.GetImport" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetImport Source #

Arguments

:: Text

GetImport

-> GetImport 

Create a value of GetImport 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:

GetImport, getImport_importId - The ID for the import.

data GetImportResponse Source #

See: newGetImportResponse smart constructor.

Instances

Instances details
Generic GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type Rep GetImportResponse :: Type -> Type #

Read GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Show GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

NFData GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

rnf :: GetImportResponse -> () #

Eq GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

newGetImportResponse Source #

Create a value of GetImportResponse 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:

GetImportResponse, getImportResponse_createdTimestamp - The timestamp of the import's creation.

GetImportResponse, getImportResponse_destinations - The ARN of the destination event data store.

$sel:endEventTime:GetImportResponse', getImportResponse_endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

GetImport, getImportResponse_importId - The ID of the import.

$sel:importSource:GetImportResponse', getImportResponse_importSource - The source S3 bucket.

$sel:importStatistics:GetImportResponse', getImportResponse_importStatistics - Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

GetImportResponse, getImportResponse_importStatus - The status of the import.

$sel:startEventTime:GetImportResponse', getImportResponse_startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

GetImportResponse, getImportResponse_updatedTimestamp - The timestamp of when the import was updated.

$sel:httpStatus:GetImportResponse', getImportResponse_httpStatus - The response's http status code.

GetInsightSelectors

data GetInsightSelectors Source #

See: newGetInsightSelectors smart constructor.

Instances

Instances details
ToJSON GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type AWSResponse GetInsightSelectors #

Generic GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type Rep GetInsightSelectors :: Type -> Type #

Read GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Show GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

NFData GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Methods

rnf :: GetInsightSelectors -> () #

Eq GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Hashable GetInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetInsightSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Associated Types

type Rep GetInsightSelectorsResponse :: Type -> Type #

Read GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Show GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

NFData GetInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetInsightSelectors

Eq 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetInsightSelectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSelector])) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:insightSelectors:GetInsightSelectorsResponse', getInsightSelectorsResponse_insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release, ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.

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

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

GetQueryResults

data GetQueryResults Source #

See: newGetQueryResults smart constructor.

Instances

Instances details
ToJSON GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

ToHeaders GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

ToPath GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

ToQuery GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

AWSRequest GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Associated Types

type AWSResponse GetQueryResults #

Generic GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Associated Types

type Rep GetQueryResults :: Type -> Type #

Read GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Show GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

NFData GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Methods

rnf :: GetQueryResults -> () #

Eq GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Hashable GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

type AWSResponse GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

type Rep GetQueryResults Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

type Rep GetQueryResults = D1 ('MetaData "GetQueryResults" "Amazonka.CloudTrail.GetQueryResults" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetQueryResults'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxQueryResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetQueryResults Source #

Create a value of GetQueryResults 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:eventDataStore:GetQueryResults', getQueryResults_eventDataStore - The ARN (or ID suffix of the ARN) of the event data store against which the query was run.

$sel:maxQueryResults:GetQueryResults', getQueryResults_maxQueryResults - The maximum number of query results to display on a single page.

GetQueryResults, getQueryResults_nextToken - A token you can use to get the next page of query results.

GetQueryResults, getQueryResults_queryId - The ID of the query for which you want to get results.

data GetQueryResultsResponse Source #

See: newGetQueryResultsResponse smart constructor.

Instances

Instances details
Generic GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Associated Types

type Rep GetQueryResultsResponse :: Type -> Type #

Read GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Show GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

NFData GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

Methods

rnf :: GetQueryResultsResponse -> () #

Eq GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

type Rep GetQueryResultsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetQueryResults

type Rep GetQueryResultsResponse = D1 ('MetaData "GetQueryResultsResponse" "Amazonka.CloudTrail.GetQueryResults" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetQueryResultsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryResultRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [[HashMap Text Text]])))) :*: (S1 ('MetaSel ('Just "queryStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatistics)) :*: (S1 ('MetaSel ('Just "queryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetQueryResultsResponse Source #

Create a value of GetQueryResultsResponse 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:

GetQueryResultsResponse, getQueryResultsResponse_errorMessage - The error message returned if a query failed.

GetQueryResults, getQueryResultsResponse_nextToken - A token you can use to get the next page of query results.

$sel:queryResultRows:GetQueryResultsResponse', getQueryResultsResponse_queryResultRows - Contains the individual event results of the query.

$sel:queryStatistics:GetQueryResultsResponse', getQueryResultsResponse_queryStatistics - Shows the count of query results.

GetQueryResultsResponse, getQueryResultsResponse_queryStatus - The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

$sel:httpStatus:GetQueryResultsResponse', getQueryResultsResponse_httpStatus - The response's http status code.

GetTrail

data GetTrail Source #

See: newGetTrail smart constructor.

Constructors

GetTrail' Text 

Instances

Instances details
ToJSON GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type AWSResponse 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 #

Read GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

NFData GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrail -> () #

Eq GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Hashable GetTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

hashWithSalt :: Int -> GetTrail -> Int #

hash :: GetTrail -> Int #

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetTrail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetTrail Source #

Arguments

:: Text

GetTrail

-> GetTrail 

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:

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
Generic GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Associated Types

type Rep GetTrailResponse :: Type -> Type #

Read GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Show GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

NFData GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

Methods

rnf :: GetTrailResponse -> () #

Eq GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrail

type Rep GetTrailResponse = D1 ('MetaData "GetTrailResponse" "Amazonka.CloudTrail.GetTrail" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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
ToJSON GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type AWSResponse GetTrailStatus #

Generic GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type Rep GetTrailStatus :: Type -> Type #

Read GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Show GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

NFData GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Methods

rnf :: GetTrailStatus -> () #

Eq GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Hashable GetTrailStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetTrailStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Associated Types

type Rep GetTrailStatusResponse :: Type -> Type #

Read GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Show GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

NFData GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

Methods

rnf :: GetTrailStatusResponse -> () #

Eq GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type Rep GetTrailStatusResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetTrailStatus

type Rep GetTrailStatusResponse = D1 ('MetaData "GetTrailStatusResponse" "Amazonka.CloudTrail.GetTrailStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetTrailStatusResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "isLogging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "latestCloudWatchLogsDeliveryError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestCloudWatchLogsDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestDeliveryAttemptSucceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "latestDeliveryAttemptTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestDeliveryError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestDeliveryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "latestDigestDeliveryError") '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 "latestNotificationAttemptTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestNotificationError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestNotificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "startLoggingTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "stopLoggingTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "timeLoggingStarted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timeLoggingStopped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:isLogging:GetTrailStatusResponse', getTrailStatusResponse_isLogging - Whether the CloudTrail trail is currently logging Amazon Web Services API calls.

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

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

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

$sel:latestDeliveryAttemptTime:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryAttemptTime - 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:latestDeliveryTime:GetTrailStatusResponse', getTrailStatusResponse_latestDeliveryTime - Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.

$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: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:latestNotificationAttemptTime:GetTrailStatusResponse', getTrailStatusResponse_latestNotificationAttemptTime - This field is no longer in use.

$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: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:startLoggingTime:GetTrailStatusResponse', getTrailStatusResponse_startLoggingTime - Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.

$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:timeLoggingStarted:GetTrailStatusResponse', getTrailStatusResponse_timeLoggingStarted - This field is no longer in use.

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

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

ListChannels

data ListChannels Source #

See: newListChannels smart constructor.

Instances

Instances details
ToJSON ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

ToHeaders ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

ToPath ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

ToQuery ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

AWSRequest ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Associated Types

type AWSResponse ListChannels #

Generic ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Associated Types

type Rep ListChannels :: Type -> Type #

Read ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Show ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

NFData ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Methods

rnf :: ListChannels -> () #

Eq ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Hashable ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

type AWSResponse ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

type Rep ListChannels Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

type Rep ListChannels = D1 ('MetaData "ListChannels" "Amazonka.CloudTrail.ListChannels" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListChannels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListChannels :: ListChannels Source #

Create a value of ListChannels 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:maxResults:ListChannels', listChannels_maxResults - The maximum number of CloudTrail channels to display on a single page.

ListChannels, listChannels_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 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 ListChannelsResponse Source #

See: newListChannelsResponse smart constructor.

Instances

Instances details
Generic ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Associated Types

type Rep ListChannelsResponse :: Type -> Type #

Read ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Show ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

NFData ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

Methods

rnf :: ListChannelsResponse -> () #

Eq ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

type Rep ListChannelsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListChannels

type Rep ListChannelsResponse = D1 ('MetaData "ListChannelsResponse" "Amazonka.CloudTrail.ListChannels" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListChannelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Channel])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListChannelsResponse Source #

Create a value of ListChannelsResponse 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:channels:ListChannelsResponse', listChannelsResponse_channels - The list of channels in the account.

ListChannels, listChannelsResponse_nextToken - The token to use to get the next page of results after a previous API call.

$sel:httpStatus:ListChannelsResponse', listChannelsResponse_httpStatus - The response's http status code.

ListEventDataStores

data ListEventDataStores Source #

See: newListEventDataStores smart constructor.

Instances

Instances details
ToJSON ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToHeaders ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToPath ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

ToQuery ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

AWSRequest ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type AWSResponse ListEventDataStores #

Generic ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type Rep ListEventDataStores :: Type -> Type #

Read ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Show ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

NFData ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Methods

rnf :: ListEventDataStores -> () #

Eq ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Hashable ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type AWSResponse ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStores Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStores = D1 ('MetaData "ListEventDataStores" "Amazonka.CloudTrail.ListEventDataStores" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListEventDataStores'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListEventDataStores :: ListEventDataStores Source #

Create a value of ListEventDataStores 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:maxResults:ListEventDataStores', listEventDataStores_maxResults - The maximum number of event data stores to display on a single page.

ListEventDataStores, listEventDataStores_nextToken - A token you can use to get the next page of event data store results.

data ListEventDataStoresResponse Source #

See: newListEventDataStoresResponse smart constructor.

Instances

Instances details
Generic ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Associated Types

type Rep ListEventDataStoresResponse :: Type -> Type #

Read ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Show ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

NFData ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

Eq ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStoresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListEventDataStores

type Rep ListEventDataStoresResponse = D1 ('MetaData "ListEventDataStoresResponse" "Amazonka.CloudTrail.ListEventDataStores" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListEventDataStoresResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventDataStore])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEventDataStoresResponse Source #

Create a value of ListEventDataStoresResponse 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:eventDataStores:ListEventDataStoresResponse', listEventDataStoresResponse_eventDataStores - Contains information about event data stores in the account, in the current region.

ListEventDataStores, listEventDataStoresResponse_nextToken - A token you can use to get the next page of results.

$sel:httpStatus:ListEventDataStoresResponse', listEventDataStoresResponse_httpStatus - The response's http status code.

ListImportFailures (Paginated)

data ListImportFailures Source #

See: newListImportFailures smart constructor.

Instances

Instances details
ToJSON ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

ToHeaders ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

ToPath ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

ToQuery ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

AWSPager ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

AWSRequest ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Associated Types

type AWSResponse ListImportFailures #

Generic ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Associated Types

type Rep ListImportFailures :: Type -> Type #

Read ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Show ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

NFData ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Methods

rnf :: ListImportFailures -> () #

Eq ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Hashable ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

type AWSResponse ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

type Rep ListImportFailures Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

type Rep ListImportFailures = D1 ('MetaData "ListImportFailures" "Amazonka.CloudTrail.ListImportFailures" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListImportFailures'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListImportFailures Source #

Create a value of ListImportFailures 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:maxResults:ListImportFailures', listImportFailures_maxResults - The maximum number of failures to display on a single page.

ListImportFailures, listImportFailures_nextToken - A token you can use to get the next page of import failures.

ListImportFailures, listImportFailures_importId - The ID of the import.

data ListImportFailuresResponse Source #

See: newListImportFailuresResponse smart constructor.

Instances

Instances details
Generic ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Associated Types

type Rep ListImportFailuresResponse :: Type -> Type #

Read ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Show ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

NFData ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

Eq ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

type Rep ListImportFailuresResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImportFailures

type Rep ListImportFailuresResponse = D1 ('MetaData "ListImportFailuresResponse" "Amazonka.CloudTrail.ListImportFailures" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListImportFailuresResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImportFailureListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImportFailuresResponse Source #

Create a value of ListImportFailuresResponse 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:failures:ListImportFailuresResponse', listImportFailuresResponse_failures - Contains information about the import failures.

ListImportFailures, listImportFailuresResponse_nextToken - A token you can use to get the next page of results.

$sel:httpStatus:ListImportFailuresResponse', listImportFailuresResponse_httpStatus - The response's http status code.

ListImports (Paginated)

data ListImports Source #

See: newListImports smart constructor.

Instances

Instances details
ToJSON ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

ToHeaders ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Methods

toHeaders :: ListImports -> [Header] #

ToPath ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

ToQuery ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

AWSPager ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

AWSRequest ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Associated Types

type AWSResponse ListImports #

Generic ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Associated Types

type Rep ListImports :: Type -> Type #

Read ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Show ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

NFData ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Methods

rnf :: ListImports -> () #

Eq ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Hashable ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

type AWSResponse ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

type Rep ListImports Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

type Rep ListImports = D1 ('MetaData "ListImports" "Amazonka.CloudTrail.ListImports" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListImports'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportStatus))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListImports :: ListImports Source #

Create a value of ListImports 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:destination:ListImports', listImports_destination - The ARN of the destination event data store.

ListImports, listImports_importStatus - The status of the import.

$sel:maxResults:ListImports', listImports_maxResults - The maximum number of imports to display on a single page.

ListImports, listImports_nextToken - A token you can use to get the next page of import results.

data ListImportsResponse Source #

See: newListImportsResponse smart constructor.

Instances

Instances details
Generic ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Associated Types

type Rep ListImportsResponse :: Type -> Type #

Read ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Show ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

NFData ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

Methods

rnf :: ListImportsResponse -> () #

Eq ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

type Rep ListImportsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListImports

type Rep ListImportsResponse = D1 ('MetaData "ListImportsResponse" "Amazonka.CloudTrail.ListImports" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListImportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImportsListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImportsResponse Source #

Create a value of ListImportsResponse 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:imports:ListImportsResponse', listImportsResponse_imports - The list of returned imports.

ListImports, listImportsResponse_nextToken - A token you can use to get the next page of import results.

$sel:httpStatus:ListImportsResponse', listImportsResponse_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
ToJSON ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.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

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 #

Generic ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeys :: Type -> Type #

Read ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Show ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

NFData ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeys -> () #

Eq ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Hashable ListPublicKeys Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListPublicKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

ListPublicKeys, listPublicKeys_nextToken - Reserved for future use.

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

data ListPublicKeysResponse Source #

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

See: newListPublicKeysResponse smart constructor.

Instances

Instances details
Generic ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeysResponse :: Type -> Type #

Read ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Show ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

NFData ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeysResponse -> () #

Eq ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type Rep ListPublicKeysResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListPublicKeys

type Rep ListPublicKeysResponse = D1 ('MetaData "ListPublicKeysResponse" "Amazonka.CloudTrail.ListPublicKeys" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListPublicKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "publicKeyList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PublicKey])) :*: 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:

ListPublicKeys, listPublicKeysResponse_nextToken - Reserved for future use.

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

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

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

ListQueries

data ListQueries Source #

See: newListQueries smart constructor.

Instances

Instances details
ToJSON ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

ToHeaders ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Methods

toHeaders :: ListQueries -> [Header] #

ToPath ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

ToQuery ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

AWSRequest ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Associated Types

type AWSResponse ListQueries #

Generic ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Associated Types

type Rep ListQueries :: Type -> Type #

Read ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Show ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

NFData ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Methods

rnf :: ListQueries -> () #

Eq ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Hashable ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

type AWSResponse ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

type Rep ListQueries Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

type Rep ListQueries = D1 ('MetaData "ListQueries" "Amazonka.CloudTrail.ListQueries" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListQueries'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "queryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListQueries Source #

Create a value of ListQueries 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:endTime:ListQueries', listQueries_endTime - Use with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.

$sel:maxResults:ListQueries', listQueries_maxResults - The maximum number of queries to show on a page.

ListQueries, listQueries_nextToken - A token you can use to get the next page of results.

ListQueries, listQueries_queryStatus - The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

$sel:startTime:ListQueries', listQueries_startTime - Use with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.

$sel:eventDataStore:ListQueries', listQueries_eventDataStore - The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.

data ListQueriesResponse Source #

See: newListQueriesResponse smart constructor.

Instances

Instances details
Generic ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Associated Types

type Rep ListQueriesResponse :: Type -> Type #

Read ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Show ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

NFData ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

Methods

rnf :: ListQueriesResponse -> () #

Eq ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

type Rep ListQueriesResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListQueries

type Rep ListQueriesResponse = D1 ('MetaData "ListQueriesResponse" "Amazonka.CloudTrail.ListQueries" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListQueriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Query])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListQueriesResponse Source #

Create a value of ListQueriesResponse 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:

ListQueries, listQueriesResponse_nextToken - A token you can use to get the next page of results.

$sel:queries:ListQueriesResponse', listQueriesResponse_queries - Lists matching query results, and shows query ID, status, and creation time of each query.

$sel:httpStatus:ListQueriesResponse', listQueriesResponse_httpStatus - The response's http status code.

ListTags (Paginated)

data ListTags Source #

Specifies a list of tags to return.

See: newListTags smart constructor.

Constructors

ListTags' (Maybe Text) [Text] 

Instances

Instances details
ToJSON ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.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

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 #

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 #

Read ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

NFData ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

rnf :: ListTags -> () #

Eq ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Hashable ListTags Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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])))

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:

ListTags, listTags_nextToken - Reserved for future use.

$sel:resourceIdList:ListTags', listTags_resourceIdList - Specifies a list of trail and event data store ARNs whose tags will be listed. The list has a limit of 20 ARNs.

data ListTagsResponse Source #

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

See: newListTagsResponse smart constructor.

Instances

Instances details
Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

Methods

rnf :: ListTagsResponse -> () #

Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.CloudTrail.ListTags" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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:

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.

ListTrails (Paginated)

data ListTrails Source #

See: newListTrails smart constructor.

Constructors

ListTrails' (Maybe Text) 

Instances

Instances details
ToJSON ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.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

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 #

Generic ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Associated Types

type Rep ListTrails :: Type -> Type #

Read ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Show ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

NFData ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Methods

rnf :: ListTrails -> () #

Eq ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Hashable ListTrails Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ListTrails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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 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
Generic ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Associated Types

type Rep ListTrailsResponse :: Type -> Type #

Read ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Show ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

NFData ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

Methods

rnf :: ListTrailsResponse -> () #

Eq ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type Rep ListTrailsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.ListTrails

type Rep ListTrailsResponse = D1 ('MetaData "ListTrailsResponse" "Amazonka.CloudTrail.ListTrails" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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:

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.

LookupEvents (Paginated)

data LookupEvents Source #

Contains a request for LookupEvents.

See: newLookupEvents smart constructor.

Instances

Instances details
ToJSON LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.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

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 #

Generic LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Associated Types

type Rep LookupEvents :: Type -> Type #

Read LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Show LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

NFData LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Methods

rnf :: LookupEvents -> () #

Eq LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Hashable LookupEvents Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "LookupEvents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "eventCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventCategory)) :*: S1 ('MetaSel ('Just "lookupAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LookupAttribute])))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

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: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: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:lookupAttributes:LookupEvents', lookupEvents_lookupAttributes - Contains a list of lookup attributes. Currently the list can contain only one item.

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

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

data LookupEventsResponse Source #

Contains a response to a LookupEvents action.

See: newLookupEventsResponse smart constructor.

Instances

Instances details
Generic LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Associated Types

type Rep LookupEventsResponse :: Type -> Type #

Read LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Show LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

NFData LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

Methods

rnf :: LookupEventsResponse -> () #

Eq LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type Rep LookupEventsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.LookupEvents

type Rep LookupEventsResponse = D1 ('MetaData "LookupEventsResponse" "Amazonka.CloudTrail.LookupEvents" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "LookupEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Event])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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: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.

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:httpStatus:LookupEventsResponse', lookupEventsResponse_httpStatus - The response's http status code.

PutEventSelectors

data PutEventSelectors Source #

See: newPutEventSelectors smart constructor.

Instances

Instances details
ToJSON PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type AWSResponse PutEventSelectors #

Generic PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type Rep PutEventSelectors :: Type -> Type #

Read PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Show PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

NFData PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Methods

rnf :: PutEventSelectors -> () #

Eq PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Hashable PutEventSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "PutEventSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector])) :*: S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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.

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: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
Generic PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Associated Types

type Rep PutEventSelectorsResponse :: Type -> Type #

Read PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Show PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

NFData PutEventSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutEventSelectors

Eq 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "PutEventSelectorsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "eventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSelector]))) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

PutEventSelectors, putEventSelectorsResponse_advancedEventSelectors - Specifies the advanced event selectors configured for your trail.

PutEventSelectors, putEventSelectorsResponse_eventSelectors - Specifies the event selectors configured for your trail.

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:httpStatus:PutEventSelectorsResponse', putEventSelectorsResponse_httpStatus - The response's http status code.

PutInsightSelectors

data PutInsightSelectors Source #

See: newPutInsightSelectors smart constructor.

Instances

Instances details
ToJSON PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type AWSResponse PutInsightSelectors #

Generic PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type Rep PutInsightSelectors :: Type -> Type #

Read PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Show PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

NFData PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Methods

rnf :: PutInsightSelectors -> () #

Eq PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Hashable PutInsightSelectors Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "PutInsightSelectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InsightSelector])))

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.

PutInsightSelectors, putInsightSelectors_insightSelectors - A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.

data PutInsightSelectorsResponse Source #

See: newPutInsightSelectorsResponse smart constructor.

Instances

Instances details
Generic PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Associated Types

type Rep PutInsightSelectorsResponse :: Type -> Type #

Read PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Show PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

NFData PutInsightSelectorsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.PutInsightSelectors

Eq 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "PutInsightSelectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightSelector])) :*: (S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

PutInsightSelectors, putInsightSelectorsResponse_insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights types in this release are ApiErrorRateInsight and ApiCallRateInsight.

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

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

RegisterOrganizationDelegatedAdmin

data RegisterOrganizationDelegatedAdmin Source #

Specifies an organization member account ID as a CloudTrail delegated administrator.

See: newRegisterOrganizationDelegatedAdmin smart constructor.

Instances

Instances details
ToJSON RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

ToHeaders RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

ToPath RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

ToQuery RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

AWSRequest RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Generic RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Associated Types

type Rep RegisterOrganizationDelegatedAdmin :: Type -> Type #

Read RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Show RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

NFData RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Eq RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Hashable RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

type AWSResponse RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

type Rep RegisterOrganizationDelegatedAdmin Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

type Rep RegisterOrganizationDelegatedAdmin = D1 ('MetaData "RegisterOrganizationDelegatedAdmin" "Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RegisterOrganizationDelegatedAdmin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegisterOrganizationDelegatedAdmin Source #

Create a value of RegisterOrganizationDelegatedAdmin 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:memberAccountId:RegisterOrganizationDelegatedAdmin', registerOrganizationDelegatedAdmin_memberAccountId - An organization member account ID that you want to designate as a delegated administrator.

data RegisterOrganizationDelegatedAdminResponse Source #

Returns the following response if successful. Otherwise, returns an error.

See: newRegisterOrganizationDelegatedAdminResponse smart constructor.

Instances

Instances details
Generic RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Read RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Show RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

NFData RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

Eq RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

type Rep RegisterOrganizationDelegatedAdminResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin

type Rep RegisterOrganizationDelegatedAdminResponse = D1 ('MetaData "RegisterOrganizationDelegatedAdminResponse" "Amazonka.CloudTrail.RegisterOrganizationDelegatedAdmin" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RegisterOrganizationDelegatedAdminResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRegisterOrganizationDelegatedAdminResponse Source #

Create a value of RegisterOrganizationDelegatedAdminResponse 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:RegisterOrganizationDelegatedAdminResponse', registerOrganizationDelegatedAdminResponse_httpStatus - The response's http status code.

RemoveTags

data RemoveTags Source #

Specifies the tags to remove from a trail or event data store.

See: newRemoveTags smart constructor.

Constructors

RemoveTags' Text [Tag] 

Instances

Instances details
ToJSON RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type AWSResponse RemoveTags #

Generic RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

Read RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

NFData RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTags -> () #

Eq RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Hashable RemoveTags Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RemoveTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newRemoveTags Source #

Arguments

:: Text

RemoveTags

-> RemoveTags 

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:

RemoveTags, removeTags_resourceId - Specifies the ARN of the trail or event data store from which tags should be removed.

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

Example event data store ARN format: arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

RemoveTags, removeTags_tagsList - Specifies a list of tags to be removed.

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
Generic RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

Read RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

NFData RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

Eq RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RemoveTags

type Rep RemoveTagsResponse = D1 ('MetaData "RemoveTagsResponse" "Amazonka.CloudTrail.RemoveTags" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

RestoreEventDataStore

data RestoreEventDataStore Source #

See: newRestoreEventDataStore smart constructor.

Instances

Instances details
ToJSON RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

ToHeaders RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

ToPath RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

ToQuery RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

AWSRequest RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Associated Types

type AWSResponse RestoreEventDataStore #

Generic RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Associated Types

type Rep RestoreEventDataStore :: Type -> Type #

Read RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Show RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

NFData RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Methods

rnf :: RestoreEventDataStore -> () #

Eq RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Hashable RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

type AWSResponse RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

type Rep RestoreEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

type Rep RestoreEventDataStore = D1 ('MetaData "RestoreEventDataStore" "Amazonka.CloudTrail.RestoreEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RestoreEventDataStore'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRestoreEventDataStore Source #

Create a value of RestoreEventDataStore 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:eventDataStore:RestoreEventDataStore', restoreEventDataStore_eventDataStore - The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.

data RestoreEventDataStoreResponse Source #

See: newRestoreEventDataStoreResponse smart constructor.

Instances

Instances details
Generic RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Associated Types

type Rep RestoreEventDataStoreResponse :: Type -> Type #

Read RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Show RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

NFData RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

Eq RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

type Rep RestoreEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.RestoreEventDataStore

type Rep RestoreEventDataStoreResponse = D1 ('MetaData "RestoreEventDataStoreResponse" "Amazonka.CloudTrail.RestoreEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "RestoreEventDataStoreResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newRestoreEventDataStoreResponse Source #

Create a value of RestoreEventDataStoreResponse 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:

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_advancedEventSelectors - The advanced event selectors that were used to select events.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_createdTimestamp - The timestamp of an event data store's creation.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_eventDataStoreArn - The event data store ARN.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events 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

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_multiRegionEnabled - Indicates whether the event data store is collecting events from all regions, or only from the region in which the event data store was created.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_name - The name of the event data store.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_retentionPeriod - The retention period, in days.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_status - The status of the event data store.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_terminationProtectionEnabled - Indicates that termination protection is enabled and the event data store cannot be automatically deleted.

RestoreEventDataStoreResponse, restoreEventDataStoreResponse_updatedTimestamp - The timestamp that shows when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

$sel:httpStatus:RestoreEventDataStoreResponse', restoreEventDataStoreResponse_httpStatus - The response's http status code.

StartImport

data StartImport Source #

See: newStartImport smart constructor.

Instances

Instances details
ToJSON StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

ToHeaders StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Methods

toHeaders :: StartImport -> [Header] #

ToPath StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

ToQuery StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

AWSRequest StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Associated Types

type AWSResponse StartImport #

Generic StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Associated Types

type Rep StartImport :: Type -> Type #

Read StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Show StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

NFData StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Methods

rnf :: StartImport -> () #

Eq StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Hashable StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

type AWSResponse StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

type Rep StartImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

type Rep StartImport = D1 ('MetaData "StartImport" "Amazonka.CloudTrail.StartImport" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StartImport'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "endEventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "importSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportSource)) :*: S1 ('MetaSel ('Just "startEventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newStartImport :: StartImport Source #

Create a value of StartImport 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:

StartImport, startImport_destinations - The ARN of the destination event data store. Use this parameter for a new import.

StartImport, startImport_endEventTime - Use with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

StartImport, startImport_importId - The ID of the import. Use this parameter when you are retrying an import.

StartImport, startImport_importSource - The source S3 bucket for the import. Use this parameter for a new import.

StartImport, startImport_startEventTime - Use with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

data StartImportResponse Source #

See: newStartImportResponse smart constructor.

Instances

Instances details
Generic StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Associated Types

type Rep StartImportResponse :: Type -> Type #

Read StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Show StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

NFData StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

Methods

rnf :: StartImportResponse -> () #

Eq StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

type Rep StartImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartImport

newStartImportResponse Source #

Create a value of StartImportResponse 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:

StartImportResponse, startImportResponse_createdTimestamp - The timestamp for the import's creation.

StartImport, startImportResponse_destinations - The ARN of the destination event data store.

StartImport, startImportResponse_endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

StartImport, startImportResponse_importId - The ID of the import.

StartImport, startImportResponse_importSource - The source S3 bucket for the import.

StartImportResponse, startImportResponse_importStatus - Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.

StartImport, startImportResponse_startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

StartImportResponse, startImportResponse_updatedTimestamp - The timestamp of the import's last update, if applicable.

$sel:httpStatus:StartImportResponse', startImportResponse_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
ToJSON StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type AWSResponse StartLogging #

Generic StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type Rep StartLogging :: Type -> Type #

Read StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Show StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

NFData StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Methods

rnf :: StartLogging -> () #

Eq StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Hashable StartLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StartLogging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Associated Types

type Rep StartLoggingResponse :: Type -> Type #

Read StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Show StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

NFData StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

Methods

rnf :: StartLoggingResponse -> () #

Eq StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type Rep StartLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartLogging

type Rep StartLoggingResponse = D1 ('MetaData "StartLoggingResponse" "Amazonka.CloudTrail.StartLogging" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

StartQuery

data StartQuery Source #

See: newStartQuery smart constructor.

Constructors

StartQuery' (Maybe Text) Text 

Instances

Instances details
ToJSON StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

ToHeaders StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Methods

toHeaders :: StartQuery -> [Header] #

ToPath StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

ToQuery StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

AWSRequest StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Associated Types

type AWSResponse StartQuery #

Generic StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Associated Types

type Rep StartQuery :: Type -> Type #

Read StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Show StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

NFData StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Methods

rnf :: StartQuery -> () #

Eq StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Hashable StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

type AWSResponse StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

type Rep StartQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

type Rep StartQuery = D1 ('MetaData "StartQuery" "Amazonka.CloudTrail.StartQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StartQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deliveryS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartQuery Source #

Create a value of StartQuery 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:deliveryS3Uri:StartQuery', startQuery_deliveryS3Uri - The URI for the S3 bucket where CloudTrail delivers the query results.

$sel:queryStatement:StartQuery', startQuery_queryStatement - The SQL code of your query.

data StartQueryResponse Source #

See: newStartQueryResponse smart constructor.

Instances

Instances details
Generic StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Associated Types

type Rep StartQueryResponse :: Type -> Type #

Read StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Show StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

NFData StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

Methods

rnf :: StartQueryResponse -> () #

Eq StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

type Rep StartQueryResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StartQuery

type Rep StartQueryResponse = D1 ('MetaData "StartQueryResponse" "Amazonka.CloudTrail.StartQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StartQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartQueryResponse Source #

Create a value of StartQueryResponse 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:

StartQueryResponse, startQueryResponse_queryId - The ID of the started query.

$sel:httpStatus:StartQueryResponse', startQueryResponse_httpStatus - The response's http status code.

StopImport

data StopImport Source #

See: newStopImport smart constructor.

Constructors

StopImport' Text 

Instances

Instances details
ToJSON StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

ToHeaders StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Methods

toHeaders :: StopImport -> [Header] #

ToPath StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

ToQuery StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

AWSRequest StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Associated Types

type AWSResponse StopImport #

Generic StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Associated Types

type Rep StopImport :: Type -> Type #

Read StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Show StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

NFData StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Methods

rnf :: StopImport -> () #

Eq StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Hashable StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

type AWSResponse StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

type Rep StopImport Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

type Rep StopImport = D1 ('MetaData "StopImport" "Amazonka.CloudTrail.StopImport" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StopImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopImport Source #

Arguments

:: Text

StopImport

-> StopImport 

Create a value of StopImport 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:

StopImport, stopImport_importId - The ID of the import.

data StopImportResponse Source #

See: newStopImportResponse smart constructor.

Instances

Instances details
Generic StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Associated Types

type Rep StopImportResponse :: Type -> Type #

Read StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Show StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

NFData StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

Methods

rnf :: StopImportResponse -> () #

Eq StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

type Rep StopImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopImport

newStopImportResponse Source #

Create a value of StopImportResponse 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:

StopImportResponse, stopImportResponse_createdTimestamp - The timestamp of the import's creation.

StopImportResponse, stopImportResponse_destinations - The ARN of the destination event data store.

$sel:endEventTime:StopImportResponse', stopImportResponse_endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

StopImport, stopImportResponse_importId - The ID for the import.

$sel:importSource:StopImportResponse', stopImportResponse_importSource - The source S3 bucket for the import.

$sel:importStatistics:StopImportResponse', stopImportResponse_importStatistics - Returns information on the stopped import.

StopImportResponse, stopImportResponse_importStatus - The status of the import.

$sel:startEventTime:StopImportResponse', stopImportResponse_startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

StopImportResponse, stopImportResponse_updatedTimestamp - The timestamp of the import's last update.

$sel:httpStatus:StopImportResponse', stopImportResponse_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
ToJSON StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type AWSResponse StopLogging #

Generic StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type Rep StopLogging :: Type -> Type #

Read StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Show StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

NFData StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Methods

rnf :: StopLogging -> () #

Eq StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Hashable StopLogging Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "StopLogging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Associated Types

type Rep StopLoggingResponse :: Type -> Type #

Read StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Show StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

NFData StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

Methods

rnf :: StopLoggingResponse -> () #

Eq StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type Rep StopLoggingResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.StopLogging

type Rep StopLoggingResponse = D1 ('MetaData "StopLoggingResponse" "Amazonka.CloudTrail.StopLogging" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" '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.

UpdateEventDataStore

data UpdateEventDataStore Source #

See: newUpdateEventDataStore smart constructor.

Instances

Instances details
ToJSON UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

ToHeaders UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

ToPath UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

ToQuery UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

AWSRequest UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Associated Types

type AWSResponse UpdateEventDataStore #

Generic UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Associated Types

type Rep UpdateEventDataStore :: Type -> Type #

Read UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Show UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

NFData UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Methods

rnf :: UpdateEventDataStore -> () #

Eq UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Hashable UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

type AWSResponse UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

type Rep UpdateEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

type Rep UpdateEventDataStore = D1 ('MetaData "UpdateEventDataStore" "Amazonka.CloudTrail.UpdateEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "UpdateEventDataStore'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateEventDataStore Source #

Create a value of UpdateEventDataStore 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:

UpdateEventDataStore, updateEventDataStore_advancedEventSelectors - The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.

UpdateEventDataStore, updateEventDataStore_kmsKeyId - Specifies the KMS key ID to use to encrypt the events 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.

Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.

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

UpdateEventDataStore, updateEventDataStore_multiRegionEnabled - Specifies whether an event data store collects events from all regions, or only from the region in which it was created.

UpdateEventDataStore, updateEventDataStore_name - The event data store name.

UpdateEventDataStore, updateEventDataStore_organizationEnabled - Specifies whether an event data store collects events logged for an organization in Organizations.

UpdateEventDataStore, updateEventDataStore_retentionPeriod - The retention period, in days.

UpdateEventDataStore, updateEventDataStore_terminationProtectionEnabled - Indicates that termination protection is enabled and the event data store cannot be automatically deleted.

$sel:eventDataStore:UpdateEventDataStore', updateEventDataStore_eventDataStore - The ARN (or the ID suffix of the ARN) of the event data store that you want to update.

data UpdateEventDataStoreResponse Source #

See: newUpdateEventDataStoreResponse smart constructor.

Instances

Instances details
Generic UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Associated Types

type Rep UpdateEventDataStoreResponse :: Type -> Type #

Read UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Show UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

NFData UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

Eq UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

type Rep UpdateEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateEventDataStore

type Rep UpdateEventDataStoreResponse = D1 ('MetaData "UpdateEventDataStoreResponse" "Amazonka.CloudTrail.UpdateEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "UpdateEventDataStoreResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateEventDataStoreResponse Source #

Create a value of UpdateEventDataStoreResponse 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:

UpdateEventDataStore, updateEventDataStoreResponse_advancedEventSelectors - The advanced event selectors that are applied to the event data store.

UpdateEventDataStoreResponse, updateEventDataStoreResponse_createdTimestamp - The timestamp that shows when an event data store was first created.

UpdateEventDataStoreResponse, updateEventDataStoreResponse_eventDataStoreArn - The ARN of the event data store.

UpdateEventDataStore, updateEventDataStoreResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events 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

UpdateEventDataStore, updateEventDataStoreResponse_multiRegionEnabled - Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

UpdateEventDataStore, updateEventDataStoreResponse_name - The name of the event data store.

UpdateEventDataStore, updateEventDataStoreResponse_organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.

UpdateEventDataStore, updateEventDataStoreResponse_retentionPeriod - The retention period, in days.

UpdateEventDataStoreResponse, updateEventDataStoreResponse_status - The status of an event data store. Values can be ENABLED and PENDING_DELETION.

UpdateEventDataStore, updateEventDataStoreResponse_terminationProtectionEnabled - Indicates whether termination protection is enabled for the event data store.

UpdateEventDataStoreResponse, updateEventDataStoreResponse_updatedTimestamp - The timestamp that shows when the event data store was last updated. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

$sel:httpStatus:UpdateEventDataStoreResponse', updateEventDataStoreResponse_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
ToJSON UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.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

AWSRequest UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type AWSResponse UpdateTrail #

Generic UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type Rep UpdateTrail :: Type -> Type #

Read UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Show UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

NFData UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Methods

rnf :: UpdateTrail -> () #

Eq UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Hashable UpdateTrail Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type AWSResponse 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" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "UpdateTrail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enableLogFileValidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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:

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.

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

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

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

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.

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.

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

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

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.

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

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
Generic UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Associated Types

type Rep UpdateTrailResponse :: Type -> Type #

Read UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Show UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

NFData UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

Methods

rnf :: UpdateTrailResponse -> () #

Eq UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type Rep UpdateTrailResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.UpdateTrail

type Rep UpdateTrailResponse = D1 ('MetaData "UpdateTrailResponse" "Amazonka.CloudTrail.UpdateTrail" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "UpdateTrailResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "s3BucketName") '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 "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

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

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

UpdateTrail, updateTrailResponse_isMultiRegionTrail - Specifies whether the trail exists in one region or in all regions.

UpdateTrail, updateTrailResponse_isOrganizationTrail - Specifies whether the trail is an organization trail.

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

UpdateTrailResponse, updateTrailResponse_logFileValidationEnabled - Specifies whether log file integrity validation is enabled.

UpdateTrail, updateTrailResponse_name - Specifies the name of the trail.

UpdateTrail, updateTrailResponse_s3BucketName - Specifies the name of the Amazon S3 bucket designated for publishing log files.

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.

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

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

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:httpStatus:UpdateTrailResponse', updateTrailResponse_httpStatus - The response's http status code.

Types

DeliveryStatus

newtype DeliveryStatus Source #

Constructors

DeliveryStatus' 

Instances

Instances details
FromJSON DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

FromJSONKey DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToJSON DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToJSONKey DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToByteString DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToHeader DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToLog DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToQuery DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

FromText DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToText DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

FromXML DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

ToXML DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Methods

toXML :: DeliveryStatus -> XML #

Generic DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Associated Types

type Rep DeliveryStatus :: Type -> Type #

Read DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Show DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

NFData DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Methods

rnf :: DeliveryStatus -> () #

Eq DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Ord DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

Hashable DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

type Rep DeliveryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DeliveryStatus

type Rep DeliveryStatus = D1 ('MetaData "DeliveryStatus" "Amazonka.CloudTrail.Types.DeliveryStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "DeliveryStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDeliveryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DestinationType

newtype DestinationType Source #

Constructors

DestinationType' 

Instances

Instances details
FromJSON DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

FromJSONKey DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToJSON DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToJSONKey DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToByteString DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToHeader DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToLog DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToQuery DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

FromText DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToText DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

FromXML DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

ToXML DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Methods

toXML :: DestinationType -> XML #

Generic DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Associated Types

type Rep DestinationType :: Type -> Type #

Read DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Show DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

NFData DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Methods

rnf :: DestinationType -> () #

Eq DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Ord DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

Hashable DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

type Rep DestinationType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DestinationType

type Rep DestinationType = D1 ('MetaData "DestinationType" "Amazonka.CloudTrail.Types.DestinationType" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "DestinationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventCategory

newtype EventCategory Source #

Constructors

EventCategory' 

Bundled Patterns

pattern EventCategory_Insight :: EventCategory 

Instances

Instances details
FromJSON EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

FromJSONKey EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToJSON EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToJSONKey EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToByteString EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToHeader EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToLog EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToQuery EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

FromText EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToText EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Methods

toText :: EventCategory -> Text #

FromXML EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

ToXML EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Methods

toXML :: EventCategory -> XML #

Generic EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Associated Types

type Rep EventCategory :: Type -> Type #

Read EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Show EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

NFData EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Methods

rnf :: EventCategory -> () #

Eq EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Ord EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

Hashable EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

type Rep EventCategory Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventCategory

type Rep EventCategory = D1 ('MetaData "EventCategory" "Amazonka.CloudTrail.Types.EventCategory" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "EventCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventDataStoreStatus

newtype EventDataStoreStatus Source #

Instances

Instances details
FromJSON EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

FromJSONKey EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToJSON EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToJSONKey EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToByteString EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToHeader EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToLog EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToQuery EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

FromText EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToText EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

FromXML EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

ToXML EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Generic EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Associated Types

type Rep EventDataStoreStatus :: Type -> Type #

Read EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Show EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

NFData EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Methods

rnf :: EventDataStoreStatus -> () #

Eq EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Ord EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

Hashable EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

type Rep EventDataStoreStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStoreStatus

type Rep EventDataStoreStatus = D1 ('MetaData "EventDataStoreStatus" "Amazonka.CloudTrail.Types.EventDataStoreStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "EventDataStoreStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventDataStoreStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ImportFailureStatus

newtype ImportFailureStatus Source #

Instances

Instances details
FromJSON ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

FromJSONKey ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToJSON ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToJSONKey ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToByteString ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToHeader ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToLog ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToQuery ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

FromText ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToText ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

FromXML ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

ToXML ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Generic ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Associated Types

type Rep ImportFailureStatus :: Type -> Type #

Read ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Show ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

NFData ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Methods

rnf :: ImportFailureStatus -> () #

Eq ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Ord ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

Hashable ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

type Rep ImportFailureStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureStatus

type Rep ImportFailureStatus = D1 ('MetaData "ImportFailureStatus" "Amazonka.CloudTrail.Types.ImportFailureStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "ImportFailureStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromImportFailureStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ImportStatus

newtype ImportStatus Source #

Constructors

ImportStatus' 

Instances

Instances details
FromJSON ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

FromJSONKey ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToJSON ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToJSONKey ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToByteString ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToHeader ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToLog ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToQuery ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

FromText ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToText ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Methods

toText :: ImportStatus -> Text #

FromXML ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

ToXML ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Methods

toXML :: ImportStatus -> XML #

Generic ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Associated Types

type Rep ImportStatus :: Type -> Type #

Read ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Show ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

NFData ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Methods

rnf :: ImportStatus -> () #

Eq ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Ord ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

Hashable ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

type Rep ImportStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatus

type Rep ImportStatus = D1 ('MetaData "ImportStatus" "Amazonka.CloudTrail.Types.ImportStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "ImportStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromImportStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InsightType

newtype InsightType Source #

Constructors

InsightType' 

Instances

Instances details
FromJSON InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

FromJSONKey InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToJSON InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToJSONKey InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToByteString InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToHeader InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToLog InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToQuery InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

FromText InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToText InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Methods

toText :: InsightType -> Text #

FromXML InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

ToXML InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Methods

toXML :: InsightType -> XML #

Generic InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Associated Types

type Rep InsightType :: Type -> Type #

Read InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Show InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

NFData InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Methods

rnf :: InsightType -> () #

Eq InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Ord InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

Hashable InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

type Rep InsightType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightType

type Rep InsightType = D1 ('MetaData "InsightType" "Amazonka.CloudTrail.Types.InsightType" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "InsightType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInsightType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LookupAttributeKey

newtype LookupAttributeKey Source #

Instances

Instances details
FromJSON LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

FromJSONKey LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToJSON LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToJSONKey LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToByteString LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToHeader LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToLog LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToQuery LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

FromText LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToText LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

FromXML LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

ToXML LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Generic LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Associated Types

type Rep LookupAttributeKey :: Type -> Type #

Read LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Show LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

NFData LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Methods

rnf :: LookupAttributeKey -> () #

Eq LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Ord LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

Hashable LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

type Rep LookupAttributeKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttributeKey

type Rep LookupAttributeKey = D1 ('MetaData "LookupAttributeKey" "Amazonka.CloudTrail.Types.LookupAttributeKey" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "LookupAttributeKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLookupAttributeKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueryStatus

newtype QueryStatus Source #

Constructors

QueryStatus' 

Instances

Instances details
FromJSON QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

FromJSONKey QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToJSON QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToJSONKey QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToByteString QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToHeader QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToLog QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToQuery QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

FromText QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToText QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Methods

toText :: QueryStatus -> Text #

FromXML QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

ToXML QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Methods

toXML :: QueryStatus -> XML #

Generic QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Associated Types

type Rep QueryStatus :: Type -> Type #

Read QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Show QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

NFData QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Methods

rnf :: QueryStatus -> () #

Eq QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Ord QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

Hashable QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

type Rep QueryStatus Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatus

type Rep QueryStatus = D1 ('MetaData "QueryStatus" "Amazonka.CloudTrail.Types.QueryStatus" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "QueryStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReadWriteType

newtype ReadWriteType Source #

Constructors

ReadWriteType' 

Instances

Instances details
FromJSON ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

FromJSONKey ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToJSON ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToJSONKey ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToByteString ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToHeader ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToLog ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToQuery ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

FromText ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToText ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Methods

toText :: ReadWriteType -> Text #

FromXML ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

ToXML ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Methods

toXML :: ReadWriteType -> XML #

Generic ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Associated Types

type Rep ReadWriteType :: Type -> Type #

Read ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Show ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

NFData ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Methods

rnf :: ReadWriteType -> () #

Eq ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Ord ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

Hashable ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

type Rep ReadWriteType Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ReadWriteType

type Rep ReadWriteType = D1 ('MetaData "ReadWriteType" "Amazonka.CloudTrail.Types.ReadWriteType" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'True) (C1 ('MetaCons "ReadWriteType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReadWriteType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AdvancedEventSelector

data AdvancedEventSelector Source #

Advanced event selectors let you create fine-grained selectors for the following CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.

  • readOnly
  • eventSource
  • eventName
  • eventCategory
  • resources.type
  • resources.ARN

You cannot apply both event selectors and advanced event selectors to a trail.

See: newAdvancedEventSelector smart constructor.

Instances

Instances details
FromJSON AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

ToJSON AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Generic AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Associated Types

type Rep AdvancedEventSelector :: Type -> Type #

Read AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Show AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

NFData AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Methods

rnf :: AdvancedEventSelector -> () #

Eq AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

Hashable AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

type Rep AdvancedEventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedEventSelector

type Rep AdvancedEventSelector = D1 ('MetaData "AdvancedEventSelector" "Amazonka.CloudTrail.Types.AdvancedEventSelector" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "AdvancedEventSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fieldSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty AdvancedFieldSelector))))

newAdvancedEventSelector Source #

Create a value of AdvancedEventSelector 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:AdvancedEventSelector', advancedEventSelector_name - An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

$sel:fieldSelectors:AdvancedEventSelector', advancedEventSelector_fieldSelectors - Contains all selector statements in an advanced event selector.

AdvancedFieldSelector

data AdvancedFieldSelector Source #

A single selector statement in an advanced event selector.

See: newAdvancedFieldSelector smart constructor.

Instances

Instances details
FromJSON AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

ToJSON AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

Generic AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

Associated Types

type Rep AdvancedFieldSelector :: Type -> Type #

Read AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

Show AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

NFData AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

Methods

rnf :: AdvancedFieldSelector -> () #

Eq AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

Hashable AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

type Rep AdvancedFieldSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.AdvancedFieldSelector

type Rep AdvancedFieldSelector = D1 ('MetaData "AdvancedFieldSelector" "Amazonka.CloudTrail.Types.AdvancedFieldSelector" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "AdvancedFieldSelector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endsWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "equals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notEndsWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "notEquals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notStartsWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "startsWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "field") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newAdvancedFieldSelector Source #

Create a value of AdvancedFieldSelector 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:endsWith:AdvancedFieldSelector', advancedFieldSelector_endsWith - An operator that includes events that match the last few characters of the event record field specified as the value of Field.

$sel:equals:AdvancedFieldSelector', advancedFieldSelector_equals - An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

$sel:notEndsWith:AdvancedFieldSelector', advancedFieldSelector_notEndsWith - An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

$sel:notEquals:AdvancedFieldSelector', advancedFieldSelector_notEquals - An operator that excludes events that match the exact value of the event record field specified as the value of Field.

$sel:notStartsWith:AdvancedFieldSelector', advancedFieldSelector_notStartsWith - An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

$sel:startsWith:AdvancedFieldSelector', advancedFieldSelector_startsWith - An operator that includes events that match the first few characters of the event record field specified as the value of Field.

$sel:field:AdvancedFieldSelector', advancedFieldSelector_field - A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

  • readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both read and write events. A value of true logs only read events. A value of false logs only write events.
  • eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com.
  • eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas.
  • eventCategory - This is required. It must be set to Equals, and the value must be Management or Data.
  • resources.type - This field is required. resources.type can only use the Equals operator, and the value can be one of the following:

    • AWS::S3::Object
    • AWS::Lambda::Function
    • AWS::DynamoDB::Table
    • AWS::S3Outposts::Object
    • AWS::ManagedBlockchain::Node
    • AWS::S3ObjectLambda::AccessPoint
    • AWS::EC2::Snapshot
    • AWS::S3::AccessPoint
    • AWS::DynamoDB::Stream
    • AWS::Glue::Table

    You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector.

  • resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value.

    The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information.

    • arn:<partition>:s3:::<bucket_name>/
    • arn:<partition>:s3:::<bucket_name>/<object_path>/

    When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators.

    • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>
    • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path>

    When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:lambda:<region>:<account_ID>:function:<function_name>

    When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>

    When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path>

    When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID>

    When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name>

    When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>

    When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>

    When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

    • arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>

Channel

data Channel Source #

Contains information about a returned CloudTrail channel.

See: newChannel smart constructor.

Constructors

Channel' (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

Read Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

NFData Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

rnf :: Channel -> () #

Eq Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

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

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

Hashable Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

type Rep Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

type Rep Channel = D1 ('MetaData "Channel" "Amazonka.CloudTrail.Types.Channel" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Channel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newChannel :: Channel Source #

Create a value of Channel 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:channelArn:Channel', channel_channelArn - The Amazon Resource Name (ARN) of a channel.

$sel:name:Channel', channel_name - The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix created by the Amazon Web Services service.

DataResource

data DataResource Source #

The Amazon S3 buckets, Lambda functions, or Amazon DynamoDB tables that you specify in your event selectors for your trail to log data events. Data events provide information about the resource operations performed on or within a resource itself. These are also known as data plane operations. You can specify up to 250 data resources for a trail.

The total number of allowed data resources is 250. This number can be distributed between 1 and 5 event selectors, but the total cannot exceed 250 across all selectors.

If you are using advanced event selectors, the maximum total number of values for all conditions, across all advanced event selectors for the trail, is 500.

The following example demonstrates how logging works when you configure logging of all data events for an S3 bucket named bucket-1. In this example, the CloudTrail user specified an empty prefix, and the option to log both Read and Write data events.

  1. A user uploads an image file to bucket-1.
  2. The PutObject API operation is an Amazon S3 object-level API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified an S3 bucket with an empty prefix, events that occur on any object in that bucket are logged. The trail processes and logs the event.
  3. A user uploads an object to an Amazon S3 bucket named arn:aws:s3:::bucket-2.
  4. The PutObject API operation occurred for an object in an S3 bucket that the CloudTrail user didn't specify for the trail. The trail doesn’t log the event.

The following example demonstrates how logging works when you configure logging of Lambda data events for a Lambda function named MyLambdaFunction, but not for all Lambda functions.

  1. A user runs a script that includes a call to the MyLambdaFunction function and the MyOtherLambdaFunction function.
  2. The Invoke API operation on MyLambdaFunction is an Lambda API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified logging data events for MyLambdaFunction, any invocations of that function are logged. The trail processes and logs the event.
  3. The Invoke API operation on MyOtherLambdaFunction is an Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, the Invoke operation for MyOtherLambdaFunction does not match the function specified for the trail. The trail doesn’t log the event.

See: newDataResource smart constructor.

Constructors

DataResource' (Maybe Text) (Maybe [Text]) 

Instances

Instances details
FromJSON DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

ToJSON DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

Generic DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

Associated Types

type Rep DataResource :: Type -> Type #

Read DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

Show DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

NFData DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

Methods

rnf :: DataResource -> () #

Eq DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

Hashable DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

type Rep DataResource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.DataResource

type Rep DataResource = D1 ('MetaData "DataResource" "Amazonka.CloudTrail.Types.DataResource" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DataResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newDataResource :: DataResource Source #

Create a value of DataResource 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:type':DataResource', dataResource_type - The resource type in which you want to log data events. You can specify the following basic event selector resource types:

  • AWS::S3::Object
  • AWS::Lambda::Function
  • AWS::DynamoDB::Table

The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field.

  • AWS::S3Outposts::Object
  • AWS::ManagedBlockchain::Node
  • AWS::S3ObjectLambda::AccessPoint
  • AWS::EC2::Snapshot
  • AWS::S3::AccessPoint
  • AWS::DynamoDB::Stream
  • AWS::Glue::Table

$sel:values:DataResource', dataResource_values - An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.

  • To log data events for all objects in all S3 buckets in your Amazon Web Services account, specify the prefix as arn:aws:s3.

    This also enables logging of data event activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a bucket that belongs to another Amazon Web Services account.

  • To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as arn:aws:s3:::bucket-1/. The trail logs data events for all objects in this S3 bucket.
  • To log data events for specific objects, specify the S3 bucket and object prefix such as arn:aws:s3:::bucket-1/example-images. The trail logs data events for objects in this S3 bucket that match the prefix.
  • To log data events for all Lambda functions in your Amazon Web Services account, specify the prefix as arn:aws:lambda.

    This also enables logging of Invoke activity performed by any user or role in your Amazon Web Services account, even if that activity is performed on a function that belongs to another Amazon Web Services account.

  • To log data events for a specific Lambda function, specify the function ARN.

    Lambda function ARNs are exact. For example, if you specify a function ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld, data events will only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld. They will not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2.

  • To log data events for all DynamoDB tables in your Amazon Web Services account, specify the prefix as arn:aws:dynamodb.

Destination

data Destination Source #

Contains information about the service where CloudTrail delivers events.

See: newDestination smart constructor.

Instances

Instances details
FromJSON Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

Read Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

NFData Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

Methods

rnf :: Destination -> () #

Eq Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

Hashable Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.CloudTrail.Types.Destination" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Destination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DestinationType) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDestination Source #

Create a value of Destination 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:type':Destination', destination_type - The type of destination for events arriving from a channel. For service-linked channels, the value is AWS_SERVICE.

$sel:location:Destination', destination_location - For service-linked channels, the value is the name of the Amazon Web Services service.

Event

data Event Source #

Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.

See: newEvent smart constructor.

Instances

Instances details
FromJSON Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Generic Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Read Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

NFData Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

rnf :: Event -> () #

Eq Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

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

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

Hashable Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

type Rep Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

newEvent :: Event Source #

Create a value of Event 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:accessKeyId:Event', event_accessKeyId - The Amazon Web Services access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.

$sel:cloudTrailEvent:Event', event_cloudTrailEvent - A JSON string that contains a representation of the event returned.

$sel:eventId:Event', event_eventId - The CloudTrail ID of the event returned.

$sel:eventName:Event', event_eventName - The name of the event returned.

$sel:eventSource:Event', event_eventSource - The Amazon Web Services service to which the request was made.

$sel:eventTime:Event', event_eventTime - The date and time of the event returned.

$sel:readOnly:Event', event_readOnly - Information about whether the event is a write event or a read event.

$sel:resources:Event', event_resources - A list of resources referenced by the event returned.

$sel:username:Event', event_username - A user name or role name of the requester that called the API in the event returned.

EventDataStore

data EventDataStore Source #

A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 90 to 2557 days (about three months to up to seven years). To select events for an event data store, use advanced event selectors.

See: newEventDataStore smart constructor.

Instances

Instances details
FromJSON EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

Generic EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

Associated Types

type Rep EventDataStore :: Type -> Type #

Read EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

Show EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

NFData EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

Methods

rnf :: EventDataStore -> () #

Eq EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

Hashable EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

type Rep EventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventDataStore

type Rep EventDataStore = D1 ('MetaData "EventDataStore" "Amazonka.CloudTrail.Types.EventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "EventDataStore'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newEventDataStore :: EventDataStore Source #

Create a value of EventDataStore 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:advancedEventSelectors:EventDataStore', eventDataStore_advancedEventSelectors - This field is being deprecated. The advanced event selectors that were used to select events for the data store.

$sel:createdTimestamp:EventDataStore', eventDataStore_createdTimestamp - This field is being deprecated. The timestamp of the event data store's creation.

$sel:eventDataStoreArn:EventDataStore', eventDataStore_eventDataStoreArn - The ARN of the event data store.

$sel:multiRegionEnabled:EventDataStore', eventDataStore_multiRegionEnabled - This field is being deprecated. Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

EventDataStore, eventDataStore_name - The name of the event data store.

$sel:organizationEnabled:EventDataStore', eventDataStore_organizationEnabled - This field is being deprecated. Indicates that an event data store is collecting logged events for an organization.

$sel:retentionPeriod:EventDataStore', eventDataStore_retentionPeriod - This field is being deprecated. The retention period, in days.

$sel:status:EventDataStore', eventDataStore_status - This field is being deprecated. The status of an event data store. Values are ENABLED and PENDING_DELETION.

$sel:terminationProtectionEnabled:EventDataStore', eventDataStore_terminationProtectionEnabled - This field is being deprecated. Indicates whether the event data store is protected from termination.

$sel:updatedTimestamp:EventDataStore', eventDataStore_updatedTimestamp - This field is being deprecated. The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

EventSelector

data EventSelector Source #

Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.

You can configure up to five event selectors for a trail.

You cannot apply both event selectors and advanced event selectors to a trail.

See: newEventSelector smart constructor.

Instances

Instances details
FromJSON EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

ToJSON EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

Generic EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

Associated Types

type Rep EventSelector :: Type -> Type #

Read EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

Show EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

NFData EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

Methods

rnf :: EventSelector -> () #

Eq EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

Hashable EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

type Rep EventSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.EventSelector

type Rep EventSelector = D1 ('MetaData "EventSelector" "Amazonka.CloudTrail.Types.EventSelector" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "EventSelector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataResource])) :*: S1 ('MetaSel ('Just "excludeManagementEventSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "includeManagementEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "readWriteType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReadWriteType)))))

newEventSelector :: EventSelector Source #

Create a value of EventSelector 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:dataResources:EventSelector', eventSelector_dataResources - CloudTrail supports data event logging for Amazon S3 objects, Lambda functions, and Amazon DynamoDB tables with basic event selectors. You can specify up to 250 resources for an individual event selector, but the total number of data resources cannot exceed 250 across all event selectors in a trail. This limit does not apply if you configure resource logging for all data events.

For more information, see Data Events and Limits in CloudTrail in the CloudTrail User Guide.

$sel:excludeManagementEventSources:EventSelector', eventSelector_excludeManagementEventSources - An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out Key Management Service or Amazon RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS Data API events are logged to your trail. You can exclude management event sources only in regions that support the event source.

$sel:includeManagementEvents:EventSelector', eventSelector_includeManagementEvents - Specify if you want your event selector to include management events for your trail.

For more information, see Management Events in the CloudTrail User Guide.

By default, the value is true.

The first copy of management events is free. You are charged for additional copies of management events that you are logging on any subsequent trail in the same region. For more information about CloudTrail pricing, see CloudTrail Pricing.

$sel:readWriteType:EventSelector', eventSelector_readWriteType - Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation.

By default, the value is All.

ImportFailureListItem

data ImportFailureListItem Source #

Provides information about an import failure.

See: newImportFailureListItem smart constructor.

Instances

Instances details
FromJSON ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

Generic ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

Associated Types

type Rep ImportFailureListItem :: Type -> Type #

Read ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

Show ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

NFData ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

Methods

rnf :: ImportFailureListItem -> () #

Eq ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

Hashable ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

type Rep ImportFailureListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportFailureListItem

type Rep ImportFailureListItem = D1 ('MetaData "ImportFailureListItem" "Amazonka.CloudTrail.Types.ImportFailureListItem" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ImportFailureListItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportFailureStatus))))))

newImportFailureListItem :: ImportFailureListItem Source #

Create a value of ImportFailureListItem 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:errorMessage:ImportFailureListItem', importFailureListItem_errorMessage - Provides the reason the import failed.

$sel:errorType:ImportFailureListItem', importFailureListItem_errorType - The type of import error.

$sel:lastUpdatedTime:ImportFailureListItem', importFailureListItem_lastUpdatedTime - When the import was last updated.

$sel:location:ImportFailureListItem', importFailureListItem_location - The location of the failure in the S3 bucket.

$sel:status:ImportFailureListItem', importFailureListItem_status - The status of the import.

ImportSource

data ImportSource Source #

The import source.

See: newImportSource smart constructor.

Instances

Instances details
FromJSON ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

ToJSON ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

Generic ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

Associated Types

type Rep ImportSource :: Type -> Type #

Read ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

Show ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

NFData ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

Methods

rnf :: ImportSource -> () #

Eq ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

Hashable ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

type Rep ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportSource

type Rep ImportSource = D1 ('MetaData "ImportSource" "Amazonka.CloudTrail.Types.ImportSource" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ImportSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3ImportSource)))

newImportSource Source #

Create a value of ImportSource 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:s3:ImportSource', importSource_s3 - The source S3 bucket.

ImportStatistics

data ImportStatistics Source #

Provides statistics for the specified ImportID. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

See: newImportStatistics smart constructor.

Instances

Instances details
FromJSON ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

Generic ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

Associated Types

type Rep ImportStatistics :: Type -> Type #

Read ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

Show ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

NFData ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

Methods

rnf :: ImportStatistics -> () #

Eq ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

Hashable ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

type Rep ImportStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportStatistics

type Rep ImportStatistics = D1 ('MetaData "ImportStatistics" "Amazonka.CloudTrail.Types.ImportStatistics" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ImportStatistics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventsCompleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "failedEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "filesCompleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "prefixesCompleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "prefixesFound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newImportStatistics :: ImportStatistics Source #

Create a value of ImportStatistics 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:eventsCompleted:ImportStatistics', importStatistics_eventsCompleted - The number of trail events imported into the event data store.

$sel:failedEntries:ImportStatistics', importStatistics_failedEntries - The number of failed entries.

$sel:filesCompleted:ImportStatistics', importStatistics_filesCompleted - The number of log files that completed import.

$sel:prefixesCompleted:ImportStatistics', importStatistics_prefixesCompleted - The number of S3 prefixes that completed import.

$sel:prefixesFound:ImportStatistics', importStatistics_prefixesFound - The number of S3 prefixes found for the import.

ImportsListItem

data ImportsListItem Source #

Contains information about an import that was returned by a lookup request.

See: newImportsListItem smart constructor.

Instances

Instances details
FromJSON ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

Generic ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

Associated Types

type Rep ImportsListItem :: Type -> Type #

Read ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

Show ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

NFData ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

Methods

rnf :: ImportsListItem -> () #

Eq ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

Hashable ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

type Rep ImportsListItem Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ImportsListItem

type Rep ImportsListItem = D1 ('MetaData "ImportsListItem" "Amazonka.CloudTrail.Types.ImportsListItem" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ImportsListItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "importStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportStatus)) :*: S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newImportsListItem :: ImportsListItem Source #

Create a value of ImportsListItem 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:createdTimestamp:ImportsListItem', importsListItem_createdTimestamp - The timestamp of the import's creation.

$sel:destinations:ImportsListItem', importsListItem_destinations - The ARN of the destination event data store.

$sel:importId:ImportsListItem', importsListItem_importId - The ID of the import.

$sel:importStatus:ImportsListItem', importsListItem_importStatus - The status of the import.

$sel:updatedTimestamp:ImportsListItem', importsListItem_updatedTimestamp - The timestamp of the import's last update.

InsightSelector

data InsightSelector Source #

A JSON string that contains a list of insight types that are logged on a trail.

See: newInsightSelector smart constructor.

Instances

Instances details
FromJSON InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

ToJSON InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Generic InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Associated Types

type Rep InsightSelector :: Type -> Type #

Read InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Show InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

NFData InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Methods

rnf :: InsightSelector -> () #

Eq InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Hashable InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

type Rep InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

type Rep InsightSelector = D1 ('MetaData "InsightSelector" "Amazonka.CloudTrail.Types.InsightSelector" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "InsightSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsightType))))

newInsightSelector :: InsightSelector Source #

Create a value of InsightSelector 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:insightType:InsightSelector', insightSelector_insightType - The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.

LookupAttribute

data LookupAttribute Source #

Specifies an attribute and value that filter the events returned.

See: newLookupAttribute smart constructor.

Instances

Instances details
ToJSON LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

Generic LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

Associated Types

type Rep LookupAttribute :: Type -> Type #

Read LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

Show LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

NFData LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

Methods

rnf :: LookupAttribute -> () #

Eq LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

Hashable LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

type Rep LookupAttribute Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.LookupAttribute

type Rep LookupAttribute = D1 ('MetaData "LookupAttribute" "Amazonka.CloudTrail.Types.LookupAttribute" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "LookupAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LookupAttributeKey) :*: S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLookupAttribute Source #

Create a value of LookupAttribute 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:attributeKey:LookupAttribute', lookupAttribute_attributeKey - Specifies an attribute on which to filter the events returned.

$sel:attributeValue:LookupAttribute', lookupAttribute_attributeValue - Specifies a value for the specified AttributeKey.

PublicKey

data PublicKey Source #

Contains information about a returned public key.

See: newPublicKey smart constructor.

Instances

Instances details
FromJSON PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Generic PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Associated Types

type Rep PublicKey :: Type -> Type #

Read PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Show PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

NFData PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Methods

rnf :: PublicKey -> () #

Eq PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

Hashable PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

type Rep PublicKey Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.PublicKey

type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudTrail.Types.PublicKey" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "PublicKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "validityEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "validityStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)))))

newPublicKey :: PublicKey Source #

Create a value of PublicKey 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:fingerprint:PublicKey', publicKey_fingerprint - The fingerprint of the public key.

$sel:validityEndTime:PublicKey', publicKey_validityEndTime - The ending time of validity of the public key.

$sel:validityStartTime:PublicKey', publicKey_validityStartTime - The starting time of validity of the public key.

$sel:value:PublicKey', publicKey_value - The DER encoded public key value in PKCS#1 format.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

Query

data Query Source #

A SQL string of criteria about events that you want to collect in an event data store.

See: newQuery smart constructor.

Instances

Instances details
FromJSON Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Generic Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Associated Types

type Rep Query :: Type -> Type #

Methods

from :: Query -> Rep Query x #

to :: Rep Query x -> Query #

Read Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Show Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Methods

showsPrec :: Int -> Query -> ShowS #

show :: Query -> String #

showList :: [Query] -> ShowS #

NFData Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Methods

rnf :: Query -> () #

Eq Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Methods

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

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

Hashable Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

Methods

hashWithSalt :: Int -> Query -> Int #

hash :: Query -> Int #

type Rep Query Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Query

type Rep Query = D1 ('MetaData "Query" "Amazonka.CloudTrail.Types.Query" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Query'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus)))))

newQuery :: Query Source #

Create a value of Query 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:creationTime:Query', query_creationTime - The creation time of a query.

$sel:queryId:Query', query_queryId - The ID of a query.

$sel:queryStatus:Query', query_queryStatus - The status of the query. This can be QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

QueryStatistics

data QueryStatistics Source #

Metadata about a query, such as the number of results.

See: newQueryStatistics smart constructor.

Instances

Instances details
FromJSON QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Generic QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Associated Types

type Rep QueryStatistics :: Type -> Type #

Read QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Show QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

NFData QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Methods

rnf :: QueryStatistics -> () #

Eq QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Hashable QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

type Rep QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

type Rep QueryStatistics = D1 ('MetaData "QueryStatistics" "Amazonka.CloudTrail.Types.QueryStatistics" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "QueryStatistics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "resultsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "totalResultsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newQueryStatistics :: QueryStatistics Source #

Create a value of QueryStatistics 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:bytesScanned:QueryStatistics', queryStatistics_bytesScanned - The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

$sel:resultsCount:QueryStatistics', queryStatistics_resultsCount - The number of results returned.

$sel:totalResultsCount:QueryStatistics', queryStatistics_totalResultsCount - The total number of results returned by a query.

QueryStatisticsForDescribeQuery

data QueryStatisticsForDescribeQuery Source #

Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.

See: newQueryStatisticsForDescribeQuery smart constructor.

Instances

Instances details
FromJSON QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Generic QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Associated Types

type Rep QueryStatisticsForDescribeQuery :: Type -> Type #

Read QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Show QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

NFData QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Eq QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Hashable QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

type Rep QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

type Rep QueryStatisticsForDescribeQuery = D1 ('MetaData "QueryStatisticsForDescribeQuery" "Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "QueryStatisticsForDescribeQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "eventsMatched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "eventsScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "executionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newQueryStatisticsForDescribeQuery :: QueryStatisticsForDescribeQuery Source #

Create a value of QueryStatisticsForDescribeQuery 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:bytesScanned:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_bytesScanned - The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

$sel:creationTime:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_creationTime - The creation time of the query.

$sel:eventsMatched:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_eventsMatched - The number of events that matched a query.

$sel:eventsScanned:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_eventsScanned - The number of events that the query scanned in the event data store.

$sel:executionTimeInMillis:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_executionTimeInMillis - The query's run time, in milliseconds.

Resource

data Resource Source #

Specifies the type and name of a resource referenced by an event.

See: newResource smart constructor.

Constructors

Resource' (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.CloudTrail.Types.Resource" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResource :: Resource Source #

Create a value of Resource 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:resourceName:Resource', resource_resourceName - The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

$sel:resourceType:Resource', resource_resourceType - The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for Amazon RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.

ResourceTag

data ResourceTag Source #

A resource tag.

See: newResourceTag smart constructor.

Constructors

ResourceTag' (Maybe Text) (Maybe [Tag]) 

Instances

Instances details
FromJSON ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Generic ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Associated Types

type Rep ResourceTag :: Type -> Type #

Read ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Show ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

NFData ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Methods

rnf :: ResourceTag -> () #

Eq ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

Hashable ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

type Rep ResourceTag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.ResourceTag

type Rep ResourceTag = D1 ('MetaData "ResourceTag" "Amazonka.CloudTrail.Types.ResourceTag" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "ResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newResourceTag :: ResourceTag Source #

Create a value of ResourceTag 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:resourceId:ResourceTag', resourceTag_resourceId - Specifies the ARN of the resource.

$sel:tagsList:ResourceTag', resourceTag_tagsList - A list of tags.

S3ImportSource

data S3ImportSource Source #

The settings for the source S3 bucket.

See: newS3ImportSource smart constructor.

Instances

Instances details
FromJSON S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

ToJSON S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

Generic S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

Associated Types

type Rep S3ImportSource :: Type -> Type #

Read S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

Show S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

NFData S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

Methods

rnf :: S3ImportSource -> () #

Eq S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

Hashable S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

type Rep S3ImportSource Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.S3ImportSource

type Rep S3ImportSource = D1 ('MetaData "S3ImportSource" "Amazonka.CloudTrail.Types.S3ImportSource" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "S3ImportSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3LocationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3BucketRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3BucketAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newS3ImportSource Source #

Create a value of S3ImportSource 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:s3LocationUri:S3ImportSource', s3ImportSource_s3LocationUri - The URI for the source S3 bucket.

$sel:s3BucketRegion:S3ImportSource', s3ImportSource_s3BucketRegion - The region associated with the source S3 bucket.

$sel:s3BucketAccessRoleArn:S3ImportSource', s3ImportSource_s3BucketAccessRoleArn - The IAM ARN role used to access the source S3 bucket.

SourceConfig

data SourceConfig Source #

Contains configuration information about the channel.

See: newSourceConfig smart constructor.

Instances

Instances details
FromJSON SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Generic SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Associated Types

type Rep SourceConfig :: Type -> Type #

Read SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Show SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

NFData SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Methods

rnf :: SourceConfig -> () #

Eq SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Hashable SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

type Rep SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

type Rep SourceConfig = D1 ('MetaData "SourceConfig" "Amazonka.CloudTrail.Types.SourceConfig" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "SourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "applyToAllRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newSourceConfig :: SourceConfig Source #

Create a value of SourceConfig 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:advancedEventSelectors:SourceConfig', sourceConfig_advancedEventSelectors - The advanced event selectors that are configured for the channel.

$sel:applyToAllRegions:SourceConfig', sourceConfig_applyToAllRegions - Specifies whether the channel applies to a single region or to all regions.

Tag

data Tag Source #

A custom key-value pair associated with a resource such as a CloudTrail trail.

See: newTag smart constructor.

Constructors

Tag' (Maybe Text) Text 

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudTrail.Types.Tag" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Arguments

:: Text

$sel:key:Tag'

-> Tag 

Create a value of Tag 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:value:Tag', tag_value - The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.

$sel:key:Tag', tag_key - The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.

Trail

data Trail Source #

The settings for a trail.

See: newTrail smart constructor.

Instances

Instances details
FromJSON Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Generic Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Associated Types

type Rep Trail :: Type -> Type #

Methods

from :: Trail -> Rep Trail x #

to :: Rep Trail x -> Trail #

Read Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Show Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Methods

showsPrec :: Int -> Trail -> ShowS #

show :: Trail -> String #

showList :: [Trail] -> ShowS #

NFData Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Methods

rnf :: Trail -> () #

Eq Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Methods

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

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

Hashable Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

Methods

hashWithSalt :: Int -> Trail -> Int #

hash :: Trail -> Int #

type Rep Trail Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Trail

type Rep Trail = D1 ('MetaData "Trail" "Amazonka.CloudTrail.Types.Trail" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hasCustomEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "hasInsightSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketName") '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 "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newTrail :: Trail Source #

Create a value of Trail 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:cloudWatchLogsLogGroupArn:Trail', trail_cloudWatchLogsLogGroupArn - Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.

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

$sel:hasCustomEventSelectors:Trail', trail_hasCustomEventSelectors - Specifies if the trail has custom event selectors.

$sel:hasInsightSelectors:Trail', trail_hasInsightSelectors - Specifies whether a trail has insight types specified in an InsightSelector list.

$sel:homeRegion:Trail', trail_homeRegion - The region in which the trail was created.

$sel:includeGlobalServiceEvents:Trail', trail_includeGlobalServiceEvents - Set to True to include Amazon Web Services API calls from Amazon Web Services global services such as IAM. Otherwise, False.

$sel:isMultiRegionTrail:Trail', trail_isMultiRegionTrail - Specifies whether the trail exists only in one region or exists in all regions.

$sel:isOrganizationTrail:Trail', trail_isOrganizationTrail - Specifies whether the trail is an organization trail.

$sel:kmsKeyId:Trail', trail_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:logFileValidationEnabled:Trail', trail_logFileValidationEnabled - Specifies whether log file validation is enabled.

$sel:name:Trail', trail_name - Name of the trail set by calling CreateTrail. The maximum length is 128 characters.

$sel:s3BucketName:Trail', trail_s3BucketName - Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.

$sel:s3KeyPrefix:Trail', trail_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:snsTopicARN:Trail', trail_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:Trail', trail_snsTopicName - This field is no longer in use. Use SnsTopicARN.

$sel:trailARN:Trail', trail_trailARN - Specifies the ARN of the trail. The following is the format of a trail ARN.

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

TrailInfo

data TrailInfo Source #

Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).

See: newTrailInfo smart constructor.

Constructors

TrailInfo' (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Generic TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Associated Types

type Rep TrailInfo :: Type -> Type #

Read TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Show TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

NFData TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Methods

rnf :: TrailInfo -> () #

Eq TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

Hashable TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

type Rep TrailInfo Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.TrailInfo

type Rep TrailInfo = D1 ('MetaData "TrailInfo" "Amazonka.CloudTrail.Types.TrailInfo" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "TrailInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trailARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTrailInfo :: TrailInfo Source #

Create a value of TrailInfo 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:homeRegion:TrailInfo', trailInfo_homeRegion - The Amazon Web Services Region in which a trail was created.

$sel:name:TrailInfo', trailInfo_name - The name of a trail.

$sel:trailARN:TrailInfo', trailInfo_trailARN - The ARN of a trail.