amazonka-cognito-identity-1.4.2: Amazon Cognito Identity SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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:

data UnlinkIdentity Source #

Input to the UnlinkIdentity action.

See: unlinkIdentity smart constructor.

Instances

Eq UnlinkIdentity Source # 
Data UnlinkIdentity Source # 

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 # 
Show UnlinkIdentity Source # 
Generic UnlinkIdentity Source # 

Associated Types

type Rep UnlinkIdentity :: * -> * #

ToJSON UnlinkIdentity Source # 
Hashable UnlinkIdentity Source # 
NFData UnlinkIdentity Source # 

Methods

rnf :: UnlinkIdentity -> () #

AWSRequest UnlinkIdentity Source # 
ToPath UnlinkIdentity Source # 
ToHeaders UnlinkIdentity Source # 
ToQuery UnlinkIdentity Source # 
type Rep UnlinkIdentity Source # 
type Rep UnlinkIdentity = D1 (MetaData "UnlinkIdentity" "Network.AWS.CognitoIdentity.UnlinkIdentity" "amazonka-cognito-identity-1.4.2-1l2swQqkpUS3BWLajeb9rI" False) (C1 (MetaCons "UnlinkIdentity'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uiIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_uiLogins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text))) (S1 (MetaSel (Just Symbol "_uiLoginsToRemove") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs UnlinkIdentity Source # 

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 # 
Data UnlinkIdentityResponse Source # 

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 # 
Show UnlinkIdentityResponse Source # 
Generic UnlinkIdentityResponse Source # 
NFData UnlinkIdentityResponse Source # 

Methods

rnf :: UnlinkIdentityResponse -> () #

type Rep UnlinkIdentityResponse Source # 
type Rep UnlinkIdentityResponse = D1 (MetaData "UnlinkIdentityResponse" "Network.AWS.CognitoIdentity.UnlinkIdentity" "amazonka-cognito-identity-1.4.2-1l2swQqkpUS3BWLajeb9rI" False) (C1 (MetaCons "UnlinkIdentityResponse'" PrefixI False) U1)