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 |
Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.
Synopsis
- data ListContributorInsights = ListContributorInsights' {}
- newListContributorInsights :: ListContributorInsights
- listContributorInsights_nextToken :: Lens' ListContributorInsights (Maybe Text)
- listContributorInsights_maxResults :: Lens' ListContributorInsights (Maybe Int)
- listContributorInsights_tableName :: Lens' ListContributorInsights (Maybe Text)
- data ListContributorInsightsResponse = ListContributorInsightsResponse' {}
- newListContributorInsightsResponse :: Int -> ListContributorInsightsResponse
- listContributorInsightsResponse_contributorInsightsSummaries :: Lens' ListContributorInsightsResponse (Maybe [ContributorInsightsSummary])
- listContributorInsightsResponse_nextToken :: Lens' ListContributorInsightsResponse (Maybe Text)
- listContributorInsightsResponse_httpStatus :: Lens' ListContributorInsightsResponse Int
Creating a Request
data ListContributorInsights Source #
See: newListContributorInsights
smart constructor.
Instances
newListContributorInsights :: ListContributorInsights Source #
Create a value of ListContributorInsights
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:nextToken:ListContributorInsights'
, listContributorInsights_nextToken
- A token to for the desired page, if there is one.
$sel:maxResults:ListContributorInsights'
, listContributorInsights_maxResults
- Maximum number of results to return per page.
$sel:tableName:ListContributorInsights'
, listContributorInsights_tableName
- The name of the table.
Request Lenses
listContributorInsights_nextToken :: Lens' ListContributorInsights (Maybe Text) Source #
A token to for the desired page, if there is one.
listContributorInsights_maxResults :: Lens' ListContributorInsights (Maybe Int) Source #
Maximum number of results to return per page.
listContributorInsights_tableName :: Lens' ListContributorInsights (Maybe Text) Source #
The name of the table.
Destructuring the Response
data ListContributorInsightsResponse Source #
See: newListContributorInsightsResponse
smart constructor.
ListContributorInsightsResponse' | |
|
Instances
newListContributorInsightsResponse Source #
Create a value of ListContributorInsightsResponse
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:contributorInsightsSummaries:ListContributorInsightsResponse'
, listContributorInsightsResponse_contributorInsightsSummaries
- A list of ContributorInsightsSummary.
$sel:nextToken:ListContributorInsights'
, listContributorInsightsResponse_nextToken
- A token to go to the next page if there is one.
$sel:httpStatus:ListContributorInsightsResponse'
, listContributorInsightsResponse_httpStatus
- The response's http status code.
Response Lenses
listContributorInsightsResponse_contributorInsightsSummaries :: Lens' ListContributorInsightsResponse (Maybe [ContributorInsightsSummary]) Source #
A list of ContributorInsightsSummary.
listContributorInsightsResponse_nextToken :: Lens' ListContributorInsightsResponse (Maybe Text) Source #
A token to go to the next page if there is one.
listContributorInsightsResponse_httpStatus :: Lens' ListContributorInsightsResponse Int Source #
The response's http status code.