amazonka-evidently-2.0: Amazon CloudWatch Evidently SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Evidently.ListExperiments

Description

Returns configuration details about all the experiments in the specified project.

This operation returns paginated results.

Synopsis

Creating a Request

data ListExperiments Source #

See: newListExperiments smart constructor.

Constructors

ListExperiments' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response.

  • nextToken :: Maybe Text

    The token to use when requesting the next set of results. You received this token from a previous ListExperiments operation.

  • status :: Maybe ExperimentStatus

    Use this optional parameter to limit the returned results to only the experiments with the status that you specify here.

  • project :: Text

    The name or ARN of the project to return the experiment list from.

Instances

Instances details
ToHeaders ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

ToPath ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

ToQuery ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

AWSPager ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

AWSRequest ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Associated Types

type AWSResponse ListExperiments #

Generic ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Associated Types

type Rep ListExperiments :: Type -> Type #

Read ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Show ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

NFData ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Methods

rnf :: ListExperiments -> () #

Eq ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Hashable ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

type AWSResponse ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

type Rep ListExperiments Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

type Rep ListExperiments = D1 ('MetaData "ListExperiments" "Amazonka.Evidently.ListExperiments" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "ListExperiments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentStatus)) :*: S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListExperiments 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: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

  • experiments :: Maybe [Experiment]

    An array of structures that contain the configuration details of the experiments in the specified project.

  • nextToken :: Maybe Text

    The token to use in a subsequent ListExperiments operation to return the next set of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Associated Types

type Rep ListExperimentsResponse :: Type -> Type #

Read ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Show ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

NFData ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

Methods

rnf :: ListExperimentsResponse -> () #

Eq ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

type Rep ListExperimentsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListExperiments

type Rep ListExperimentsResponse = D1 ('MetaData "ListExperimentsResponse" "Amazonka.Evidently.ListExperiments" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "ListExperimentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "experiments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Experiment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.