Struct aws_sdk_databrew::client::fluent_builders::BatchDeleteRecipeVersion [−][src]
pub struct BatchDeleteRecipeVersion<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchDeleteRecipeVersion
.
Deletes one or more versions of a recipe at a time.
The entire request will be rejected if:
-
The recipe does not exist.
-
There is an invalid version identifier in the list of versions.
-
The version list is empty.
-
The version list size exceeds 50.
-
The version list contains duplicate entries.
The request will complete successfully, but with partial failures, if:
-
A version does not exist.
-
A version is being used by a job.
-
You specify
LATEST_WORKING
, but it's being used by a project. -
The version fails to be deleted.
The LATEST_WORKING
version will only be deleted if the recipe has no
other versions. If you try to delete LATEST_WORKING
while other versions
exist (or if they can't be deleted), then LATEST_WORKING
will be listed as
partial failure in the response.
Implementations
impl<C, M, R> BatchDeleteRecipeVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchDeleteRecipeVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchDeleteRecipeVersionOutput, SdkError<BatchDeleteRecipeVersionError>> where
R::Policy: SmithyRetryPolicy<BatchDeleteRecipeVersionInputOperationOutputAlias, BatchDeleteRecipeVersionOutput, BatchDeleteRecipeVersionError, BatchDeleteRecipeVersionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchDeleteRecipeVersionOutput, SdkError<BatchDeleteRecipeVersionError>> where
R::Policy: SmithyRetryPolicy<BatchDeleteRecipeVersionInputOperationOutputAlias, BatchDeleteRecipeVersionOutput, BatchDeleteRecipeVersionError, BatchDeleteRecipeVersionInputOperationRetryAlias>,
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.
The name of the recipe whose versions are to be deleted.
The name of the recipe whose versions are to be deleted.
Appends an item to RecipeVersions
.
To override the contents of this collection use set_recipe_versions
.
An array of version identifiers, for the recipe versions to be deleted. You can
specify numeric versions (X.Y
) or LATEST_WORKING
.
LATEST_PUBLISHED
is not supported.
An array of version identifiers, for the recipe versions to be deleted. You can
specify numeric versions (X.Y
) or LATEST_WORKING
.
LATEST_PUBLISHED
is not supported.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for BatchDeleteRecipeVersion<C, M, R>
impl<C, M, R> Send for BatchDeleteRecipeVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchDeleteRecipeVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchDeleteRecipeVersion<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for BatchDeleteRecipeVersion<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more