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 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:

  • 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 Source #

The input for the SetIdentityPoolConfiguration operation.

See: setIdentityPoolConfiguration smart constructor.

Instances
Eq SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Data SetIdentityPoolConfiguration Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Associated Types

type Rep SetIdentityPoolConfiguration :: Type -> Type #

Hashable SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToJSON SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

AWSRequest SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Associated Types

type Rs SetIdentityPoolConfiguration :: Type #

ToHeaders SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToPath SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

ToQuery SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

NFData SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfiguration Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfiguration = D1 (MetaData "SetIdentityPoolConfiguration" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" 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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

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

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Data SetIdentityPoolConfigurationResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

NFData SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Network.AWS.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse = D1 (MetaData "SetIdentityPoolConfigurationResponse" "Network.AWS.CognitoSync.SetIdentityPoolConfiguration" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" 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) 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.