Module Values.UpdateTrailResponseSource

Returns the objects or data listed below if successful. Otherwise, returns an error.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    Specifies the name of the trail.

    *)
  2. s3BucketName : String_.t option;
    (*

    Specifies the name of the Amazon S3 bucket designated for publishing log files.

    *)
  3. 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.

    *)
  4. snsTopicName : String_.t option;
    (*

    This field is no longer in use. Use SnsTopicARN.

    *)
  5. 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

    *)
  6. includeGlobalServiceEvents : Boolean.t option;
    (*

    Specifies whether the trail is publishing events from global services such as IAM to the log files.

    *)
  7. isMultiRegionTrail : Boolean.t option;
    (*

    Specifies whether the trail exists in one Region or in all Regions.

    *)
  8. 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

    *)
  9. logFileValidationEnabled : Boolean.t option;
    (*

    Specifies whether log file integrity validation is enabled.

    *)
  10. cloudWatchLogsLogGroupArn : String_.t option;
    (*

    Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.

    *)
  11. cloudWatchLogsRoleArn : String_.t option;
    (*

    Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

    *)
  12. 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

    *)
  13. isOrganizationTrail : Boolean.t option;
    (*

    Specifies whether the trail is an organization trail.

    *)
}
Sourcetype nonrec error = [
  1. | `CloudTrailARNInvalidException of CloudTrailARNInvalidException.t
  2. | `CloudTrailAccessNotEnabledException of CloudTrailAccessNotEnabledException.t
  3. | `CloudTrailInvalidClientTokenIdException of CloudTrailInvalidClientTokenIdException.t
  4. | `CloudWatchLogsDeliveryUnavailableException of CloudWatchLogsDeliveryUnavailableException.t
  5. | `ConflictException of ConflictException.t
  6. | `InsufficientDependencyServiceAccessPermissionException of InsufficientDependencyServiceAccessPermissionException.t
  7. | `InsufficientEncryptionPolicyException of InsufficientEncryptionPolicyException.t
  8. | `InsufficientS3BucketPolicyException of InsufficientS3BucketPolicyException.t
  9. | `InsufficientSnsTopicPolicyException of InsufficientSnsTopicPolicyException.t
  10. | `InvalidCloudWatchLogsLogGroupArnException of InvalidCloudWatchLogsLogGroupArnException.t
  11. | `InvalidCloudWatchLogsRoleArnException of InvalidCloudWatchLogsRoleArnException.t
  12. | `InvalidEventSelectorsException of InvalidEventSelectorsException.t
  13. | `InvalidHomeRegionException of InvalidHomeRegionException.t
  14. | `InvalidKmsKeyIdException of InvalidKmsKeyIdException.t
  15. | `InvalidParameterCombinationException of InvalidParameterCombinationException.t
  16. | `InvalidParameterException of InvalidParameterException.t
  17. | `InvalidS3BucketNameException of InvalidS3BucketNameException.t
  18. | `InvalidS3PrefixException of InvalidS3PrefixException.t
  19. | `InvalidSnsTopicNameException of InvalidSnsTopicNameException.t
  20. | `InvalidTrailNameException of InvalidTrailNameException.t
  21. | `KmsException of KmsException.t
  22. | `KmsKeyDisabledException of KmsKeyDisabledException.t
  23. | `KmsKeyNotFoundException of KmsKeyNotFoundException.t
  24. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  25. | `NotOrganizationMasterAccountException of NotOrganizationMasterAccountException.t
  26. | `OperationNotPermittedException of OperationNotPermittedException.t
  27. | `OrganizationNotInAllFeaturesModeException of OrganizationNotInAllFeaturesModeException.t
  28. | `OrganizationsNotInUseException of OrganizationsNotInUseException.t
  29. | `S3BucketDoesNotExistException of S3BucketDoesNotExistException.t
  30. | `ThrottlingException of ThrottlingException.t
  31. | `TrailNotFoundException of TrailNotFoundException.t
  32. | `TrailNotProvidedException of TrailNotProvidedException.t
  33. | `UnsupportedOperationException of UnsupportedOperationException.t
  34. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?s3BucketName:??? -> ?s3KeyPrefix:??? -> ?snsTopicName:??? -> ?snsTopicARN:??? -> ?includeGlobalServiceEvents:??? -> ?isMultiRegionTrail:??? -> ?trailARN:??? -> ?logFileValidationEnabled:??? -> ?cloudWatchLogsLogGroupArn:??? -> ?cloudWatchLogsRoleArn:??? -> ?kmsKeyId:??? -> ?isOrganizationTrail:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t