libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Read ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Show 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 #

NFData ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

Methods

rnf :: ContextDataType -> () #

Hashable ContextDataType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.ContextDataType

ToJSON 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" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" '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 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.