Module Smaws_Client_CloudTrail.UpdateTrail

val request : Smaws_Lib.Context.t -> update_trail_request -> (update_trail_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudTrailAccessNotEnabledException of cloud_trail_access_not_enabled_exception | `CloudTrailARNInvalidException of cloud_trail_arn_invalid_exception | `CloudTrailInvalidClientTokenIdException of cloud_trail_invalid_client_token_id_exception | `CloudWatchLogsDeliveryUnavailableException of cloud_watch_logs_delivery_unavailable_exception | `ConflictException of conflict_exception | `InsufficientDependencyServiceAccessPermissionException of insufficient_dependency_service_access_permission_exception | `InsufficientEncryptionPolicyException of insufficient_encryption_policy_exception | `InsufficientS3BucketPolicyException of insufficient_s3_bucket_policy_exception | `InsufficientSnsTopicPolicyException of insufficient_sns_topic_policy_exception | `InvalidCloudWatchLogsLogGroupArnException of invalid_cloud_watch_logs_log_group_arn_exception | `InvalidCloudWatchLogsRoleArnException of invalid_cloud_watch_logs_role_arn_exception | `InvalidEventSelectorsException of invalid_event_selectors_exception | `InvalidHomeRegionException of invalid_home_region_exception | `InvalidKmsKeyIdException of invalid_kms_key_id_exception | `InvalidParameterCombinationException of invalid_parameter_combination_exception | `InvalidParameterException of invalid_parameter_exception | `InvalidS3BucketNameException of invalid_s3_bucket_name_exception | `InvalidS3PrefixException of invalid_s3_prefix_exception | `InvalidSnsTopicNameException of invalid_sns_topic_name_exception | `InvalidTrailNameException of invalid_trail_name_exception | `KmsException of kms_exception | `KmsKeyDisabledException of kms_key_disabled_exception | `KmsKeyNotFoundException of kms_key_not_found_exception | `NoManagementAccountSLRExistsException of no_management_account_slr_exists_exception | `NotOrganizationMasterAccountException of not_organization_master_account_exception | `OperationNotPermittedException of operation_not_permitted_exception | `OrganizationNotInAllFeaturesModeException of organization_not_in_all_features_mode_exception | `OrganizationsNotInUseException of organizations_not_in_use_exception | `S3BucketDoesNotExistException of s3_bucket_does_not_exist_exception | `ThrottlingException of throttling_exception | `TrailNotFoundException of trail_not_found_exception | `TrailNotProvidedException of trail_not_provided_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Updates trail settings that control what events you are logging, and how to handle log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the Region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.