Class: Aws::CognitoIdentityProvider::Types::DeviceType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::DeviceType
- 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].
The data type is a response parameter of [AdminGetDevice], [AdminListDevices], and [GetDevice].
[1]: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminGetDevice.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminListDevices.html [4]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_GetDevice.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#device_attributes ⇒ Array<Types::AttributeType>
Metadata about a user’s device, like name and last-access source IP.
-
#device_create_date ⇒ Time
The date and time when the item was created.
-
#device_key ⇒ String
The device key, for example ‘us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`.
-
#device_last_authenticated_date ⇒ Time
The date when the user last signed in with the device.
-
#device_last_modified_date ⇒ Time
The date and time when the item was modified.
Instance Attribute Details
#device_attributes ⇒ Array<Types::AttributeType>
Metadata about a user’s device, like name and last-access source IP.
5466 5467 5468 5469 5470 5471 5472 5473 5474 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5466 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_date ⇒ Time
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.
5466 5467 5468 5469 5470 5471 5472 5473 5474 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5466 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_key ⇒ String
The device key, for example ‘us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`.
5466 5467 5468 5469 5470 5471 5472 5473 5474 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5466 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_date ⇒ Time
The date when the user last signed in with the device.
5466 5467 5468 5469 5470 5471 5472 5473 5474 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5466 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_date ⇒ Time
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.
5466 5467 5468 5469 5470 5471 5472 5473 5474 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5466 class DeviceType < Struct.new( :device_key, :device_attributes, :device_create_date, :device_last_modified_date, :device_last_authenticated_date) SENSITIVE = [] include Aws::Structure end |