Struct aws_sdk_kinesis::output::ListStreamConsumersOutput
source · #[non_exhaustive]pub struct ListStreamConsumersOutput { /* private fields */ }
Implementations§
source§impl ListStreamConsumersOutput
impl ListStreamConsumersOutput
sourcepub fn consumers(&self) -> Option<&[Consumer]>
pub fn consumers(&self) -> Option<&[Consumer]>
An array of JSON objects. Each object represents one registered consumer.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of consumers that are registered with the data stream is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of registered consumers, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListStreamConsumers
to list the next set of registered consumers. For more information about the use of this pagination token when calling the ListStreamConsumers
operation, see ListStreamConsumersInput$NextToken
.
Tokens expire after 300 seconds. When you obtain a value for NextToken
in the response to a call to ListStreamConsumers
, you have 300 seconds to use that value. If you specify an expired token in a call to ListStreamConsumers
, you get ExpiredNextTokenException
.
source§impl ListStreamConsumersOutput
impl ListStreamConsumersOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListStreamConsumersOutput
.
Trait Implementations§
source§impl Clone for ListStreamConsumersOutput
impl Clone for ListStreamConsumersOutput
source§fn clone(&self) -> ListStreamConsumersOutput
fn clone(&self) -> ListStreamConsumersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListStreamConsumersOutput
impl Debug for ListStreamConsumersOutput
source§impl PartialEq<ListStreamConsumersOutput> for ListStreamConsumersOutput
impl PartialEq<ListStreamConsumersOutput> for ListStreamConsumersOutput
source§fn eq(&self, other: &ListStreamConsumersOutput) -> bool
fn eq(&self, other: &ListStreamConsumersOutput) -> bool
self
and other
values to be equal, and is used
by ==
.