Class: Aws::ECR::Types::BatchDeleteImageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::BatchDeleteImageRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecr/types.rb
Overview
Note:
When making an API call, you may pass BatchDeleteImageRequest data as a hash:
{
registry_id: "RegistryId",
repository_name: "RepositoryName", # required
image_ids: [ # required
{
image_digest: "ImageDigest",
image_tag: "ImageTag",
},
],
}
Deletes specified images within a specified repository. Images are specified with either the ‘imageTag` or `imageDigest`.
Instance Attribute Summary collapse
-
#image_ids ⇒ Array<Types::ImageIdentifier>
A list of image ID references that correspond to images to delete.
-
#registry_id ⇒ String
The AWS account ID associated with the registry that contains the image to delete.
-
#repository_name ⇒ String
The repository that contains the image to delete.
Instance Attribute Details
#image_ids ⇒ Array<Types::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`.
126 127 128 129 130 131 |
# File 'lib/aws-sdk-ecr/types.rb', line 126 class BatchDeleteImageRequest < Struct.new( :registry_id, :repository_name, :image_ids) include Aws::Structure end |
#registry_id ⇒ String
The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
126 127 128 129 130 131 |
# File 'lib/aws-sdk-ecr/types.rb', line 126 class BatchDeleteImageRequest < Struct.new( :registry_id, :repository_name, :image_ids) include Aws::Structure end |
#repository_name ⇒ String
The repository that contains the image to delete.
126 127 128 129 130 131 |
# File 'lib/aws-sdk-ecr/types.rb', line 126 class BatchDeleteImageRequest < Struct.new( :registry_id, :repository_name, :image_ids) include Aws::Structure end |