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 experiments.
Synopsis
- data ListExperiments = ListExperiments' {}
- newListExperiments :: ListExperiments
- listExperiments_nextToken :: Lens' ListExperiments (Maybe Text)
- listExperiments_maxResults :: Lens' ListExperiments (Maybe Natural)
- data ListExperimentsResponse = ListExperimentsResponse' {
- experiments :: Maybe [ExperimentSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListExperimentsResponse :: Int -> ListExperimentsResponse
- listExperimentsResponse_experiments :: Lens' ListExperimentsResponse (Maybe [ExperimentSummary])
- listExperimentsResponse_nextToken :: Lens' ListExperimentsResponse (Maybe Text)
- listExperimentsResponse_httpStatus :: Lens' ListExperimentsResponse Int
Creating a Request
data ListExperiments Source #
See: newListExperiments
smart constructor.
Instances
newListExperiments :: ListExperiments Source #
Create a value of ListExperiments
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:ListExperiments'
, listExperiments_nextToken
- The token for the next page of results.
$sel:maxResults:ListExperiments'
, listExperiments_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
listExperiments_nextToken :: Lens' ListExperiments (Maybe Text) Source #
The token for the next page of results.
listExperiments_maxResults :: Lens' ListExperiments (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 ListExperimentsResponse Source #
See: newListExperimentsResponse
smart constructor.
ListExperimentsResponse' | |
|
Instances
newListExperimentsResponse Source #
Create a value of ListExperimentsResponse
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:experiments:ListExperimentsResponse'
, listExperimentsResponse_experiments
- The experiments.
$sel:nextToken:ListExperiments'
, listExperimentsResponse_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:httpStatus:ListExperimentsResponse'
, listExperimentsResponse_httpStatus
- The response's http status code.
Response Lenses
listExperimentsResponse_experiments :: Lens' ListExperimentsResponse (Maybe [ExperimentSummary]) Source #
The experiments.
listExperimentsResponse_nextToken :: Lens' ListExperimentsResponse (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.
listExperimentsResponse_httpStatus :: Lens' ListExperimentsResponse Int Source #
The response's http status code.