aws_sdk_databrew/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    ///   - [`name(impl Into<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the dataset to be described.</p><br>
7    /// - On success, responds with [`DescribeDatasetOutput`](crate::operation::describe_dataset::DescribeDatasetOutput) with field(s):
8    ///   - [`created_by(Option<String>)`](crate::operation::describe_dataset::DescribeDatasetOutput::created_by): <p>The identifier (user name) of the user who created the dataset.</p>
9    ///   - [`create_date(Option<DateTime>)`](crate::operation::describe_dataset::DescribeDatasetOutput::create_date): <p>The date and time that the dataset was created.</p>
10    ///   - [`name(String)`](crate::operation::describe_dataset::DescribeDatasetOutput::name): <p>The name of the dataset.</p>
11    ///   - [`format(Option<InputFormat>)`](crate::operation::describe_dataset::DescribeDatasetOutput::format): <p>The file format of a dataset that is created from an Amazon S3 file or folder.</p>
12    ///   - [`format_options(Option<FormatOptions>)`](crate::operation::describe_dataset::DescribeDatasetOutput::format_options): <p>Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.</p>
13    ///   - [`input(Option<Input>)`](crate::operation::describe_dataset::DescribeDatasetOutput::input): <p>Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.</p>
14    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::describe_dataset::DescribeDatasetOutput::last_modified_date): <p>The date and time that the dataset was last modified.</p>
15    ///   - [`last_modified_by(Option<String>)`](crate::operation::describe_dataset::DescribeDatasetOutput::last_modified_by): <p>The identifier (user name) of the user who last modified the dataset.</p>
16    ///   - [`source(Option<Source>)`](crate::operation::describe_dataset::DescribeDatasetOutput::source): <p>The location of the data for this dataset, Amazon S3 or the Glue Data Catalog.</p>
17    ///   - [`path_options(Option<PathOptions>)`](crate::operation::describe_dataset::DescribeDatasetOutput::path_options): <p>A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.</p>
18    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_dataset::DescribeDatasetOutput::tags): <p>Metadata tags associated with this dataset.</p>
19    ///   - [`resource_arn(Option<String>)`](crate::operation::describe_dataset::DescribeDatasetOutput::resource_arn): <p>The Amazon Resource Name (ARN) of the dataset.</p>
20    /// - On failure, responds with [`SdkError<DescribeDatasetError>`](crate::operation::describe_dataset::DescribeDatasetError)
21    pub fn describe_dataset(&self) -> crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder {
22        crate::operation::describe_dataset::builders::DescribeDatasetFluentBuilder::new(self.handle.clone())
23    }
24}