libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices
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.IoT1ClickDevices.ListDevices

Description

Lists the 1-Click compatible devices associated with your AWS account.

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.IoT1ClickDevices.ListDevices

Read ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Show ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Generic ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Associated Types

type Rep ListDevices :: Type -> Type #

NFData ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Methods

rnf :: ListDevices -> () #

Hashable ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

AWSPager ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

AWSRequest ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Associated Types

type AWSResponse ListDevices #

ToHeaders ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Methods

toHeaders :: ListDevices -> [Header] #

ToPath ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

ToQuery ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

type Rep ListDevices Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

type Rep ListDevices = D1 ('MetaData "ListDevices" "Amazonka.IoT1ClickDevices.ListDevices" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" 'False) (C1 ('MetaCons "ListDevices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceType") '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.IoT1ClickDevices.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:nextToken:ListDevices', listDevices_nextToken - The token to retrieve the next set of results.

$sel:deviceType:ListDevices', listDevices_deviceType - The type of the device, such as "button".

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

Request Lenses

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

The token to retrieve the next set of results.

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

The type of the device, such as "button".

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

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

Destructuring the Response

data ListDevicesResponse Source #

See: newListDevicesResponse smart constructor.

Constructors

ListDevicesResponse' 

Fields

Instances

Instances details
Eq ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Read ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Show ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Generic ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

NFData ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

Methods

rnf :: ListDevicesResponse -> () #

type Rep ListDevicesResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.ListDevices

type Rep ListDevicesResponse = D1 ('MetaData "ListDevicesResponse" "Amazonka.IoT1ClickDevices.ListDevices" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" '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 [DeviceDescription])) :*: 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 - The token to retrieve the next set of results.

$sel:devices:ListDevicesResponse', listDevicesResponse_devices - A list of devices.

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

Response Lenses

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

The token to retrieve the next set of results.