Amazon ECR Ecr Registry Policy API
The Ecr Registry Policy API from Amazon ECR — 3 operation(s) for ecr registry policy.
The Ecr Registry Policy API from Amazon ECR — 3 operation(s) for ecr registry policy.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-ecr:amazon-ecr-registry-policy-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Amazon Elastic Container Registry Registry Policy API
version: '2015-09-21'
description: Generated from AWS's published Smithy model for Amazon Elastic Container Registry. 3 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: []
tags:
- name: Registry Policy
paths:
/#DeleteRegistryPolicy:
post:
operationId: DeleteRegistryPolicy
summary: Delete Registry Policy
description: Deletes the registry permissions policy.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteRegistryPolicyResponse'
'400':
description: InvalidParameterException; RegistryPolicyNotFoundException; ValidationException
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.DeleteRegistryPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteRegistryPolicyRequest'
tags:
- Registry Policy
/#GetRegistryPolicy:
post:
operationId: GetRegistryPolicy
summary: Get Registry Policy
description: Retrieves the permissions policy for a registry.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetRegistryPolicyResponse'
'400':
description: InvalidParameterException; RegistryPolicyNotFoundException; ValidationException
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.GetRegistryPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetRegistryPolicyRequest'
tags:
- Registry Policy
/#PutRegistryPolicy:
post:
operationId: PutRegistryPolicy
summary: Put Registry Policy
description: Creates or updates the permissions policy for your registry. A registry policy is used to specify permissions for another Amazon Web Services account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutRegistryPolicyResponse'
'400':
description: InvalidParameterException; ValidationException
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.PutRegistryPolicy
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/PutRegistryPolicyRequest'
tags:
- Registry Policy
components:
schemas:
GetRegistryPolicyResponse:
type: object
properties:
registryId:
type: string
description: The registry ID associated with the request.
policyText:
type: string
description: The JSON text of the permissions policy for a registry.
ServerException:
type: object
properties:
message:
type: string
description: The error message associated with the exception.
PutRegistryPolicyResponse:
type: object
properties:
registryId:
type: string
description: The registry ID associated with the request.
policyText:
type: string
description: The JSON policy text for your registry.
InvalidParameterException:
type: object
properties:
message:
type: string
description: The error message associated with the exception.
GetRegistryPolicyRequest:
type: object
properties: {}
DeleteRegistryPolicyResponse:
type: object
properties:
registryId:
type: string
description: The registry ID associated with the request.
policyText:
type: string
description: The contents of the registry permissions policy that was deleted.
PutRegistryPolicyRequest:
type: object
properties:
policyText:
type: string
description: The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
required:
- policyText
DeleteRegistryPolicyRequest:
type: object
properties: {}
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
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/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)