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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/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.

The data type is a response parameter of AdminGetDevice, AdminListDevices, and GetDevice.

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:



5183
5184
5185
5186
5187
5188
5189
5190
5191
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5183

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)


5183
5184
5185
5186
5187
5188
5189
5190
5191
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5183

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)


5183
5184
5185
5186
5187
5188
5189
5190
5191
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5183

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)


5183
5184
5185
5186
5187
5188
5189
5190
5191
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5183

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)


5183
5184
5185
5186
5187
5188
5189
5190
5191
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5183

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