Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data UserContextDataType Source #
Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
See: newUserContextDataType
smart constructor.
UserContextDataType' | |
|
Instances
newUserContextDataType :: UserContextDataType Source #
Create a value of UserContextDataType
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:encodedData:UserContextDataType'
, userContextDataType_encodedData
- Encoded device-fingerprint details that your app collected with the
Amazon Cognito context data collection library. For more information,
see
Adding user device and session data to API requests.
$sel:ipAddress:UserContextDataType'
, userContextDataType_ipAddress
- The source IP address of your user's device.
userContextDataType_encodedData :: Lens' UserContextDataType (Maybe Text) Source #
Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.
userContextDataType_ipAddress :: Lens' UserContextDataType (Maybe Text) Source #
The source IP address of your user's device.