DynamoDB / Client / update_contributor_insights

update_contributor_insights#

DynamoDB.Client.update_contributor_insights(**kwargs)#

Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an Amazon Web Services managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.

See also: AWS API Documentation

Request Syntax

response = client.update_contributor_insights(
    TableName='string',
    IndexName='string',
    ContributorInsightsAction='ENABLE'|'DISABLE'
)
Parameters:
  • TableName (string) –

    [REQUIRED]

    The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

  • IndexName (string) – The global secondary index name, if applicable.

  • ContributorInsightsAction (string) –

    [REQUIRED]

    Represents the contributor insights action.

Return type:

dict

Returns:

Response Syntax

{
    'TableName': 'string',
    'IndexName': 'string',
    'ContributorInsightsStatus': 'ENABLING'|'ENABLED'|'DISABLING'|'DISABLED'|'FAILED'
}

Response Structure

  • (dict) –

    • TableName (string) –

      The name of the table.

    • IndexName (string) –

      The name of the global secondary index, if applicable.

    • ContributorInsightsStatus (string) –

      The status of contributor insights

Exceptions