libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentity.DescribeIdentity

Description

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.

Synopsis

Creating a Request

data DescribeIdentity Source #

Input to the DescribeIdentity action.

See: newDescribeIdentity smart constructor.

Constructors

DescribeIdentity' 

Fields

Instances

Instances details
Eq DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Read DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Show DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Generic DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Associated Types

type Rep DescribeIdentity :: Type -> Type #

NFData DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Methods

rnf :: DescribeIdentity -> () #

Hashable DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

ToJSON DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

AWSRequest DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

Associated Types

type AWSResponse DescribeIdentity #

ToHeaders DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

ToPath DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

ToQuery DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

type Rep DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

type Rep DescribeIdentity = D1 ('MetaData "DescribeIdentity" "Amazonka.CognitoIdentity.DescribeIdentity" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" 'False) (C1 ('MetaCons "DescribeIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeIdentity Source # 
Instance details

Defined in Amazonka.CognitoIdentity.DescribeIdentity

newDescribeIdentity Source #

Create a value of DescribeIdentity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identityId:DescribeIdentity', describeIdentity_identityId - A unique identifier in the format REGION:GUID.

Request Lenses

describeIdentity_identityId :: Lens' DescribeIdentity Text Source #

A unique identifier in the format REGION:GUID.

Destructuring the Response

data IdentityDescription Source #

A description of the identity.

See: newIdentityDescription smart constructor.

Constructors

IdentityDescription' 

Fields

Instances

Instances details
Eq IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

Read IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

Show IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

Generic IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

Associated Types

type Rep IdentityDescription :: Type -> Type #

NFData IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

Methods

rnf :: IdentityDescription -> () #

Hashable IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

FromJSON IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

type Rep IdentityDescription Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.IdentityDescription

type Rep IdentityDescription = D1 ('MetaData "IdentityDescription" "Amazonka.CognitoIdentity.Types.IdentityDescription" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" 'False) (C1 ('MetaCons "IdentityDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "logins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newIdentityDescription :: IdentityDescription Source #

Create a value of IdentityDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedDate:IdentityDescription', identityDescription_lastModifiedDate - Date on which the identity was last modified.

$sel:creationDate:IdentityDescription', identityDescription_creationDate - Date on which the identity was created.

$sel:logins:IdentityDescription', identityDescription_logins - The provider names.

$sel:identityId:IdentityDescription', identityDescription_identityId - A unique identifier in the format REGION:GUID.

Response Lenses

identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime) Source #

Date on which the identity was last modified.

identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime) Source #

Date on which the identity was created.

identityDescription_identityId :: Lens' IdentityDescription (Maybe Text) Source #

A unique identifier in the format REGION:GUID.