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

Description

Given a device ID, finalizes the claim request for the associated device.

Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.

Synopsis

Creating a Request

data FinalizeDeviceClaim Source #

See: newFinalizeDeviceClaim smart constructor.

Constructors

FinalizeDeviceClaim' 

Fields

Instances

Instances details
Eq FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Read FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Show FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Generic FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Associated Types

type Rep FinalizeDeviceClaim :: Type -> Type #

NFData FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Methods

rnf :: FinalizeDeviceClaim -> () #

Hashable FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

ToJSON FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

AWSRequest FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Associated Types

type AWSResponse FinalizeDeviceClaim #

ToHeaders FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

ToPath FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

ToQuery FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

type Rep FinalizeDeviceClaim Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

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

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

newFinalizeDeviceClaim Source #

Create a value of FinalizeDeviceClaim 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:tags:FinalizeDeviceClaim', finalizeDeviceClaim_tags - A collection of key/value pairs defining the resource tags. For example, { "tags": {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.

$sel:deviceId:FinalizeDeviceClaim', finalizeDeviceClaim_deviceId - The unique identifier of the device.

Request Lenses

finalizeDeviceClaim_tags :: Lens' FinalizeDeviceClaim (Maybe (HashMap Text Text)) Source #

A collection of key/value pairs defining the resource tags. For example, { "tags": {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.

finalizeDeviceClaim_deviceId :: Lens' FinalizeDeviceClaim Text Source #

The unique identifier of the device.

Destructuring the Response

data FinalizeDeviceClaimResponse Source #

See: newFinalizeDeviceClaimResponse smart constructor.

Constructors

FinalizeDeviceClaimResponse' 

Fields

Instances

Instances details
Eq FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Read FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Show FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Generic FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

Associated Types

type Rep FinalizeDeviceClaimResponse :: Type -> Type #

NFData FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

type Rep FinalizeDeviceClaimResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.FinalizeDeviceClaim

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

newFinalizeDeviceClaimResponse Source #

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

$sel:httpStatus:FinalizeDeviceClaimResponse', finalizeDeviceClaimResponse_httpStatus - The response's http status code.

Response Lenses