Bedrock / Client / put_account_data_retention

put_account_data_retention

Bedrock.Client.put_account_data_retention(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.put_account_data_retention(
    mode='default'|'none'|'provider_data_share'|'inherit'
)
Parameters:

mode (string) –

[REQUIRED]

The data retention mode to set for the account.

Return type:

dict

Returns:

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.

Exceptions

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException