Class: Aws::ECR::Types::BatchGetImageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass BatchGetImageRequest data as a hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_ids: [ # required
    {
      image_digest: "ImageDigest",
      image_tag: "ImageTag",
    },
  ],
  accepted_media_types: ["MediaType"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#accepted_media_typesArray<String>

The accepted media types for the request.

Valid values: ‘application/vnd.docker.distribution.manifest.v1+json` | `application/vnd.docker.distribution.manifest.v2+json` | `application/vnd.oci.image.manifest.v1+json`

Returns:

  • (Array<String>)


190
191
192
193
194
195
196
# File 'lib/aws-sdk-ecr/types.rb', line 190

class BatchGetImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids,
  :accepted_media_types)
  include Aws::Structure
end

#image_idsArray<Types::ImageIdentifier>

A list of image ID references that correspond to images to describe. The format of the ‘imageIds` reference is `imageTag=tag` or `imageDigest=digest`.

Returns:



190
191
192
193
194
195
196
# File 'lib/aws-sdk-ecr/types.rb', line 190

class BatchGetImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids,
  :accepted_media_types)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)


190
191
192
193
194
195
196
# File 'lib/aws-sdk-ecr/types.rb', line 190

class BatchGetImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids,
  :accepted_media_types)
  include Aws::Structure
end

#repository_nameString

The repository that contains the images to describe.

Returns:

  • (String)


190
191
192
193
194
195
196
# File 'lib/aws-sdk-ecr/types.rb', line 190

class BatchGetImageRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_ids,
  :accepted_media_types)
  include Aws::Structure
end