| 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.CreateInstanceProfile
Description
Creates a profile that can be applied to one or more private fleet device instances.
Synopsis
- data CreateInstanceProfile = CreateInstanceProfile' {}
- newCreateInstanceProfile :: Text -> CreateInstanceProfile
- createInstanceProfile_description :: Lens' CreateInstanceProfile (Maybe Text)
- createInstanceProfile_excludeAppPackagesFromCleanup :: Lens' CreateInstanceProfile (Maybe [Text])
- createInstanceProfile_packageCleanup :: Lens' CreateInstanceProfile (Maybe Bool)
- createInstanceProfile_rebootAfterUse :: Lens' CreateInstanceProfile (Maybe Bool)
- createInstanceProfile_name :: Lens' CreateInstanceProfile Text
- data CreateInstanceProfileResponse = CreateInstanceProfileResponse' {}
- newCreateInstanceProfileResponse :: Int -> CreateInstanceProfileResponse
- createInstanceProfileResponse_instanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile)
- createInstanceProfileResponse_httpStatus :: Lens' CreateInstanceProfileResponse Int
Creating a Request
data CreateInstanceProfile Source #
See: newCreateInstanceProfile smart constructor.
Constructors
| CreateInstanceProfile' | |
Fields
| |
Instances
newCreateInstanceProfile Source #
Arguments
| :: Text | |
| -> CreateInstanceProfile |
Create a value of CreateInstanceProfile 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:
CreateInstanceProfile, createInstanceProfile_description - The description of your instance profile.
CreateInstanceProfile, createInstanceProfile_excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should
not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to
true.
CreateInstanceProfile, createInstanceProfile_packageCleanup - When set to true, Device Farm removes app packages after a test run.
The default value is false for private devices.
CreateInstanceProfile, createInstanceProfile_rebootAfterUse - When set to true, Device Farm reboots the instance after a test run.
The default value is true.
CreateInstanceProfile, createInstanceProfile_name - The name of your instance profile.
Request Lenses
createInstanceProfile_description :: Lens' CreateInstanceProfile (Maybe Text) Source #
The description of your instance profile.
createInstanceProfile_excludeAppPackagesFromCleanup :: Lens' CreateInstanceProfile (Maybe [Text]) Source #
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to
true.
createInstanceProfile_packageCleanup :: Lens' CreateInstanceProfile (Maybe Bool) Source #
When set to true, Device Farm removes app packages after a test run.
The default value is false for private devices.
createInstanceProfile_rebootAfterUse :: Lens' CreateInstanceProfile (Maybe Bool) Source #
When set to true, Device Farm reboots the instance after a test run.
The default value is true.
createInstanceProfile_name :: Lens' CreateInstanceProfile Text Source #
The name of your instance profile.
Destructuring the Response
data CreateInstanceProfileResponse Source #
See: newCreateInstanceProfileResponse smart constructor.
Constructors
| CreateInstanceProfileResponse' | |
Fields
| |
Instances
newCreateInstanceProfileResponse Source #
Create a value of CreateInstanceProfileResponse 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:
CreateInstanceProfileResponse, createInstanceProfileResponse_instanceProfile - An object that contains information about your instance profile.
$sel:httpStatus:CreateInstanceProfileResponse', createInstanceProfileResponse_httpStatus - The response's http status code.
Response Lenses
createInstanceProfileResponse_instanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile) Source #
An object that contains information about your instance profile.
createInstanceProfileResponse_httpStatus :: Lens' CreateInstanceProfileResponse Int Source #
The response's http status code.