| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.Types.InstanceProfile
Description
Synopsis
- data InstanceProfile = InstanceProfile' {}
- newInstanceProfile :: InstanceProfile
- instanceProfile_arn :: Lens' InstanceProfile (Maybe Text)
- instanceProfile_description :: Lens' InstanceProfile (Maybe Text)
- instanceProfile_excludeAppPackagesFromCleanup :: Lens' InstanceProfile (Maybe [Text])
- instanceProfile_name :: Lens' InstanceProfile (Maybe Text)
- instanceProfile_packageCleanup :: Lens' InstanceProfile (Maybe Bool)
- instanceProfile_rebootAfterUse :: Lens' InstanceProfile (Maybe Bool)
Documentation
data InstanceProfile Source #
Represents the instance profile.
See: newInstanceProfile smart constructor.
Constructors
| InstanceProfile' | |
Fields
| |
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:description:InstanceProfile', instanceProfile_description - The description of the instance profile.
$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: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:rebootAfterUse:InstanceProfile', instanceProfile_rebootAfterUse - When set to true, Device Farm reboots the instance after a test run.
The default value is true.
instanceProfile_arn :: Lens' InstanceProfile (Maybe Text) Source #
The Amazon Resource Name (ARN) of the instance profile.
instanceProfile_description :: Lens' InstanceProfile (Maybe Text) Source #
The description of the instance profile.
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_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_rebootAfterUse :: Lens' InstanceProfile (Maybe Bool) Source #
When set to true, Device Farm reboots the instance after a test run.
The default value is true.