AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.DeviceType

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class DeviceType

The DeviceType type exposes the following members

Constructors

NameDescription
Public Method DeviceType()

Properties

NameTypeDescription
Public Property DeviceAttributes System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.AttributeType>

Gets and sets the property DeviceAttributes.

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

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property DeviceCreateDate System.Nullable<System.DateTime>

Gets and sets the property DeviceCreateDate.

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.

Public Property DeviceKey System.String

Gets and sets the property DeviceKey.

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

Public Property DeviceLastAuthenticatedDate System.Nullable<System.DateTime>

Gets and sets the property DeviceLastAuthenticatedDate.

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

Public Property DeviceLastModifiedDate System.Nullable<System.DateTime>

Gets and sets the property DeviceLastModifiedDate.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer