CloudTrail / Client / get_event_configuration
get_event_configuration¶
- CloudTrail.Client.get_event_configuration(**kwargs)¶
- Retrieves the current event configuration settings for the specified event data store, including details about maximum event size and context key selectors configured for the event data store. - See also: AWS API Documentation - Request Syntax- response = client.get_event_configuration( EventDataStore='string' ) - Parameters:
- EventDataStore (string) – The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to retrieve event configuration settings. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'EventDataStoreArn': 'string', 'MaxEventSize': 'Standard'|'Large', 'ContextKeySelectors': [ { 'Type': 'TagContext'|'RequestContext', 'Equals': [ 'string', ] }, ] } - Response Structure- (dict) – - EventDataStoreArn (string) – - The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings are returned. 
- MaxEventSize (string) – - The maximum allowed size for events stored in the specified event data store. 
- ContextKeySelectors (list) – - The list of context key selectors that are configured for the event data store. - (dict) – - An object that contains information types to be included in CloudTrail enriched events. - Type (string) – - Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext. 
- Equals (list) – - A list of keys defined by Type to be included in CloudTrail enriched events. - (string) – 
 
 
 
 
 
 - Exceptions
- CloudTrail.Client.exceptions.EventDataStoreARNInvalidException
- CloudTrail.Client.exceptions.EventDataStoreNotFoundException
- CloudTrail.Client.exceptions.InvalidEventDataStoreStatusException
- CloudTrail.Client.exceptions.InvalidEventDataStoreCategoryException
- CloudTrail.Client.exceptions.NoManagementAccountSLRExistsException
- CloudTrail.Client.exceptions.InvalidParameterCombinationException