Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CognitoSync.SetIdentityPoolConfiguration
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.
- setIdentityPoolConfiguration :: Text -> SetIdentityPoolConfiguration
- data SetIdentityPoolConfiguration
- sipcCognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams)
- sipcPushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync)
- sipcIdentityPoolId :: Lens' SetIdentityPoolConfiguration Text
- setIdentityPoolConfigurationResponse :: Int -> SetIdentityPoolConfigurationResponse
- data SetIdentityPoolConfigurationResponse
- sipcrsIdentityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text)
- sipcrsCognitoStreams :: Lens' SetIdentityPoolConfigurationResponse (Maybe CognitoStreams)
- sipcrsPushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync)
- sipcrsResponseStatus :: Lens' SetIdentityPoolConfigurationResponse Int
Creating a Request
setIdentityPoolConfiguration #
Arguments
:: Text | |
-> 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
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 #
Arguments
:: Int | |
-> 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:
sipcrsIdentityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.sipcrsCognitoStreams
- Options to apply to this identity pool for Amazon Cognito streams.sipcrsPushSync
- Options to apply to this identity pool for push synchronization.sipcrsResponseStatus
- -- | The response status code.
data SetIdentityPoolConfigurationResponse #
The output for the SetIdentityPoolConfiguration operation
See: setIdentityPoolConfigurationResponse
smart constructor.
Instances
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.
sipcrsResponseStatus :: Lens' SetIdentityPoolConfigurationResponse Int #
- - | The response status code.