Struct aws_sdk_kinesis::client::fluent_builders::ListTagsForStream
source · pub struct ListTagsForStream { /* private fields */ }
Expand description
Fluent builder constructing a request to ListTagsForStream
.
Lists the tags for the specified Kinesis data stream. This operation has a limit of five transactions per second per account.
When invoking this API, it is recommended you use the StreamARN
input parameter rather than the StreamName
input parameter.
Implementations§
source§impl ListTagsForStream
impl ListTagsForStream
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListTagsForStream, AwsResponseRetryClassifier>, SdkError<ListTagsForStreamError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListTagsForStream, AwsResponseRetryClassifier>, SdkError<ListTagsForStreamError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListTagsForStreamOutput, SdkError<ListTagsForStreamError>>
pub async fn send(
self
) -> Result<ListTagsForStreamOutput, SdkError<ListTagsForStreamError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the stream.
sourcepub fn exclusive_start_tag_key(self, input: impl Into<String>) -> Self
pub fn exclusive_start_tag_key(self, input: impl Into<String>) -> Self
The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream
gets all tags that occur after ExclusiveStartTagKey
.
sourcepub fn set_exclusive_start_tag_key(self, input: Option<String>) -> Self
pub fn set_exclusive_start_tag_key(self, input: Option<String>) -> Self
The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream
gets all tags that occur after ExclusiveStartTagKey
.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags
is set to true
. To list additional tags, set ExclusiveStartTagKey
to the last key in the response.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags
is set to true
. To list additional tags, set ExclusiveStartTagKey
to the last key in the response.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
Trait Implementations§
source§impl Clone for ListTagsForStream
impl Clone for ListTagsForStream
source§fn clone(&self) -> ListTagsForStream
fn clone(&self) -> ListTagsForStream
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more