Copyright | (c) 2013-2015 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 |
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.
See: AWS API Reference for SetIdentityPoolConfiguration.
- 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 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.
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.
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.
sipcrsResponseStatus :: Lens' SetIdentityPoolConfigurationResponse Int Source
The response status code.