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

Description

Disassociates a device from your AWS account using its device ID.

Synopsis

Creating a Request

data UnclaimDevice Source #

See: newUnclaimDevice smart constructor.

Constructors

UnclaimDevice' 

Fields

Instances

Instances details
Eq UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Read UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Show UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Generic UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Associated Types

type Rep UnclaimDevice :: Type -> Type #

NFData UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Methods

rnf :: UnclaimDevice -> () #

Hashable UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

ToJSON UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

AWSRequest UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Associated Types

type AWSResponse UnclaimDevice #

ToHeaders UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

ToPath UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

ToQuery UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

type Rep UnclaimDevice Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

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

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

newUnclaimDevice Source #

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

Request Lenses

unclaimDevice_deviceId :: Lens' UnclaimDevice Text Source #

The unique identifier of the device.

Destructuring the Response

data UnclaimDeviceResponse Source #

See: newUnclaimDeviceResponse smart constructor.

Constructors

UnclaimDeviceResponse' 

Fields

Instances

Instances details
Eq UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Read UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Show UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Generic UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Associated Types

type Rep UnclaimDeviceResponse :: Type -> Type #

NFData UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

Methods

rnf :: UnclaimDeviceResponse -> () #

type Rep UnclaimDeviceResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.UnclaimDevice

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

newUnclaimDeviceResponse Source #

Create a value of UnclaimDeviceResponse 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:state:UnclaimDeviceResponse', unclaimDeviceResponse_state - The device's final claim state.

$sel:httpStatus:UnclaimDeviceResponse', unclaimDeviceResponse_httpStatus - The response's http status code.

Response Lenses