Skip to content

get_account_data_retention

Operation

get_account_data_retention

get_account_data_retention(request: GetAccountDataRetentionInput | GetAccountDataRetentionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccountDataRetentionInputDict]) -> GetAccountDataRetentionOutput

Returns the account-wide data retention mode for Amazon Bedrock.

Parameters:

Name Type Description Default
request GetAccountDataRetentionInput | GetAccountDataRetentionInputDict | 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[GetAccountDataRetentionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAccountDataRetentionOutput

An instance of GetAccountDataRetentionOutput.

get_account_data_retention async

get_account_data_retention(request: GetAccountDataRetentionInput | GetAccountDataRetentionInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccountDataRetentionInputDict]) -> GetAccountDataRetentionOutput

Returns the account-wide data retention mode for Amazon Bedrock.

Parameters:

Name Type Description Default
request GetAccountDataRetentionInput | GetAccountDataRetentionInputDict | 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[GetAccountDataRetentionInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetAccountDataRetentionOutput

An instance of GetAccountDataRetentionOutput.

Input

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

GetAccountDataRetentionInputDict

Bases: TypedDict

Dictionary form of GetAccountDataRetentionInput.

GetAccountDataRetentionInput dataclass

Bases: _SerdeShape

Dataclass for GetAccountDataRetentionInput structure.

Output

GetAccountDataRetentionOutput dataclass

Bases: _SerdeShape

Dataclass for GetAccountDataRetentionOutput structure.

Attributes

mode instance-attribute
mode: str

The data retention mode configured for the account.

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.

updated_at class-attribute instance-attribute
updated_at: datetime | None = ...

The time at which the data retention mode was last updated.