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 # 
Data 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 # 
Show DescribeIdentity # 
Generic DescribeIdentity # 
Hashable DescribeIdentity # 
ToJSON DescribeIdentity # 
NFData DescribeIdentity # 

Methods

rnf :: DescribeIdentity -> () #

AWSRequest DescribeIdentity # 
ToHeaders DescribeIdentity # 
ToPath DescribeIdentity # 
ToQuery DescribeIdentity # 
type Rep DescribeIdentity # 
type Rep DescribeIdentity = D1 * (MetaData "DescribeIdentity" "Network.AWS.CognitoIdentity.DescribeIdentity" "amazonka-cognito-identity-1.6.0-7Jg9Nyngsx05LwQn1SZzEq" True) (C1 * (MetaCons "DescribeIdentity'" PrefixI True) (S1 * (MetaSel (Just Symbol "_diIdentityId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs 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 # 
Data IdentityDescription # 

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 # 
Show IdentityDescription # 
Generic IdentityDescription # 
Hashable IdentityDescription # 
FromJSON IdentityDescription # 
NFData IdentityDescription # 

Methods

rnf :: IdentityDescription -> () #

type Rep IdentityDescription # 
type Rep IdentityDescription = D1 * (MetaData "IdentityDescription" "Network.AWS.CognitoIdentity.Types.Product" "amazonka-cognito-identity-1.6.0-7Jg9Nyngsx05LwQn1SZzEq" False) (C1 * (MetaCons "IdentityDescription'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_idLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_idCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_idLogins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_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.