Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InstanceProfile = InstanceProfile' {}
- newInstanceProfile :: InstanceProfile
- instanceProfile_arn :: Lens' InstanceProfile (Maybe Text)
- instanceProfile_rebootAfterUse :: Lens' InstanceProfile (Maybe Bool)
- instanceProfile_name :: Lens' InstanceProfile (Maybe Text)
- instanceProfile_packageCleanup :: Lens' InstanceProfile (Maybe Bool)
- instanceProfile_excludeAppPackagesFromCleanup :: Lens' InstanceProfile (Maybe [Text])
- instanceProfile_description :: Lens' InstanceProfile (Maybe Text)
Documentation
data InstanceProfile Source #
Represents the instance profile.
See: newInstanceProfile
smart constructor.
InstanceProfile' | |
|
Instances
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.