| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.DeviceFarm.CreateInstanceProfile
Description
Creates a profile that can be applied to one or more private fleet device instances.
- createInstanceProfile :: Text -> CreateInstanceProfile
- data CreateInstanceProfile
- cipRebootAfterUse :: Lens' CreateInstanceProfile (Maybe Bool)
- cipPackageCleanup :: Lens' CreateInstanceProfile (Maybe Bool)
- cipExcludeAppPackagesFromCleanup :: Lens' CreateInstanceProfile [Text]
- cipDescription :: Lens' CreateInstanceProfile (Maybe Text)
- cipName :: Lens' CreateInstanceProfile Text
- createInstanceProfileResponse :: Int -> CreateInstanceProfileResponse
- data CreateInstanceProfileResponse
- ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile)
- ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int
Creating a Request
createInstanceProfile Source #
Arguments
| :: Text | |
| -> CreateInstanceProfile |
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 totrue, Device Farm will reboot the instance after a test run. The default value istrue.cipPackageCleanup- When set totrue, Device Farm will remove app packages after a test run. The default value isfalsefor 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 setpackageCleanuptotrue.cipDescription- The description of your instance profile.cipName- The name of your instance profile.
data CreateInstanceProfile Source #
See: createInstanceProfile smart constructor.
Instances
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.
Destructuring the Response
createInstanceProfileResponse Source #
Arguments
| :: Int | |
| -> CreateInstanceProfileResponse |
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:
ciprsInstanceProfile- An object containing information about your instance profile.ciprsResponseStatus- -- | The response status code.
data CreateInstanceProfileResponse Source #
See: createInstanceProfileResponse smart constructor.
Instances
Response Lenses
ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile) Source #
An object containing information about your instance profile.
ciprsResponseStatus :: Lens' CreateInstanceProfileResponse Int Source #
- - | The response status code.