amazonka-cognito-identity-1.6.1: 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 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:

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

data DescribeIdentity Source #

Input to the DescribeIdentity action.

See: describeIdentity smart constructor.

Instances
Eq DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Data DescribeIdentity Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Show DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Generic DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Associated Types

type Rep DescribeIdentity :: Type -> Type #

Hashable DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToJSON DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

AWSRequest DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Associated Types

type Rs DescribeIdentity :: Type #

ToHeaders DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToPath DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

ToQuery DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

NFData DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

Methods

rnf :: DescribeIdentity -> () #

type Rep DescribeIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

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

Defined in Network.AWS.CognitoIdentity.DescribeIdentity

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:

  • 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 Source #

A description of the identity.

See: identityDescription smart constructor.

Instances
Eq IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Data IdentityDescription Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Show IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Generic IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Associated Types

type Rep IdentityDescription :: Type -> Type #

Hashable IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

FromJSON IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

NFData IdentityDescription Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.Types.Product

Methods

rnf :: IdentityDescription -> () #

type Rep IdentityDescription Source # 
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.1-JxIOswo68EQKpplMh7b7yR" 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) 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.