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

Contents

Description

Updates information about an existing private device instance profile.

Synopsis

Creating a Request

updateInstanceProfile Source #

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

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

  • uipRebootAfterUse - The updated choice for whether you want to reboot the device after use. The default value is true .
  • uipName - The updated name for your instance profile.
  • uipPackageCleanup - The updated choice for whether you want to specify package cleanup. The default value is false for private devices.
  • uipExcludeAppPackagesFromCleanup - An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over. The list of packages is only considered if you set packageCleanup to true .
  • uipDescription - The updated description for your instance profile.
  • uipArn - The Amazon Resource Name (ARN) of the instance profile.

data UpdateInstanceProfile Source #

See: updateInstanceProfile smart constructor.

Instances

Eq UpdateInstanceProfile Source # 
Data UpdateInstanceProfile Source # 

Methods

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

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

toConstr :: UpdateInstanceProfile -> Constr #

dataTypeOf :: UpdateInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateInstanceProfile -> () #

AWSRequest UpdateInstanceProfile Source # 
ToHeaders UpdateInstanceProfile Source # 
ToPath UpdateInstanceProfile Source # 
ToQuery UpdateInstanceProfile Source # 
type Rep UpdateInstanceProfile Source # 
type Rep UpdateInstanceProfile = D1 * (MetaData "UpdateInstanceProfile" "Network.AWS.DeviceFarm.UpdateInstanceProfile" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "UpdateInstanceProfile'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uipRebootAfterUse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uipName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uipPackageCleanup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uipExcludeAppPackagesFromCleanup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uipDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uipArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateInstanceProfile Source # 

Request Lenses

uipRebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool) Source #

The updated choice for whether you want to reboot the device after use. The default value is true .

uipName :: Lens' UpdateInstanceProfile (Maybe Text) Source #

The updated name for your instance profile.

uipPackageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool) Source #

The updated choice for whether you want to specify package cleanup. The default value is false for private devices.

uipExcludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile [Text] Source #

An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over. The list of packages is only considered if you set packageCleanup to true .

uipDescription :: Lens' UpdateInstanceProfile (Maybe Text) Source #

The updated description for your instance profile.

uipArn :: Lens' UpdateInstanceProfile Text Source #

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

Destructuring the Response

updateInstanceProfileResponse Source #

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

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

data UpdateInstanceProfileResponse Source #

See: updateInstanceProfileResponse smart constructor.

Instances

Eq UpdateInstanceProfileResponse Source # 
Data UpdateInstanceProfileResponse Source # 

Methods

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

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

toConstr :: UpdateInstanceProfileResponse -> Constr #

dataTypeOf :: UpdateInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

uiprsInstanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile) Source #

An object containing information about your instance profile.