| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoSync.Types.CognitoStreams
Description
Documentation
data CognitoStreams Source #
Configuration options for configure Cognito streams.
See: newCognitoStreams smart constructor.
Constructors
| CognitoStreams' | |
Fields
| |
Instances
newCognitoStreams :: CognitoStreams Source #
Create a value of CognitoStreams 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:roleArn:CognitoStreams', cognitoStreams_roleArn - The ARN of the role Amazon Cognito can assume in order to publish to the
stream. This role must grant access to Amazon Cognito (cognito-sync) to
invoke PutRecord on your Cognito stream.
$sel:streamName:CognitoStreams', cognitoStreams_streamName - The name of the Cognito stream to receive updates. This stream must be
in the developers account and in the same region as the identity pool.
$sel:streamingStatus:CognitoStreams', cognitoStreams_streamingStatus - Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.
cognitoStreams_roleArn :: Lens' CognitoStreams (Maybe Text) Source #
The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.
cognitoStreams_streamName :: Lens' CognitoStreams (Maybe Text) Source #
The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.
cognitoStreams_streamingStatus :: Lens' CognitoStreams (Maybe StreamingStatus) Source #
Status of the Cognito streams. Valid values are:
ENABLED - Streaming of updates to identity pool is enabled.
DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.