amazonka-cognito-identity-1.6.0: Amazon Cognito Identity SDK.

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

Network.AWS.CognitoIdentity.DescribeIdentity

Contents

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

describeIdentity #

Creates a value of DescribeIdentity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • diIdentityId - A unique identifier in the format REGION:GUID.

data DescribeIdentity #

Input to the DescribeIdentity action.

See: describeIdentity smart constructor.

Instances
Eq DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Data DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeIdentity -> c DescribeIdentity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeIdentity #

toConstr :: DescribeIdentity -> Constr #

dataTypeOf :: DescribeIdentity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeIdentity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeIdentity) #

gmapT :: (forall b. Data b => b -> b) -> DescribeIdentity -> DescribeIdentity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIdentity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeIdentity -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeIdentity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeIdentity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeIdentity -> m DescribeIdentity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIdentity -> m DescribeIdentity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeIdentity -> m DescribeIdentity #

Read DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Show DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Generic DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Associated Types

type Rep DescribeIdentity :: * -> * #

Hashable DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToJSON DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

AWSRequest DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Associated Types

type Rs DescribeIdentity :: * #

ToHeaders DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToPath DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToQuery DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

NFData DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Methods

rnf :: DescribeIdentity -> () #

type Rep DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

type Rep DescribeIdentity = D1 (MetaData "DescribeIdentity" "Network.AWS.CognitoIdentity.DescribeIdentity" "amazonka-cognito-identity-1.6.0-5fjiPArrccKDRJ8e7htSYb" True) (C1 (MetaCons "DescribeIdentity'" PrefixI True) (S1 (MetaSel (Just "_diIdentityId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeIdentity # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Request Lenses

diIdentityId :: Lens' DescribeIdentity Text #

A unique identifier in the format REGION:GUID.

Destructuring the Response

identityDescription :: IdentityDescription #

Creates a value of IdentityDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • idLastModifiedDate - Date on which the identity was last modified.
  • idCreationDate - Date on which the identity was created.
  • idLogins - A set of optional name-value pairs that map provider names to provider tokens.
  • idIdentityId - A unique identifier in the format REGION:GUID.

data IdentityDescription #

A description of the identity.

See: identityDescription smart constructor.

Instances
Eq IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Data IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IdentityDescription -> c IdentityDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IdentityDescription #

toConstr :: IdentityDescription -> Constr #

dataTypeOf :: IdentityDescription -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IdentityDescription) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdentityDescription) #

gmapT :: (forall b. Data b => b -> b) -> IdentityDescription -> IdentityDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IdentityDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IdentityDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> IdentityDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentityDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IdentityDescription -> m IdentityDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityDescription -> m IdentityDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityDescription -> m IdentityDescription #

Read IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Show IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Generic IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Associated Types

type Rep IdentityDescription :: * -> * #

Hashable IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

FromJSON IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

NFData IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Methods

rnf :: IdentityDescription -> () #

type Rep IdentityDescription # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

type Rep IdentityDescription = D1 (MetaData "IdentityDescription" "Network.AWS.CognitoIdentity.Types.Product" "amazonka-cognito-identity-1.6.0-5fjiPArrccKDRJ8e7htSYb" False) (C1 (MetaCons "IdentityDescription'" PrefixI True) ((S1 (MetaSel (Just "_idLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_idCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_idLogins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_idIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

Response Lenses

idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime) #

Date on which the identity was last modified.

idCreationDate :: Lens' IdentityDescription (Maybe UTCTime) #

Date on which the identity was created.

idLogins :: Lens' IdentityDescription [Text] #

A set of optional name-value pairs that map provider names to provider tokens.

idIdentityId :: Lens' IdentityDescription (Maybe Text) #

A unique identifier in the format REGION:GUID.