Struct aws_sdk_ecr::client::fluent_builders::BatchDeleteImage [−][src]
pub struct BatchDeleteImage<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to BatchDeleteImage.
Deletes a list of specified images within a repository. Images are specified with either an imageTag or imageDigest.
You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.
You can completely delete an image (and all of its tags) by specifying the image's digest in your request.
Implementations
impl<C, M, R> BatchDeleteImage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchDeleteImage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchDeleteImageOutput, SdkError<BatchDeleteImageError>> where
R::Policy: SmithyRetryPolicy<BatchDeleteImageInputOperationOutputAlias, BatchDeleteImageOutput, BatchDeleteImageError, BatchDeleteImageInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchDeleteImageOutput, SdkError<BatchDeleteImageError>> where
R::Policy: SmithyRetryPolicy<BatchDeleteImageInputOperationOutputAlias, BatchDeleteImageOutput, BatchDeleteImageError, BatchDeleteImageInputOperationRetryAlias>,
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 Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
The repository that contains the image to delete.
The repository that contains the image to delete.
Appends an item to imageIds.
To override the contents of this collection use set_image_ids.
A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest.
A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for BatchDeleteImage<C, M, R>
impl<C, M, R> Send for BatchDeleteImage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchDeleteImage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchDeleteImage<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for BatchDeleteImage<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
