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.ListProjects

Description

Returns configuration details about all the projects in the current Region in your account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProjects Source #

See: newListProjects smart constructor.

Constructors

ListProjects' 

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 ListProjects operation.

Instances

Instances details
ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

AWSPager ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Associated Types

type AWSResponse ListProjects #

Generic ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

Read ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

NFData ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Methods

rnf :: ListProjects -> () #

Eq ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

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

newListProjects :: ListProjects Source #

Create a value of ListProjects 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:ListProjects', listProjects_maxResults - The maximum number of results to include in the response.

ListProjects, listProjects_nextToken - The token to use when requesting the next set of results. You received this token from a previous ListProjects operation.

Request Lenses

listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #

The maximum number of results to include in the response.

listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #

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

Destructuring the Response

data ListProjectsResponse Source #

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

Instances

Instances details
Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Evidently.ListProjects

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

newListProjectsResponse Source #

Create a value of ListProjectsResponse 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:

ListProjects, listProjectsResponse_nextToken - The token to use in a subsequent ListProjects operation to return the next set of results.

$sel:projects:ListProjectsResponse', listProjectsResponse_projects - An array of structures that contain the configuration details of the projects in the Region.

$sel:httpStatus:ListProjectsResponse', listProjectsResponse_httpStatus - The response's http status code.

Response Lenses

listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #

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

listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [ProjectSummary]) Source #

An array of structures that contain the configuration details of the projects in the Region.