aws-sdk-redshiftserverless 1.106.0

AWS SDK for Redshift Serverless
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTrack`](crate::operation::get_track::builders::GetTrackFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`track_name(impl Into<String>)`](crate::operation::get_track::builders::GetTrackFluentBuilder::track_name) / [`set_track_name(Option<String>)`](crate::operation::get_track::builders::GetTrackFluentBuilder::set_track_name):<br>required: **true**<br><p>The name of the track of which its version is fetched.</p><br>
    /// - On success, responds with [`GetTrackOutput`](crate::operation::get_track::GetTrackOutput) with field(s):
    ///   - [`track(Option<ServerlessTrack>)`](crate::operation::get_track::GetTrackOutput::track): <p>The version of the specified track.</p>
    /// - On failure, responds with [`SdkError<GetTrackError>`](crate::operation::get_track::GetTrackError)
    pub fn get_track(&self) -> crate::operation::get_track::builders::GetTrackFluentBuilder {
        crate::operation::get_track::builders::GetTrackFluentBuilder::new(self.handle.clone())
    }
}