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

Contents

Description

Creates a profile that can be applied to one or more private fleet device instances.

Synopsis

Creating a Request

createInstanceProfile Source #

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

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

  • cipRebootAfterUse - When set to true , Device Farm will reboot the instance after a test run. The default value is true .
  • cipPackageCleanup - When set to true , Device Farm will remove app packages after a test run. The default value is false for private devices.
  • cipExcludeAppPackagesFromCleanup - 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 .
  • cipDescription - The description of your instance profile.
  • cipName - The name of your instance profile.

data CreateInstanceProfile Source #

See: createInstanceProfile smart constructor.

Instances
Eq CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Data CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Methods

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

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

toConstr :: CreateInstanceProfile -> Constr #

dataTypeOf :: CreateInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Show CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Generic CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Associated Types

type Rep CreateInstanceProfile :: Type -> Type #

Hashable CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

ToJSON CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

AWSRequest CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Associated Types

type Rs CreateInstanceProfile :: Type #

ToHeaders CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

ToPath CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

ToQuery CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

NFData CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Methods

rnf :: CreateInstanceProfile -> () #

type Rep CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfile = D1 (MetaData "CreateInstanceProfile" "Network.AWS.DeviceFarm.CreateInstanceProfile" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "CreateInstanceProfile'" PrefixI True) ((S1 (MetaSel (Just "_cipRebootAfterUse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cipPackageCleanup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_cipExcludeAppPackagesFromCleanup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_cipDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cipName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateInstanceProfile Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Request Lenses

cipRebootAfterUse :: Lens' CreateInstanceProfile (Maybe Bool) Source #

When set to true , Device Farm will reboot the instance after a test run. The default value is true .

cipPackageCleanup :: Lens' CreateInstanceProfile (Maybe Bool) Source #

When set to true , Device Farm will remove app packages after a test run. The default value is false for private devices.

cipExcludeAppPackagesFromCleanup :: Lens' CreateInstanceProfile [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 .

cipDescription :: Lens' CreateInstanceProfile (Maybe Text) Source #

The description of your instance profile.

cipName :: Lens' CreateInstanceProfile Text Source #

The name of your instance profile.

Destructuring the Response

createInstanceProfileResponse Source #

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

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

data CreateInstanceProfileResponse Source #

See: createInstanceProfileResponse smart constructor.

Instances
Eq CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Data CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Methods

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

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

toConstr :: CreateInstanceProfileResponse -> Constr #

dataTypeOf :: CreateInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Show CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Generic CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

Associated Types

type Rep CreateInstanceProfileResponse :: Type -> Type #

NFData CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.CreateInstanceProfile

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

Response Lenses

ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile) Source #

An object containing information about your instance profile.