Class: Aws::ECR::Types::BatchDeleteImageRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_idsArray<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.

Returns:



150
151
152
153
154
155
156
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 150

class BatchDeleteImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

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.

Returns:

  • (String)


150
151
152
153
154
155
156
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 150

class BatchDeleteImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The repository that contains the image to delete.

Returns:

  • (String)


150
151
152
153
154
155
156
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 150

class BatchDeleteImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids)
  SENSITIVE = []
  include Aws::Structure
end