amazonka-cognito-sync-1.4.2: Amazon Cognito Sync 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.CognitoSync.SetIdentityPoolConfiguration

Contents

Description

Sets the necessary configuration for push sync.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

Synopsis

Creating a Request

setIdentityPoolConfiguration Source #

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

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

data SetIdentityPoolConfiguration Source #

The input for the SetIdentityPoolConfiguration operation.

See: setIdentityPoolConfiguration smart constructor.

Instances

Eq SetIdentityPoolConfiguration Source # 
Data SetIdentityPoolConfiguration Source # 

Methods

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

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

toConstr :: SetIdentityPoolConfiguration -> Constr #

dataTypeOf :: SetIdentityPoolConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityPoolConfiguration Source # 
Show SetIdentityPoolConfiguration Source # 
Generic SetIdentityPoolConfiguration Source # 
Hashable SetIdentityPoolConfiguration Source # 
ToJSON SetIdentityPoolConfiguration Source # 
NFData SetIdentityPoolConfiguration Source # 
AWSRequest SetIdentityPoolConfiguration Source # 
ToQuery SetIdentityPoolConfiguration Source # 
ToPath SetIdentityPoolConfiguration Source # 
ToHeaders SetIdentityPoolConfiguration Source # 
type Rep SetIdentityPoolConfiguration Source # 
type Rep SetIdentityPoolConfiguration = D1 (MetaData "SetIdentityPoolConfiguration" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.4.2-KIRynQdJF721sdO47WpgwH" False) (C1 (MetaCons "SetIdentityPoolConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sipcCognitoStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CognitoStreams))) ((:*:) (S1 (MetaSel (Just Symbol "_sipcPushSync") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushSync))) (S1 (MetaSel (Just Symbol "_sipcIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs SetIdentityPoolConfiguration Source # 

Request Lenses

sipcCognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams) Source #

Options to apply to this identity pool for Amazon Cognito streams.

sipcPushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync) Source #

Options to apply to this identity pool for push synchronization.

sipcIdentityPoolId :: Lens' SetIdentityPoolConfiguration Text Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify.

Destructuring the Response

setIdentityPoolConfigurationResponse Source #

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

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

data SetIdentityPoolConfigurationResponse Source #

The output for the SetIdentityPoolConfiguration operation

See: setIdentityPoolConfigurationResponse smart constructor.

Instances

Eq SetIdentityPoolConfigurationResponse Source # 
Data SetIdentityPoolConfigurationResponse Source # 

Methods

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

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

toConstr :: SetIdentityPoolConfigurationResponse -> Constr #

dataTypeOf :: SetIdentityPoolConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityPoolConfigurationResponse Source # 
Show SetIdentityPoolConfigurationResponse Source # 
Generic SetIdentityPoolConfigurationResponse Source # 
NFData SetIdentityPoolConfigurationResponse Source # 
type Rep SetIdentityPoolConfigurationResponse Source # 
type Rep SetIdentityPoolConfigurationResponse = D1 (MetaData "SetIdentityPoolConfigurationResponse" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.4.2-KIRynQdJF721sdO47WpgwH" False) (C1 (MetaCons "SetIdentityPoolConfigurationResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sipcrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sipcrsCognitoStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CognitoStreams)))) ((:*:) (S1 (MetaSel (Just Symbol "_sipcrsPushSync") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushSync))) (S1 (MetaSel (Just Symbol "_sipcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

sipcrsIdentityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

sipcrsCognitoStreams :: Lens' SetIdentityPoolConfigurationResponse (Maybe CognitoStreams) Source #

Options to apply to this identity pool for Amazon Cognito streams.

sipcrsPushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync) Source #

Options to apply to this identity pool for push synchronization.