| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.GetDevice
Description
Gets the device.
- getDevice :: Text -> GetDevice
- data GetDevice
- gdAccessToken :: Lens' GetDevice (Maybe Text)
- gdDeviceKey :: Lens' GetDevice Text
- getDeviceResponse :: Int -> DeviceType -> GetDeviceResponse
- data GetDeviceResponse
- gdrsResponseStatus :: Lens' GetDeviceResponse Int
- gdrsDevice :: Lens' GetDeviceResponse DeviceType
Creating a Request
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:
Represents the request to get the device.
See: getDevice smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> DeviceType | |
| -> GetDeviceResponse |
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:
data GetDeviceResponse Source #
Gets the device response.
See: getDeviceResponse smart constructor.
Response Lenses
gdrsResponseStatus :: Lens' GetDeviceResponse Int Source #
The response status code.
gdrsDevice :: Lens' GetDeviceResponse DeviceType Source #
The device.