amazonka-devicefarm-1.6.0: Amazon Device Farm SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DeviceFarm.UpdateDeviceInstance

Contents

Description

Updates information about an existing private device instance.

Synopsis

Creating a Request

updateDeviceInstance Source #

Creates a value of UpdateDeviceInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • udiProfileARN - The Amazon Resource Name (ARN) of the profile that you want to associate with the device instance.
  • udiLabels - An array of strings that you want to associate with the device instance.
  • udiArn - The Amazon Resource Name (ARN) of the device instance.

data UpdateDeviceInstance Source #

See: updateDeviceInstance smart constructor.

Instances

Eq UpdateDeviceInstance Source # 
Data UpdateDeviceInstance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDeviceInstance -> c UpdateDeviceInstance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDeviceInstance #

toConstr :: UpdateDeviceInstance -> Constr #

dataTypeOf :: UpdateDeviceInstance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDeviceInstance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDeviceInstance) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDeviceInstance -> UpdateDeviceInstance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDeviceInstance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDeviceInstance -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDeviceInstance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDeviceInstance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDeviceInstance -> m UpdateDeviceInstance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDeviceInstance -> m UpdateDeviceInstance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDeviceInstance -> m UpdateDeviceInstance #

Read UpdateDeviceInstance Source # 
Show UpdateDeviceInstance Source # 
Generic UpdateDeviceInstance Source # 
Hashable UpdateDeviceInstance Source # 
ToJSON UpdateDeviceInstance Source # 
NFData UpdateDeviceInstance Source # 

Methods

rnf :: UpdateDeviceInstance -> () #

AWSRequest UpdateDeviceInstance Source # 
ToHeaders UpdateDeviceInstance Source # 
ToPath UpdateDeviceInstance Source # 
ToQuery UpdateDeviceInstance Source # 
type Rep UpdateDeviceInstance Source # 
type Rep UpdateDeviceInstance = D1 * (MetaData "UpdateDeviceInstance" "Network.AWS.DeviceFarm.UpdateDeviceInstance" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "UpdateDeviceInstance'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udiProfileARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_udiLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_udiArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateDeviceInstance Source # 

Request Lenses

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

The Amazon Resource Name (ARN) of the profile that you want to associate with the device instance.

udiLabels :: Lens' UpdateDeviceInstance [Text] Source #

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

udiArn :: Lens' UpdateDeviceInstance Text Source #

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

Destructuring the Response

updateDeviceInstanceResponse Source #

Creates a value of UpdateDeviceInstanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateDeviceInstanceResponse Source #

See: updateDeviceInstanceResponse smart constructor.

Instances

Eq UpdateDeviceInstanceResponse Source # 
Data UpdateDeviceInstanceResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateDeviceInstanceResponse -> c UpdateDeviceInstanceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateDeviceInstanceResponse #

toConstr :: UpdateDeviceInstanceResponse -> Constr #

dataTypeOf :: UpdateDeviceInstanceResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateDeviceInstanceResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateDeviceInstanceResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateDeviceInstanceResponse -> UpdateDeviceInstanceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDeviceInstanceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateDeviceInstanceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateDeviceInstanceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateDeviceInstanceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateDeviceInstanceResponse -> m UpdateDeviceInstanceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDeviceInstanceResponse -> m UpdateDeviceInstanceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateDeviceInstanceResponse -> m UpdateDeviceInstanceResponse #

Read UpdateDeviceInstanceResponse Source # 
Show UpdateDeviceInstanceResponse Source # 
Generic UpdateDeviceInstanceResponse Source # 
NFData UpdateDeviceInstanceResponse Source # 
type Rep UpdateDeviceInstanceResponse Source # 
type Rep UpdateDeviceInstanceResponse = D1 * (MetaData "UpdateDeviceInstanceResponse" "Network.AWS.DeviceFarm.UpdateDeviceInstance" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "UpdateDeviceInstanceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udirsDeviceInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DeviceInstance))) (S1 * (MetaSel (Just Symbol "_udirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

An object containing information about your device instance.