libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.AssociateDeviceWithRoom

Description

Associates a device with a given room. This applies all the settings from the room profile to the device, and all the skills in any skill groups added to that room. This operation requires the device to be online, or else a manual sync is required.

Synopsis

Creating a Request

data AssociateDeviceWithRoom Source #

See: newAssociateDeviceWithRoom smart constructor.

Constructors

AssociateDeviceWithRoom' 

Fields

Instances

Instances details
Eq AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Read AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Show AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Generic AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Associated Types

type Rep AssociateDeviceWithRoom :: Type -> Type #

NFData AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Methods

rnf :: AssociateDeviceWithRoom -> () #

Hashable AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

ToJSON AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

AWSRequest AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

ToHeaders AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

ToPath AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

ToQuery AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoom = D1 ('MetaData "AssociateDeviceWithRoom" "Amazonka.AlexaBusiness.AssociateDeviceWithRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "AssociateDeviceWithRoom'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roomArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse AssociateDeviceWithRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

newAssociateDeviceWithRoom :: AssociateDeviceWithRoom Source #

Create a value of AssociateDeviceWithRoom 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:deviceArn:AssociateDeviceWithRoom', associateDeviceWithRoom_deviceArn - The ARN of the device to associate to a room. Required.

$sel:roomArn:AssociateDeviceWithRoom', associateDeviceWithRoom_roomArn - The ARN of the room with which to associate the device. Required.

Request Lenses

associateDeviceWithRoom_deviceArn :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #

The ARN of the device to associate to a room. Required.

associateDeviceWithRoom_roomArn :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #

The ARN of the room with which to associate the device. Required.

Destructuring the Response

data AssociateDeviceWithRoomResponse Source #

See: newAssociateDeviceWithRoomResponse smart constructor.

Constructors

AssociateDeviceWithRoomResponse' 

Fields

Instances

Instances details
Eq AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Read AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Show AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Generic AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

Associated Types

type Rep AssociateDeviceWithRoomResponse :: Type -> Type #

NFData AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoomResponse = D1 ('MetaData "AssociateDeviceWithRoomResponse" "Amazonka.AlexaBusiness.AssociateDeviceWithRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "AssociateDeviceWithRoomResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateDeviceWithRoomResponse Source #

Create a value of AssociateDeviceWithRoomResponse 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:httpStatus:AssociateDeviceWithRoomResponse', associateDeviceWithRoomResponse_httpStatus - The response's http status code.

Response Lenses