aws-sdk-dsql 1.58.0

AWS SDK for Amazon Aurora DSQL
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetStream`](crate::operation::get_stream::builders::GetStreamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::get_stream::builders::GetStreamFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::get_stream::builders::GetStreamFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The ID of the cluster containing the stream to retrieve.</p><br>
    ///   - [`stream_identifier(impl Into<String>)`](crate::operation::get_stream::builders::GetStreamFluentBuilder::stream_identifier) / [`set_stream_identifier(Option<String>)`](crate::operation::get_stream::builders::GetStreamFluentBuilder::set_stream_identifier):<br>required: **true**<br><p>The ID of the stream to retrieve.</p><br>
    /// - On success, responds with [`GetStreamOutput`](crate::operation::get_stream::GetStreamOutput) with field(s):
    ///   - [`cluster_identifier(String)`](crate::operation::get_stream::GetStreamOutput::cluster_identifier): <p>The ID of the cluster for the retrieved stream.</p>
    ///   - [`stream_identifier(String)`](crate::operation::get_stream::GetStreamOutput::stream_identifier): <p>The ID of the retrieved stream.</p>
    ///   - [`arn(String)`](crate::operation::get_stream::GetStreamOutput::arn): <p>The ARN of the retrieved stream.</p>
    ///   - [`status(StreamStatus)`](crate::operation::get_stream::GetStreamOutput::status): <p>The current status of the retrieved stream.</p>
    ///   - [`creation_time(DateTime)`](crate::operation::get_stream::GetStreamOutput::creation_time): <p>The time when the stream was created.</p>
    ///   - [`ordering(StreamOrdering)`](crate::operation::get_stream::GetStreamOutput::ordering): <p>The ordering mode of the stream.</p>
    ///   - [`format(StreamFormat)`](crate::operation::get_stream::GetStreamOutput::format): <p>The format of the stream records.</p>
    ///   - [`target_definition(Option<TargetDefinition>)`](crate::operation::get_stream::GetStreamOutput::target_definition): <p>The target definition for the stream destination.</p>
    ///   - [`status_reason(Option<StatusReason>)`](crate::operation::get_stream::GetStreamOutput::status_reason): <p>Stream status reason with error code and timestamp (if applicable).</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_stream::GetStreamOutput::tags): <p>A map of tags associated with the stream.</p>
    /// - On failure, responds with [`SdkError<GetStreamError>`](crate::operation::get_stream::GetStreamError)
    pub fn get_stream(&self) -> crate::operation::get_stream::builders::GetStreamFluentBuilder {
        crate::operation::get_stream::builders::GetStreamFluentBuilder::new(self.handle.clone())
    }
}