libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
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.NetworkManager.GetSites

Description

Gets information about one or more of your sites in a global network.

This operation returns paginated results.

Synopsis

Creating a Request

data GetSites Source #

See: newGetSites smart constructor.

Constructors

GetSites' 

Fields

Instances

Instances details
Eq GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Read GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Show GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Generic GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Associated Types

type Rep GetSites :: Type -> Type #

Methods

from :: GetSites -> Rep GetSites x #

to :: Rep GetSites x -> GetSites #

NFData GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Methods

rnf :: GetSites -> () #

Hashable GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Methods

hashWithSalt :: Int -> GetSites -> Int #

hash :: GetSites -> Int #

AWSPager GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

AWSRequest GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Associated Types

type AWSResponse GetSites #

ToHeaders GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Methods

toHeaders :: GetSites -> [Header] #

ToPath GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

ToQuery GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

type Rep GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

type Rep GetSites = D1 ('MetaData "GetSites" "Amazonka.NetworkManager.GetSites" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "GetSites'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "siteIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetSites Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

newGetSites Source #

Create a value of GetSites 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:GetSites', getSites_nextToken - The token for the next page of results.

$sel:siteIds:GetSites', getSites_siteIds - One or more site IDs. The maximum is 10.

$sel:maxResults:GetSites', getSites_maxResults - The maximum number of results to return.

$sel:globalNetworkId:GetSites', getSites_globalNetworkId - The ID of the global network.

Request Lenses

getSites_nextToken :: Lens' GetSites (Maybe Text) Source #

The token for the next page of results.

getSites_siteIds :: Lens' GetSites (Maybe [Text]) Source #

One or more site IDs. The maximum is 10.

getSites_maxResults :: Lens' GetSites (Maybe Natural) Source #

The maximum number of results to return.

getSites_globalNetworkId :: Lens' GetSites Text Source #

The ID of the global network.

Destructuring the Response

data GetSitesResponse Source #

See: newGetSitesResponse smart constructor.

Constructors

GetSitesResponse' 

Fields

Instances

Instances details
Eq GetSitesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Show GetSitesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Generic GetSitesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Associated Types

type Rep GetSitesResponse :: Type -> Type #

NFData GetSitesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

Methods

rnf :: GetSitesResponse -> () #

type Rep GetSitesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetSites

type Rep GetSitesResponse = D1 ('MetaData "GetSitesResponse" "Amazonka.NetworkManager.GetSites" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "GetSitesResponse'" '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))))

newGetSitesResponse Source #

Create a value of GetSitesResponse 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:GetSites', getSitesResponse_nextToken - The token for the next page of results.

$sel:sites:GetSitesResponse', getSitesResponse_sites - The sites.

$sel:httpStatus:GetSitesResponse', getSitesResponse_httpStatus - The response's http status code.

Response Lenses

getSitesResponse_nextToken :: Lens' GetSitesResponse (Maybe Text) Source #

The token for the next page of results.

getSitesResponse_httpStatus :: Lens' GetSitesResponse Int Source #

The response's http status code.