Struct rusoto_kinesis::ListStreamConsumersInput
source · [−]pub struct ListStreamConsumersInput {
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub stream_arn: String,
pub stream_creation_timestamp: Option<f64>,
}
Fields
max_results: Option<i64>
The maximum number of consumers that you want a single call of ListStreamConsumers
to return.
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 consumers that are registered with the data stream, 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.
Don't specify StreamName
or StreamCreationTimestamp
if you specify NextToken
because the latter unambiguously identifies the stream.
You can optionally specify a value for the MaxResults
parameter when you specify NextToken
. If you specify a MaxResults
value that is less than the number of consumers that the operation returns if you don't specify MaxResults
, the response will contain a new NextToken
value. You can use the new NextToken
value in a subsequent call to the ListStreamConsumers
operation to list the next set of consumers.
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
.
stream_arn: String
The ARN of the Kinesis data stream for which you want to list the registered consumers. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
stream_creation_timestamp: Option<f64>
Specify this input parameter to distinguish data streams that have the same name. For example, if you create a data stream and then delete it, and you later create another data stream with the same name, you can use this input parameter to specify which of the two streams you want to list the consumers for.
You can't specify this parameter if you specify the NextToken parameter.
Trait Implementations
sourceimpl Clone for ListStreamConsumersInput
impl Clone for ListStreamConsumersInput
sourcefn clone(&self) -> ListStreamConsumersInput
fn clone(&self) -> ListStreamConsumersInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListStreamConsumersInput
impl Debug for ListStreamConsumersInput
sourceimpl Default for ListStreamConsumersInput
impl Default for ListStreamConsumersInput
sourcefn default() -> ListStreamConsumersInput
fn default() -> ListStreamConsumersInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListStreamConsumersInput> for ListStreamConsumersInput
impl PartialEq<ListStreamConsumersInput> for ListStreamConsumersInput
sourcefn eq(&self, other: &ListStreamConsumersInput) -> bool
fn eq(&self, other: &ListStreamConsumersInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListStreamConsumersInput) -> bool
fn ne(&self, other: &ListStreamConsumersInput) -> bool
This method tests for !=
.
sourceimpl Serialize for ListStreamConsumersInput
impl Serialize for ListStreamConsumersInput
impl StructuralPartialEq for ListStreamConsumersInput
Auto Trait Implementations
impl RefUnwindSafe for ListStreamConsumersInput
impl Send for ListStreamConsumersInput
impl Sync for ListStreamConsumersInput
impl Unpin for ListStreamConsumersInput
impl UnwindSafe for ListStreamConsumersInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more