libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.ListProjects

Description

Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.

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

Read ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

NFData ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Methods

rnf :: ListProjects -> () #

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

AWSPager ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Associated Types

type AWSResponse ListProjects #

ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

type Rep ListProjects = D1 ('MetaData "ListProjects" "Amazonka.IoTSiteWise.ListProjects" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" '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)) :*: S1 ('MetaSel ('Just "portalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

newListProjects 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 be used for the next set of paginated results.

$sel:maxResults:ListProjects', listProjects_maxResults - The maximum number of results to return for each paginated request.

Default: 50

$sel:portalId:ListProjects', listProjects_portalId - The ID of the portal.

Request Lenses

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

The token to be used for the next set of paginated results.

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

The maximum number of results to return for each paginated request.

Default: 50

Destructuring the Response

data ListProjectsResponse Source #

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

Instances

Instances details
Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.ListProjects

type Rep ListProjectsResponse = D1 ('MetaData "ListProjectsResponse" "Amazonka.IoTSiteWise.ListProjects" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" '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 "projectSummaries") '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 for the next set of results, or null if there are no additional results.

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

$sel:projectSummaries:ListProjectsResponse', listProjectsResponse_projectSummaries - A list that summarizes each project in the portal.

Response Lenses

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

The token for the next set of results, or null if there are no additional results.

listProjectsResponse_projectSummaries :: Lens' ListProjectsResponse [ProjectSummary] Source #

A list that summarizes each project in the portal.