Skip to content

update_bucket_metadata_journal_table_configuration

Operation

update_bucket_metadata_journal_table_configuration

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 UpdateBucketMetadataJournalTableConfiguration:

Warning

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.

Parameters:

Name Type Description Default
request UpdateBucketMetadataJournalTableConfigurationInput | UpdateBucketMetadataJournalTableConfigurationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateBucketMetadataJournalTableConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateBucketMetadataJournalTableConfigurationOutput

An instance of UpdateBucketMetadataJournalTableConfigurationOutput.

update_bucket_metadata_journal_table_configuration async

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 UpdateBucketMetadataJournalTableConfiguration:

Warning

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.

Parameters:

Name Type Description Default
request UpdateBucketMetadataJournalTableConfigurationInput | UpdateBucketMetadataJournalTableConfigurationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateBucketMetadataJournalTableConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateBucketMetadataJournalTableConfigurationOutput

An instance of UpdateBucketMetadataJournalTableConfigurationOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

UpdateBucketMetadataJournalTableConfigurationInputDict

Bases: TypedDict

Dictionary form of UpdateBucketMetadataJournalTableConfigurationInput.

Attributes

bucket instance-attribute
bucket: Required[str]

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

checksum_algorithm instance-attribute
checksum_algorithm: str | None

The checksum algorithm to use with your journal table configuration.

content_md5 instance-attribute
content_md5: str | None

The Content-MD5 header for the journal table configuration.

expected_bucket_owner instance-attribute
expected_bucket_owner: str | None

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.

journal_table_configuration instance-attribute

The contents of your journal table configuration.

UpdateBucketMetadataJournalTableConfigurationInput dataclass

Bases: _SerdeShape

Dataclass for UpdateBucketMetadataJournalTableConfigurationInput structure.

Attributes

bucket class-attribute instance-attribute
bucket: str | None = ...

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

checksum_algorithm class-attribute instance-attribute
checksum_algorithm: str | None = ...

The checksum algorithm to use with your journal table configuration.

content_md5 class-attribute instance-attribute
content_md5: str | None = ...

The Content-MD5 header for the journal table configuration.

expected_bucket_owner class-attribute instance-attribute
expected_bucket_owner: str | None = ...

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.

journal_table_configuration class-attribute instance-attribute
journal_table_configuration: JournalTableConfigurationUpdates | None = ...

The contents of your journal table configuration.

Output

UpdateBucketMetadataJournalTableConfigurationOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateBucketMetadataJournalTableConfigurationOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.