aws_sdk_databrew/client/
update_dataset.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDataset`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the dataset to be updated.</p><br>
    ///   - [`format(InputFormat)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::format) / [`set_format(Option<InputFormat>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::set_format):<br>required: **false**<br><p>The file format of a dataset that is created from an Amazon S3 file or folder.</p><br>
    ///   - [`format_options(FormatOptions)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::format_options) / [`set_format_options(Option<FormatOptions>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::set_format_options):<br>required: **false**<br><p>Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.</p><br>
    ///   - [`input(Input)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::input) / [`set_input(Option<Input>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::set_input):<br>required: **true**<br><p>Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.</p><br>
    ///   - [`path_options(PathOptions)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::path_options) / [`set_path_options(Option<PathOptions>)`](crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::set_path_options):<br>required: **false**<br><p>A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.</p><br>
    /// - On success, responds with [`UpdateDatasetOutput`](crate::operation::update_dataset::UpdateDatasetOutput) with field(s):
    ///   - [`name(String)`](crate::operation::update_dataset::UpdateDatasetOutput::name): <p>The name of the dataset that you updated.</p>
    /// - On failure, responds with [`SdkError<UpdateDatasetError>`](crate::operation::update_dataset::UpdateDatasetError)
    pub fn update_dataset(&self) -> crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder {
        crate::operation::update_dataset::builders::UpdateDatasetFluentBuilder::new(self.handle.clone())
    }
}