Module Smaws_Client_CloudTrail.CreateTrail

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.

val request : Smaws_Lib.Context.t -> Types.create_trail_request -> (Types.create_trail_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudTrailAccessNotEnabledException of Types.cloud_trail_access_not_enabled_exception | `CloudTrailInvalidClientTokenIdException of Types.cloud_trail_invalid_client_token_id_exception | `CloudWatchLogsDeliveryUnavailableException of Types.cloud_watch_logs_delivery_unavailable_exception | `ConflictException of Types.conflict_exception | `InsufficientDependencyServiceAccessPermissionException of Types.insufficient_dependency_service_access_permission_exception | `InsufficientEncryptionPolicyException of Types.insufficient_encryption_policy_exception | `InsufficientS3BucketPolicyException of Types.insufficient_s3_bucket_policy_exception | `InsufficientSnsTopicPolicyException of Types.insufficient_sns_topic_policy_exception | `InvalidCloudWatchLogsLogGroupArnException of Types.invalid_cloud_watch_logs_log_group_arn_exception | `InvalidCloudWatchLogsRoleArnException of Types.invalid_cloud_watch_logs_role_arn_exception | `InvalidKmsKeyIdException of Types.invalid_kms_key_id_exception | `InvalidParameterCombinationException of Types.invalid_parameter_combination_exception | `InvalidParameterException of Types.invalid_parameter_exception | `InvalidS3BucketNameException of Types.invalid_s3_bucket_name_exception | `InvalidS3PrefixException of Types.invalid_s3_prefix_exception | `InvalidSnsTopicNameException of Types.invalid_sns_topic_name_exception | `InvalidTagParameterException of Types.invalid_tag_parameter_exception | `InvalidTrailNameException of Types.invalid_trail_name_exception | `KmsException of Types.kms_exception | `KmsKeyDisabledException of Types.kms_key_disabled_exception | `KmsKeyNotFoundException of Types.kms_key_not_found_exception | `MaximumNumberOfTrailsExceededException of Types.maximum_number_of_trails_exceeded_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 | `OrganizationNotInAllFeaturesModeException of Types.organization_not_in_all_features_mode_exception | `OrganizationsNotInUseException of Types.organizations_not_in_use_exception | `S3BucketDoesNotExistException of Types.s3_bucket_does_not_exist_exception | `TagsLimitExceededException of Types.tags_limit_exceeded_exception | `ThrottlingException of Types.throttling_exception | `TrailAlreadyExistsException of Types.trail_already_exists_exception | `TrailNotProvidedException of Types.trail_not_provided_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result