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 [`DescribeStreamConsumer`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stream_arn(impl Into<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::stream_arn) / [`set_stream_arn(Option<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::set_stream_arn):<br>required: **false**<br><p>The ARN of the Kinesis data stream that the consumer is registered with. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a>.</p><br>
    ///   - [`consumer_name(impl Into<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::consumer_name) / [`set_consumer_name(Option<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::set_consumer_name):<br>required: **false**<br><p>The name that you gave to the consumer.</p><br>
    ///   - [`consumer_arn(impl Into<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::consumer_arn) / [`set_consumer_arn(Option<String>)`](crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::set_consumer_arn):<br>required: **false**<br><p>The ARN returned by Kinesis Data Streams when you registered the consumer.</p><br>
    /// - On success, responds with [`DescribeStreamConsumerOutput`](crate::operation::describe_stream_consumer::DescribeStreamConsumerOutput) with field(s):
    ///   - [`consumer_description(Option<ConsumerDescription>)`](crate::operation::describe_stream_consumer::DescribeStreamConsumerOutput::consumer_description): <p>An object that represents the details of the consumer.</p>
    /// - On failure, responds with [`SdkError<DescribeStreamConsumerError>`](crate::operation::describe_stream_consumer::DescribeStreamConsumerError)
    pub fn describe_stream_consumer(&self) -> crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder {
        crate::operation::describe_stream_consumer::builders::DescribeStreamConsumerFluentBuilder::new(self.handle.clone())
    }
}