1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTrainingDataset`](crate::operation::get_training_dataset::builders::GetTrainingDatasetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`training_dataset_arn(impl Into<String>)`](crate::operation::get_training_dataset::builders::GetTrainingDatasetFluentBuilder::training_dataset_arn) / [`set_training_dataset_arn(Option<String>)`](crate::operation::get_training_dataset::builders::GetTrainingDatasetFluentBuilder::set_training_dataset_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the training dataset that you are interested in.</p><br>
    /// - On success, responds with [`GetTrainingDatasetOutput`](crate::operation::get_training_dataset::GetTrainingDatasetOutput) with field(s):
    ///   - [`create_time(DateTime)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::create_time): <p>The time at which the training dataset was created.</p>
    ///   - [`update_time(DateTime)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::update_time): <p>The most recent time at which the training dataset was updated.</p>
    ///   - [`training_dataset_arn(String)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::training_dataset_arn): <p>The Amazon Resource Name (ARN) of the training dataset.</p>
    ///   - [`name(String)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::name): <p>The name of the training dataset.</p>
    ///   - [`training_data(Vec::<Dataset>)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::training_data): <p>Metadata about the requested training data.</p>
    ///   - [`status(TrainingDatasetStatus)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::status): <p>The status of the training dataset.</p>
    ///   - [`role_arn(String)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::role_arn): <p>The IAM role used to read the training data.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::tags): <p>The tags that are assigned to this training dataset.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_training_dataset::GetTrainingDatasetOutput::description): <p>The description of the training dataset.</p>
    /// - On failure, responds with [`SdkError<GetTrainingDatasetError>`](crate::operation::get_training_dataset::GetTrainingDatasetError)
    pub fn get_training_dataset(&self) -> crate::operation::get_training_dataset::builders::GetTrainingDatasetFluentBuilder {
        crate::operation::get_training_dataset::builders::GetTrainingDatasetFluentBuilder::new(self.handle.clone())
    }
}