Struct aws_sdk_kinesis::client::fluent_builders::AddTagsToStream
source · pub struct AddTagsToStream { /* private fields */ }
Expand description
Fluent builder constructing a request to AddTagsToStream
.
Adds or updates tags for the specified Kinesis data stream. You can assign up to 50 tags to a data stream.
When invoking this API, it is recommended you use the StreamARN
input parameter rather than the StreamName
input parameter.
If tags have already been assigned to the stream, AddTagsToStream
overwrites any existing tags that correspond to the specified tag keys.
AddTagsToStream
has a limit of five transactions per second per account.
Implementations§
source§impl AddTagsToStream
impl AddTagsToStream
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddTagsToStream, AwsResponseRetryClassifier>, SdkError<AddTagsToStreamError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddTagsToStream, AwsResponseRetryClassifier>, SdkError<AddTagsToStreamError>>
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<AddTagsToStreamOutput, SdkError<AddTagsToStreamError>>
pub async fn send(
self
) -> Result<AddTagsToStreamOutput, SdkError<AddTagsToStreamError>>
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.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
A set of up to 10 key-value pairs to use to create the tags.
A set of up to 10 key-value pairs to use to create the tags.
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 AddTagsToStream
impl Clone for AddTagsToStream
source§fn clone(&self) -> AddTagsToStream
fn clone(&self) -> AddTagsToStream
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more