Struct aws_sdk_cleanroomsml::operation::delete_training_dataset::builders::DeleteTrainingDatasetFluentBuilder
source · pub struct DeleteTrainingDatasetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTrainingDataset
.
Specifies a training dataset that you want to delete. You can't delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the TrainingDataset
is metadata that points to a Glue table, which is read only during AudienceModel
creation. This action deletes the metadata.
Implementations§
source§impl DeleteTrainingDatasetFluentBuilder
impl DeleteTrainingDatasetFluentBuilder
sourcepub fn as_input(&self) -> &DeleteTrainingDatasetInputBuilder
pub fn as_input(&self) -> &DeleteTrainingDatasetInputBuilder
Access the DeleteTrainingDataset as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTrainingDatasetOutput, SdkError<DeleteTrainingDatasetError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTrainingDatasetOutput, SdkError<DeleteTrainingDatasetError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteTrainingDatasetOutput, DeleteTrainingDatasetError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteTrainingDatasetOutput, DeleteTrainingDatasetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn training_dataset_arn(self, input: impl Into<String>) -> Self
pub fn training_dataset_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the training dataset that you want to delete.
sourcepub fn set_training_dataset_arn(self, input: Option<String>) -> Self
pub fn set_training_dataset_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the training dataset that you want to delete.
sourcepub fn get_training_dataset_arn(&self) -> &Option<String>
pub fn get_training_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the training dataset that you want to delete.
Trait Implementations§
source§impl Clone for DeleteTrainingDatasetFluentBuilder
impl Clone for DeleteTrainingDatasetFluentBuilder
source§fn clone(&self) -> DeleteTrainingDatasetFluentBuilder
fn clone(&self) -> DeleteTrainingDatasetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DeleteTrainingDatasetFluentBuilder
impl !RefUnwindSafe for DeleteTrainingDatasetFluentBuilder
impl Send for DeleteTrainingDatasetFluentBuilder
impl Sync for DeleteTrainingDatasetFluentBuilder
impl Unpin for DeleteTrainingDatasetFluentBuilder
impl !UnwindSafe for DeleteTrainingDatasetFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more