Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the status for contributor insights for a specific table or index.
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_tableName :: Lens' UpdateContributorInsightsResponse (Maybe Text)
- updateContributorInsightsResponse_indexName :: 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:
$sel:indexName:UpdateContributorInsights'
, updateContributorInsights_indexName
- The global secondary index name, if applicable.
$sel:tableName: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:
$sel:contributorInsightsStatus:UpdateContributorInsightsResponse'
, updateContributorInsightsResponse_contributorInsightsStatus
- The status of contributor insights
$sel:tableName:UpdateContributorInsights'
, updateContributorInsightsResponse_tableName
- The name of the table.
$sel:indexName:UpdateContributorInsights'
, updateContributorInsightsResponse_indexName
- The name of the global secondary index, if applicable.
$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_tableName :: Lens' UpdateContributorInsightsResponse (Maybe Text) Source #
The name of the table.
updateContributorInsightsResponse_indexName :: Lens' UpdateContributorInsightsResponse (Maybe Text) Source #
The name of the global secondary index, if applicable.
updateContributorInsightsResponse_httpStatus :: Lens' UpdateContributorInsightsResponse Int Source #
The response's http status code.