Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data SetIdentityPoolConfiguration = SetIdentityPoolConfiguration' {}
- newSetIdentityPoolConfiguration :: Text -> SetIdentityPoolConfiguration
- setIdentityPoolConfiguration_cognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams)
- setIdentityPoolConfiguration_pushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync)
- setIdentityPoolConfiguration_identityPoolId :: Lens' SetIdentityPoolConfiguration Text
- data SetIdentityPoolConfigurationResponse = SetIdentityPoolConfigurationResponse' {}
- newSetIdentityPoolConfigurationResponse :: Int -> SetIdentityPoolConfigurationResponse
- setIdentityPoolConfigurationResponse_identityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text)
- setIdentityPoolConfigurationResponse_cognitoStreams :: Lens' SetIdentityPoolConfigurationResponse (Maybe CognitoStreams)
- setIdentityPoolConfigurationResponse_pushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync)
- setIdentityPoolConfigurationResponse_httpStatus :: Lens' SetIdentityPoolConfigurationResponse Int
Creating a Request
data SetIdentityPoolConfiguration Source #
The input for the SetIdentityPoolConfiguration operation.
See: newSetIdentityPoolConfiguration
smart constructor.
SetIdentityPoolConfiguration' | |
|
Instances
newSetIdentityPoolConfiguration Source #
Create a value of SetIdentityPoolConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cognitoStreams:SetIdentityPoolConfiguration'
, setIdentityPoolConfiguration_cognitoStreams
- Options to apply to this identity pool for Amazon Cognito streams.
$sel:pushSync:SetIdentityPoolConfiguration'
, setIdentityPoolConfiguration_pushSync
- Options to apply to this identity pool for push synchronization.
$sel:identityPoolId:SetIdentityPoolConfiguration'
, setIdentityPoolConfiguration_identityPoolId
- 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.
Request Lenses
setIdentityPoolConfiguration_cognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams) Source #
Options to apply to this identity pool for Amazon Cognito streams.
setIdentityPoolConfiguration_pushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync) Source #
Options to apply to this identity pool for push synchronization.
setIdentityPoolConfiguration_identityPoolId :: 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
data SetIdentityPoolConfigurationResponse Source #
The output for the SetIdentityPoolConfiguration operation
See: newSetIdentityPoolConfigurationResponse
smart constructor.
SetIdentityPoolConfigurationResponse' | |
|
Instances
newSetIdentityPoolConfigurationResponse Source #
Create a value of SetIdentityPoolConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identityPoolId:SetIdentityPoolConfiguration'
, setIdentityPoolConfigurationResponse_identityPoolId
- A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
$sel:cognitoStreams:SetIdentityPoolConfiguration'
, setIdentityPoolConfigurationResponse_cognitoStreams
- Options to apply to this identity pool for Amazon Cognito streams.
$sel:pushSync:SetIdentityPoolConfiguration'
, setIdentityPoolConfigurationResponse_pushSync
- Options to apply to this identity pool for push synchronization.
$sel:httpStatus:SetIdentityPoolConfigurationResponse'
, setIdentityPoolConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
setIdentityPoolConfigurationResponse_identityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text) Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
setIdentityPoolConfigurationResponse_cognitoStreams :: Lens' SetIdentityPoolConfigurationResponse (Maybe CognitoStreams) Source #
Options to apply to this identity pool for Amazon Cognito streams.
setIdentityPoolConfigurationResponse_pushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync) Source #
Options to apply to this identity pool for push synchronization.
setIdentityPoolConfigurationResponse_httpStatus :: Lens' SetIdentityPoolConfigurationResponse Int Source #
The response's http status code.