Class: Aws::CognitoIdentityProvider::Types::ContextDataType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass ContextDataType data as a hash:

{
  ip_address: "StringType", # required
  server_name: "StringType", # required
  server_path: "StringType", # required
  http_headers: [ # required
    {
      header_name: "StringType",
      header_value: "StringType",
    },
  ],
  encoded_data: "StringType",
}

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encoded_dataString

Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.

Returns:

  • (String)


2963
2964
2965
2966
2967
2968
2969
2970
2971
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2963

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#http_headersArray<Types::HttpHeader>

HttpHeaders received on your server in same order.

Returns:



2963
2964
2965
2966
2967
2968
2969
2970
2971
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2963

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

Source IP address of your user.

Returns:

  • (String)


2963
2964
2965
2966
2967
2968
2969
2970
2971
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2963

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#server_nameString

Your server endpoint where this API is invoked.

Returns:

  • (String)


2963
2964
2965
2966
2967
2968
2969
2970
2971
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2963

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#server_pathString

Your server path where this API is invoked.

Returns:

  • (String)


2963
2964
2965
2966
2967
2968
2969
2970
2971
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2963

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end