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.UnlinkIdentity

Contents

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.

This is a public API. You do not need any credentials to call this API.

Synopsis

Creating a Request

unlinkIdentity Source #

Creates a value of UnlinkIdentity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uiIdentityId - A unique identifier in the format REGION:GUID.
  • uiLogins - A set of optional name-value pairs that map provider names to provider tokens.
  • uiLoginsToRemove - Provider names to unlink from this identity.

data UnlinkIdentity Source #

Input to the UnlinkIdentity action.

See: unlinkIdentity smart constructor.

Instances
Eq UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Data UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnlinkIdentity -> c UnlinkIdentity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnlinkIdentity #

toConstr :: UnlinkIdentity -> Constr #

dataTypeOf :: UnlinkIdentity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnlinkIdentity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnlinkIdentity) #

gmapT :: (forall b. Data b => b -> b) -> UnlinkIdentity -> UnlinkIdentity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnlinkIdentity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnlinkIdentity -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnlinkIdentity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnlinkIdentity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnlinkIdentity -> m UnlinkIdentity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnlinkIdentity -> m UnlinkIdentity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnlinkIdentity -> m UnlinkIdentity #

Read UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Show UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Generic UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Associated Types

type Rep UnlinkIdentity :: Type -> Type #

Hashable UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

ToJSON UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

AWSRequest UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Associated Types

type Rs UnlinkIdentity :: Type #

ToHeaders UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

ToPath UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

ToQuery UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

NFData UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Methods

rnf :: UnlinkIdentity -> () #

type Rep UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

type Rep UnlinkIdentity = D1 (MetaData "UnlinkIdentity" "Network.AWS.CognitoIdentity.UnlinkIdentity" "amazonka-cognito-identity-1.6.1-JxIOswo68EQKpplMh7b7yR" False) (C1 (MetaCons "UnlinkIdentity'" PrefixI True) (S1 (MetaSel (Just "_uiIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_uiLogins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text)) :*: S1 (MetaSel (Just "_uiLoginsToRemove") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs UnlinkIdentity Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

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.

Destructuring the Response

unlinkIdentityResponse :: UnlinkIdentityResponse Source #

Creates a value of UnlinkIdentityResponse with the minimum fields required to make a request.

data UnlinkIdentityResponse Source #

See: unlinkIdentityResponse smart constructor.

Instances
Eq UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Data UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnlinkIdentityResponse -> c UnlinkIdentityResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnlinkIdentityResponse #

toConstr :: UnlinkIdentityResponse -> Constr #

dataTypeOf :: UnlinkIdentityResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnlinkIdentityResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnlinkIdentityResponse) #

gmapT :: (forall b. Data b => b -> b) -> UnlinkIdentityResponse -> UnlinkIdentityResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnlinkIdentityResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnlinkIdentityResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnlinkIdentityResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnlinkIdentityResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnlinkIdentityResponse -> m UnlinkIdentityResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnlinkIdentityResponse -> m UnlinkIdentityResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnlinkIdentityResponse -> m UnlinkIdentityResponse #

Read UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Show UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Generic UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Associated Types

type Rep UnlinkIdentityResponse :: Type -> Type #

NFData UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

Methods

rnf :: UnlinkIdentityResponse -> () #

type Rep UnlinkIdentityResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentity.UnlinkIdentity

type Rep UnlinkIdentityResponse = D1 (MetaData "UnlinkIdentityResponse" "Network.AWS.CognitoIdentity.UnlinkIdentity" "amazonka-cognito-identity-1.6.1-JxIOswo68EQKpplMh7b7yR" False) (C1 (MetaCons "UnlinkIdentityResponse'" PrefixI False) (U1 :: Type -> Type))