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

Description

Updates the device name by device ARN.

Synopsis

Creating a Request

data UpdateDevice Source #

See: newUpdateDevice smart constructor.

Constructors

UpdateDevice' 

Fields

Instances

Instances details
Eq UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Read UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Show UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Generic UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Associated Types

type Rep UpdateDevice :: Type -> Type #

NFData UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Methods

rnf :: UpdateDevice -> () #

Hashable UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

ToJSON UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

AWSRequest UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Associated Types

type AWSResponse UpdateDevice #

ToHeaders UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

ToPath UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

ToQuery UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

type Rep UpdateDevice Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

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

Defined in Amazonka.AlexaBusiness.UpdateDevice

newUpdateDevice :: UpdateDevice Source #

Create a value of UpdateDevice 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:UpdateDevice', updateDevice_deviceArn - The ARN of the device to update. Required.

$sel:deviceName:UpdateDevice', updateDevice_deviceName - The updated device name. Required.

Request Lenses

updateDevice_deviceArn :: Lens' UpdateDevice (Maybe Text) Source #

The ARN of the device to update. Required.

updateDevice_deviceName :: Lens' UpdateDevice (Maybe Text) Source #

The updated device name. Required.

Destructuring the Response

data UpdateDeviceResponse Source #

See: newUpdateDeviceResponse smart constructor.

Constructors

UpdateDeviceResponse' 

Fields

Instances

Instances details
Eq UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Read UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Show UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Generic UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Associated Types

type Rep UpdateDeviceResponse :: Type -> Type #

NFData UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

Methods

rnf :: UpdateDeviceResponse -> () #

type Rep UpdateDeviceResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateDevice

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

newUpdateDeviceResponse Source #

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

Response Lenses