Skip to content

S3Client.create_bucket_metadata_configuration

rboto-s3==0.4.0 · Service index · Types

Model summary (excerpt): Creates an S3 Metadata V2 metadata configuration for 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...

Install and imports

python -m pip install "rboto[s3]==0.4.0"
from rboto import S3Client
from rboto_s3.types import (
    ChecksumAlgorithm,
    MetadataConfiguration,
)

Signature

async def create_bucket_metadata_configuration(
    *,
    bucket: str,
    metadata_configuration: MetadataConfiguration,
    content_md5: str | None = None,
    checksum_algorithm: ChecksumAlgorithm | None = None,
    expected_bucket_owner: str | None = None,
) -> None: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
bucket Yes The general purpose bucket that you want to create the metadata configuration for.
metadata_configuration Yes The contents of your metadata configuration.
content_md5 No The Content-MD5 header for the metadata configuration.
checksum_algorithm No The checksum algorithm to use with your metadata configuration.
expected_bucket_owner No The expected owner of the general purpose bucket that corresponds to your metadata configuration.

Output

None.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ChecksumAlgorithm, MetadataConfiguration

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

No modeled service errors for this operation.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model