Skip to content

Bedrock  >  Operations  >  put_account_data_retention

put_account_data_retention

Operation

put_account_data_retention async

put_account_data_retention(input: PutAccountDataRetentionInput, plugins: list[Plugin] | None = None) -> PutAccountDataRetentionOutput

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

Parameters:

Name Type Description Default
input PutAccountDataRetentionInput

An instance of PutAccountDataRetentionInput.

required
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
PutAccountDataRetentionOutput

An instance of PutAccountDataRetentionOutput.

Input

PutAccountDataRetentionInput dataclass

Dataclass for PutAccountDataRetentionInput structure.

Attributes

mode class-attribute instance-attribute
mode: DataRetentionMode | None = None

The data retention mode to set for the account.

Output

PutAccountDataRetentionOutput dataclass

Dataclass for PutAccountDataRetentionOutput structure.

Attributes

mode instance-attribute

The data retention mode set for the account.

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

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