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 |
Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.
This is a public API. You do not need any credentials to call this API.
Synopsis
- data UnlinkIdentity = UnlinkIdentity' {
- identityId :: Text
- logins :: HashMap Text Text
- loginsToRemove :: [Text]
- newUnlinkIdentity :: Text -> UnlinkIdentity
- unlinkIdentity_identityId :: Lens' UnlinkIdentity Text
- unlinkIdentity_logins :: Lens' UnlinkIdentity (HashMap Text Text)
- unlinkIdentity_loginsToRemove :: Lens' UnlinkIdentity [Text]
- data UnlinkIdentityResponse = UnlinkIdentityResponse' {
- newUnlinkIdentityResponse :: UnlinkIdentityResponse
Creating a Request
data UnlinkIdentity Source #
Input to the UnlinkIdentity action.
See: newUnlinkIdentity
smart constructor.
UnlinkIdentity' | |
|
Instances
Create a value of UnlinkIdentity
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:UnlinkIdentity'
, unlinkIdentity_identityId
- A unique identifier in the format REGION:GUID.
$sel:logins:UnlinkIdentity'
, unlinkIdentity_logins
- A set of optional name-value pairs that map provider names to provider
tokens.
$sel:loginsToRemove:UnlinkIdentity'
, unlinkIdentity_loginsToRemove
- Provider names to unlink from this identity.
Request Lenses
unlinkIdentity_identityId :: Lens' UnlinkIdentity Text Source #
A unique identifier in the format REGION:GUID.
unlinkIdentity_logins :: Lens' UnlinkIdentity (HashMap Text Text) Source #
A set of optional name-value pairs that map provider names to provider tokens.
unlinkIdentity_loginsToRemove :: Lens' UnlinkIdentity [Text] Source #
Provider names to unlink from this identity.
Destructuring the Response
data UnlinkIdentityResponse Source #
See: newUnlinkIdentityResponse
smart constructor.
Instances
Eq UnlinkIdentityResponse Source # | |
Defined in Amazonka.CognitoIdentity.UnlinkIdentity | |
Read UnlinkIdentityResponse Source # | |
Show UnlinkIdentityResponse Source # | |
Defined in Amazonka.CognitoIdentity.UnlinkIdentity showsPrec :: Int -> UnlinkIdentityResponse -> ShowS # show :: UnlinkIdentityResponse -> String # showList :: [UnlinkIdentityResponse] -> ShowS # | |
Generic UnlinkIdentityResponse Source # | |
Defined in Amazonka.CognitoIdentity.UnlinkIdentity type Rep UnlinkIdentityResponse :: Type -> Type # | |
NFData UnlinkIdentityResponse Source # | |
Defined in Amazonka.CognitoIdentity.UnlinkIdentity rnf :: UnlinkIdentityResponse -> () # | |
type Rep UnlinkIdentityResponse Source # | |
Defined in Amazonka.CognitoIdentity.UnlinkIdentity |
newUnlinkIdentityResponse :: UnlinkIdentityResponse Source #
Create a value of UnlinkIdentityResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.