aws_sdk_lookoutvision/client/
describe_dataset.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 [`DescribeDataset`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`project_name(impl Into<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project that contains the dataset that you want to describe.</p><br>
7    ///   - [`dataset_type(impl Into<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::dataset_type) / [`set_dataset_type(Option<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::set_dataset_type):<br>required: **true**<br><p>The type of the dataset to describe. Specify <code>train</code> to describe the training dataset. Specify <code>test</code> to describe the test dataset. If you have a single dataset project, specify <code>train</code></p><br>
8    /// - On success, responds with [`DescribeDatasetOutput`](crate::operation::describe_dataset::DescribeDatasetOutput) with field(s):
9    ///   - [`dataset_description(Option<DatasetDescription>)`](crate::operation::describe_dataset::DescribeDatasetOutput::dataset_description): <p>The description of the requested dataset.</p>
10    /// - On failure, responds with [`SdkError<DescribeDatasetError>`](crate::operation::describe_dataset::DescribeDatasetError)
11    pub fn describe_dataset(&self) -> crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder {
12        crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::new(self.handle.clone())
13    }
14}