Copyright | (c) 2013-2021 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 |
Updates information about an existing private device instance profile.
Synopsis
- data UpdateInstanceProfile = UpdateInstanceProfile' {
- rebootAfterUse :: Maybe Bool
- name :: Maybe Text
- packageCleanup :: Maybe Bool
- excludeAppPackagesFromCleanup :: Maybe [Text]
- description :: Maybe Text
- arn :: Text
- newUpdateInstanceProfile :: Text -> UpdateInstanceProfile
- updateInstanceProfile_rebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool)
- updateInstanceProfile_name :: Lens' UpdateInstanceProfile (Maybe Text)
- updateInstanceProfile_packageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool)
- updateInstanceProfile_excludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile (Maybe [Text])
- updateInstanceProfile_description :: Lens' UpdateInstanceProfile (Maybe Text)
- 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.
UpdateInstanceProfile' | |
|
Instances
newUpdateInstanceProfile Source #
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:
$sel:rebootAfterUse:UpdateInstanceProfile'
, updateInstanceProfile_rebootAfterUse
- The updated choice for whether you want to reboot the device after use.
The default value is true
.
$sel:name:UpdateInstanceProfile'
, updateInstanceProfile_name
- The updated name for your instance profile.
$sel:packageCleanup:UpdateInstanceProfile'
, updateInstanceProfile_packageCleanup
- The updated choice for whether you want to specify package cleanup. The
default value is false
for private devices.
$sel:excludeAppPackagesFromCleanup: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
.
$sel:description:UpdateInstanceProfile'
, updateInstanceProfile_description
- The updated description for your instance profile.
$sel:arn:UpdateInstanceProfile'
, updateInstanceProfile_arn
- The Amazon Resource Name (ARN) of the instance profile.
Request Lenses
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_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_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_description :: Lens' UpdateInstanceProfile (Maybe Text) Source #
The updated description for your instance profile.
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.
UpdateInstanceProfileResponse' | |
|
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:
$sel:instanceProfile: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.