Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data UpdateContributorInsights = UpdateContributorInsights' {}
- newUpdateContributorInsights :: Text -> ContributorInsightsAction -> UpdateContributorInsights
- updateContributorInsights_indexName :: Lens' UpdateContributorInsights (Maybe Text)
- updateContributorInsights_tableName :: Lens' UpdateContributorInsights Text
- updateContributorInsights_contributorInsightsAction :: Lens' UpdateContributorInsights ContributorInsightsAction
- data UpdateContributorInsightsResponse = UpdateContributorInsightsResponse' {}
- newUpdateContributorInsightsResponse :: Int -> UpdateContributorInsightsResponse
- updateContributorInsightsResponse_contributorInsightsStatus :: Lens' UpdateContributorInsightsResponse (Maybe ContributorInsightsStatus)
- updateContributorInsightsResponse_indexName :: Lens' UpdateContributorInsightsResponse (Maybe Text)
- updateContributorInsightsResponse_tableName :: Lens' UpdateContributorInsightsResponse (Maybe Text)
- updateContributorInsightsResponse_httpStatus :: Lens' UpdateContributorInsightsResponse Int
Creating a Request
data UpdateContributorInsights Source #
See: newUpdateContributorInsights
smart constructor.
UpdateContributorInsights' | |
|
Instances
newUpdateContributorInsights Source #
Create a value of UpdateContributorInsights
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateContributorInsights
, updateContributorInsights_indexName
- The global secondary index name, if applicable.
UpdateContributorInsights
, updateContributorInsights_tableName
- The name of the table.
$sel:contributorInsightsAction:UpdateContributorInsights'
, updateContributorInsights_contributorInsightsAction
- Represents the contributor insights action.
Request Lenses
updateContributorInsights_indexName :: Lens' UpdateContributorInsights (Maybe Text) Source #
The global secondary index name, if applicable.
updateContributorInsights_tableName :: Lens' UpdateContributorInsights Text Source #
The name of the table.
updateContributorInsights_contributorInsightsAction :: Lens' UpdateContributorInsights ContributorInsightsAction Source #
Represents the contributor insights action.
Destructuring the Response
data UpdateContributorInsightsResponse Source #
See: newUpdateContributorInsightsResponse
smart constructor.
UpdateContributorInsightsResponse' | |
|
Instances
newUpdateContributorInsightsResponse Source #
Create a value of UpdateContributorInsightsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateContributorInsightsResponse
, updateContributorInsightsResponse_contributorInsightsStatus
- The status of contributor insights
UpdateContributorInsights
, updateContributorInsightsResponse_indexName
- The name of the global secondary index, if applicable.
UpdateContributorInsights
, updateContributorInsightsResponse_tableName
- The name of the table.
$sel:httpStatus:UpdateContributorInsightsResponse'
, updateContributorInsightsResponse_httpStatus
- The response's http status code.
Response Lenses
updateContributorInsightsResponse_contributorInsightsStatus :: Lens' UpdateContributorInsightsResponse (Maybe ContributorInsightsStatus) Source #
The status of contributor insights
updateContributorInsightsResponse_indexName :: Lens' UpdateContributorInsightsResponse (Maybe Text) Source #
The name of the global secondary index, if applicable.
updateContributorInsightsResponse_tableName :: Lens' UpdateContributorInsightsResponse (Maybe Text) Source #
The name of the table.
updateContributorInsightsResponse_httpStatus :: Lens' UpdateContributorInsightsResponse Int Source #
The response's http status code.