Smaws_Client_CloudTrail.GetEventConfigurationRetrieves the current event configuration settings for the specified event data store or trail. The response includes maximum event size configuration, the context key selectors configured for the event data store, and any aggregation settings configured for the trail.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InvalidEventDataStoreCategoryException of
Types.invalid_event_data_store_category_exception
| `InvalidEventDataStoreStatusException of
Types.invalid_event_data_store_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_event_configuration_request ->
(Types.get_event_configuration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InvalidEventDataStoreCategoryException of
Types.invalid_event_data_store_category_exception
| `InvalidEventDataStoreStatusException of
Types.invalid_event_data_store_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_event_configuration_request ->
(Types.get_event_configuration_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InvalidEventDataStoreCategoryException of
Types.invalid_event_data_store_category_exception
| `InvalidEventDataStoreStatusException of
Types.invalid_event_data_store_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result