Amazon Bedrock

2026/09/04 - Amazon Bedrock - 2 updated api methods

Changes  New AWS REVIEW mode as supported data retention mode for Bedrock models

GetAccountDataRetention (updated) Link ¶
Changes (response)
{'mode': {'aws_review'}}

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

See also: AWS API Documentation

Request Syntax

client.get_account_data_retention()
rtype:

dict

returns:

Response Syntax

{
    'mode': 'default'|'none'|'aws_review'|'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.

PutAccountDataRetention (updated) Link ¶
Changes (both)
{'mode': {'aws_review'}}

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'|'aws_review'|'provider_data_share'|'inherit'
)
type mode:

string

param mode:

[REQUIRED]

The data retention mode to set for the account.

rtype:

dict

returns:

Response Syntax

{
    'mode': 'default'|'none'|'aws_review'|'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.