Smaws_Client_CloudTrail.StartLogging
Starts the recording of Amazon Web Services API calls and log file delivery for a trail. For a trail that is enabled in all Regions, this operation must be called from the Region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other Regions) of a trail that is enabled in all Regions.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `ConflictException of Types.conflict_exception
| `InsufficientDependencyServiceAccessPermissionException of
Types.insufficient_dependency_service_access_permission_exception
| `InvalidHomeRegionException of Types.invalid_home_region_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `NotOrganizationMasterAccountException of
Types.not_organization_master_account_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `ThrottlingException of Types.throttling_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.start_logging_request ->
(Types.start_logging_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `ConflictException of Types.conflict_exception
| `InsufficientDependencyServiceAccessPermissionException of
Types.insufficient_dependency_service_access_permission_exception
| `InvalidHomeRegionException of Types.invalid_home_region_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `NotOrganizationMasterAccountException of
Types.not_organization_master_account_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ThrottlingException of Types.throttling_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result