Struct aws_sdk_ecr::input::BatchDeleteImageInput
source · #[non_exhaustive]pub struct BatchDeleteImageInput { /* private fields */ }
Expand description
Deletes specified images within a specified repository. Images are specified with either the imageTag
or imageDigest
.
Implementations§
source§impl BatchDeleteImageInput
impl BatchDeleteImageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDeleteImage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchDeleteImage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<BatchDeleteImage
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchDeleteImageInput
.
source§impl BatchDeleteImageInput
impl BatchDeleteImageInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
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.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The repository that contains the image to delete.
sourcepub fn image_ids(&self) -> Option<&[ImageIdentifier]>
pub fn image_ids(&self) -> Option<&[ImageIdentifier]>
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§
source§impl Clone for BatchDeleteImageInput
impl Clone for BatchDeleteImageInput
source§fn clone(&self) -> BatchDeleteImageInput
fn clone(&self) -> BatchDeleteImageInput
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 moresource§impl Debug for BatchDeleteImageInput
impl Debug for BatchDeleteImageInput
source§impl PartialEq<BatchDeleteImageInput> for BatchDeleteImageInput
impl PartialEq<BatchDeleteImageInput> for BatchDeleteImageInput
source§fn eq(&self, other: &BatchDeleteImageInput) -> bool
fn eq(&self, other: &BatchDeleteImageInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.