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

Description

Lists the placement(s) of a project.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPlacements Source #

See: newListPlacements smart constructor.

Constructors

ListPlacements' 

Fields

Instances

Instances details
Eq ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Read ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Show ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Generic ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Associated Types

type Rep ListPlacements :: Type -> Type #

NFData ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Methods

rnf :: ListPlacements -> () #

Hashable ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

AWSPager ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

AWSRequest ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Associated Types

type AWSResponse ListPlacements #

ToHeaders ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

ToPath ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

ToQuery ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

type Rep ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

type Rep ListPlacements = D1 ('MetaData "ListPlacements" "Amazonka.IoT1ClickProjects.ListPlacements" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "ListPlacements'" '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 "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPlacements Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

newListPlacements Source #

Create a value of ListPlacements 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:ListPlacements', listPlacements_nextToken - The token to retrieve the next set of results.

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

$sel:projectName:ListPlacements', listPlacements_projectName - The project containing the placements to be listed.

Request Lenses

listPlacements_nextToken :: Lens' ListPlacements (Maybe Text) Source #

The token to retrieve the next set of results.

listPlacements_maxResults :: Lens' ListPlacements (Maybe Natural) Source #

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

listPlacements_projectName :: Lens' ListPlacements Text Source #

The project containing the placements to be listed.

Destructuring the Response

data ListPlacementsResponse Source #

See: newListPlacementsResponse smart constructor.

Constructors

ListPlacementsResponse' 

Fields

Instances

Instances details
Eq ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Read ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Show ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Generic ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Associated Types

type Rep ListPlacementsResponse :: Type -> Type #

NFData ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

Methods

rnf :: ListPlacementsResponse -> () #

type Rep ListPlacementsResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.ListPlacements

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

newListPlacementsResponse Source #

Create a value of ListPlacementsResponse 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:ListPlacements', listPlacementsResponse_nextToken - The token used to retrieve the next set of results - will be effectively empty if there are no further results.

$sel:httpStatus:ListPlacementsResponse', listPlacementsResponse_httpStatus - The response's http status code.

$sel:placements:ListPlacementsResponse', listPlacementsResponse_placements - An object listing the requested placements.

Response Lenses

listPlacementsResponse_nextToken :: Lens' ListPlacementsResponse (Maybe Text) Source #

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