amazonka-cognito-sync-1.6.1: Amazon Cognito Sync 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.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 #

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:

  • sipcCognitoStreams - Options to apply to this identity pool for Amazon Cognito streams.
  • sipcPushSync - Options to apply to this identity pool for push synchronization.
  • sipcIdentityPoolId - 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.

data SetIdentityPoolConfiguration #

The input for the SetIdentityPoolConfiguration operation.

See: setIdentityPoolConfiguration smart constructor.

Instances
Eq SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Data SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Associated Types

type Rep SetIdentityPoolConfiguration :: Type -> Type #

Hashable SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToJSON SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

AWSRequest SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Associated Types

type Rs SetIdentityPoolConfiguration :: Type #

ToHeaders SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToPath SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToQuery SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

NFData SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfiguration = D1 (MetaData "SetIdentityPoolConfiguration" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.6.1-A0f7YcxmdzE7nFZqtZXEJX" False) (C1 (MetaCons "SetIdentityPoolConfiguration'" PrefixI True) (S1 (MetaSel (Just "_sipcCognitoStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CognitoStreams)) :*: (S1 (MetaSel (Just "_sipcPushSync") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushSync)) :*: S1 (MetaSel (Just "_sipcIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SetIdentityPoolConfiguration # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Request Lenses

sipcCognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams) #

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

sipcPushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync) #

Options to apply to this identity pool for push synchronization.

sipcIdentityPoolId :: Lens' SetIdentityPoolConfiguration Text #

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 #

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 #

The output for the SetIdentityPoolConfiguration operation

See: setIdentityPoolConfigurationResponse smart constructor.

Instances
Eq SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Data SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

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 # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

NFData SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse = D1 (MetaData "SetIdentityPoolConfigurationResponse" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.6.1-A0f7YcxmdzE7nFZqtZXEJX" False) (C1 (MetaCons "SetIdentityPoolConfigurationResponse'" PrefixI True) ((S1 (MetaSel (Just "_sipcrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sipcrsCognitoStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CognitoStreams))) :*: (S1 (MetaSel (Just "_sipcrsPushSync") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushSync)) :*: S1 (MetaSel (Just "_sipcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

sipcrsIdentityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text) #

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

sipcrsCognitoStreams :: Lens' SetIdentityPoolConfigurationResponse (Maybe CognitoStreams) #

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

sipcrsPushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync) #

Options to apply to this identity pool for push synchronization.