Struct rusoto_cognito_sync::CognitoStreams [−][src]
pub struct CognitoStreams { pub role_arn: Option<String>, pub stream_name: Option<String>, pub streaming_status: Option<String>, }
Configuration options for configure Cognito streams.
Fields
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.
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.
streaming_status: Option<String>
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.
Trait Implementations
impl Default for CognitoStreams
[src]
impl Default for CognitoStreams
fn default() -> CognitoStreams
[src]
fn default() -> CognitoStreams
Returns the "default value" for a type. Read more
impl Debug for CognitoStreams
[src]
impl Debug for CognitoStreams
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CognitoStreams
[src]
impl Clone for CognitoStreams
fn clone(&self) -> CognitoStreams
[src]
fn clone(&self) -> CognitoStreams
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CognitoStreams
[src]
impl PartialEq for CognitoStreams
fn eq(&self, other: &CognitoStreams) -> bool
[src]
fn eq(&self, other: &CognitoStreams) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CognitoStreams) -> bool
[src]
fn ne(&self, other: &CognitoStreams) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CognitoStreams
impl Send for CognitoStreams
impl Sync for CognitoStreams
impl Sync for CognitoStreams