aws_sdk_lookoutvision/client/describe_dataset.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeDataset`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - On success, responds with [`DescribeDatasetOutput`](crate::operation::describe_dataset::DescribeDatasetOutput) with field(s):
/// - [`dataset_description(Option<DatasetDescription>)`](crate::operation::describe_dataset::DescribeDatasetOutput::dataset_description): <p>The description of the requested dataset.</p>
/// - On failure, responds with [`SdkError<DescribeDatasetError>`](crate::operation::describe_dataset::DescribeDatasetError)
pub fn describe_dataset(&self) -> crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder {
crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::new(self.handle.clone())
}
}