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 |
Synopsis
- data ContextDataType = ContextDataType' {
- encodedData :: Maybe Text
- ipAddress :: Text
- serverName :: Text
- serverPath :: Text
- httpHeaders :: [HttpHeader]
- newContextDataType :: Text -> Text -> Text -> ContextDataType
- contextDataType_encodedData :: Lens' ContextDataType (Maybe Text)
- contextDataType_ipAddress :: Lens' ContextDataType Text
- contextDataType_serverName :: Lens' ContextDataType Text
- contextDataType_serverPath :: Lens' ContextDataType Text
- contextDataType_httpHeaders :: Lens' ContextDataType [HttpHeader]
Documentation
data ContextDataType Source #
Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
See: newContextDataType
smart constructor.
ContextDataType' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> ContextDataType |
Create a value of ContextDataType
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:ContextDataType'
, contextDataType_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:ContextDataType'
, contextDataType_ipAddress
- The source IP address of your user's device.
$sel:serverName:ContextDataType'
, contextDataType_serverName
- Your server endpoint where this API is invoked.
$sel:serverPath:ContextDataType'
, contextDataType_serverPath
- Your server path where this API is invoked.
$sel:httpHeaders:ContextDataType'
, contextDataType_httpHeaders
- HttpHeaders received on your server in same order.
contextDataType_encodedData :: Lens' ContextDataType (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.
contextDataType_ipAddress :: Lens' ContextDataType Text Source #
The source IP address of your user's device.
contextDataType_serverName :: Lens' ContextDataType Text Source #
Your server endpoint where this API is invoked.
contextDataType_serverPath :: Lens' ContextDataType Text Source #
Your server path where this API is invoked.
contextDataType_httpHeaders :: Lens' ContextDataType [HttpHeader] Source #
HttpHeaders received on your server in same order.