Copyright | (c) 2013-2021 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 |
Confirms tracking of the device. This API call is the call that begins device tracking.
Synopsis
- data ConfirmDevice = ConfirmDevice' {}
- newConfirmDevice :: Text -> Text -> ConfirmDevice
- confirmDevice_deviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType)
- confirmDevice_deviceName :: Lens' ConfirmDevice (Maybe Text)
- confirmDevice_accessToken :: Lens' ConfirmDevice Text
- confirmDevice_deviceKey :: Lens' ConfirmDevice Text
- data ConfirmDeviceResponse = ConfirmDeviceResponse' {}
- newConfirmDeviceResponse :: Int -> ConfirmDeviceResponse
- confirmDeviceResponse_userConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool)
- confirmDeviceResponse_httpStatus :: Lens' ConfirmDeviceResponse Int
Creating a Request
data ConfirmDevice Source #
Confirms the device request.
See: newConfirmDevice
smart constructor.
ConfirmDevice' | |
|
Instances
Create a value of ConfirmDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deviceSecretVerifierConfig:ConfirmDevice'
, confirmDevice_deviceSecretVerifierConfig
- The configuration of the device secret verifier.
$sel:deviceName:ConfirmDevice'
, confirmDevice_deviceName
- The device name.
$sel:accessToken:ConfirmDevice'
, confirmDevice_accessToken
- The access token.
$sel:deviceKey:ConfirmDevice'
, confirmDevice_deviceKey
- The device key.
Request Lenses
confirmDevice_deviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType) Source #
The configuration of the device secret verifier.
confirmDevice_deviceName :: Lens' ConfirmDevice (Maybe Text) Source #
The device name.
confirmDevice_accessToken :: Lens' ConfirmDevice Text Source #
The access token.
confirmDevice_deviceKey :: Lens' ConfirmDevice Text Source #
The device key.
Destructuring the Response
data ConfirmDeviceResponse Source #
Confirms the device response.
See: newConfirmDeviceResponse
smart constructor.
ConfirmDeviceResponse' | |
|
Instances
newConfirmDeviceResponse Source #
Create a value of ConfirmDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userConfirmationNecessary:ConfirmDeviceResponse'
, confirmDeviceResponse_userConfirmationNecessary
- Indicates whether the user confirmation is necessary to confirm the
device response.
$sel:httpStatus:ConfirmDeviceResponse'
, confirmDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
confirmDeviceResponse_userConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool) Source #
Indicates whether the user confirmation is necessary to confirm the device response.
confirmDeviceResponse_httpStatus :: Lens' ConfirmDeviceResponse Int Source #
The response's http status code.