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

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data GetDevices Source #

See: newGetDevices smart constructor.

Constructors

GetDevices' 

Fields

Instances

Instances details
Eq GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Read GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Show GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Generic GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Associated Types

type Rep GetDevices :: Type -> Type #

NFData GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Methods

rnf :: GetDevices -> () #

Hashable GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

AWSPager GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

AWSRequest GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Associated Types

type AWSResponse GetDevices #

ToHeaders GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Methods

toHeaders :: GetDevices -> [Header] #

ToPath GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

ToQuery GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

type Rep GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

type Rep GetDevices = D1 ('MetaData "GetDevices" "Amazonka.NetworkManager.GetDevices" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "GetDevices'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "siteId") '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 GetDevices Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

newGetDevices Source #

Create a value of GetDevices 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:deviceIds:GetDevices', getDevices_deviceIds - One or more device IDs. The maximum is 10.

$sel:nextToken:GetDevices', getDevices_nextToken - The token for the next page of results.

$sel:siteId:GetDevices', getDevices_siteId - The ID of the site.

$sel:maxResults:GetDevices', getDevices_maxResults - The maximum number of results to return.

$sel:globalNetworkId:GetDevices', getDevices_globalNetworkId - The ID of the global network.

Request Lenses

getDevices_deviceIds :: Lens' GetDevices (Maybe [Text]) Source #

One or more device IDs. The maximum is 10.

getDevices_nextToken :: Lens' GetDevices (Maybe Text) Source #

The token for the next page of results.

getDevices_maxResults :: Lens' GetDevices (Maybe Natural) Source #

The maximum number of results to return.

getDevices_globalNetworkId :: Lens' GetDevices Text Source #

The ID of the global network.

Destructuring the Response

data GetDevicesResponse Source #

See: newGetDevicesResponse smart constructor.

Constructors

GetDevicesResponse' 

Fields

Instances

Instances details
Eq GetDevicesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Show GetDevicesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Generic GetDevicesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Associated Types

type Rep GetDevicesResponse :: Type -> Type #

NFData GetDevicesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

Methods

rnf :: GetDevicesResponse -> () #

type Rep GetDevicesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetDevices

type Rep GetDevicesResponse = D1 ('MetaData "GetDevicesResponse" "Amazonka.NetworkManager.GetDevices" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "GetDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Device])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDevicesResponse Source #

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

$sel:devices:GetDevicesResponse', getDevicesResponse_devices - The devices.

$sel:httpStatus:GetDevicesResponse', getDevicesResponse_httpStatus - The response's http status code.

Response Lenses

getDevicesResponse_nextToken :: Lens' GetDevicesResponse (Maybe Text) Source #

The token for the next page of results.