amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.Types.ContextDataType

Description

 
Synopsis

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.

Constructors

ContextDataType' 

Fields

Instances

Instances details
ToJSON ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Generic ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Associated Types

type Rep ContextDataType :: Type -> Type #

Read ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Show ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

NFData ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Methods

rnf :: ContextDataType -> () #

Eq ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Hashable ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

type Rep ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

type Rep ContextDataType = D1 ('MetaData "ContextDataType" "Amazonka.CognitoIdentityProvider.Types.ContextDataType" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ContextDataType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encodedData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "serverPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HttpHeader])))))

newContextDataType Source #

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.