Values.UpdateBucketMetadataInventoryTableConfigurationRequestSourceEnables or disables a live inventory table for an S3 Metadata configuration on a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide. Permissions To use this operation, you must have the following permissions. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide. If you want to encrypt your inventory table with server-side encryption with Key Management Service (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide. s3:UpdateBucketMetadataInventoryTableConfiguration s3tables:CreateTableBucket s3tables:CreateNamespace s3tables:GetTable s3tables:CreateTable s3tables:PutTablePolicy s3tables:PutTableEncryption kms:DescribeKey The following operations are related to UpdateBucketMetadataInventoryTableConfiguration: CreateBucketMetadataConfiguration DeleteBucketMetadataConfiguration GetBucketMetadataConfiguration UpdateBucketMetadataJournalTableConfiguration You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.
type nonrec t = {bucket : BucketName.t;The general purpose bucket that corresponds to the metadata configuration that you want to enable or disable an inventory table for.
*)contentMD5 : ContentMD5.t option;The Content-MD5 header for the inventory table configuration.
*)checksumAlgorithm : ChecksumAlgorithm.t option;The checksum algorithm to use with your inventory table configuration.
*)inventoryTableConfiguration : InventoryTableConfigurationUpdates.t;The contents of your inventory table configuration.
*)expectedBucketOwner : AccountId.t option;The expected owner of the general purpose bucket that corresponds to the metadata table configuration that you want to enable or disable an inventory table for.
*)}val make :
?contentMD5:??? ->
?checksumAlgorithm:??? ->
?expectedBucketOwner:??? ->
bucket:BucketName.t ->
inventoryTableConfiguration:InventoryTableConfigurationUpdates.t ->
unit ->
tval of_header_and_body :
((string, ContentMD5.t) Awso.Import.List.Assoc.t
* InventoryTableConfigurationUpdates.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of BucketName.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string * [> `Enum of string | `String of KmsKeyArn.t ]) list ])
list ])
list ]