Skip to content

DynamoDBClient.update_contributor_insights

rboto-dynamodb==0.4.0 · Service index · Types

Model summary (excerpt): 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...

Install and imports

python -m pip install "rboto[dynamodb]==0.4.0"
from rboto import DynamoDBClient
from rboto_dynamodb.types import (
    ContributorInsightsAction,
    ContributorInsightsMode,
    UpdateContributorInsightsOutput,
)

Signature

async def update_contributor_insights(
    *,
    table_name: str,
    contributor_insights_action: ContributorInsightsAction,
    index_name: str | None = None,
    contributor_insights_mode: ContributorInsightsMode | None = None,
) -> UpdateContributorInsightsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
table_name Yes The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
contributor_insights_action Yes Represents the contributor insights action.
index_name No The global secondary index name, if applicable.
contributor_insights_mode No Specifies whether to track all access and throttled events or throttled events only for the DynamoDB table or index.

Output

UpdateContributorInsightsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
table_name str | None Always present —
index_name str | None Always present —
contributor_insights_status ContributorInsightsStatusOutput | None Always present ContributorInsightsStatusOutput
contributor_insights_mode ContributorInsightsModeOutput | None Always present ContributorInsightsModeOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ContributorInsightsAction, ContributorInsightsMode, UpdateContributorInsightsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_dynamodb.exceptions:

InternalServerError, ResourceNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model