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 |
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 data containing device fingerprinting details, collected using
the Amazon Cognito context data collection library.
$sel:ipAddress:ContextDataType'
, contextDataType_ipAddress
- Source IP address of your user.
$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 data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.
contextDataType_ipAddress :: Lens' ContextDataType Text Source #
Source IP address of your user.
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.