libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
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.SnowDeviceManagement.ListDevices

Description

Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management enabled in the Amazon Web Services Region where the command is run.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDevices Source #

See: newListDevices smart constructor.

Constructors

ListDevices' 

Fields

Instances

Instances details
Eq ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Read ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Show ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Generic ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

NFData ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Methods

rnf :: ListDevices -> () #

Hashable ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

AWSPager ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Associated Types

type AWSResponse ListDevices #

ToHeaders ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

type Rep ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

type Rep ListDevices = D1 ('MetaData "ListDevices" "Amazonka.SnowDeviceManagement.ListDevices" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "ListDevices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListDevices Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

newListDevices :: ListDevices Source #

Create a value of ListDevices 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:jobId:ListDevices', listDevices_jobId - The ID of the job used to order the device.

$sel:nextToken:ListDevices', listDevices_nextToken - A pagination token to continue to the next page of results.

$sel:maxResults:ListDevices', listDevices_maxResults - The maximum number of devices to list per page.

Request Lenses

listDevices_jobId :: Lens' ListDevices (Maybe Text) Source #

The ID of the job used to order the device.

listDevices_nextToken :: Lens' ListDevices (Maybe Text) Source #

A pagination token to continue to the next page of results.

listDevices_maxResults :: Lens' ListDevices (Maybe Natural) Source #

The maximum number of devices to list per page.

Destructuring the Response

data ListDevicesResponse Source #

See: newListDevicesResponse smart constructor.

Constructors

ListDevicesResponse' 

Fields

Instances

Instances details
Eq ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Read ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Generic ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

NFData ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDevices

type Rep ListDevicesResponse = D1 ('MetaData "ListDevicesResponse" "Amazonka.SnowDeviceManagement.ListDevices" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "ListDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeviceSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDevicesResponse Source #

Create a value of ListDevicesResponse 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:ListDevices', listDevicesResponse_nextToken - A pagination token to continue to the next page of devices.

$sel:devices:ListDevicesResponse', listDevicesResponse_devices - A list of device structures that contain information about the device.

$sel:httpStatus:ListDevicesResponse', listDevicesResponse_httpStatus - The response's http status code.

Response Lenses

listDevicesResponse_nextToken :: Lens' ListDevicesResponse (Maybe Text) Source #

A pagination token to continue to the next page of devices.

listDevicesResponse_devices :: Lens' ListDevicesResponse (Maybe [DeviceSummary]) Source #

A list of device structures that contain information about the device.