Athena / Client / update_system_table_configuration

update_system_table_configuration

Athena.Client.update_system_table_configuration(**kwargs)

Updates the account-level system tables configuration. If no configuration exists, use CreateSystemTableConfiguration to create one. Fields that you omit retain their current values.

See also: AWS API Documentation

Request Syntax

response = client.update_system_table_configuration(
    TableName='ALL',
    KmsKeyArn='string'
)
Parameters:
  • TableName (string) –

    [REQUIRED]

    The system table configuration to update. The only accepted value is ALL.

  • KmsKeyArn (string) – The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key to use for encrypting the system table data. The encryption key is immutable while the system table exists, so a change takes effect only after the table has been deleted.

Return type:

dict

Returns:

Response Syntax

{
    'TableName': 'ALL',
    'KmsKeyArn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'LastModifiedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • TableName (string) –

      The system table configuration. Always ALL.

    • KmsKeyArn (string) –

      The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used for encrypting the system table data.

    • CreatedAt (datetime) –

      The date and time the system table configuration was created.

    • LastModifiedAt (datetime) –

      The date and time the system table configuration was last modified.

Exceptions