amazonka-cognito-sync-1.4.0: 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:

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:

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.