Update Bucket Metadata Inventory Table Configuration
| s3_update_bucket_metadata_inventory_table_configuration | R Documentation |
Enables or disables a live inventory table for an S3 Metadata configuration on a general purpose bucket¶
Description¶
Enables 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
update_bucket_metadata_inventory_table_configuration:
-
create_bucket_metadata_configuration -
delete_bucket_metadata_configuration -
get_bucket_metadata_configuration -
update_bucket_metadata_journal_table_configuration
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.
Usage¶
s3_update_bucket_metadata_inventory_table_configuration(Bucket,
ContentMD5, ChecksumAlgorithm, InventoryTableConfiguration,
ExpectedBucketOwner)
Arguments¶
Bucket |
[required] The general purpose bucket that corresponds to the metadata configuration that you want to enable or disable an inventory table for. |
ContentMD5 |
The |
ChecksumAlgorithm |
The checksum algorithm to use with your inventory table configuration. |
InventoryTableConfiguration |
[required] The contents of your inventory table configuration. |
ExpectedBucketOwner |
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. |
Value¶
An empty list.
Request syntax¶
svc$update_bucket_metadata_inventory_table_configuration(
Bucket = "string",
ContentMD5 = "string",
ChecksumAlgorithm = "CRC32"|"CRC32C"|"SHA1"|"SHA256"|"CRC64NVME"|"SHA512"|"MD5"|"XXHASH64"|"XXHASH3"|"XXHASH128",
InventoryTableConfiguration = list(
ConfigurationState = "ENABLED"|"DISABLED",
EncryptionConfiguration = list(
SseAlgorithm = "aws:kms"|"AES256",
KmsKeyArn = "string"
)
),
ExpectedBucketOwner = "string"
)