{ "uuid": "01c9a283-2708-4ca4-ad6b-42584a1a403b", "lastMigration": 29, "name": "Amazon EC2 Container Registry", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "7c778737-c0ca-4d99-b21c-72b448d18bae", "documentation": "
Checks the availability of one or more image layers in a repository.
When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
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.
Deletes a list of specified images within a repository. Images are specified with either an imageTag
or imageDigest
.
You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.
You can completely delete an image (and all of its tags) by specifying the image's digest in your request.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchDeleteImage", "responses": [ { "uuid": "6769d420-cfb2-4f06-8c06-fb8cbcda5030", "body": "{\n \"failures\": [],\n \"imageIds\": [\n {\n \"imageDigest\": \"sha256:examplee6d1e504117a17000003d3753086354a38375961f2e665416ef4b1b2f\",\n \"imageTag\": \"precise\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ceb516ed-c020-48b9-b8a1-beffe42273eb", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "ServerException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6e5701a-2f97-4549-907a-b4f482856a47", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidParameterException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "09f1a39b-cc46-4abe-98a5-e032ce17bc75", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "RepositoryNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "48b8c548-36b5-4b6d-80a8-b0ed152d8e99", "documentation": "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.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetImage", "responses": [ { "uuid": "b2cceb6e-7508-440e-aa7f-f732bb8f8682", "body": "{\n \"failures\": [],\n \"images\": [\n {\n \"imageId\": {\n \"imageDigest\": \"sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a\",\n \"imageTag\": \"precise\"\n },\n \"imageManifest\": \"{\\n \\\"schemaVersion\\\": 1,\\n \\\"name\\\": \\\"ubuntu\\\",\\n \\\"tag\\\": \\\"precise\\\",\\n...\",\n \"registryId\": \"244698725403\",\n \"repositoryName\": \"ubuntu\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c8a70e23-2396-4663-b8f7-c5a61f00472a", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "ServerException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ef718797-3b70-4dcf-9295-1dc438150f8e", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidParameterException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69f2c615-f3ae-44b6-92e3-102639a70f35", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "RepositoryNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9b1b2572-12c5-4e49-9848-e131f906112e", "documentation": "Informs Amazon ECR that the image layer upload has completed for a specified registry, repository name, and upload ID. You can optionally provide a sha256
digest of the image layer for data validation purposes.
When an image is pushed, the CompleteLayerUpload API is called once per each new image layer to verify that the upload has completed.
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.
force
option to delete the repository.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.DeleteRepository",
"responses": [
{
"uuid": "4b82a4b4-a8c5-4d1a-823d-6b8a1c6a9871",
"body": "{\n \"repository\": {\n \"registryId\": 12345678901,\n \"repositoryArn\": \"arn:aws:ecr:us-west-2:012345678901:repository/ubuntu\",\n \"repositoryName\": \"ubuntu\"\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "8b675a53-d66d-4b08-ba42-7376f2cfe79e",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "ServerException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "c80b5ef1-2e03-4d4f-aabc-26e8cfa73a7a",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "InvalidParameterException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "623ff011-cbc5-418a-bd3c-07c4932283c6",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "RepositoryNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "fafa5366-c4aa-4b3f-bae4-dc17b3ad453b",
"body": "\"\"",
"latency": 0,
"statusCode": 483,
"label": "RepositoryNotEmptyException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "57345582-8224-47c5-922e-b8f579e8360a",
"body": "\"\"",
"latency": 0,
"statusCode": 484,
"label": "KmsException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "2e38e9e9-8bdb-4ac5-883d-c82c153b8db5",
"documentation": "Deletes the repository policy associated with the specified repository.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.DeleteRepositoryPolicy",
"responses": [
{
"uuid": "0fff8713-0120-4f14-9f2b-2508d4b597c5",
"body": "{\n \"policyText\": \"{ ... }\",\n \"registryId\": 12345678901,\n \"repositoryName\": \"ubuntu\"\n}",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "0fa34ffc-0a56-4d94-bc2c-0a4f816bc088",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "ServerException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "c69a3458-9498-4baf-83f8-1d83cee48561",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "InvalidParameterException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "7448324b-80b1-459f-ae37-6bc32e1f40f3",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "RepositoryNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "88ecc54b-26ac-4930-a900-be2f995f7618",
"body": "\"\"",
"latency": 0,
"statusCode": 483,
"label": "RepositoryPolicyNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "2e287aea-fad2-4f00-8f87-6a8a4700957b",
"documentation": "Returns the scan findings for the specified image.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.DescribeImageScanFindings",
"responses": [
{
"uuid": "bf9b33f8-c667-4929-86b1-6058d4628105",
"body": "{\n \"registryId\": \"\",\n \"repositoryName\": \"\",\n \"imageId\": {\n \"imageDigest\": \"\",\n \"imageTag\": \"\"\n },\n \"imageScanStatus\": {\n \"status\": \"\",\n \"description\": \"\"\n },\n \"imageScanFindings\": {\n \"imageScanCompletedAt\": \"{{faker 'date.recent' 365}}\",\n \"vulnerabilitySourceUpdatedAt\": \"{{faker 'date.recent' 365}}\",\n \"findings\": [\n {\n \"name\": \"\",\n \"description\": \"\",\n \"uri\": \"\",\n \"severity\": \"\",\n \"attributes\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ]\n }\n ],\n \"findingSeverityCounts\": {}\n },\n \"nextToken\": \"\"\n}",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "39c2c94d-954c-4061-8494-0f7a5930bdd5",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "ServerException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "182848b6-d02a-44c1-8a03-920db1fbd28a",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "InvalidParameterException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "6452eb57-bfad-46a6-8470-9142cd14f534",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "RepositoryNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "6e597abb-82c2-451a-a85c-5499c7cfcb61",
"body": "\"\"",
"latency": 0,
"statusCode": 483,
"label": "ImageNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "08421354-37d8-4728-ab0e-15203560ff12",
"body": "\"\"",
"latency": 0,
"statusCode": 484,
"label": "ScanNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "bb28a82c-2571-4a2e-9165-d493b6f8d746",
"documentation": "Returns metadata about the images in a repository.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images
command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.
Retrieves an authorization token. An authorization token represents your IAM authentication credentials and can be used to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours.
The authorizationToken
returned is a base64 encoded string that can be decoded and used in a docker login
command to authenticate to a registry. The CLI offers an get-login-password
command that simplifies the login process. For more information, see Registry authentication in the Amazon Elastic Container Registry User Guide.
Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.
When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer that is not already cached.
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.
Notifies Amazon ECR that you intend to upload an image layer.
When an image is pushed, the InitiateLayerUpload API is called once per image layer that has not already been uploaded. Whether or not an image layer has been uploaded is determined by the BatchCheckLayerAvailability API action.
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.
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.
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.
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.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.PutRegistryPolicy", "responses": [ { "uuid": "f0dc1ed0-49bb-4ba0-a4e9-98124c865cab", "body": "{\n \"registryId\": \"\",\n \"policyText\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "deec7b49-336c-4af2-a293-0d6daf4356db", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "ServerException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0da3e4c4-9eac-48db-af10-b3346eb62846", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidParameterException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "67caf9cf-c4cb-419b-9899-f15d3436320d", "documentation": "Creates or updates the replication configuration for a registry. The existing replication configuration for a repository can be retrieved with the DescribeRegistry API action. The first time the PutReplicationConfiguration API is called, a service-linked IAM role is created in your account for the replication process. For more information, see Using service-linked roles for Amazon ECR in the Amazon Elastic Container Registry User Guide.
When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a registry permissions policy. For more information, see PutRegistryPolicy.
Uploads an image layer part to Amazon ECR.
When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part.
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.