update_contributor_insights¶
Operation¶
update_contributor_insights
¶
update_contributor_insights(request: UpdateContributorInsightsInput | UpdateContributorInsightsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateContributorInsightsInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateContributorInsightsInput | UpdateContributorInsightsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateContributorInsightsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateContributorInsightsOutput
|
An instance of |
update_contributor_insights
async
¶
update_contributor_insights(request: UpdateContributorInsightsInput | UpdateContributorInsightsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateContributorInsightsInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateContributorInsightsInput | UpdateContributorInsightsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateContributorInsightsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateContributorInsightsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateContributorInsightsInputDict
¶
Bases: TypedDict
Dictionary form of UpdateContributorInsightsInput.
Attributes¶
contributor_insights_action
instance-attribute
¶
Represents the contributor insights action.
contributor_insights_mode
instance-attribute
¶
contributor_insights_mode: str | None
Specifies whether to track all access and throttled events or throttled events only for the DynamoDB table or index.
UpdateContributorInsightsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateContributorInsightsInput structure.
Attributes¶
contributor_insights_action
class-attribute
instance-attribute
¶
contributor_insights_action: str | None = ...
Represents the contributor insights action.
contributor_insights_mode
class-attribute
instance-attribute
¶
contributor_insights_mode: str | None = ...
Specifies whether to track all access and throttled events or throttled events only for the DynamoDB table or index.
Output¶
UpdateContributorInsightsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateContributorInsightsOutput structure.
Attributes¶
contributor_insights_mode
class-attribute
instance-attribute
¶
contributor_insights_mode: str | 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: str | None = ...
The status of contributor insights
index_name
class-attribute
instance-attribute
¶
index_name: str | None = ...
The name of the global secondary index, if applicable.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.