| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.CognitoIdentity.UnlinkIdentity
Description
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.
http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_UnlinkIdentity.html
- data UnlinkIdentity
- unlinkIdentity :: Text -> UnlinkIdentity
- uiIdentityId :: Lens' UnlinkIdentity Text
- uiLogins :: Lens' UnlinkIdentity (HashMap Text Text)
- uiLoginsToRemove :: Lens' UnlinkIdentity [Text]
- data UnlinkIdentityResponse
- unlinkIdentityResponse :: UnlinkIdentityResponse
Request
data UnlinkIdentity Source
Instances
| Eq UnlinkIdentity | |
| Read UnlinkIdentity | |
| Show UnlinkIdentity | |
| AWSRequest UnlinkIdentity | |
| ToQuery UnlinkIdentity | |
| ToPath UnlinkIdentity | |
| ToHeaders UnlinkIdentity | |
| ToJSON UnlinkIdentity | |
| type Sv UnlinkIdentity = CognitoIdentity | |
| type Rs UnlinkIdentity = UnlinkIdentityResponse |
Request constructor
Arguments
| :: Text | |
| -> UnlinkIdentity |
UnlinkIdentity constructor.
The fields accessible through corresponding lenses are:
uiIdentityId::TextuiLogins::HashMapTextTextuiLoginsToRemove::[Text]
Request lenses
uiIdentityId :: Lens' UnlinkIdentity Text Source
A unique identifier in the format REGION:GUID.
uiLogins :: Lens' UnlinkIdentity (HashMap Text Text) Source
A set of optional name-value pairs that map provider names to provider tokens.
uiLoginsToRemove :: Lens' UnlinkIdentity [Text] Source
Provider names to unlink from this identity.
Response
Response constructor
unlinkIdentityResponse :: UnlinkIdentityResponse Source
UnlinkIdentityResponse constructor.