| 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.AdminGetDevice
Description
Gets the device, as an administrator.
- adminGetDevice :: Text -> Text -> Text -> AdminGetDevice
- data AdminGetDevice
- agdDeviceKey :: Lens' AdminGetDevice Text
- agdUserPoolId :: Lens' AdminGetDevice Text
- agdUsername :: Lens' AdminGetDevice Text
- adminGetDeviceResponse :: Int -> DeviceType -> AdminGetDeviceResponse
- data AdminGetDeviceResponse
- agdrsResponseStatus :: Lens' AdminGetDeviceResponse Int
- agdrsDevice :: Lens' AdminGetDeviceResponse DeviceType
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> AdminGetDevice |
Creates a value of AdminGetDevice with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminGetDevice Source #
Represents the request to get the device, as an administrator.
See: adminGetDevice smart constructor.
Instances
Request Lenses
agdDeviceKey :: Lens' AdminGetDevice Text Source #
The device key.
agdUserPoolId :: Lens' AdminGetDevice Text Source #
The user pool ID.
agdUsername :: Lens' AdminGetDevice Text Source #
The user name.
Destructuring the Response
adminGetDeviceResponse Source #
Arguments
| :: Int | |
| -> DeviceType | |
| -> AdminGetDeviceResponse |
Creates a value of AdminGetDeviceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminGetDeviceResponse Source #
Gets the device response, as an administrator.
See: adminGetDeviceResponse smart constructor.
Response Lenses
agdrsResponseStatus :: Lens' AdminGetDeviceResponse Int Source #
The response status code.
agdrsDevice :: Lens' AdminGetDeviceResponse DeviceType Source #
The device.