Skip to content

Enables or disables journal table record expiration for an S3 Metadata configuration on a general purpose bucket

Description

Enables or disables journal table record expiration 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 s3:UpdateBucketMetadataJournalTableConfiguration permission. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.

The following operations are related to 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_journal_table_configuration(Bucket,
  ContentMD5, ChecksumAlgorithm, JournalTableConfiguration,
  ExpectedBucketOwner)

Arguments

  • Bucket

    [required] The general purpose bucket that corresponds to the metadata configuration that you want to enable or disable journal table record expiration for.

  • ContentMD5

    The Content-MD5 header for the journal table configuration.

  • ChecksumAlgorithm

    The checksum algorithm to use with your journal table configuration.

  • JournalTableConfiguration

    [required] The contents of your journal 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 journal table record expiration for.

Value

An empty list.

Request syntax

svc$update_bucket_metadata_journal_table_configuration(
  Bucket = "string",
  ContentMD5 = "string",
  ChecksumAlgorithm = "CRC32"|"CRC32C"|"SHA1"|"SHA256"|"CRC64NVME"|"SHA512"|"MD5"|"XXHASH64"|"XXHASH3"|"XXHASH128",
  JournalTableConfiguration = list(
    RecordExpiration = list(
      Expiration = "ENABLED"|"DISABLED",
      Days = 123
    )
  ),
  ExpectedBucketOwner = "string"
)