aws_sdk_redshiftserverless/client/get_track.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetTrack`](crate::operation::get_track::builders::GetTrackFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetTrackOutput`](crate::operation::get_track::GetTrackOutput) with field(s):
8 /// - [`track(Option<ServerlessTrack>)`](crate::operation::get_track::GetTrackOutput::track): <p>The version of the specified track.</p>
9 /// - On failure, responds with [`SdkError<GetTrackError>`](crate::operation::get_track::GetTrackError)
10 pub fn get_track(&self) -> crate::operation::get_track::builders::GetTrackFluentBuilder {
11 crate::operation::get_track::builders::GetTrackFluentBuilder::new(self.handle.clone())
12 }
13}