| 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.UpdateInstanceProfile
Description
Updates information about an existing private device instance profile.
- updateInstanceProfile :: Text -> UpdateInstanceProfile
- data UpdateInstanceProfile
- uipRebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool)
- uipName :: Lens' UpdateInstanceProfile (Maybe Text)
- uipPackageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool)
- uipExcludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile [Text]
- uipDescription :: Lens' UpdateInstanceProfile (Maybe Text)
- uipArn :: Lens' UpdateInstanceProfile Text
- updateInstanceProfileResponse :: Int -> UpdateInstanceProfileResponse
- data UpdateInstanceProfileResponse
- uiprsInstanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile)
- uiprsResponseStatus :: Lens' UpdateInstanceProfileResponse Int
Creating a Request
updateInstanceProfile Source #
Arguments
| :: Text | |
| -> UpdateInstanceProfile |
Creates a value of UpdateInstanceProfile with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uipRebootAfterUse- The updated choice for whether you want to reboot the device after use. The default value istrue.uipName- The updated name for your instance profile.uipPackageCleanup- The updated choice for whether you want to specify package cleanup. The default value isfalsefor private devices.uipExcludeAppPackagesFromCleanup- 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.uipDescription- The updated description for your instance profile.uipArn- The Amazon Resource Name (ARN) of the instance profile.
data UpdateInstanceProfile Source #
See: updateInstanceProfile smart constructor.
Instances
Request Lenses
uipRebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool) Source #
The updated choice for whether you want to reboot the device after use. The default value is true .
uipName :: Lens' UpdateInstanceProfile (Maybe Text) Source #
The updated name for your instance profile.
uipPackageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool) Source #
The updated choice for whether you want to specify package cleanup. The default value is false for private devices.
uipExcludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile [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 .
uipDescription :: Lens' UpdateInstanceProfile (Maybe Text) Source #
The updated description for your instance profile.
uipArn :: Lens' UpdateInstanceProfile Text Source #
The Amazon Resource Name (ARN) of the instance profile.
Destructuring the Response
updateInstanceProfileResponse Source #
Arguments
| :: Int | |
| -> UpdateInstanceProfileResponse |
Creates a value of UpdateInstanceProfileResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uiprsInstanceProfile- An object containing information about your instance profile.uiprsResponseStatus- -- | The response status code.
data UpdateInstanceProfileResponse Source #
See: updateInstanceProfileResponse smart constructor.
Instances
Response Lenses
uiprsInstanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile) Source #
An object containing information about your instance profile.
uiprsResponseStatus :: Lens' UpdateInstanceProfileResponse Int Source #
- - | The response status code.