Struct aws_sdk_cognitosync::model::CognitoStreams
source · [−]#[non_exhaustive]pub struct CognitoStreams {
pub stream_name: Option<String>,
pub role_arn: Option<String>,
pub streaming_status: Option<StreamingStatus>,
}
Expand description
Configuration options for configure Cognito streams.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stream_name: Option<String>
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.
role_arn: Option<String>
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.
streaming_status: Option<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.
Implementations
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.
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.
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.
Creates a new builder-style object to manufacture CognitoStreams
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CognitoStreams
impl Send for CognitoStreams
impl Sync for CognitoStreams
impl Unpin for CognitoStreams
impl UnwindSafe for CognitoStreams
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more