S3Client.get_bucket_metadata_configuration
rboto-s3==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide . You can use the V2 GetBucketMetadataConfiguration API operation with V1 or V2 metadata configurations. However, if you try to use the V1 GetBucketMetadataTableConfiguration API operation with V2 configurations, you will...
Install and imports
Signature
async def get_bucket_metadata_configuration(
*,
bucket: str,
expected_bucket_owner: str | None = None,
) -> GetBucketMetadataConfigurationOutput: ...
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 corresponds to the metadata configuration that you want to retrieve. |
expected_bucket_owner |
No | The expected owner of the general purpose bucket that you want to retrieve the metadata table configuration for. |
Output
GetBucketMetadataConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
get_bucket_metadata_configuration_result |
GetBucketMetadataConfigurationResultOutput | None |
Always present | GetBucketMetadataConfigurationResultOutput |
| 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.
Related types
GetBucketMetadataConfigurationOutput
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.