Struct aws_sdk_databrew::input::UpdateDatasetInput
source · #[non_exhaustive]pub struct UpdateDatasetInput { /* private fields */ }
Implementations§
source§impl UpdateDatasetInput
impl UpdateDatasetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataset, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataset, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDataset
>
Examples found in repository?
src/client.rs (line 4570)
4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDataset,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDatasetError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDatasetOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDatasetError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDatasetInput
.
source§impl UpdateDatasetInput
impl UpdateDatasetInput
sourcepub fn format(&self) -> Option<&InputFormat>
pub fn format(&self) -> Option<&InputFormat>
The file format of a dataset that is created from an Amazon S3 file or folder.
sourcepub fn format_options(&self) -> Option<&FormatOptions>
pub fn format_options(&self) -> Option<&FormatOptions>
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
sourcepub fn input(&self) -> Option<&Input>
pub fn input(&self) -> Option<&Input>
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
sourcepub fn path_options(&self) -> Option<&PathOptions>
pub fn path_options(&self) -> Option<&PathOptions>
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
Trait Implementations§
source§impl Clone for UpdateDatasetInput
impl Clone for UpdateDatasetInput
source§fn clone(&self) -> UpdateDatasetInput
fn clone(&self) -> UpdateDatasetInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more