Struct aws_sdk_kinesis::output::ListStreamConsumersOutput [−][src]
#[non_exhaustive]pub struct ListStreamConsumersOutput {
pub consumers: Option<Vec<Consumer>>,
pub next_token: Option<String>,
}
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.consumers: Option<Vec<Consumer>>
An array of JSON objects. Each object represents one registered consumer.
next_token: Option<String>
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
.
Implementations
An array of JSON objects. Each object represents one registered consumer.
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
.
Creates a new builder-style object to manufacture ListStreamConsumersOutput
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 ListStreamConsumersOutput
impl Send for ListStreamConsumersOutput
impl Sync for ListStreamConsumersOutput
impl Unpin for ListStreamConsumersOutput
impl UnwindSafe for ListStreamConsumersOutput
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