| 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 |
Amazonka.WorkLink.UpdateDevicePolicyConfiguration
Description
Updates the device policy configuration for the fleet.
Synopsis
- data UpdateDevicePolicyConfiguration = UpdateDevicePolicyConfiguration' {}
- newUpdateDevicePolicyConfiguration :: Text -> UpdateDevicePolicyConfiguration
- updateDevicePolicyConfiguration_deviceCaCertificate :: Lens' UpdateDevicePolicyConfiguration (Maybe Text)
- updateDevicePolicyConfiguration_fleetArn :: Lens' UpdateDevicePolicyConfiguration Text
- data UpdateDevicePolicyConfigurationResponse = UpdateDevicePolicyConfigurationResponse' {
- httpStatus :: Int
- newUpdateDevicePolicyConfigurationResponse :: Int -> UpdateDevicePolicyConfigurationResponse
- updateDevicePolicyConfigurationResponse_httpStatus :: Lens' UpdateDevicePolicyConfigurationResponse Int
Creating a Request
data UpdateDevicePolicyConfiguration Source #
See: newUpdateDevicePolicyConfiguration smart constructor.
Constructors
| UpdateDevicePolicyConfiguration' | |
Fields
| |
Instances
newUpdateDevicePolicyConfiguration Source #
Create a value of UpdateDevicePolicyConfiguration 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:deviceCaCertificate:UpdateDevicePolicyConfiguration', updateDevicePolicyConfiguration_deviceCaCertificate - The certificate chain, including intermediate certificates and the root
certificate authority certificate used to issue device certificates.
$sel:fleetArn:UpdateDevicePolicyConfiguration', updateDevicePolicyConfiguration_fleetArn - The ARN of the fleet.
Request Lenses
updateDevicePolicyConfiguration_deviceCaCertificate :: Lens' UpdateDevicePolicyConfiguration (Maybe Text) Source #
The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
updateDevicePolicyConfiguration_fleetArn :: Lens' UpdateDevicePolicyConfiguration Text Source #
The ARN of the fleet.
Destructuring the Response
data UpdateDevicePolicyConfigurationResponse Source #
See: newUpdateDevicePolicyConfigurationResponse smart constructor.
Constructors
| UpdateDevicePolicyConfigurationResponse' | |
Fields
| |
Instances
newUpdateDevicePolicyConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateDevicePolicyConfigurationResponse |
Create a value of UpdateDevicePolicyConfigurationResponse 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:httpStatus:UpdateDevicePolicyConfigurationResponse', updateDevicePolicyConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateDevicePolicyConfigurationResponse_httpStatus :: Lens' UpdateDevicePolicyConfigurationResponse Int Source #
The response's http status code.