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 |
Gets the details of a device by device ARN.
Synopsis
Creating a Request
getDevice :: GetDevice Source #
Creates a value of GetDevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDeviceARN
- The ARN of the device for which to request details. Required.
See: getDevice
smart constructor.
Instances
Request Lenses
gdDeviceARN :: Lens' GetDevice (Maybe Text) Source #
The ARN of the device for which to request details. Required.
Destructuring the Response
Creates a value of GetDeviceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsDevice
- The details of the device requested. Required.gdrsResponseStatus
- -- | The response status code.
data GetDeviceResponse Source #
See: getDeviceResponse
smart constructor.
Instances
Response Lenses
gdrsDevice :: Lens' GetDeviceResponse (Maybe Device) Source #
The details of the device requested. Required.
gdrsResponseStatus :: Lens' GetDeviceResponse Int Source #
- - | The response status code.