Values.UpdateTrailResponseSourceReturns the objects or data listed below if successful. Otherwise, returns an error.
type nonrec t = {name : String_.t option;Specifies the name of the trail.
*)s3BucketName : String_.t option;Specifies the name of the Amazon S3 bucket designated for publishing log files.
*)s3KeyPrefix : String_.t option;Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your IAM Log Files.
*)snsTopicName : String_.t option;This field is no longer in use. Use SnsTopicARN.
*)snsTopicARN : String_.t option;Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The following is the format of a topic ARN. arn:aws:sns:us-east-2:123456789012:MyTopic
*)includeGlobalServiceEvents : Boolean.t option;Specifies whether the trail is publishing events from global services such as IAM to the log files.
*)isMultiRegionTrail : Boolean.t option;Specifies whether the trail exists in one Region or in all Regions.
*)trailARN : String_.t option;Specifies the ARN of the trail that was updated. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
*)logFileValidationEnabled : Boolean.t option;Specifies whether log file integrity validation is enabled.
*)cloudWatchLogsLogGroupArn : String_.t option;Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.
*)cloudWatchLogsRoleArn : String_.t option;Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
*)kmsKeyId : String_.t option;Specifies the KMS key ID that encrypts the logs and digest files delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format. arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
*)isOrganizationTrail : Boolean.t option;Specifies whether the trail is an organization trail.
*)}type nonrec error = [ | `CloudTrailARNInvalidException of CloudTrailARNInvalidException.t| `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t| `CloudTrailInvalidClientTokenIdException of
CloudTrailInvalidClientTokenIdException.t| `ConflictException of ConflictException.t| `InsufficientDependencyServiceAccessPermissionException of
InsufficientDependencyServiceAccessPermissionException.t| `InsufficientEncryptionPolicyException of
InsufficientEncryptionPolicyException.t| `InsufficientS3BucketPolicyException of InsufficientS3BucketPolicyException.t| `InsufficientSnsTopicPolicyException of InsufficientSnsTopicPolicyException.t| `InvalidCloudWatchLogsLogGroupArnException of
InvalidCloudWatchLogsLogGroupArnException.t| `InvalidCloudWatchLogsRoleArnException of
InvalidCloudWatchLogsRoleArnException.t| `InvalidEventSelectorsException of InvalidEventSelectorsException.t| `InvalidHomeRegionException of InvalidHomeRegionException.t| `InvalidKmsKeyIdException of InvalidKmsKeyIdException.t| `InvalidParameterCombinationException of InvalidParameterCombinationException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidS3BucketNameException of InvalidS3BucketNameException.t| `InvalidS3PrefixException of InvalidS3PrefixException.t| `InvalidSnsTopicNameException of InvalidSnsTopicNameException.t| `InvalidTrailNameException of InvalidTrailNameException.t| `KmsException of KmsException.t| `KmsKeyDisabledException of KmsKeyDisabledException.t| `KmsKeyNotFoundException of KmsKeyNotFoundException.t| `NoManagementAccountSLRExistsException of
NoManagementAccountSLRExistsException.t| `NotOrganizationMasterAccountException of
NotOrganizationMasterAccountException.t| `OperationNotPermittedException of OperationNotPermittedException.t| `OrganizationNotInAllFeaturesModeException of
OrganizationNotInAllFeaturesModeException.t| `OrganizationsNotInUseException of OrganizationsNotInUseException.t| `S3BucketDoesNotExistException of S3BucketDoesNotExistException.t| `ThrottlingException of ThrottlingException.t| `TrailNotFoundException of TrailNotFoundException.t| `TrailNotProvidedException of TrailNotProvidedException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val make :
?name:??? ->
?s3BucketName:??? ->
?s3KeyPrefix:??? ->
?snsTopicName:??? ->
?snsTopicARN:??? ->
?includeGlobalServiceEvents:??? ->
?isMultiRegionTrail:??? ->
?trailARN:??? ->
?logFileValidationEnabled:??? ->
?cloudWatchLogsLogGroupArn:??? ->
?cloudWatchLogsRoleArn:??? ->
?kmsKeyId:??? ->
?isOrganizationTrail:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `CloudTrailARNInvalidException of unit
| `CloudTrailAccessNotEnabledException of unit
| `CloudTrailInvalidClientTokenIdException of unit
| `CloudWatchLogsDeliveryUnavailableException of unit
| `ConflictException of unit
| `InsufficientDependencyServiceAccessPermissionException of unit
| `InsufficientEncryptionPolicyException of unit
| `InsufficientS3BucketPolicyException of unit
| `InsufficientSnsTopicPolicyException of unit
| `InvalidCloudWatchLogsLogGroupArnException of unit
| `InvalidCloudWatchLogsRoleArnException of unit
| `InvalidEventSelectorsException of unit
| `InvalidHomeRegionException of unit
| `InvalidKmsKeyIdException of unit
| `InvalidParameterCombinationException of unit
| `InvalidParameterException of unit
| `InvalidS3BucketNameException of unit
| `InvalidS3PrefixException of unit
| `InvalidSnsTopicNameException of unit
| `InvalidTrailNameException of unit
| `KmsException of unit
| `KmsKeyDisabledException of unit
| `KmsKeyNotFoundException of unit
| `NoManagementAccountSLRExistsException of unit
| `NotOrganizationMasterAccountException of unit
| `OperationNotPermittedException of unit
| `OrganizationNotInAllFeaturesModeException of unit
| `OrganizationsNotInUseException of unit
| `S3BucketDoesNotExistException of unit
| `ThrottlingException of unit
| `TrailNotFoundException of unit
| `TrailNotProvidedException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CloudTrailARNInvalidException of unit
| `CloudTrailAccessNotEnabledException of unit
| `CloudTrailInvalidClientTokenIdException of unit
| `CloudWatchLogsDeliveryUnavailableException of unit
| `ConflictException of unit
| `InsufficientDependencyServiceAccessPermissionException of unit
| `InsufficientEncryptionPolicyException of unit
| `InsufficientS3BucketPolicyException of unit
| `InsufficientSnsTopicPolicyException of unit
| `InvalidCloudWatchLogsLogGroupArnException of unit
| `InvalidCloudWatchLogsRoleArnException of unit
| `InvalidEventSelectorsException of unit
| `InvalidHomeRegionException of unit
| `InvalidKmsKeyIdException of unit
| `InvalidParameterCombinationException of unit
| `InvalidParameterException of unit
| `InvalidS3BucketNameException of unit
| `InvalidS3PrefixException of unit
| `InvalidSnsTopicNameException of unit
| `InvalidTrailNameException of unit
| `KmsException of unit
| `KmsKeyDisabledException of unit
| `KmsKeyNotFoundException of unit
| `NoManagementAccountSLRExistsException of unit
| `NotOrganizationMasterAccountException of unit
| `OperationNotPermittedException of unit
| `OrganizationNotInAllFeaturesModeException of unit
| `OrganizationsNotInUseException of unit
| `S3BucketDoesNotExistException of unit
| `ThrottlingException of unit
| `TrailNotFoundException of unit
| `TrailNotProvidedException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]