Amazon ECR Amazon ECR Amazon Elastic Container Registry (ECR) API

The Amazon ECR Amazon Elastic Container Registry (ECR) API API from Amazon ECR — 1 operation(s) for amazon ecr amazon elastic container registry (ecr) api.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#BatchGetImage Get a repository image's manifest · Batch Get Image #
Ask an LLM
“How do I fetch the manifest of a tagged image in a repository?”
“Can I look up an image by its digest instead of its tag?”
Tell an agent
Get the manifest of {imageIds} in repository {repositoryName}.
Fetch image {imageIds} from {repositoryName} in registry {registryId}.
POST /#ListImages List image IDs in a repository · List Images #
Ask an LLM
“Which images are tagged versus untagged in my repository?”
“Can I list only untagged images to clean them up?”
Tell an agent
List image IDs in {repositoryName}.
List {filter} images in {repositoryName}.
POST /#PutImage Push an image manifest to a repository · Put Image #
Ask an LLM
“How do I upload a new image manifest to a repository?”
“Can I tag an image when I push it into a repository?”
Tell an agent
Push manifest {imageManifest} to {repositoryName}.
Upload {imageManifest} to {repositoryName} tagged {imageTag}.
POST /#CreateRepository Create a repository · Create Repository #
Ask an LLM
“How do I create a new image repository?”
“Can I make a repository's tags immutable when I create it?”
Tell an agent
Create repository {repositoryName}.
Create {repositoryName} with tag mutability {imageTagMutability}.
POST /#DeleteRepository Delete a repository · Delete Repository #
Ask an LLM
“How do I delete a repository that still has images in it?”
“Can I force-delete a repository so its contents are removed too?”
Tell an agent destructive · confirm first
Delete repository {repositoryName}.
Force-delete {repositoryName} with force {force}.
POST /#DescribeRepositories Describe image repositories · Describe Repositories #
Ask an LLM
“What repositories exist in my registry?”
“Can I describe several repositories at once?”
Tell an agent
Describe repositories {repositoryNames}.
Show the details of {repositoryNames} in registry {registryId}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ecr:amazon-ecr-amazon-ecr-amazon-elastic-container-registry-ecr-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-ecr-amazon-ecr-amazon-elastic-container-registry-ecr-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Elastic Container Registry Amazon Ecr Amazon Elastic Container Registry Ecr Api API
  version: '2015-09-21'
  description: Generated from AWS's published Smithy model for Amazon Elastic Container Registry. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://api.ecr.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#BatchGetImage:
    post:
      operationId: BatchGetImage
      summary: Batch Get Image
      description: Gets detailed information for an image. Images are specified with either an imageTag or imageDigest. When
        an image is pulled, the BatchGetImage API is called once to retrieve the image manifest.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BatchGetImageResponse'
              example:
                images:
                - imageManifest: "{\n \"schemaVersion\": 1,\n \"name\": \"ubuntu\",\n \"tag\": \"precise\",\n..."
                  repositoryName: ubuntu
                  registryId: '244698725403'
                  imageId:
                    imageTag: precise
                    imageDigest: sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a
                failures: []
        '400':
          description: InvalidParameterException; LimitExceededException; RepositoryNotFoundException; UnableToGetUpstreamImageException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.BatchGetImage
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/BatchGetImageRequest'
            example:
              repositoryName: ubuntu
              imageIds:
              - imageTag: precise
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
  /#ListImages:
    post:
      operationId: ListImages
      summary: List Images
      description: Lists all the image IDs for the specified repository. You can filter images based on whether or not they
        are tagged by using the tagStatus filter and specifying either TAGGED, UNTAGGED or ANY. For example, you can filter
        your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them.
        Or, you can filter your results to return only TAGGED images to list all of the tags in your repository.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListImagesResponse'
              example:
                imageIds:
                - imageTag: precise
                  imageDigest: sha256:764f63476bdff6d83a09ba2a818f0d35757063724a9ac3ba5019c56f74ebf42a
        '400':
          description: InvalidParameterException; RepositoryNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.ListImages
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListImagesRequest'
            example:
              repositoryName: ubuntu
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
  /#PutImage:
    post:
      operationId: PutImage
      summary: Put Image
      description: Creates or updates the image manifest and tags associated with an image. When an image is pushed and all
        new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the
        tags associated with the image. This operation is used by the Amazon ECR proxy and is not generally used by customers
        for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/PutImageResponse'
        '400':
          description: ImageAlreadyExistsException; ImageDigestDoesNotMatchException; ImageTagAlreadyExistsException; InvalidParameterException;
            KmsException; LayersNotFoundException; LimitExceededException; ReferencedImagesNotFoundException; RepositoryNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ImageAlreadyExistsException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.PutImage
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/PutImageRequest'
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
  /#CreateRepository:
    post:
      operationId: CreateRepository
      summary: Create Repository
      description: Creates a repository. For more information, see Amazon ECR repositories in the Amazon Elastic Container
        Registry User Guide.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateRepositoryResponse'
              example:
                repository:
                  registryId: 012345678901
                  repositoryName: project-a/nginx-web-app
                  repositoryArn: arn:aws:ecr:us-west-2:012345678901:repository/project-a/nginx-web-app
        '400':
          description: InvalidParameterException; InvalidTagParameterException; KmsException; LimitExceededException; RepositoryAlreadyExistsException;
            TooManyTagsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.CreateRepository
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateRepositoryRequest'
            example:
              repositoryName: project-a/nginx-web-app
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
  /#DeleteRepository:
    post:
      operationId: DeleteRepository
      summary: Delete Repository
      description: Deletes a repository. If the repository isn't empty, you must either delete the contents of the repository
        or use the force option to delete the repository and have Amazon ECR delete all of its contents on your behalf.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteRepositoryResponse'
              example:
                repository:
                  registryId: 012345678901
                  repositoryName: ubuntu
                  repositoryArn: arn:aws:ecr:us-west-2:012345678901:repository/ubuntu
        '400':
          description: InvalidParameterException; KmsException; RepositoryNotEmptyException; RepositoryNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.DeleteRepository
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteRepositoryRequest'
            example:
              repositoryName: ubuntu
              force: true
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
  /#DescribeRepositories:
    post:
      operationId: DescribeRepositories
      summary: Describe Repositories
      description: Describes image repositories in a registry.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeRepositoriesResponse'
              example:
                repositories:
                - registryId: 012345678910
                  repositoryName: ubuntu
                  repositoryArn: arn:aws:ecr:us-west-2:012345678910:repository/ubuntu
                - registryId: 012345678910
                  repositoryName: test
                  repositoryArn: arn:aws:ecr:us-west-2:012345678910:repository/test
        '400':
          description: InvalidParameterException; RepositoryNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '500':
          description: ServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServerException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonEC2ContainerRegistry_V20150921.DescribeRepositories
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeRepositoriesRequest'
      tags:
      - Amazon Ecr Amazon Elastic Container Registry Ecr Api
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: ecr
  schemas:
    BatchGetImageRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the images to describe.
            If you do not specify a registry, the default registry is assumed.
        repositoryName:
          type: string
          description: The repository that contains the images to describe.
        imageIds:
          type: array
          items:
            $ref: '#/components/schemas/ImageIdentifier'
          description: A list of image ID references that correspond to images to describe. The format of the imageIds reference
            is imageTag=tag or imageDigest=digest.
        acceptedMediaTypes:
          type: array
          items:
            type: string
          description: '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'
      required:
      - repositoryName
      - imageIds
    BatchGetImageResponse:
      type: object
      properties:
        images:
          type: array
          items:
            $ref: '#/components/schemas/Image'
          description: A list of image objects corresponding to the image references in the request.
        failures:
          type: array
          items:
            $ref: '#/components/schemas/ImageFailure'
          description: Any failures associated with the call.
    CreateRepositoryRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry to create the repository. If you do
            not specify a registry, the default registry is assumed.
        repositoryName:
          type: string
          description: The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app)
            or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).
            The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores,
            and forward slashes.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The metadata that you apply to the repository to help you categorize and organize them. Each tag consists
            of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128
            characters, and tag values can have a maximum length of 256 characters.
        imageTagMutability:
          type: string
          enum:
          - MUTABLE
          - IMMUTABLE
          - IMMUTABLE_WITH_EXCLUSION
          - MUTABLE_WITH_EXCLUSION
          description: The tag mutability setting for the repository. If this parameter is omitted, the default setting of
            MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is specified, all image tags
            within the repository will be immutable which will prevent them from being overwritten.
        imageTagMutabilityExclusionFilters:
          type: array
          items:
            $ref: '#/components/schemas/ImageTagMutabilityExclusionFilter'
          description: A list of filters that specify which image tags should be excluded from the repository's image tag
            mutability setting.
        imageScanningConfiguration:
          $ref: '#/components/schemas/ImageScanningConfiguration'
        encryptionConfiguration:
          $ref: '#/components/schemas/EncryptionConfiguration'
      required:
      - repositoryName
    CreateRepositoryResponse:
      type: object
      properties:
        repository:
          $ref: '#/components/schemas/Repository'
    DeleteRepositoryRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the repository to delete.
            If you do not specify a registry, the default registry is assumed.
        repositoryName:
          type: string
          description: The name of the repository to delete.
        force:
          type: boolean
          description: If true, deleting the repository force deletes the contents of the repository. If false, the repository
            must be empty before attempting to delete it.
      required:
      - repositoryName
    DeleteRepositoryResponse:
      type: object
      properties:
        repository:
          $ref: '#/components/schemas/Repository'
    DescribeRepositoriesRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the repositories to be
            described. If you do not specify a registry, the default registry is assumed.
        repositoryNames:
          type: array
          items:
            type: string
          description: A list of repositories to describe. If this parameter is omitted, then all repositories in a registry
            are described.
        nextToken:
          type: string
          description: The nextToken value returned from a previous paginated DescribeRepositories request where maxResults
            was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
            results that returned the nextToken value. This value is null when there are no more results to return. This option
            cannot be used when you specify repositories with repositoryNames. This token should be treated as an opaque identifier
            that is only used to retrieve the next items in a list and not for other programmatic purposes.
        maxResults:
          type: integer
          description: The maximum number of repository results returned by DescribeRepositories in paginated output. When
            this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken
            response element. The remaining results of the initial request can be seen by sending another DescribeRepositories
            request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used,
            then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. This option cannot be
            used when you specify repositories with repo
    DescribeRepositoriesResponse:
      type: object
      properties:
        repositories:
          type: array
          items:
            $ref: '#/components/schemas/Repository'
          description: A list of repository objects corresponding to valid repositories.
        nextToken:
          type: string
          description: The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories
            request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when
            there are no more results to return.
    EncryptionConfiguration:
      type: object
      properties:
        encryptionType:
          type: string
          enum:
          - AES256
          - KMS
          - KMS_DSSE
          description: The encryption type to use. If you use the KMS encryption type, the contents of the repository will
            be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt
            your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your
            own KMS key, which you already created. If you use the KMS_DSSE encryption type, the contents of the repository
            will be encrypted with two layers of encryption using server-side encryption with the KMS Management Service key
            stored in KMS. Similar to the KMS encryption typ
        kmsKey:
          type: string
          description: If you use the KMS encryption type, specify the KMS key to use for encryption. The alias, key ID, or
            full ARN of the KMS key can be specified. The key must exist in the same Region as the repository. If no key is
            specified, the default Amazon Web Services managed KMS key for Amazon ECR will be used.
      required:
      - encryptionType
    Image:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry containing the image.
        repositoryName:
          type: string
          description: The name of the repository associated with the image.
        imageId:
          $ref: '#/components/schemas/ImageIdentifier'
        imageManifest:
          type: string
          description: The image manifest associated with the image.
        imageManifestMediaType:
          type: string
          description: The manifest media type of the image.
    ImageAlreadyExistsException:
      type: object
      properties:
        message:
          type: string
          description: The error message associated with the exception.
    ImageFailure:
      type: object
      properties:
        imageId:
          $ref: '#/components/schemas/ImageIdentifier'
        failureCode:
          type: string
          enum:
          - InvalidImageDigest
          - InvalidImageTag
          - ImageTagDoesNotMatchDigest
          - ImageNotFound
          - MissingDigestAndTag
          - ImageReferencedByManifestList
          - KmsError
          - UpstreamAccessDenied
          - UpstreamTooManyRequests
          - UpstreamUnavailable
          - ImageInaccessible
          description: The code associated with the failure.
        failureReason:
          type: string
          description: The reason for the failure.
    ImageIdentifier:
      type: object
      properties:
        imageDigest:
          type: string
          description: The sha256 digest of the image manifest.
        imageTag:
          type: string
          description: The tag used for the image.
    ImageScanningConfiguration:
      type: object
      properties:
        scanOnPush:
          type: boolean
          description: The setting that determines whether images are scanned after being pushed to a repository. If set to
            true, images will be scanned after being pushed. If this parameter is not specified, it will default to false
            and images will not be scanned unless a scan is manually started with the API_StartImageScan API.
    ImageTagMutabilityExclusionFilter:
      type: object
      properties:
        filterType:
          type: string
          enum:
          - WILDCARD
          description: The type of filter to apply for excluding image tags from mutability settings.
        filter:
          type: string
          description: The filter value used to match image tags for exclusion from mutability settings.
      required:
      - filterType
      - filter
    InvalidParameterException:
      type: object
      properties:
        message:
          type: string
          description: The error message associated with the exception.
    ListImagesFilter:
      type: object
      properties:
        tagStatus:
          type: string
          enum:
          - TAGGED
          - UNTAGGED
          - ANY
          description: The tag status with which to filter your ListImages results.
        imageStatus:
          type: string
          enum:
          - ACTIVE
          - ARCHIVED
          - ACTIVATING
          - ANY
          description: The image status with which to filter your ListImages results. Valid values are ACTIVE, ARCHIVED, and
            ACTIVATING. If not specified, only images with ACTIVE status are returned.
    ListImagesRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the repository in which
            to list images. If you do not specify a registry, the default registry is assumed.
        repositoryName:
          type: string
          description: The repository with image IDs to be listed.
        nextToken:
          type: string
          description: The nextToken value returned from a previous paginated ListImages request where maxResults was used
            and the results exceeded the value of that parameter. Pagination continues from the end of the previous results
            that returned the nextToken value. This value is null when there are no more results to return. This token should
            be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic
            purposes.
        maxResults:
          type: integer
          description: The maximum number of image results returned by ListImages in paginated output. When this parameter
            is used, ListImages only returns maxResults results in a single page along with a nextToken response element.
            The remaining results of the initial request can be seen by sending another ListImages request with the returned
            nextToken value. This value can be between 1 and 1000. If this parameter is not used, then ListImages returns
            up to 100 results and a nextToken value, if applicable.
        filter:
          $ref: '#/components/schemas/ListImagesFilter'
      required:
      - repositoryName
    ListImagesResponse:
      type: object
      properties:
        imageIds:
          type: array
          items:
            $ref: '#/components/schemas/ImageIdentifier'
          description: The list of image IDs for the requested repository.
        nextToken:
          type: string
          description: The nextToken value to include in a future ListImages request. When the results of a ListImages request
            exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there
            are no more results to return.
    PutImageRequest:
      type: object
      properties:
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the repository in which
            to put the image. If you do not specify a registry, the default registry is assumed.
        repositoryName:
          type: string
          description: The name of the repository in which to put the image.
        imageManifest:
          type: string
          description: The image manifest corresponding to the image to be uploaded.
        imageManifestMediaType:
          type: string
          description: The media type of the image manifest. If you push an image manifest that does not contain the mediaType
            field, you must specify the imageManifestMediaType in the request.
        imageTag:
          type: string
          description: The tag to associate with the image. This parameter is optional.
        imageDigest:
          type: string
          description: The image digest of the image manifest corresponding to the image.
      required:
      - repositoryName
      - imageManifest
    PutImageResponse:
      type: object
      properties:
        image:
          $ref: '#/components/schemas/Image'
    Repository:
      type: object
      properties:
        repositoryArn:
          type: string
          description: The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace,
            followed by the region of the repository, Amazon Web Services account ID of the repository owner, and repository
            name. For example, arn:aws:ecr:region:012345678910:repository/repository-name.
        registryId:
          type: string
          description: The Amazon Web Services account ID associated with the registry that contains the repository.
        repositoryName:
          type: string
          description: The name of the repository.
        repositoryUri:
          type: string
          description: The URI for the repository. You can use this URI for container image push and pull operations.
        createdAt:
          type: string
          format: date-time
          description: The date and time, in JavaScript date format, when the repository was created.
        imageTagMutability:
          type: string
          enum:
          - MUTABLE
          - IMMUTABLE
          - IMMUTABLE_WITH_EXCLUSION
          - MUTABLE_WITH_EXCLUSION
          description: The tag mutability setting for the repository.
        imageTagMutabilityExclusionFilters:
          type: array
          items:
            $ref: '#/components/schemas/ImageTagMutabilityExclusionFilter'
          description: A list of filters that specify which image tags are excluded from the repository's image tag mutability
            setting.
        imageScanningConfiguration:
          $ref: '#/components/schemas/ImageScanningConfiguration'
        encryptionConfiguration:
          $ref: '#/components/schemas/EncryptionConfiguration'
    ServerException:
      type: object
      properties:
        message:
          type: string
          description: The error message associated with the exception.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: One part of a key-value pair that make up a tag. A key is a general label that acts like a category
            for more specific tag values.
        Value:
          type: string
          description: A value acts as a descriptor within a tag category (key).
      required:
      - Key
      - Value
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ecr/service/2015-09-21/ecr-2015-09-21.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)