Module Smaws_Client_CloudTrail.StopLogging

val request : Smaws_Lib.Context.t -> stop_logging_request -> (stop_logging_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudTrailARNInvalidException of cloud_trail_arn_invalid_exception | `ConflictException of conflict_exception | `InsufficientDependencyServiceAccessPermissionException of insufficient_dependency_service_access_permission_exception | `InvalidHomeRegionException of invalid_home_region_exception | `InvalidTrailNameException of invalid_trail_name_exception | `NoManagementAccountSLRExistsException of no_management_account_slr_exists_exception | `NotOrganizationMasterAccountException of not_organization_master_account_exception | `OperationNotPermittedException of operation_not_permitted_exception | `ThrottlingException of throttling_exception | `TrailNotFoundException of trail_not_found_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Suspends the recording of Amazon Web Services API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all Regions, this operation must be called from the Region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other Regions) of a trail enabled in all Regions.