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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 Source #

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:

data DescribeIdentity Source #

Input to the DescribeIdentity action.

See: describeIdentity smart constructor.

Instances

Eq DescribeIdentity Source # 
Data DescribeIdentity Source # 

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

Methods

rnf :: DescribeIdentity -> () #

AWSRequest DescribeIdentity Source # 
ToPath DescribeIdentity Source # 
ToHeaders DescribeIdentity Source # 
ToQuery DescribeIdentity Source # 
ToJSON DescribeIdentity Source # 
type Rep DescribeIdentity Source # 
type Rep DescribeIdentity = D1 (MetaData "DescribeIdentity" "Network.AWS.CognitoIdentity.DescribeIdentity" "amazonka-cognito-identity-1.4.4-HCXYru6jCnl38KjgmeNXOZ" True) (C1 (MetaCons "DescribeIdentity'" PrefixI True) (S1 (MetaSel (Just Symbol "_diIdentityId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeIdentity Source # 

Request Lenses

diIdentityId :: Lens' DescribeIdentity Text Source #

A unique identifier in the format REGION:GUID.

Destructuring the Response

identityDescription :: IdentityDescription Source #

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:

data IdentityDescription Source #

A description of the identity.

See: identityDescription smart constructor.

Instances

Eq IdentityDescription Source # 
Data IdentityDescription Source # 

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

Methods

rnf :: IdentityDescription -> () #

FromJSON IdentityDescription Source # 

Methods

parseJSON :: Value -> Parser IdentityDescription #

type Rep IdentityDescription Source # 
type Rep IdentityDescription = D1 (MetaData "IdentityDescription" "Network.AWS.CognitoIdentity.Types.Product" "amazonka-cognito-identity-1.4.4-HCXYru6jCnl38KjgmeNXOZ" 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) Source #

Date on which the identity was last modified.

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

Date on which the identity was created.

idLogins :: Lens' IdentityDescription [Text] Source #

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

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

A unique identifier in the format REGION:GUID.