libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects
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.IoT1ClickProjects.ListProjects

Description

Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProjects Source #

See: newListProjects smart constructor.

Constructors

ListProjects' 

Fields

Instances

Instances details
Eq ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Read ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

NFData ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Methods

rnf :: ListProjects -> () #

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

AWSPager ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Associated Types

type AWSResponse ListProjects #

ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

type Rep ListProjects = D1 ('MetaData "ListProjects" "Amazonka.IoT1ClickProjects.ListProjects" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" '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 Natural))))
type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.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 - The token to retrieve the next set of results.

$sel:maxResults:ListProjects', listProjects_maxResults - The maximum number of results to return per request. If not set, a default value of 100 is used.

Request Lenses

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

The token to retrieve the next set of results.

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

The maximum number of results to return per request. If not set, a default value of 100 is used.

Destructuring the Response

data ListProjectsResponse Source #

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

Instances

Instances details
Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListProjects

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

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 - The token used to retrieve the next set of results - will be effectively empty if there are no further results.

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

$sel:projects:ListProjectsResponse', listProjectsResponse_projects - An object containing the list of projects.

Response Lenses

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

The token used to retrieve the next set of results - will be effectively empty if there are no further results.

listProjectsResponse_projects :: Lens' ListProjectsResponse [ProjectSummary] Source #

An object containing the list of projects.