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

Amazonka.DeviceFarm.Types.InstanceProfile

Description

 
Synopsis

Documentation

data InstanceProfile Source #

Represents the instance profile.

See: newInstanceProfile smart constructor.

Constructors

InstanceProfile' 

Fields

  • arn :: Maybe Text

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

  • rebootAfterUse :: Maybe Bool

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

  • name :: Maybe Text

    The name of the instance profile.

  • packageCleanup :: Maybe Bool

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

  • excludeAppPackagesFromCleanup :: Maybe [Text]

    An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.

    The list of packages is considered only if you set packageCleanup to true.

  • description :: Maybe Text

    The description of the instance profile.

Instances

Instances details
Eq InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

Read InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

Show InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

Generic InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

Associated Types

type Rep InstanceProfile :: Type -> Type #

NFData InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

Methods

rnf :: InstanceProfile -> () #

Hashable InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

FromJSON InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

type Rep InstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.InstanceProfile

type Rep InstanceProfile = D1 ('MetaData "InstanceProfile" "Amazonka.DeviceFarm.Types.InstanceProfile" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "InstanceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rebootAfterUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "packageCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "excludeAppPackagesFromCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newInstanceProfile :: InstanceProfile Source #

Create a value of InstanceProfile 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:arn:InstanceProfile', instanceProfile_arn - The Amazon Resource Name (ARN) of the instance profile.

$sel:rebootAfterUse:InstanceProfile', instanceProfile_rebootAfterUse - When set to true, Device Farm reboots the instance after a test run. The default value is true.

$sel:name:InstanceProfile', instanceProfile_name - The name of the instance profile.

$sel:packageCleanup:InstanceProfile', instanceProfile_packageCleanup - When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

$sel:excludeAppPackagesFromCleanup:InstanceProfile', instanceProfile_excludeAppPackagesFromCleanup - An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.

The list of packages is considered only if you set packageCleanup to true.

$sel:description:InstanceProfile', instanceProfile_description - The description of the instance profile.

instanceProfile_arn :: Lens' InstanceProfile (Maybe Text) Source #

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

instanceProfile_rebootAfterUse :: Lens' InstanceProfile (Maybe Bool) Source #

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

instanceProfile_name :: Lens' InstanceProfile (Maybe Text) Source #

The name of the instance profile.

instanceProfile_packageCleanup :: Lens' InstanceProfile (Maybe Bool) Source #

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

instanceProfile_excludeAppPackagesFromCleanup :: Lens' InstanceProfile (Maybe [Text]) Source #

An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.

The list of packages is considered only if you set packageCleanup to true.

instanceProfile_description :: Lens' InstanceProfile (Maybe Text) Source #

The description of the instance profile.