| 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 |
Amazonka.Personalize.ListMetricAttributions
Description
Lists metric attributions.
This operation returns paginated results.
Synopsis
- data ListMetricAttributions = ListMetricAttributions' {}
- newListMetricAttributions :: ListMetricAttributions
- listMetricAttributions_datasetGroupArn :: Lens' ListMetricAttributions (Maybe Text)
- listMetricAttributions_maxResults :: Lens' ListMetricAttributions (Maybe Natural)
- listMetricAttributions_nextToken :: Lens' ListMetricAttributions (Maybe Text)
- data ListMetricAttributionsResponse = ListMetricAttributionsResponse' {}
- newListMetricAttributionsResponse :: Int -> ListMetricAttributionsResponse
- listMetricAttributionsResponse_metricAttributions :: Lens' ListMetricAttributionsResponse (Maybe [MetricAttributionSummary])
- listMetricAttributionsResponse_nextToken :: Lens' ListMetricAttributionsResponse (Maybe Text)
- listMetricAttributionsResponse_httpStatus :: Lens' ListMetricAttributionsResponse Int
Creating a Request
data ListMetricAttributions Source #
See: newListMetricAttributions smart constructor.
Constructors
| ListMetricAttributions' | |
Fields
| |
Instances
newListMetricAttributions :: ListMetricAttributions Source #
Create a value of ListMetricAttributions 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:
ListMetricAttributions, listMetricAttributions_datasetGroupArn - The metric attributions' dataset group Amazon Resource Name (ARN).
$sel:maxResults:ListMetricAttributions', listMetricAttributions_maxResults - The maximum number of metric attributions to return in one page of
results.
ListMetricAttributions, listMetricAttributions_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listMetricAttributions_datasetGroupArn :: Lens' ListMetricAttributions (Maybe Text) Source #
The metric attributions' dataset group Amazon Resource Name (ARN).
listMetricAttributions_maxResults :: Lens' ListMetricAttributions (Maybe Natural) Source #
The maximum number of metric attributions to return in one page of results.
listMetricAttributions_nextToken :: Lens' ListMetricAttributions (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListMetricAttributionsResponse Source #
See: newListMetricAttributionsResponse smart constructor.
Constructors
| ListMetricAttributionsResponse' | |
Fields
| |
Instances
newListMetricAttributionsResponse Source #
Create a value of ListMetricAttributionsResponse 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:metricAttributions:ListMetricAttributionsResponse', listMetricAttributionsResponse_metricAttributions - The list of metric attributions.
ListMetricAttributions, listMetricAttributionsResponse_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
$sel:httpStatus:ListMetricAttributionsResponse', listMetricAttributionsResponse_httpStatus - The response's http status code.
Response Lenses
listMetricAttributionsResponse_metricAttributions :: Lens' ListMetricAttributionsResponse (Maybe [MetricAttributionSummary]) Source #
The list of metric attributions.
listMetricAttributionsResponse_nextToken :: Lens' ListMetricAttributionsResponse (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listMetricAttributionsResponse_httpStatus :: Lens' ListMetricAttributionsResponse Int Source #
The response's http status code.