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

Description

Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.

Synopsis

Creating a Request

data DescribeDevice Source #

See: newDescribeDevice smart constructor.

Constructors

DescribeDevice' 

Fields

Instances

Instances details
Eq DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Read DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Show DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Generic DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Associated Types

type Rep DescribeDevice :: Type -> Type #

NFData DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Methods

rnf :: DescribeDevice -> () #

Hashable DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

AWSRequest DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Associated Types

type AWSResponse DescribeDevice #

ToHeaders DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

ToPath DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

ToQuery DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

type Rep DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

type Rep DescribeDevice = D1 ('MetaData "DescribeDevice" "Amazonka.IoT1ClickDevices.DescribeDevice" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" 'False) (C1 ('MetaCons "DescribeDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

newDescribeDevice Source #

Create a value of DescribeDevice 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:deviceId:DescribeDevice', describeDevice_deviceId - The unique identifier of the device.

Request Lenses

describeDevice_deviceId :: Lens' DescribeDevice Text Source #

The unique identifier of the device.

Destructuring the Response

data DescribeDeviceResponse Source #

See: newDescribeDeviceResponse smart constructor.

Constructors

DescribeDeviceResponse' 

Fields

Instances

Instances details
Eq DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Read DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Show DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Generic DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Associated Types

type Rep DescribeDeviceResponse :: Type -> Type #

NFData DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

Methods

rnf :: DescribeDeviceResponse -> () #

type Rep DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.DescribeDevice

type Rep DescribeDeviceResponse = D1 ('MetaData "DescribeDeviceResponse" "Amazonka.IoT1ClickDevices.DescribeDevice" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" 'False) (C1 ('MetaCons "DescribeDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeDeviceResponse Source #

Create a value of DescribeDeviceResponse 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:deviceDescription:DescribeDeviceResponse', describeDeviceResponse_deviceDescription - Device details.

$sel:httpStatus:DescribeDeviceResponse', describeDeviceResponse_httpStatus - The response's http status code.

Response Lenses