amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DeviceFarm.UpdateDeviceInstance

Description

Updates information about a private device instance.

Synopsis

Creating a Request

data UpdateDeviceInstance Source #

See: newUpdateDeviceInstance smart constructor.

Constructors

UpdateDeviceInstance' 

Fields

  • labels :: Maybe [Text]

    An array of strings that you want to associate with the device instance.

  • profileArn :: Maybe Text

    The ARN of the profile that you want to associate with the device instance.

  • arn :: Text

    The Amazon Resource Name (ARN) of the device instance.

Instances

Instances details
ToJSON UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

ToHeaders UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

ToPath UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

ToQuery UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

AWSRequest UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Associated Types

type AWSResponse UpdateDeviceInstance #

Generic UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Associated Types

type Rep UpdateDeviceInstance :: Type -> Type #

Read UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Show UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

NFData UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Methods

rnf :: UpdateDeviceInstance -> () #

Eq UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Hashable UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

type AWSResponse UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

type Rep UpdateDeviceInstance Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

type Rep UpdateDeviceInstance = D1 ('MetaData "UpdateDeviceInstance" "Amazonka.DeviceFarm.UpdateDeviceInstance" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateDeviceInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "profileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateDeviceInstance Source #

Create a value of UpdateDeviceInstance 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:

UpdateDeviceInstance, updateDeviceInstance_labels - An array of strings that you want to associate with the device instance.

$sel:profileArn:UpdateDeviceInstance', updateDeviceInstance_profileArn - The ARN of the profile that you want to associate with the device instance.

UpdateDeviceInstance, updateDeviceInstance_arn - The Amazon Resource Name (ARN) of the device instance.

Request Lenses

updateDeviceInstance_labels :: Lens' UpdateDeviceInstance (Maybe [Text]) Source #

An array of strings that you want to associate with the device instance.

updateDeviceInstance_profileArn :: Lens' UpdateDeviceInstance (Maybe Text) Source #

The ARN of the profile that you want to associate with the device instance.

updateDeviceInstance_arn :: Lens' UpdateDeviceInstance Text Source #

The Amazon Resource Name (ARN) of the device instance.

Destructuring the Response

data UpdateDeviceInstanceResponse Source #

See: newUpdateDeviceInstanceResponse smart constructor.

Constructors

UpdateDeviceInstanceResponse' 

Fields

Instances

Instances details
Generic UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Associated Types

type Rep UpdateDeviceInstanceResponse :: Type -> Type #

Read UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Show UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

NFData UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

Eq UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

type Rep UpdateDeviceInstanceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateDeviceInstance

type Rep UpdateDeviceInstanceResponse = D1 ('MetaData "UpdateDeviceInstanceResponse" "Amazonka.DeviceFarm.UpdateDeviceInstance" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateDeviceInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceInstance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDeviceInstanceResponse Source #

Create a value of UpdateDeviceInstanceResponse 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:deviceInstance:UpdateDeviceInstanceResponse', updateDeviceInstanceResponse_deviceInstance - An object that contains information about your device instance.

$sel:httpStatus:UpdateDeviceInstanceResponse', updateDeviceInstanceResponse_httpStatus - The response's http status code.

Response Lenses

updateDeviceInstanceResponse_deviceInstance :: Lens' UpdateDeviceInstanceResponse (Maybe DeviceInstance) Source #

An object that contains information about your device instance.