amazonka-devicefarm-1.6.1: 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 # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Data UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Generic UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfile :: Type -> Type #

Hashable UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

ToJSON UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

AWSRequest UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rs UpdateInstanceProfile :: Type #

ToHeaders UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

ToPath UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

ToQuery UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

NFData UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Methods

rnf :: UpdateInstanceProfile -> () #

type Rep UpdateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

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

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Data UpdateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Generic UpdateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfileResponse :: Type -> Type #

NFData UpdateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfileResponse = D1 (MetaData "UpdateInstanceProfileResponse" "Network.AWS.DeviceFarm.UpdateInstanceProfile" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "UpdateInstanceProfileResponse'" PrefixI True) (S1 (MetaSel (Just "_uiprsInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceProfile)) :*: S1 (MetaSel (Just "_uiprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

An object containing information about your instance profile.