Amazon.CognitoIdentity.AmazonCognitoIdentityClient.DescribeIdentityAsync C# (CSharp) Method

DescribeIdentityAsync() public method

Returns metadata related to the given identity, including when the identity was created and any associated linked logins.

You must use AWS Developer credentials to call this API.

/// Thrown when the service encounters an error during processing the request. /// /// Thrown for missing or bad input parameter(s). /// /// Thrown when a user is not authorized to access the requested resource. /// /// Thrown when the requested resource (for example, a dataset or record) does not exist. /// /// Thrown when a request is throttled. ///
public DescribeIdentityAsync ( string identityId, System cancellationToken = default(CancellationToken) ) : Task
identityId string A unique identifier in the format REGION:GUID.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeIdentityResponse> DescribeIdentityAsync(string identityId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DescribeIdentityRequest();
            request.IdentityId = identityId;
            return DescribeIdentityAsync(request, cancellationToken);
        }

Same methods

AmazonCognitoIdentityClient::DescribeIdentityAsync ( Amazon.CognitoIdentity.Model.DescribeIdentityRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCognitoIdentityClient::DescribeIdentityAsync ( Amazon.CognitoIdentity.Model.DescribeIdentityRequest request, DescribeIdentityResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoIdentityClient::DescribeIdentityAsync ( string identityId, DescribeIdentityResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoIdentityClient