| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.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.
- describeIdentity :: Text -> DescribeIdentity
- data DescribeIdentity
- diIdentityId :: Lens' DescribeIdentity Text
- identityDescription :: IdentityDescription
- data IdentityDescription
- idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
- idCreationDate :: Lens' IdentityDescription (Maybe UTCTime)
- idLogins :: Lens' IdentityDescription [Text]
- idIdentityId :: Lens' IdentityDescription (Maybe Text)
Creating a Request
Arguments
| :: Text | |
| -> 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:
data DescribeIdentity Source #
Input to the DescribeIdentity action.
See: describeIdentity smart constructor.
Instances
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
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.