Skip to content

S3  >  Operations  >  get_bucket_abac

get_bucket_abac

Operation

get_bucket_abac async

get_bucket_abac(request: GetBucketAbacInput | GetBucketAbacInputDict, /, *, plugins: list[Plugin] | None = None) -> GetBucketAbacOutput
get_bucket_abac(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetBucketAbacInputDict]) -> GetBucketAbacOutput

Returns the attribute-based access control (ABAC) property of the general purpose bucket. If ABAC is enabled on your bucket, you can use tags on the bucket for access control. For more information, see Enabling ABAC in general purpose buckets.

Parameters:

Name Type Description Default
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

Returns:

Type Description
GetBucketAbacOutput

An instance of GetBucketAbacOutput.

Input

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

Model

GetBucketAbacInput dataclass

Bases: _SerdeShape

Dataclass for GetBucketAbacInput structure.

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

The name of the general purpose bucket.

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

The Amazon Web Services account ID of the general purpose bucket's owner.

Dictionaries

GetBucketAbacInputDict

Bases: TypedDict

Dictionary form of GetBucketAbacInput.

Attributes
bucket instance-attribute
bucket: Required[str]

The name of the general purpose bucket.

expected_bucket_owner instance-attribute
expected_bucket_owner: str | None

The Amazon Web Services account ID of the general purpose bucket's owner.

Output

GetBucketAbacOutput dataclass

Bases: _SerdeShape

Dataclass for GetBucketAbacOutput structure.

Attributes

abac_status class-attribute instance-attribute
abac_status: AbacStatus | None = ...

The ABAC status of the general purpose bucket.

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.