Values.PutBucketNotificationRequestSourceThis operation is not supported for directory buckets. No longer used, see the PutBucketNotificationConfiguration operation.
type nonrec t = {bucket : BucketName.t;The name of the bucket.
*)contentMD5 : ContentMD5.t option;The MD5 hash of the PutPublicAccessBlock request body. For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
*)checksumAlgorithm : ChecksumAlgorithm.t option;Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see Checking object integrity in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter.
*)notificationConfiguration : NotificationConfigurationDeprecated.t;The container for the configuration.
*)expectedBucketOwner : AccountId.t option;The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
*)}val make :
?contentMD5:??? ->
?checksumAlgorithm:??? ->
?expectedBucketOwner:??? ->
bucket:BucketName.t ->
notificationConfiguration:NotificationConfigurationDeprecated.t ->
unit ->
tval of_header_and_body :
((string, ContentMD5.t) Awso.Import.List.Assoc.t
* NotificationConfigurationDeprecated.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of BucketName.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `List of [> `Enum of string ] list
| `String of NotificationId.t ])
list ])
list ])
list ]