2026/06/09 - Amazon Bedrock - 2 new api methods
Changes Adds support for the Amazon Bedrock account-level data retention APIs PutAccountDataRetention and GetAccountDataRetention.
Sets the account-wide data retention mode for Amazon Bedrock.
See also: AWS API Documentation
Request Syntax
client.put_account_data_retention(
mode='default'|'none'|'provider_data_share'|'inherit'
)
string
[REQUIRED]
The data retention mode to set for the account.
dict
Response Syntax
{
'mode': 'default'|'none'|'provider_data_share'|'inherit',
'updatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
mode (string) --
The data retention mode set for the account.
updatedAt (datetime) --
The time at which the data retention mode was last updated.
Returns the account-wide data retention mode for Amazon Bedrock.
See also: AWS API Documentation
Request Syntax
client.get_account_data_retention()
dict
Response Syntax
{
'mode': 'default'|'none'|'provider_data_share'|'inherit',
'updatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
mode (string) --
The data retention mode configured for the account.
updatedAt (datetime) --
The time at which the data retention mode was last updated.