amazonka-cognito-identity-1.4.3: 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.SetIdentityPoolRoles

Contents

Description

Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action.

You must use AWS Developer credentials to call this API.

Synopsis

Creating a Request

setIdentityPoolRoles Source #

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

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

data SetIdentityPoolRoles Source #

Input to the SetIdentityPoolRoles action.

See: setIdentityPoolRoles smart constructor.

Instances

Eq SetIdentityPoolRoles Source # 
Data SetIdentityPoolRoles Source # 

Methods

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

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

toConstr :: SetIdentityPoolRoles -> Constr #

dataTypeOf :: SetIdentityPoolRoles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityPoolRoles Source # 
Show SetIdentityPoolRoles Source # 
Generic SetIdentityPoolRoles Source # 
Hashable SetIdentityPoolRoles Source # 
ToJSON SetIdentityPoolRoles Source # 
NFData SetIdentityPoolRoles Source # 

Methods

rnf :: SetIdentityPoolRoles -> () #

AWSRequest SetIdentityPoolRoles Source # 
ToQuery SetIdentityPoolRoles Source # 
ToPath SetIdentityPoolRoles Source # 
ToHeaders SetIdentityPoolRoles Source # 
type Rep SetIdentityPoolRoles Source # 
type Rep SetIdentityPoolRoles = D1 (MetaData "SetIdentityPoolRoles" "Network.AWS.CognitoIdentity.SetIdentityPoolRoles" "amazonka-cognito-identity-1.4.3-EUwhJeFWNF240FmChzIWwA" False) (C1 (MetaCons "SetIdentityPoolRoles'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_siprIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_siprRoles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text)))))
type Rs SetIdentityPoolRoles Source # 

Request Lenses

siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text Source #

An identity pool ID in the format REGION:GUID.

siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text) Source #

The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

Destructuring the Response

setIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse Source #

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

data SetIdentityPoolRolesResponse Source #

See: setIdentityPoolRolesResponse smart constructor.

Instances

Eq SetIdentityPoolRolesResponse Source # 
Data SetIdentityPoolRolesResponse Source # 

Methods

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

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

toConstr :: SetIdentityPoolRolesResponse -> Constr #

dataTypeOf :: SetIdentityPoolRolesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityPoolRolesResponse Source # 
Show SetIdentityPoolRolesResponse Source # 
Generic SetIdentityPoolRolesResponse Source # 
NFData SetIdentityPoolRolesResponse Source # 
type Rep SetIdentityPoolRolesResponse Source # 
type Rep SetIdentityPoolRolesResponse = D1 (MetaData "SetIdentityPoolRolesResponse" "Network.AWS.CognitoIdentity.SetIdentityPoolRoles" "amazonka-cognito-identity-1.4.3-EUwhJeFWNF240FmChzIWwA" False) (C1 (MetaCons "SetIdentityPoolRolesResponse'" PrefixI False) U1)