| 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.UpdateInstanceProfile
Description
Updates information about an existing private device instance profile.
Synopsis
- data UpdateInstanceProfile = UpdateInstanceProfile' {
- description :: Maybe Text
- excludeAppPackagesFromCleanup :: Maybe [Text]
- name :: Maybe Text
- packageCleanup :: Maybe Bool
- rebootAfterUse :: Maybe Bool
- arn :: Text
- newUpdateInstanceProfile :: Text -> UpdateInstanceProfile
- updateInstanceProfile_description :: Lens' UpdateInstanceProfile (Maybe Text)
- updateInstanceProfile_excludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile (Maybe [Text])
- updateInstanceProfile_name :: Lens' UpdateInstanceProfile (Maybe Text)
- updateInstanceProfile_packageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool)
- updateInstanceProfile_rebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool)
- updateInstanceProfile_arn :: Lens' UpdateInstanceProfile Text
- data UpdateInstanceProfileResponse = UpdateInstanceProfileResponse' {}
- newUpdateInstanceProfileResponse :: Int -> UpdateInstanceProfileResponse
- updateInstanceProfileResponse_instanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile)
- updateInstanceProfileResponse_httpStatus :: Lens' UpdateInstanceProfileResponse Int
Creating a Request
data UpdateInstanceProfile Source #
See: newUpdateInstanceProfile smart constructor.
Constructors
| UpdateInstanceProfile' | |
Fields
| |
Instances
newUpdateInstanceProfile Source #
Arguments
| :: Text | |
| -> UpdateInstanceProfile |
Create a value of UpdateInstanceProfile 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:
UpdateInstanceProfile, updateInstanceProfile_description - The updated description for your instance profile.
UpdateInstanceProfile, updateInstanceProfile_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 is over.
The list of packages is only considered if you set packageCleanup to
true.
UpdateInstanceProfile, updateInstanceProfile_name - The updated name for your instance profile.
UpdateInstanceProfile, updateInstanceProfile_packageCleanup - The updated choice for whether you want to specify package cleanup. The
default value is false for private devices.
UpdateInstanceProfile, updateInstanceProfile_rebootAfterUse - The updated choice for whether you want to reboot the device after use.
The default value is true.
UpdateInstanceProfile, updateInstanceProfile_arn - The Amazon Resource Name (ARN) of the instance profile.
Request Lenses
updateInstanceProfile_description :: Lens' UpdateInstanceProfile (Maybe Text) Source #
The updated description for your instance profile.
updateInstanceProfile_excludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile (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 is over.
The list of packages is only considered if you set packageCleanup to
true.
updateInstanceProfile_name :: Lens' UpdateInstanceProfile (Maybe Text) Source #
The updated name for your instance profile.
updateInstanceProfile_packageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool) Source #
The updated choice for whether you want to specify package cleanup. The
default value is false for private devices.
updateInstanceProfile_rebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool) Source #
The updated choice for whether you want to reboot the device after use.
The default value is true.
updateInstanceProfile_arn :: Lens' UpdateInstanceProfile Text Source #
The Amazon Resource Name (ARN) of the instance profile.
Destructuring the Response
data UpdateInstanceProfileResponse Source #
See: newUpdateInstanceProfileResponse smart constructor.
Constructors
| UpdateInstanceProfileResponse' | |
Fields
| |
Instances
newUpdateInstanceProfileResponse Source #
Create a value of UpdateInstanceProfileResponse 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:
UpdateInstanceProfileResponse, updateInstanceProfileResponse_instanceProfile - An object that contains information about your instance profile.
$sel:httpStatus:UpdateInstanceProfileResponse', updateInstanceProfileResponse_httpStatus - The response's http status code.
Response Lenses
updateInstanceProfileResponse_instanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile) Source #
An object that contains information about your instance profile.
updateInstanceProfileResponse_httpStatus :: Lens' UpdateInstanceProfileResponse Int Source #
The response's http status code.