Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates the device name by device ARN.
Creating a Request
updateDevice :: UpdateDevice Source #
Creates a value of UpdateDevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udDeviceARN
- The ARN of the device to update. Required.udDeviceName
- The updated device name. Required.
data UpdateDevice Source #
See: updateDevice
smart constructor.
Request Lenses
udDeviceARN :: Lens' UpdateDevice (Maybe Text) Source #
The ARN of the device to update. Required.
udDeviceName :: Lens' UpdateDevice (Maybe Text) Source #
The updated device name. Required.
Destructuring the Response
Creates a value of UpdateDeviceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udrsResponseStatus
- -- | The response status code.
data UpdateDeviceResponse Source #
See: updateDeviceResponse
smart constructor.
Response Lenses
udrsResponseStatus :: Lens' UpdateDeviceResponse Int Source #
- - | The response status code.