Skip to content

DynamoDB  >  Operations  >  update_contributor_insights

update_contributor_insights

Operation

update_contributor_insights async

update_contributor_insights(input: UpdateContributorInsightsInput, plugins: list[Plugin] | None = None) -> UpdateContributorInsightsOutput

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.

Parameters:

Name Type Description Default
input UpdateContributorInsightsInput

An instance of UpdateContributorInsightsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateContributorInsightsOutput

An instance of UpdateContributorInsightsOutput.

Input

UpdateContributorInsightsInput dataclass

Dataclass for UpdateContributorInsightsInput structure.

Attributes

contributor_insights_action class-attribute instance-attribute
contributor_insights_action: ContributorInsightsAction | None = None

Represents the contributor insights action.

contributor_insights_mode class-attribute instance-attribute
contributor_insights_mode: ContributorInsightsMode | None = None

Specifies whether to track all access and throttled events or throttled events only for the DynamoDB table or index.

index_name class-attribute instance-attribute
index_name: str | None = None

The global secondary index name, if applicable.

table_name class-attribute instance-attribute
table_name: str | None = None

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

Output

UpdateContributorInsightsOutput dataclass

Dataclass for UpdateContributorInsightsOutput structure.

Attributes

contributor_insights_mode class-attribute instance-attribute
contributor_insights_mode: ContributorInsightsMode | None = None

The updated mode of CloudWatch Contributor Insights that determines whether to monitor all access and throttled events or to track throttled events exclusively.

contributor_insights_status class-attribute instance-attribute
contributor_insights_status: ContributorInsightsStatus | None = None

The status of contributor insights

index_name class-attribute instance-attribute
index_name: str | None = None

The name of the global secondary index, if applicable.

table_name class-attribute instance-attribute
table_name: str | None = None

The name of the table.