Bedrock / Client / get_account_data_retention

get_account_data_retention

Bedrock.Client.get_account_data_retention()

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

See also: AWS API Documentation

Request Syntax

response = client.get_account_data_retention()
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 configured 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