| 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.ConfirmDevice
Description
Confirms tracking of the device. This API call is the call that beings device tracking.
- confirmDevice :: Text -> Text -> ConfirmDevice
- data ConfirmDevice
- cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)
- cdDeviceName :: Lens' ConfirmDevice (Maybe Text)
- cdAccessToken :: Lens' ConfirmDevice Text
- cdDeviceKey :: Lens' ConfirmDevice Text
- confirmDeviceResponse :: Int -> ConfirmDeviceResponse
- data ConfirmDeviceResponse
- cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)
- cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ConfirmDevice |
Creates a value of ConfirmDevice with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdDeviceSecretVerifierConfig- The configuration of the device secret verifier.cdDeviceName- The device name.cdAccessToken- The access token.cdDeviceKey- The device key.
data ConfirmDevice Source #
Confirms the device request.
See: confirmDevice smart constructor.
Instances
Request Lenses
cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType) Source #
The configuration of the device secret verifier.
cdDeviceName :: Lens' ConfirmDevice (Maybe Text) Source #
The device name.
cdAccessToken :: Lens' ConfirmDevice Text Source #
The access token.
cdDeviceKey :: Lens' ConfirmDevice Text Source #
The device key.
Destructuring the Response
confirmDeviceResponse Source #
Arguments
| :: Int | |
| -> ConfirmDeviceResponse |
Creates a value of ConfirmDeviceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdrsUserConfirmationNecessary- Indicates whether the user confirmation is necessary to confirm the device response.cdrsResponseStatus- -- | The response status code.
data ConfirmDeviceResponse Source #
Confirms the device response.
See: confirmDeviceResponse smart constructor.
Response Lenses
cdrsUserConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool) Source #
Indicates whether the user confirmation is necessary to confirm the device response.
cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int Source #
- - | The response status code.