libZSservicesZSamazonka-outpostsZSamazonka-outposts
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.Outposts.ListSites

Description

Lists the sites for the specified AWS account.

Synopsis

Creating a Request

data ListSites Source #

See: newListSites smart constructor.

Constructors

ListSites' 

Instances

Instances details
Eq ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Read ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Show ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Generic ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Associated Types

type Rep ListSites :: Type -> Type #

NFData ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Methods

rnf :: ListSites -> () #

Hashable ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

AWSRequest ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Associated Types

type AWSResponse ListSites #

ToHeaders ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Methods

toHeaders :: ListSites -> [Header] #

ToPath ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

ToQuery ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

type Rep ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

type Rep ListSites = D1 ('MetaData "ListSites" "Amazonka.Outposts.ListSites" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "ListSites'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListSites Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

newListSites :: ListSites Source #

Create a value of ListSites 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:ListSites', listSites_nextToken - Undocumented member.

$sel:maxResults:ListSites', listSites_maxResults - Undocumented member.

Request Lenses

Destructuring the Response

data ListSitesResponse Source #

See: newListSitesResponse smart constructor.

Constructors

ListSitesResponse' 

Fields

Instances

Instances details
Eq ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Read ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Show ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Generic ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Associated Types

type Rep ListSitesResponse :: Type -> Type #

NFData ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

Methods

rnf :: ListSitesResponse -> () #

type Rep ListSitesResponse Source # 
Instance details

Defined in Amazonka.Outposts.ListSites

type Rep ListSitesResponse = D1 ('MetaData "ListSitesResponse" "Amazonka.Outposts.ListSites" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "ListSitesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sites") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Site])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSitesResponse Source #

Create a value of ListSitesResponse 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:ListSites', listSitesResponse_nextToken - Undocumented member.

$sel:sites:ListSitesResponse', listSitesResponse_sites - Undocumented member.

$sel:httpStatus:ListSitesResponse', listSitesResponse_httpStatus - The response's http status code.

Response Lenses

listSitesResponse_httpStatus :: Lens' ListSitesResponse Int Source #

The response's http status code.