Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeIdentity = DescribeIdentity' {
- identityId :: Text
- newDescribeIdentity :: Text -> DescribeIdentity
- describeIdentity_identityId :: Lens' DescribeIdentity Text
- data IdentityDescription = IdentityDescription' {
- lastModifiedDate :: Maybe POSIX
- creationDate :: Maybe POSIX
- logins :: Maybe [Text]
- identityId :: Maybe Text
- newIdentityDescription :: IdentityDescription
- identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
- identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime)
- identityDescription_logins :: Lens' IdentityDescription (Maybe [Text])
- identityDescription_identityId :: Lens' IdentityDescription (Maybe Text)
Creating a Request
data DescribeIdentity Source #
Input to the DescribeIdentity
action.
See: newDescribeIdentity
smart constructor.
DescribeIdentity' | |
|
Instances
Create a value of DescribeIdentity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identityId:DescribeIdentity'
, describeIdentity_identityId
- A unique identifier in the format REGION:GUID.
Request Lenses
describeIdentity_identityId :: Lens' DescribeIdentity Text Source #
A unique identifier in the format REGION:GUID.
Destructuring the Response
data IdentityDescription Source #
A description of the identity.
See: newIdentityDescription
smart constructor.
IdentityDescription' | |
|
Instances
newIdentityDescription :: IdentityDescription Source #
Create a value of IdentityDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastModifiedDate:IdentityDescription'
, identityDescription_lastModifiedDate
- Date on which the identity was last modified.
$sel:creationDate:IdentityDescription'
, identityDescription_creationDate
- Date on which the identity was created.
$sel:logins:IdentityDescription'
, identityDescription_logins
- The provider names.
$sel:identityId:IdentityDescription'
, identityDescription_identityId
- A unique identifier in the format REGION:GUID.
Response Lenses
identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime) Source #
Date on which the identity was last modified.
identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime) Source #
Date on which the identity was created.
identityDescription_logins :: Lens' IdentityDescription (Maybe [Text]) Source #
The provider names.
identityDescription_identityId :: Lens' IdentityDescription (Maybe Text) Source #
A unique identifier in the format REGION:GUID.