1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`MergeShards`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stream_name(impl Into<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::stream_name) / [`set_stream_name(Option<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::set_stream_name):<br>required: **false**<br><p>The name of the stream for the merge.</p><br>
    ///   - [`shard_to_merge(impl Into<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::shard_to_merge) / [`set_shard_to_merge(Option<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::set_shard_to_merge):<br>required: **true**<br><p>The shard ID of the shard to combine with the adjacent shard for the merge.</p><br>
    ///   - [`adjacent_shard_to_merge(impl Into<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::adjacent_shard_to_merge) / [`set_adjacent_shard_to_merge(Option<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::set_adjacent_shard_to_merge):<br>required: **true**<br><p>The shard ID of the adjacent shard for the merge.</p><br>
    ///   - [`stream_arn(impl Into<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::stream_arn) / [`set_stream_arn(Option<String>)`](crate::operation::merge_shards::builders::MergeShardsFluentBuilder::set_stream_arn):<br>required: **false**<br><p>The ARN of the stream.</p><br>
    /// - On success, responds with [`MergeShardsOutput`](crate::operation::merge_shards::MergeShardsOutput)
    /// - On failure, responds with [`SdkError<MergeShardsError>`](crate::operation::merge_shards::MergeShardsError)
    pub fn merge_shards(&self) -> crate::operation::merge_shards::builders::MergeShardsFluentBuilder {
        crate::operation::merge_shards::builders::MergeShardsFluentBuilder::new(self.handle.clone())
    }
}