Class: Aws::CognitoIdentityProvider::Types::DeviceType

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

Overview

Information about a user’s device that they’ve registered for device SRP authentication in your application. For more information, see [Working with user devices in your user pool].

[1]: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_attributesArray<Types::AttributeType>

Metadata about a user’s device, like name and last-access source IP.

Returns:



5356
5357
5358
5359
5360
5361
5362
5363
5364
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5356

class DeviceType < Struct.new(
  :device_key,
  :device_attributes,
  :device_create_date,
  :device_last_modified_date,
  :device_last_authenticated_date)
  SENSITIVE = []
  include Aws::Structure
end

#device_create_dateTime

The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java ‘Date` object.

Returns:

  • (Time)


5356
5357
5358
5359
5360
5361
5362
5363
5364
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5356

class DeviceType < Struct.new(
  :device_key,
  :device_attributes,
  :device_create_date,
  :device_last_modified_date,
  :device_last_authenticated_date)
  SENSITIVE = []
  include Aws::Structure
end

#device_keyString

The device key, for example ‘us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`.

Returns:

  • (String)


5356
5357
5358
5359
5360
5361
5362
5363
5364
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5356

class DeviceType < Struct.new(
  :device_key,
  :device_attributes,
  :device_create_date,
  :device_last_modified_date,
  :device_last_authenticated_date)
  SENSITIVE = []
  include Aws::Structure
end

#device_last_authenticated_dateTime

The date when the user last signed in with the device.

Returns:

  • (Time)


5356
5357
5358
5359
5360
5361
5362
5363
5364
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5356

class DeviceType < Struct.new(
  :device_key,
  :device_attributes,
  :device_create_date,
  :device_last_modified_date,
  :device_last_authenticated_date)
  SENSITIVE = []
  include Aws::Structure
end

#device_last_modified_dateTime

The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java ‘Date` object.

Returns:

  • (Time)


5356
5357
5358
5359
5360
5361
5362
5363
5364
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5356

class DeviceType < Struct.new(
  :device_key,
  :device_attributes,
  :device_create_date,
  :device_last_modified_date,
  :device_last_authenticated_date)
  SENSITIVE = []
  include Aws::Structure
end