Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- DeliveryStatus
- DestinationType
- EventCategory
- EventDataStoreStatus
- ImportFailureStatus
- ImportStatus
- InsightType
- LookupAttributeKey
- QueryStatus
- ReadWriteType
- AdvancedEventSelector
- AdvancedFieldSelector
- Channel
- DataResource
- Destination
- Event
- EventDataStore
- EventSelector
- ImportFailureListItem
- ImportSource
- ImportStatistics
- ImportsListItem
- InsightSelector
- LookupAttribute
- PublicKey
- Query
- QueryStatistics
- QueryStatisticsForDescribeQuery
- Resource
- ResourceTag
- S3ImportSource
- SourceConfig
- Tag
- Trail
- TrailInfo
Synopsis
- defaultService :: Service
- _AccountHasOngoingImportException :: AsError a => Fold a ServiceError
- _AccountNotFoundException :: AsError a => Fold a ServiceError
- _AccountNotRegisteredException :: AsError a => Fold a ServiceError
- _AccountRegisteredException :: AsError a => Fold a ServiceError
- _CannotDelegateManagementAccountException :: AsError a => Fold a ServiceError
- _ChannelARNInvalidException :: AsError a => Fold a ServiceError
- _ChannelNotFoundException :: AsError a => Fold a ServiceError
- _CloudTrailARNInvalidException :: AsError a => Fold a ServiceError
- _CloudTrailAccessNotEnabledException :: AsError a => Fold a ServiceError
- _CloudTrailInvalidClientTokenIdException :: AsError a => Fold a ServiceError
- _CloudWatchLogsDeliveryUnavailableException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _DelegatedAdminAccountLimitExceededException :: AsError a => Fold a ServiceError
- _EventDataStoreARNInvalidException :: AsError a => Fold a ServiceError
- _EventDataStoreAlreadyExistsException :: AsError a => Fold a ServiceError
- _EventDataStoreHasOngoingImportException :: AsError a => Fold a ServiceError
- _EventDataStoreMaxLimitExceededException :: AsError a => Fold a ServiceError
- _EventDataStoreNotFoundException :: AsError a => Fold a ServiceError
- _EventDataStoreTerminationProtectedException :: AsError a => Fold a ServiceError
- _ImportNotFoundException :: AsError a => Fold a ServiceError
- _InactiveEventDataStoreException :: AsError a => Fold a ServiceError
- _InactiveQueryException :: AsError a => Fold a ServiceError
- _InsightNotEnabledException :: AsError a => Fold a ServiceError
- _InsufficientDependencyServiceAccessPermissionException :: AsError a => Fold a ServiceError
- _InsufficientEncryptionPolicyException :: AsError a => Fold a ServiceError
- _InsufficientS3BucketPolicyException :: AsError a => Fold a ServiceError
- _InsufficientSnsTopicPolicyException :: AsError a => Fold a ServiceError
- _InvalidCloudWatchLogsLogGroupArnException :: AsError a => Fold a ServiceError
- _InvalidCloudWatchLogsRoleArnException :: AsError a => Fold a ServiceError
- _InvalidDateRangeException :: AsError a => Fold a ServiceError
- _InvalidEventCategoryException :: AsError a => Fold a ServiceError
- _InvalidEventDataStoreCategoryException :: AsError a => Fold a ServiceError
- _InvalidEventDataStoreStatusException :: AsError a => Fold a ServiceError
- _InvalidEventSelectorsException :: AsError a => Fold a ServiceError
- _InvalidHomeRegionException :: AsError a => Fold a ServiceError
- _InvalidImportSourceException :: AsError a => Fold a ServiceError
- _InvalidInsightSelectorsException :: AsError a => Fold a ServiceError
- _InvalidKmsKeyIdException :: AsError a => Fold a ServiceError
- _InvalidLookupAttributesException :: AsError a => Fold a ServiceError
- _InvalidMaxResultsException :: AsError a => Fold a ServiceError
- _InvalidNextTokenException :: AsError a => Fold a ServiceError
- _InvalidParameterCombinationException :: AsError a => Fold a ServiceError
- _InvalidParameterException :: AsError a => Fold a ServiceError
- _InvalidQueryStatementException :: AsError a => Fold a ServiceError
- _InvalidQueryStatusException :: AsError a => Fold a ServiceError
- _InvalidS3BucketNameException :: AsError a => Fold a ServiceError
- _InvalidS3PrefixException :: AsError a => Fold a ServiceError
- _InvalidSnsTopicNameException :: AsError a => Fold a ServiceError
- _InvalidTagParameterException :: AsError a => Fold a ServiceError
- _InvalidTimeRangeException :: AsError a => Fold a ServiceError
- _InvalidTokenException :: AsError a => Fold a ServiceError
- _InvalidTrailNameException :: AsError a => Fold a ServiceError
- _KmsException :: AsError a => Fold a ServiceError
- _KmsKeyDisabledException :: AsError a => Fold a ServiceError
- _KmsKeyNotFoundException :: AsError a => Fold a ServiceError
- _MaxConcurrentQueriesException :: AsError a => Fold a ServiceError
- _MaximumNumberOfTrailsExceededException :: AsError a => Fold a ServiceError
- _NoManagementAccountSLRExistsException :: AsError a => Fold a ServiceError
- _NotOrganizationManagementAccountException :: AsError a => Fold a ServiceError
- _NotOrganizationMasterAccountException :: AsError a => Fold a ServiceError
- _OperationNotPermittedException :: AsError a => Fold a ServiceError
- _OrganizationNotInAllFeaturesModeException :: AsError a => Fold a ServiceError
- _OrganizationsNotInUseException :: AsError a => Fold a ServiceError
- _QueryIdNotFoundException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceTypeNotSupportedException :: AsError a => Fold a ServiceError
- _S3BucketDoesNotExistException :: AsError a => Fold a ServiceError
- _TagsLimitExceededException :: AsError a => Fold a ServiceError
- _TrailAlreadyExistsException :: AsError a => Fold a ServiceError
- _TrailNotFoundException :: AsError a => Fold a ServiceError
- _TrailNotProvidedException :: AsError a => Fold a ServiceError
- _UnsupportedOperationException :: AsError a => Fold a ServiceError
- newtype DeliveryStatus where
- DeliveryStatus' { }
- pattern DeliveryStatus_ACCESS_DENIED :: DeliveryStatus
- pattern DeliveryStatus_ACCESS_DENIED_SIGNING_FILE :: DeliveryStatus
- pattern DeliveryStatus_CANCELLED :: DeliveryStatus
- pattern DeliveryStatus_FAILED :: DeliveryStatus
- pattern DeliveryStatus_FAILED_SIGNING_FILE :: DeliveryStatus
- pattern DeliveryStatus_PENDING :: DeliveryStatus
- pattern DeliveryStatus_RESOURCE_NOT_FOUND :: DeliveryStatus
- pattern DeliveryStatus_SUCCESS :: DeliveryStatus
- pattern DeliveryStatus_UNKNOWN :: DeliveryStatus
- newtype DestinationType where
- DestinationType' { }
- pattern DestinationType_AWS_SERVICE :: DestinationType
- pattern DestinationType_EVENT_DATA_STORE :: DestinationType
- newtype EventCategory where
- EventCategory' { }
- pattern EventCategory_Insight :: EventCategory
- newtype EventDataStoreStatus where
- newtype ImportFailureStatus where
- newtype ImportStatus where
- ImportStatus' { }
- pattern ImportStatus_COMPLETED :: ImportStatus
- pattern ImportStatus_FAILED :: ImportStatus
- pattern ImportStatus_INITIALIZING :: ImportStatus
- pattern ImportStatus_IN_PROGRESS :: ImportStatus
- pattern ImportStatus_STOPPED :: ImportStatus
- newtype InsightType where
- InsightType' { }
- pattern InsightType_ApiCallRateInsight :: InsightType
- pattern InsightType_ApiErrorRateInsight :: InsightType
- newtype LookupAttributeKey where
- LookupAttributeKey' { }
- pattern LookupAttributeKey_AccessKeyId :: LookupAttributeKey
- pattern LookupAttributeKey_EventId :: LookupAttributeKey
- pattern LookupAttributeKey_EventName :: LookupAttributeKey
- pattern LookupAttributeKey_EventSource :: LookupAttributeKey
- pattern LookupAttributeKey_ReadOnly :: LookupAttributeKey
- pattern LookupAttributeKey_ResourceName :: LookupAttributeKey
- pattern LookupAttributeKey_ResourceType :: LookupAttributeKey
- pattern LookupAttributeKey_Username :: LookupAttributeKey
- newtype QueryStatus where
- QueryStatus' { }
- pattern QueryStatus_CANCELLED :: QueryStatus
- pattern QueryStatus_FAILED :: QueryStatus
- pattern QueryStatus_FINISHED :: QueryStatus
- pattern QueryStatus_QUEUED :: QueryStatus
- pattern QueryStatus_RUNNING :: QueryStatus
- pattern QueryStatus_TIMED_OUT :: QueryStatus
- newtype ReadWriteType where
- ReadWriteType' { }
- pattern ReadWriteType_All :: ReadWriteType
- pattern ReadWriteType_ReadOnly :: ReadWriteType
- pattern ReadWriteType_WriteOnly :: ReadWriteType
- data AdvancedEventSelector = AdvancedEventSelector' {}
- newAdvancedEventSelector :: NonEmpty AdvancedFieldSelector -> AdvancedEventSelector
- advancedEventSelector_name :: Lens' AdvancedEventSelector (Maybe Text)
- advancedEventSelector_fieldSelectors :: Lens' AdvancedEventSelector (NonEmpty AdvancedFieldSelector)
- data AdvancedFieldSelector = AdvancedFieldSelector' {}
- newAdvancedFieldSelector :: Text -> AdvancedFieldSelector
- advancedFieldSelector_endsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_equals :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_notEndsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_notEquals :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_notStartsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_startsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text))
- advancedFieldSelector_field :: Lens' AdvancedFieldSelector Text
- data Channel = Channel' {}
- newChannel :: Channel
- channel_channelArn :: Lens' Channel (Maybe Text)
- channel_name :: Lens' Channel (Maybe Text)
- data DataResource = DataResource' {}
- newDataResource :: DataResource
- dataResource_type :: Lens' DataResource (Maybe Text)
- dataResource_values :: Lens' DataResource (Maybe [Text])
- data Destination = Destination' {
- type' :: DestinationType
- location :: Text
- newDestination :: DestinationType -> Text -> Destination
- destination_type :: Lens' Destination DestinationType
- destination_location :: Lens' Destination Text
- data Event = Event' {}
- newEvent :: Event
- event_accessKeyId :: Lens' Event (Maybe Text)
- event_cloudTrailEvent :: Lens' Event (Maybe Text)
- event_eventId :: Lens' Event (Maybe Text)
- event_eventName :: Lens' Event (Maybe Text)
- event_eventSource :: Lens' Event (Maybe Text)
- event_eventTime :: Lens' Event (Maybe UTCTime)
- event_readOnly :: Lens' Event (Maybe Text)
- event_resources :: Lens' Event (Maybe [Resource])
- event_username :: Lens' Event (Maybe Text)
- data EventDataStore = EventDataStore' {
- advancedEventSelectors :: Maybe [AdvancedEventSelector]
- createdTimestamp :: Maybe POSIX
- eventDataStoreArn :: Maybe Text
- multiRegionEnabled :: Maybe Bool
- name :: Maybe Text
- organizationEnabled :: Maybe Bool
- retentionPeriod :: Maybe Natural
- status :: Maybe EventDataStoreStatus
- terminationProtectionEnabled :: Maybe Bool
- updatedTimestamp :: Maybe POSIX
- newEventDataStore :: EventDataStore
- eventDataStore_advancedEventSelectors :: Lens' EventDataStore (Maybe [AdvancedEventSelector])
- eventDataStore_createdTimestamp :: Lens' EventDataStore (Maybe UTCTime)
- eventDataStore_eventDataStoreArn :: Lens' EventDataStore (Maybe Text)
- eventDataStore_multiRegionEnabled :: Lens' EventDataStore (Maybe Bool)
- eventDataStore_name :: Lens' EventDataStore (Maybe Text)
- eventDataStore_organizationEnabled :: Lens' EventDataStore (Maybe Bool)
- eventDataStore_retentionPeriod :: Lens' EventDataStore (Maybe Natural)
- eventDataStore_status :: Lens' EventDataStore (Maybe EventDataStoreStatus)
- eventDataStore_terminationProtectionEnabled :: Lens' EventDataStore (Maybe Bool)
- eventDataStore_updatedTimestamp :: Lens' EventDataStore (Maybe UTCTime)
- data EventSelector = EventSelector' {}
- newEventSelector :: EventSelector
- eventSelector_dataResources :: Lens' EventSelector (Maybe [DataResource])
- eventSelector_excludeManagementEventSources :: Lens' EventSelector (Maybe [Text])
- eventSelector_includeManagementEvents :: Lens' EventSelector (Maybe Bool)
- eventSelector_readWriteType :: Lens' EventSelector (Maybe ReadWriteType)
- data ImportFailureListItem = ImportFailureListItem' {}
- newImportFailureListItem :: ImportFailureListItem
- importFailureListItem_errorMessage :: Lens' ImportFailureListItem (Maybe Text)
- importFailureListItem_errorType :: Lens' ImportFailureListItem (Maybe Text)
- importFailureListItem_lastUpdatedTime :: Lens' ImportFailureListItem (Maybe UTCTime)
- importFailureListItem_location :: Lens' ImportFailureListItem (Maybe Text)
- importFailureListItem_status :: Lens' ImportFailureListItem (Maybe ImportFailureStatus)
- data ImportSource = ImportSource' {
- s3 :: S3ImportSource
- newImportSource :: S3ImportSource -> ImportSource
- importSource_s3 :: Lens' ImportSource S3ImportSource
- data ImportStatistics = ImportStatistics' {}
- newImportStatistics :: ImportStatistics
- importStatistics_eventsCompleted :: Lens' ImportStatistics (Maybe Integer)
- importStatistics_failedEntries :: Lens' ImportStatistics (Maybe Integer)
- importStatistics_filesCompleted :: Lens' ImportStatistics (Maybe Integer)
- importStatistics_prefixesCompleted :: Lens' ImportStatistics (Maybe Integer)
- importStatistics_prefixesFound :: Lens' ImportStatistics (Maybe Integer)
- data ImportsListItem = ImportsListItem' {}
- newImportsListItem :: ImportsListItem
- importsListItem_createdTimestamp :: Lens' ImportsListItem (Maybe UTCTime)
- importsListItem_destinations :: Lens' ImportsListItem (Maybe (NonEmpty Text))
- importsListItem_importId :: Lens' ImportsListItem (Maybe Text)
- importsListItem_importStatus :: Lens' ImportsListItem (Maybe ImportStatus)
- importsListItem_updatedTimestamp :: Lens' ImportsListItem (Maybe UTCTime)
- data InsightSelector = InsightSelector' {}
- newInsightSelector :: InsightSelector
- insightSelector_insightType :: Lens' InsightSelector (Maybe InsightType)
- data LookupAttribute = LookupAttribute' {}
- newLookupAttribute :: LookupAttributeKey -> Text -> LookupAttribute
- lookupAttribute_attributeKey :: Lens' LookupAttribute LookupAttributeKey
- lookupAttribute_attributeValue :: Lens' LookupAttribute Text
- data PublicKey = PublicKey' {}
- newPublicKey :: PublicKey
- publicKey_fingerprint :: Lens' PublicKey (Maybe Text)
- publicKey_validityEndTime :: Lens' PublicKey (Maybe UTCTime)
- publicKey_validityStartTime :: Lens' PublicKey (Maybe UTCTime)
- publicKey_value :: Lens' PublicKey (Maybe ByteString)
- data Query = Query' {}
- newQuery :: Query
- query_creationTime :: Lens' Query (Maybe UTCTime)
- query_queryId :: Lens' Query (Maybe Text)
- query_queryStatus :: Lens' Query (Maybe QueryStatus)
- data QueryStatistics = QueryStatistics' {}
- newQueryStatistics :: QueryStatistics
- queryStatistics_bytesScanned :: Lens' QueryStatistics (Maybe Integer)
- queryStatistics_resultsCount :: Lens' QueryStatistics (Maybe Int)
- queryStatistics_totalResultsCount :: Lens' QueryStatistics (Maybe Int)
- data QueryStatisticsForDescribeQuery = QueryStatisticsForDescribeQuery' {}
- newQueryStatisticsForDescribeQuery :: QueryStatisticsForDescribeQuery
- queryStatisticsForDescribeQuery_bytesScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer)
- queryStatisticsForDescribeQuery_creationTime :: Lens' QueryStatisticsForDescribeQuery (Maybe UTCTime)
- queryStatisticsForDescribeQuery_eventsMatched :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer)
- queryStatisticsForDescribeQuery_eventsScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer)
- queryStatisticsForDescribeQuery_executionTimeInMillis :: Lens' QueryStatisticsForDescribeQuery (Maybe Int)
- data Resource = Resource' {}
- newResource :: Resource
- resource_resourceName :: Lens' Resource (Maybe Text)
- resource_resourceType :: Lens' Resource (Maybe Text)
- data ResourceTag = ResourceTag' {}
- newResourceTag :: ResourceTag
- resourceTag_resourceId :: Lens' ResourceTag (Maybe Text)
- resourceTag_tagsList :: Lens' ResourceTag (Maybe [Tag])
- data S3ImportSource = S3ImportSource' {}
- newS3ImportSource :: Text -> Text -> Text -> S3ImportSource
- s3ImportSource_s3LocationUri :: Lens' S3ImportSource Text
- s3ImportSource_s3BucketRegion :: Lens' S3ImportSource Text
- s3ImportSource_s3BucketAccessRoleArn :: Lens' S3ImportSource Text
- data SourceConfig = SourceConfig' {}
- newSourceConfig :: SourceConfig
- sourceConfig_advancedEventSelectors :: Lens' SourceConfig (Maybe [AdvancedEventSelector])
- sourceConfig_applyToAllRegions :: Lens' SourceConfig (Maybe Bool)
- data Tag = Tag' {}
- newTag :: Text -> Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- data Trail = Trail' {
- cloudWatchLogsLogGroupArn :: Maybe Text
- cloudWatchLogsRoleArn :: Maybe Text
- hasCustomEventSelectors :: Maybe Bool
- hasInsightSelectors :: Maybe Bool
- homeRegion :: Maybe Text
- includeGlobalServiceEvents :: Maybe Bool
- isMultiRegionTrail :: Maybe Bool
- isOrganizationTrail :: Maybe Bool
- kmsKeyId :: Maybe Text
- logFileValidationEnabled :: Maybe Bool
- name :: Maybe Text
- s3BucketName :: Maybe Text
- s3KeyPrefix :: Maybe Text
- snsTopicARN :: Maybe Text
- snsTopicName :: Maybe Text
- trailARN :: Maybe Text
- newTrail :: Trail
- trail_cloudWatchLogsLogGroupArn :: Lens' Trail (Maybe Text)
- trail_cloudWatchLogsRoleArn :: Lens' Trail (Maybe Text)
- trail_hasCustomEventSelectors :: Lens' Trail (Maybe Bool)
- trail_hasInsightSelectors :: Lens' Trail (Maybe Bool)
- trail_homeRegion :: Lens' Trail (Maybe Text)
- trail_includeGlobalServiceEvents :: Lens' Trail (Maybe Bool)
- trail_isMultiRegionTrail :: Lens' Trail (Maybe Bool)
- trail_isOrganizationTrail :: Lens' Trail (Maybe Bool)
- trail_kmsKeyId :: Lens' Trail (Maybe Text)
- trail_logFileValidationEnabled :: Lens' Trail (Maybe Bool)
- trail_name :: Lens' Trail (Maybe Text)
- trail_s3BucketName :: Lens' Trail (Maybe Text)
- trail_s3KeyPrefix :: Lens' Trail (Maybe Text)
- trail_snsTopicARN :: Lens' Trail (Maybe Text)
- trail_snsTopicName :: Lens' Trail (Maybe Text)
- trail_trailARN :: Lens' Trail (Maybe Text)
- data TrailInfo = TrailInfo' {}
- newTrailInfo :: TrailInfo
- trailInfo_homeRegion :: Lens' TrailInfo (Maybe Text)
- trailInfo_name :: Lens' TrailInfo (Maybe Text)
- trailInfo_trailARN :: Lens' TrailInfo (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2013-11-01
of the Amazon CloudTrail SDK configuration.
Errors
_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 :: 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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
_AccountRegisteredException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the account is already registered as the CloudTrail delegated administrator.
_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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified value of ChannelARN
is not
valid.
_ChannelNotFoundException :: AsError a => Fold a ServiceError Source #
The specified channel was not found.
_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 :: 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 :: 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 :: AsError a => Fold a ServiceError Source #
Cannot set a CloudWatch Logs delivery for this region.
_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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the maximum number of CloudTrail delegated administrators is reached.
_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 :: AsError a => Fold a ServiceError Source #
An event data store with that name already exists.
_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 :: AsError a => Fold a ServiceError Source #
Your account has used the maximum number of event data stores.
_EventDataStoreNotFoundException :: AsError a => Fold a ServiceError Source #
The specified event data store was not found.
_EventDataStoreTerminationProtectedException :: AsError a => Fold a ServiceError Source #
The event data store cannot be deleted because termination protection is enabled for it.
_ImportNotFoundException :: AsError a => Fold a ServiceError Source #
The specified import was not found.
_InactiveEventDataStoreException :: AsError a => Fold a ServiceError Source #
The event data store is inactive.
_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 :: 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 :: 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 :: 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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the policy on the S3 bucket is not sufficient.
_InsufficientSnsTopicPolicyException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the policy on the Amazon SNS topic is not sufficient.
_InvalidCloudWatchLogsLogGroupArnException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided CloudWatch Logs log group is not valid.
_InvalidCloudWatchLogsRoleArnException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided role is not valid.
_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 :: AsError a => Fold a ServiceError Source #
Occurs if an event category that is not valid is specified as a value of
EventCategory
.
_InvalidEventDataStoreCategoryException :: AsError a => Fold a ServiceError Source #
This exception is thrown when event categories of specified event data stores are not valid.
_InvalidEventDataStoreStatusException :: AsError a => Fold a ServiceError Source #
The event data store is not in a status that supports the operation.
_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 ofread-only
is not valid.
_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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided source S3 bucket is not valid for import.
_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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the KMS key ARN is not valid.
_InvalidLookupAttributesException :: AsError a => Fold a ServiceError Source #
Occurs when a lookup attribute is specified that is not valid.
_InvalidMaxResultsException :: AsError a => Fold a ServiceError Source #
This exception is thrown if the limit specified is not valid.
_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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the combination of parameters provided is not valid.
_InvalidParameterException :: AsError a => Fold a ServiceError Source #
The request includes a parameter that is not valid.
_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 :: AsError a => Fold a ServiceError Source #
The query status is not valid for the operation.
_InvalidS3BucketNameException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided S3 bucket name is not valid.
_InvalidS3PrefixException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided S3 prefix is not valid.
_InvalidSnsTopicNameException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the provided SNS topic name is not valid.
_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 :: 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 :: AsError a => Fold a ServiceError Source #
Reserved for future use.
_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
andmy--namespace
are not valid. - Not be in IP address format (for example, 192.168.5.4)
_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 :: AsError a => Fold a ServiceError Source #
This exception is no longer in use.
_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 :: 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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the maximum number of trails is reached.
_NoManagementAccountSLRExistsException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the management account does not have a service-linked role.
_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 :: 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 :: AsError a => Fold a ServiceError Source #
This exception is thrown when the requested operation is not permitted.
_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 :: 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 :: AsError a => Fold a ServiceError Source #
The query ID does not exist or does not map to a query.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified resource is not found.
_ResourceTypeNotSupportedException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified resource type is not supported by CloudTrail.
_S3BucketDoesNotExistException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified S3 bucket does not exist.
_TagsLimitExceededException :: AsError a => Fold a ServiceError Source #
The number of tags per trail has exceeded the permitted amount. Currently, the limit is 50.
_TrailAlreadyExistsException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the specified trail already exists.
_TrailNotFoundException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the trail with the given name is not found.
_TrailNotProvidedException :: AsError a => Fold a ServiceError Source #
This exception is no longer in use.
_UnsupportedOperationException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the requested operation is not supported.
DeliveryStatus
newtype DeliveryStatus Source #
pattern DeliveryStatus_ACCESS_DENIED :: DeliveryStatus | |
pattern DeliveryStatus_ACCESS_DENIED_SIGNING_FILE :: DeliveryStatus | |
pattern DeliveryStatus_CANCELLED :: DeliveryStatus | |
pattern DeliveryStatus_FAILED :: DeliveryStatus | |
pattern DeliveryStatus_FAILED_SIGNING_FILE :: DeliveryStatus | |
pattern DeliveryStatus_PENDING :: DeliveryStatus | |
pattern DeliveryStatus_RESOURCE_NOT_FOUND :: DeliveryStatus | |
pattern DeliveryStatus_SUCCESS :: DeliveryStatus | |
pattern DeliveryStatus_UNKNOWN :: DeliveryStatus |
Instances
DestinationType
newtype DestinationType Source #
pattern DestinationType_AWS_SERVICE :: DestinationType | |
pattern DestinationType_EVENT_DATA_STORE :: DestinationType |
Instances
EventCategory
newtype EventCategory Source #
pattern EventCategory_Insight :: EventCategory |
Instances
EventDataStoreStatus
newtype EventDataStoreStatus Source #
pattern EventDataStoreStatus_CREATED :: EventDataStoreStatus | |
pattern EventDataStoreStatus_ENABLED :: EventDataStoreStatus | |
pattern EventDataStoreStatus_PENDING_DELETION :: EventDataStoreStatus |
Instances
ImportFailureStatus
newtype ImportFailureStatus Source #
pattern ImportFailureStatus_FAILED :: ImportFailureStatus | |
pattern ImportFailureStatus_RETRY :: ImportFailureStatus | |
pattern ImportFailureStatus_SUCCEEDED :: ImportFailureStatus |
Instances
ImportStatus
newtype ImportStatus Source #
pattern ImportStatus_COMPLETED :: ImportStatus | |
pattern ImportStatus_FAILED :: ImportStatus | |
pattern ImportStatus_INITIALIZING :: ImportStatus | |
pattern ImportStatus_IN_PROGRESS :: ImportStatus | |
pattern ImportStatus_STOPPED :: ImportStatus |
Instances
InsightType
newtype InsightType Source #
pattern InsightType_ApiCallRateInsight :: InsightType | |
pattern InsightType_ApiErrorRateInsight :: InsightType |
Instances
LookupAttributeKey
newtype LookupAttributeKey Source #
pattern LookupAttributeKey_AccessKeyId :: LookupAttributeKey | |
pattern LookupAttributeKey_EventId :: LookupAttributeKey | |
pattern LookupAttributeKey_EventName :: LookupAttributeKey | |
pattern LookupAttributeKey_EventSource :: LookupAttributeKey | |
pattern LookupAttributeKey_ReadOnly :: LookupAttributeKey | |
pattern LookupAttributeKey_ResourceName :: LookupAttributeKey | |
pattern LookupAttributeKey_ResourceType :: LookupAttributeKey | |
pattern LookupAttributeKey_Username :: LookupAttributeKey |
Instances
QueryStatus
newtype QueryStatus Source #
pattern QueryStatus_CANCELLED :: QueryStatus | |
pattern QueryStatus_FAILED :: QueryStatus | |
pattern QueryStatus_FINISHED :: QueryStatus | |
pattern QueryStatus_QUEUED :: QueryStatus | |
pattern QueryStatus_RUNNING :: QueryStatus | |
pattern QueryStatus_TIMED_OUT :: QueryStatus |
Instances
ReadWriteType
newtype ReadWriteType Source #
pattern ReadWriteType_All :: ReadWriteType | |
pattern ReadWriteType_ReadOnly :: ReadWriteType | |
pattern ReadWriteType_WriteOnly :: ReadWriteType |
Instances
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.
AdvancedEventSelector' | |
|
Instances
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.
advancedEventSelector_name :: Lens' AdvancedEventSelector (Maybe Text) Source #
An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".
advancedEventSelector_fieldSelectors :: Lens' AdvancedEventSelector (NonEmpty AdvancedFieldSelector) Source #
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.
AdvancedFieldSelector' | |
|
Instances
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 toEquals
a value oftrue
orfalse
. If you do not add this field, CloudTrail logs bothread
andwrite
events. A value oftrue
logs onlyread
events. A value offalse
logs onlywrite
events.eventSource
- For filtering management events only. This can be set only toNotEquals
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 asPutBucket
orGetSnapshotBlock
. You can have multiple values for this field, separated by commas.eventCategory
- This is required. It must be set toEquals
, and the value must beManagement
orData
.resources.type
- This field is required.resources.type
can only use theEquals
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 withresources.ARN
, but if you useEquals
orNotEquals
, 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 equalsAWS::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 theStartsWith
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
equalsAWS::S3::AccessPoint
, and the operator is set toEquals
orNotEquals
, 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 theStartsWith
orNotStartsWith
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 toEquals
orNotEquals
, 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 toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>
When
resources.type
equalsAWS::S3Outposts::Object
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path>
When
resources.type
equalsAWS::ManagedBlockchain::Node
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID>
When
resources.type
equalsAWS::S3ObjectLambda::AccessPoint
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name>
When
resources.type
equalsAWS::EC2::Snapshot
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>
When
resources.type
equalsAWS::DynamoDB::Stream
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>
When
resources.type
equalsAWS::Glue::Table
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>
advancedFieldSelector_endsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
An operator that includes events that match the last few characters of
the event record field specified as the value of Field
.
advancedFieldSelector_equals :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
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.
advancedFieldSelector_notEndsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
An operator that excludes events that match the last few characters of
the event record field specified as the value of Field
.
advancedFieldSelector_notEquals :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
An operator that excludes events that match the exact value of the event
record field specified as the value of Field
.
advancedFieldSelector_notStartsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
An operator that excludes events that match the first few characters of
the event record field specified as the value of Field
.
advancedFieldSelector_startsWith :: Lens' AdvancedFieldSelector (Maybe (NonEmpty Text)) Source #
An operator that includes events that match the first few characters of
the event record field specified as the value of Field
.
advancedFieldSelector_field :: Lens' AdvancedFieldSelector Text Source #
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 toEquals
a value oftrue
orfalse
. If you do not add this field, CloudTrail logs bothread
andwrite
events. A value oftrue
logs onlyread
events. A value offalse
logs onlywrite
events.eventSource
- For filtering management events only. This can be set only toNotEquals
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 asPutBucket
orGetSnapshotBlock
. You can have multiple values for this field, separated by commas.eventCategory
- This is required. It must be set toEquals
, and the value must beManagement
orData
.resources.type
- This field is required.resources.type
can only use theEquals
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 withresources.ARN
, but if you useEquals
orNotEquals
, 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 equalsAWS::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 theStartsWith
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
equalsAWS::S3::AccessPoint
, and the operator is set toEquals
orNotEquals
, 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 theStartsWith
orNotStartsWith
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 toEquals
orNotEquals
, 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 toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>
When
resources.type
equalsAWS::S3Outposts::Object
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path>
When
resources.type
equalsAWS::ManagedBlockchain::Node
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID>
When
resources.type
equalsAWS::S3ObjectLambda::AccessPoint
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name>
When
resources.type
equalsAWS::EC2::Snapshot
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>
When
resources.type
equalsAWS::DynamoDB::Stream
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>
When
resources.type
equalsAWS::Glue::Table
, and the operator is set toEquals
orNotEquals
, the ARN must be in the following format:arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>
Channel
Contains information about a returned CloudTrail channel.
See: newChannel
smart constructor.
Channel' | |
|
Instances
FromJSON Channel Source # | |
Generic Channel Source # | |
Read Channel Source # | |
Show Channel Source # | |
NFData Channel Source # | |
Defined in Amazonka.CloudTrail.Types.Channel | |
Eq Channel Source # | |
Hashable Channel Source # | |
Defined in Amazonka.CloudTrail.Types.Channel | |
type Rep Channel Source # | |
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.
channel_channelArn :: Lens' Channel (Maybe Text) Source #
The Amazon Resource Name (ARN) of a channel.
channel_name :: Lens' Channel (Maybe Text) Source #
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.
- A user uploads an image file to
bucket-1
. - 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. - A user uploads an object to an Amazon S3 bucket named
arn:aws:s3:::bucket-2
. - 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.
- A user runs a script that includes a call to the MyLambdaFunction function and the MyOtherLambdaFunction function.
- 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. - The
Invoke
API operation on MyOtherLambdaFunction is an Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, theInvoke
operation for MyOtherLambdaFunction does not match the function specified for the trail. The trail doesn’t log the event.
See: newDataResource
smart constructor.
DataResource' | |
|
Instances
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
.
dataResource_type :: Lens' DataResource (Maybe Text) Source #
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
dataResource_values :: Lens' DataResource (Maybe [Text]) Source #
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.
Destination' | |
|
Instances
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.
destination_type :: Lens' Destination DestinationType Source #
The type of destination for events arriving from a channel. For
service-linked channels, the value is AWS_SERVICE
.
destination_location :: Lens' Destination Text Source #
For service-linked channels, the value is the name of the Amazon Web Services service.
Event
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.
Event' | |
|
Instances
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.
event_accessKeyId :: Lens' Event (Maybe Text) Source #
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.
event_cloudTrailEvent :: Lens' Event (Maybe Text) Source #
A JSON string that contains a representation of the event returned.
event_eventSource :: Lens' Event (Maybe Text) Source #
The Amazon Web Services service to which the request was made.
event_readOnly :: Lens' Event (Maybe Text) Source #
Information about whether the event is a write event or a read event.
event_resources :: Lens' Event (Maybe [Resource]) Source #
A list of resources referenced by the event returned.
event_username :: Lens' Event (Maybe Text) Source #
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.
EventDataStore' | |
|
Instances
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
.
eventDataStore_advancedEventSelectors :: Lens' EventDataStore (Maybe [AdvancedEventSelector]) Source #
This field is being deprecated. The advanced event selectors that were used to select events for the data store.
eventDataStore_createdTimestamp :: Lens' EventDataStore (Maybe UTCTime) Source #
This field is being deprecated. The timestamp of the event data store's creation.
eventDataStore_eventDataStoreArn :: Lens' EventDataStore (Maybe Text) Source #
The ARN of the event data store.
eventDataStore_multiRegionEnabled :: Lens' EventDataStore (Maybe Bool) Source #
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_name :: Lens' EventDataStore (Maybe Text) Source #
The name of the event data store.
eventDataStore_organizationEnabled :: Lens' EventDataStore (Maybe Bool) Source #
This field is being deprecated. Indicates that an event data store is collecting logged events for an organization.
eventDataStore_retentionPeriod :: Lens' EventDataStore (Maybe Natural) Source #
This field is being deprecated. The retention period, in days.
eventDataStore_status :: Lens' EventDataStore (Maybe EventDataStoreStatus) Source #
This field is being deprecated. The status of an event data store.
Values are ENABLED
and PENDING_DELETION
.
eventDataStore_terminationProtectionEnabled :: Lens' EventDataStore (Maybe Bool) Source #
This field is being deprecated. Indicates whether the event data store is protected from termination.
eventDataStore_updatedTimestamp :: Lens' EventDataStore (Maybe UTCTime) Source #
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.
EventSelector' | |
|
Instances
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
.
eventSelector_dataResources :: Lens' EventSelector (Maybe [DataResource]) Source #
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.
eventSelector_excludeManagementEventSources :: Lens' EventSelector (Maybe [Text]) Source #
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.
eventSelector_includeManagementEvents :: Lens' EventSelector (Maybe Bool) Source #
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.
eventSelector_readWriteType :: Lens' EventSelector (Maybe ReadWriteType) Source #
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.
ImportFailureListItem' | |
|
Instances
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.
importFailureListItem_errorMessage :: Lens' ImportFailureListItem (Maybe Text) Source #
Provides the reason the import failed.
importFailureListItem_errorType :: Lens' ImportFailureListItem (Maybe Text) Source #
The type of import error.
importFailureListItem_lastUpdatedTime :: Lens' ImportFailureListItem (Maybe UTCTime) Source #
When the import was last updated.
importFailureListItem_location :: Lens' ImportFailureListItem (Maybe Text) Source #
The location of the failure in the S3 bucket.
importFailureListItem_status :: Lens' ImportFailureListItem (Maybe ImportFailureStatus) Source #
The status of the import.
ImportSource
data ImportSource Source #
The import source.
See: newImportSource
smart constructor.
ImportSource' | |
|
Instances
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.
importSource_s3 :: Lens' ImportSource S3ImportSource Source #
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.
ImportStatistics' | |
|
Instances
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.
importStatistics_eventsCompleted :: Lens' ImportStatistics (Maybe Integer) Source #
The number of trail events imported into the event data store.
importStatistics_failedEntries :: Lens' ImportStatistics (Maybe Integer) Source #
The number of failed entries.
importStatistics_filesCompleted :: Lens' ImportStatistics (Maybe Integer) Source #
The number of log files that completed import.
importStatistics_prefixesCompleted :: Lens' ImportStatistics (Maybe Integer) Source #
The number of S3 prefixes that completed import.
importStatistics_prefixesFound :: Lens' ImportStatistics (Maybe Integer) Source #
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.
ImportsListItem' | |
|
Instances
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.
importsListItem_createdTimestamp :: Lens' ImportsListItem (Maybe UTCTime) Source #
The timestamp of the import's creation.
importsListItem_destinations :: Lens' ImportsListItem (Maybe (NonEmpty Text)) Source #
The ARN of the destination event data store.
importsListItem_importId :: Lens' ImportsListItem (Maybe Text) Source #
The ID of the import.
importsListItem_importStatus :: Lens' ImportsListItem (Maybe ImportStatus) Source #
The status of the import.
importsListItem_updatedTimestamp :: Lens' ImportsListItem (Maybe UTCTime) Source #
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.
InsightSelector' | |
|
Instances
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.
insightSelector_insightType :: Lens' InsightSelector (Maybe InsightType) Source #
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.
LookupAttribute' | |
|
Instances
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.
lookupAttribute_attributeKey :: Lens' LookupAttribute LookupAttributeKey Source #
Specifies an attribute on which to filter the events returned.
lookupAttribute_attributeValue :: Lens' LookupAttribute Text Source #
Specifies a value for the specified AttributeKey.
PublicKey
Contains information about a returned public key.
See: newPublicKey
smart constructor.
PublicKey' | |
|
Instances
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.
publicKey_validityEndTime :: Lens' PublicKey (Maybe UTCTime) Source #
The ending time of validity of the public key.
publicKey_validityStartTime :: Lens' PublicKey (Maybe UTCTime) Source #
The starting time of validity of the public key.
publicKey_value :: Lens' PublicKey (Maybe ByteString) Source #
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
A SQL string of criteria about events that you want to collect in an event data store.
See: newQuery
smart constructor.
Query' | |
|
Instances
FromJSON Query Source # | |
Generic Query Source # | |
Read Query Source # | |
Show Query Source # | |
NFData Query Source # | |
Defined in Amazonka.CloudTrail.Types.Query | |
Eq Query Source # | |
Hashable Query Source # | |
Defined in Amazonka.CloudTrail.Types.Query | |
type Rep Query Source # | |
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))))) |
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
.
query_queryStatus :: Lens' Query (Maybe QueryStatus) Source #
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.
QueryStatistics' | |
|
Instances
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.
queryStatistics_bytesScanned :: Lens' QueryStatistics (Maybe Integer) Source #
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.
queryStatistics_resultsCount :: Lens' QueryStatistics (Maybe Int) Source #
The number of results returned.
queryStatistics_totalResultsCount :: Lens' QueryStatistics (Maybe Int) Source #
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.
QueryStatisticsForDescribeQuery' | |
|
Instances
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.
queryStatisticsForDescribeQuery_bytesScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer) Source #
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.
queryStatisticsForDescribeQuery_creationTime :: Lens' QueryStatisticsForDescribeQuery (Maybe UTCTime) Source #
The creation time of the query.
queryStatisticsForDescribeQuery_eventsMatched :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer) Source #
The number of events that matched a query.
queryStatisticsForDescribeQuery_eventsScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer) Source #
The number of events that the query scanned in the event data store.
queryStatisticsForDescribeQuery_executionTimeInMillis :: Lens' QueryStatisticsForDescribeQuery (Maybe Int) Source #
The query's run time, in milliseconds.
Resource
Specifies the type and name of a resource referenced by an event.
See: newResource
smart constructor.
Resource' | |
|
Instances
FromJSON Resource Source # | |
Generic Resource Source # | |
Read Resource Source # | |
Show Resource Source # | |
NFData Resource Source # | |
Defined in Amazonka.CloudTrail.Types.Resource | |
Eq Resource Source # | |
Hashable Resource Source # | |
Defined in Amazonka.CloudTrail.Types.Resource | |
type Rep Resource Source # | |
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.
resource_resourceName :: Lens' Resource (Maybe Text) Source #
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.
resource_resourceType :: Lens' Resource (Maybe Text) Source #
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.
Instances
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.
resourceTag_resourceId :: Lens' ResourceTag (Maybe Text) Source #
Specifies the ARN of the resource.
resourceTag_tagsList :: Lens' ResourceTag (Maybe [Tag]) Source #
A list of tags.
S3ImportSource
data S3ImportSource Source #
The settings for the source S3 bucket.
See: newS3ImportSource
smart constructor.
S3ImportSource' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> S3ImportSource |
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.
s3ImportSource_s3LocationUri :: Lens' S3ImportSource Text Source #
The URI for the source S3 bucket.
s3ImportSource_s3BucketRegion :: Lens' S3ImportSource Text Source #
The region associated with the source S3 bucket.
s3ImportSource_s3BucketAccessRoleArn :: Lens' S3ImportSource Text Source #
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.
SourceConfig' | |
|
Instances
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.
sourceConfig_advancedEventSelectors :: Lens' SourceConfig (Maybe [AdvancedEventSelector]) Source #
The advanced event selectors that are configured for the channel.
sourceConfig_applyToAllRegions :: Lens' SourceConfig (Maybe Bool) Source #
Specifies whether the channel applies to a single region or to all regions.
Tag
A custom key-value pair associated with a resource such as a CloudTrail trail.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.CloudTrail.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudTrail.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.CloudTrail.Types.Tag | |
type Rep Tag Source # | |
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))) |
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.
tag_value :: Lens' Tag (Maybe Text) Source #
The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.
tag_key :: Lens' Tag Text Source #
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
The settings for a trail.
See: newTrail
smart constructor.
Trail' | |
|
Instances
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
trail_cloudWatchLogsLogGroupArn :: Lens' Trail (Maybe Text) Source #
Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.
trail_cloudWatchLogsRoleArn :: Lens' Trail (Maybe Text) Source #
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
trail_hasCustomEventSelectors :: Lens' Trail (Maybe Bool) Source #
Specifies if the trail has custom event selectors.
trail_hasInsightSelectors :: Lens' Trail (Maybe Bool) Source #
Specifies whether a trail has insight types specified in an
InsightSelector
list.
trail_includeGlobalServiceEvents :: Lens' Trail (Maybe Bool) Source #
Set to True to include Amazon Web Services API calls from Amazon Web Services global services such as IAM. Otherwise, False.
trail_isMultiRegionTrail :: Lens' Trail (Maybe Bool) Source #
Specifies whether the trail exists only in one region or exists in all regions.
trail_isOrganizationTrail :: Lens' Trail (Maybe Bool) Source #
Specifies whether the trail is an organization trail.
trail_kmsKeyId :: Lens' Trail (Maybe Text) Source #
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
trail_logFileValidationEnabled :: Lens' Trail (Maybe Bool) Source #
Specifies whether log file validation is enabled.
trail_name :: Lens' Trail (Maybe Text) Source #
Name of the trail set by calling CreateTrail. The maximum length is 128 characters.
trail_s3BucketName :: Lens' Trail (Maybe Text) Source #
Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.
trail_s3KeyPrefix :: Lens' Trail (Maybe Text) Source #
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.
trail_snsTopicARN :: Lens' Trail (Maybe Text) Source #
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
trail_snsTopicName :: Lens' Trail (Maybe Text) Source #
This field is no longer in use. Use SnsTopicARN.
trail_trailARN :: Lens' Trail (Maybe Text) Source #
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
Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).
See: newTrailInfo
smart constructor.
Instances
FromJSON TrailInfo Source # | |
Generic TrailInfo Source # | |
Read TrailInfo Source # | |
Show TrailInfo Source # | |
NFData TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
Eq TrailInfo Source # | |
Hashable TrailInfo Source # | |
Defined in Amazonka.CloudTrail.Types.TrailInfo | |
type Rep TrailInfo Source # | |
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.