| 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.AlexaBusiness.UpdateDevice
Description
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.
Constructors
| UpdateDevice' | |
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:
UpdateDevice, updateDevice_deviceArn - The ARN of the device to update. Required.
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.
Constructors
| UpdateDeviceResponse' | |
Fields
| |
Instances
newUpdateDeviceResponse Source #
Arguments
| :: Int | |
| -> UpdateDeviceResponse |
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.