| 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.Evidently.ListExperiments
Description
Returns configuration details about all the experiments in the specified project.
This operation returns paginated results.
Synopsis
- data ListExperiments = ListExperiments' {}
- newListExperiments :: Text -> ListExperiments
- listExperiments_maxResults :: Lens' ListExperiments (Maybe Natural)
- listExperiments_nextToken :: Lens' ListExperiments (Maybe Text)
- listExperiments_status :: Lens' ListExperiments (Maybe ExperimentStatus)
- listExperiments_project :: Lens' ListExperiments Text
- data ListExperimentsResponse = ListExperimentsResponse' {
- experiments :: Maybe [Experiment]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListExperimentsResponse :: Int -> ListExperimentsResponse
- listExperimentsResponse_experiments :: Lens' ListExperimentsResponse (Maybe [Experiment])
- listExperimentsResponse_nextToken :: Lens' ListExperimentsResponse (Maybe Text)
- listExperimentsResponse_httpStatus :: Lens' ListExperimentsResponse Int
Creating a Request
data ListExperiments Source #
See: newListExperiments smart constructor.
Constructors
| ListExperiments' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListExperiments |
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:maxResults:ListExperiments', listExperiments_maxResults - The maximum number of results to include in the response.
ListExperiments, listExperiments_nextToken - The token to use when requesting the next set of results. You received
this token from a previous ListExperiments operation.
ListExperiments, listExperiments_status - Use this optional parameter to limit the returned results to only the
experiments with the status that you specify here.
ListExperiments, listExperiments_project - The name or ARN of the project to return the experiment list from.
Request Lenses
listExperiments_maxResults :: Lens' ListExperiments (Maybe Natural) Source #
The maximum number of results to include in the response.
listExperiments_nextToken :: Lens' ListExperiments (Maybe Text) Source #
The token to use when requesting the next set of results. You received
this token from a previous ListExperiments operation.
listExperiments_status :: Lens' ListExperiments (Maybe ExperimentStatus) Source #
Use this optional parameter to limit the returned results to only the experiments with the status that you specify here.
listExperiments_project :: Lens' ListExperiments Text Source #
The name or ARN of the project to return the experiment list from.
Destructuring the Response
data ListExperimentsResponse Source #
See: newListExperimentsResponse smart constructor.
Constructors
| ListExperimentsResponse' | |
Fields
| |
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 - An array of structures that contain the configuration details of the
experiments in the specified project.
ListExperiments, listExperimentsResponse_nextToken - The token to use in a subsequent ListExperiments operation to return
the next set of results.
$sel:httpStatus:ListExperimentsResponse', listExperimentsResponse_httpStatus - The response's http status code.
Response Lenses
listExperimentsResponse_experiments :: Lens' ListExperimentsResponse (Maybe [Experiment]) Source #
An array of structures that contain the configuration details of the experiments in the specified project.
listExperimentsResponse_nextToken :: Lens' ListExperimentsResponse (Maybe Text) Source #
The token to use in a subsequent ListExperiments operation to return
the next set of results.
listExperimentsResponse_httpStatus :: Lens' ListExperimentsResponse Int Source #
The response's http status code.