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 |
Lists your experiment templates.
Synopsis
- data ListExperimentTemplates = ListExperimentTemplates' {}
- newListExperimentTemplates :: ListExperimentTemplates
- listExperimentTemplates_nextToken :: Lens' ListExperimentTemplates (Maybe Text)
- listExperimentTemplates_maxResults :: Lens' ListExperimentTemplates (Maybe Natural)
- data ListExperimentTemplatesResponse = ListExperimentTemplatesResponse' {}
- newListExperimentTemplatesResponse :: Int -> ListExperimentTemplatesResponse
- listExperimentTemplatesResponse_nextToken :: Lens' ListExperimentTemplatesResponse (Maybe Text)
- listExperimentTemplatesResponse_experimentTemplates :: Lens' ListExperimentTemplatesResponse (Maybe [ExperimentTemplateSummary])
- listExperimentTemplatesResponse_httpStatus :: Lens' ListExperimentTemplatesResponse Int
Creating a Request
data ListExperimentTemplates Source #
See: newListExperimentTemplates
smart constructor.
Instances
newListExperimentTemplates :: ListExperimentTemplates Source #
Create a value of ListExperimentTemplates
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:ListExperimentTemplates'
, listExperimentTemplates_nextToken
- The token for the next page of results.
$sel:maxResults:ListExperimentTemplates'
, listExperimentTemplates_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Request Lenses
listExperimentTemplates_nextToken :: Lens' ListExperimentTemplates (Maybe Text) Source #
The token for the next page of results.
listExperimentTemplates_maxResults :: Lens' ListExperimentTemplates (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Destructuring the Response
data ListExperimentTemplatesResponse Source #
See: newListExperimentTemplatesResponse
smart constructor.
ListExperimentTemplatesResponse' | |
|
Instances
newListExperimentTemplatesResponse Source #
Create a value of ListExperimentTemplatesResponse
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:ListExperimentTemplates'
, listExperimentTemplatesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:experimentTemplates:ListExperimentTemplatesResponse'
, listExperimentTemplatesResponse_experimentTemplates
- The experiment templates.
$sel:httpStatus:ListExperimentTemplatesResponse'
, listExperimentTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
listExperimentTemplatesResponse_nextToken :: Lens' ListExperimentTemplatesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
listExperimentTemplatesResponse_experimentTemplates :: Lens' ListExperimentTemplatesResponse (Maybe [ExperimentTemplateSummary]) Source #
The experiment templates.
listExperimentTemplatesResponse_httpStatus :: Lens' ListExperimentTemplatesResponse Int Source #
The response's http status code.