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 the device name by device ARN.
Synopsis
- data UpdateDevice = UpdateDevice' {}
- newUpdateDevice :: UpdateDevice
- updateDevice_deviceArn :: Lens' UpdateDevice (Maybe Text)
- updateDevice_deviceName :: Lens' UpdateDevice (Maybe Text)
- data UpdateDeviceResponse = UpdateDeviceResponse' {
- httpStatus :: Int
- newUpdateDeviceResponse :: Int -> UpdateDeviceResponse
- updateDeviceResponse_httpStatus :: Lens' UpdateDeviceResponse Int
Creating a Request
data UpdateDevice Source #
See: newUpdateDevice
smart constructor.
Instances
newUpdateDevice :: UpdateDevice Source #
Create a value of UpdateDevice
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:deviceArn:UpdateDevice'
, updateDevice_deviceArn
- The ARN of the device to update. Required.
$sel:deviceName:UpdateDevice'
, updateDevice_deviceName
- The updated device name. Required.
Request Lenses
updateDevice_deviceArn :: Lens' UpdateDevice (Maybe Text) Source #
The ARN of the device to update. Required.
updateDevice_deviceName :: Lens' UpdateDevice (Maybe Text) Source #
The updated device name. Required.
Destructuring the Response
data UpdateDeviceResponse Source #
See: newUpdateDeviceResponse
smart constructor.
UpdateDeviceResponse' | |
|
Instances
newUpdateDeviceResponse Source #
Create a value of UpdateDeviceResponse
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:UpdateDeviceResponse'
, updateDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
updateDeviceResponse_httpStatus :: Lens' UpdateDeviceResponse Int Source #
The response's http status code.