libZSservicesZSamazonka-mobileZSamazonka-mobile
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Mobile.ListProjects

Description

Lists projects in AWS Mobile Hub.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProjects Source #

Request structure used to request projects list in AWS Mobile Hub.

See: newListProjects smart constructor.

Constructors

ListProjects' 

Fields

  • nextToken :: Maybe Text

    Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.

  • maxResults :: Maybe Int

    Maximum number of records to list in a single response.

Instances

Instances details
Eq ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Read ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

NFData ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Methods

rnf :: ListProjects -> () #

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

AWSPager ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Associated Types

type AWSResponse ListProjects #

ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

type Rep ListProjects = D1 ('MetaData "ListProjects" "Amazonka.Mobile.ListProjects" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "ListProjects'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))
type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

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:nextToken:ListProjects', listProjects_nextToken - Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.

$sel:maxResults:ListProjects', listProjects_maxResults - Maximum number of records to list in a single response.

Request Lenses

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

Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.

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

Maximum number of records to list in a single response.

Destructuring the Response

data ListProjectsResponse Source #

Result structure used for requests to list projects in AWS Mobile Hub.

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

Instances

Instances details
Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListProjects

type Rep ListProjectsResponse = D1 ('MetaData "ListProjectsResponse" "Amazonka.Mobile.ListProjects" "libZSservicesZSamazonka-mobileZSamazonka-mobile" '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:

$sel:nextToken:ListProjects', listProjectsResponse_nextToken - Undocumented member.

$sel:projects:ListProjectsResponse', listProjectsResponse_projects - Undocumented member.

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

Response Lenses