{ "version": "2.0", "metadata": { "apiVersion": "2020-10-30", "endpointPrefix": "api.ecr-public", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon ECR Public", "serviceFullName": "Amazon Elastic Container Registry Public", "serviceId": "ECR PUBLIC", "signatureVersion": "v4", "signingName": "ecr-public", "targetPrefix": "SpencerFrontendService", "uid": "ecr-public-2020-10-30" }, "operations": { "BatchCheckLayerAvailability": { "name": "BatchCheckLayerAvailability", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchCheckLayerAvailabilityRequest" }, "output": { "shape": "BatchCheckLayerAvailabilityResponse" }, "errors": [ { "shape": "RepositoryNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "ServerException" }, { "shape": "RegistryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Checks the availability of one or more image layers that are within a repository in a public registry. 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.

" }, "BatchDeleteImage": { "name": "BatchDeleteImage", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchDeleteImageRequest" }, "output": { "shape": "BatchDeleteImageResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Deletes a list of specified images that are within a repository in a public registry. 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 digest of the image in your request.

" }, "CompleteLayerUpload": { "name": "CompleteLayerUpload", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CompleteLayerUploadRequest" }, "output": { "shape": "CompleteLayerUploadResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UploadNotFoundException" }, { "shape": "InvalidLayerException" }, { "shape": "LayerPartTooSmallException" }, { "shape": "LayerAlreadyExistsException" }, { "shape": "EmptyUploadException" }, { "shape": "RegistryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Informs Amazon ECR that the image layer upload is complete for a specified public 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 for each new image layer to verify that the upload is complete.

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.

" }, "CreateRepository": { "name": "CreateRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateRepositoryRequest" }, "output": { "shape": "CreateRepositoryResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "InvalidTagParameterException" }, { "shape": "TooManyTagsException" }, { "shape": "RepositoryAlreadyExistsException" }, { "shape": "LimitExceededException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Creates a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.

" }, "DeleteRepository": { "name": "DeleteRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryRequest" }, "output": { "shape": "DeleteRepositoryResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryNotEmptyException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Deletes a repository in a public registry. If the repository contains images, you must either manually delete all images in the repository or use the force option. This option deletes all images on your behalf before deleting the repository.

" }, "DeleteRepositoryPolicy": { "name": "DeleteRepositoryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryPolicyRequest" }, "output": { "shape": "DeleteRepositoryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryPolicyNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Deletes the repository policy that's associated with the specified repository.

" }, "DescribeImageTags": { "name": "DescribeImageTags", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeImageTagsRequest" }, "output": { "shape": "DescribeImageTagsResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Returns the image tag details for a repository in a public registry.

" }, "DescribeImages": { "name": "DescribeImages", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeImagesRequest" }, "output": { "shape": "DescribeImagesResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ImageNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Returns metadata that's related to the images in a repository in a public registry.

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. Therefore, it might return a larger image size than the image sizes that are returned by DescribeImages.

" }, "DescribeRegistries": { "name": "DescribeRegistries", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeRegistriesRequest" }, "output": { "shape": "DescribeRegistriesResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "UnsupportedCommandException" }, { "shape": "ServerException" } ], "documentation": "

Returns details for a public registry.

" }, "DescribeRepositories": { "name": "DescribeRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeRepositoriesRequest" }, "output": { "shape": "DescribeRepositoriesResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Describes repositories that are in a public registry.

" }, "GetAuthorizationToken": { "name": "GetAuthorizationToken", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetAuthorizationTokenRequest" }, "output": { "shape": "GetAuthorizationTokenResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions.

" }, "GetRegistryCatalogData": { "name": "GetRegistryCatalogData", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRegistryCatalogDataRequest" }, "output": { "shape": "GetRegistryCatalogDataResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Retrieves catalog metadata for a public registry.

" }, "GetRepositoryCatalogData": { "name": "GetRepositoryCatalogData", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryCatalogDataRequest" }, "output": { "shape": "GetRepositoryCatalogDataResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryCatalogDataNotFoundException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery.

" }, "GetRepositoryPolicy": { "name": "GetRepositoryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryPolicyRequest" }, "output": { "shape": "GetRepositoryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryPolicyNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Retrieves the repository policy for the specified repository.

" }, "InitiateLayerUpload": { "name": "InitiateLayerUpload", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "InitiateLayerUploadRequest" }, "output": { "shape": "InitiateLayerUploadResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RegistryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Notifies Amazon ECR that you intend to upload an image layer.

When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads 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.

" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" }, { "shape": "ServerException" } ], "documentation": "

List the tags for an Amazon ECR Public resource.

" }, "PutImage": { "name": "PutImage", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutImageRequest" }, "output": { "shape": "PutImageResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ImageAlreadyExistsException" }, { "shape": "LayersNotFoundException" }, { "shape": "ReferencedImagesNotFoundException" }, { "shape": "LimitExceededException" }, { "shape": "ImageTagAlreadyExistsException" }, { "shape": "ImageDigestDoesNotMatchException" }, { "shape": "RegistryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Creates or updates the image manifest and tags that are 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 that are 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.

" }, "PutRegistryCatalogData": { "name": "PutRegistryCatalogData", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRegistryCatalogDataRequest" }, "output": { "shape": "PutRegistryCatalogDataResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Create or update the catalog data for a public registry.

" }, "PutRepositoryCatalogData": { "name": "PutRepositoryCatalogData", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRepositoryCatalogDataRequest" }, "output": { "shape": "PutRepositoryCatalogDataResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Creates or updates the catalog data for a repository in a public registry.

" }, "SetRepositoryPolicy": { "name": "SetRepositoryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SetRepositoryPolicyRequest" }, "output": { "shape": "SetRepositoryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.

" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "InvalidTagParameterException" }, { "shape": "TooManyTagsException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" }, { "shape": "ServerException" } ], "documentation": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "InvalidTagParameterException" }, { "shape": "TooManyTagsException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UnsupportedCommandException" }, { "shape": "ServerException" } ], "documentation": "

Deletes specified tags from a resource.

" }, "UploadLayerPart": { "name": "UploadLayerPart", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UploadLayerPartRequest" }, "output": { "shape": "UploadLayerPartResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "InvalidLayerPartException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "UploadNotFoundException" }, { "shape": "LimitExceededException" }, { "shape": "RegistryNotFoundException" }, { "shape": "UnsupportedCommandException" } ], "documentation": "

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 (about 20MB). The UploadLayerPart API is called once for 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.

" } }, "shapes": { "AboutText": { "type": "string", "max": 25600 }, "Architecture": { "type": "string", "max": 50, "min": 1 }, "ArchitectureList": { "type": "list", "member": { "shape": "Architecture" }, "max": 50 }, "Arn": { "type": "string", "max": 2048, "min": 1 }, "AuthorizationData": { "type": "structure", "members": { "authorizationToken": { "shape": "Base64", "documentation": "

A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password for public registry authentication using docker login.

" }, "expiresAt": { "shape": "ExpirationTimestamp", "documentation": "

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

" } }, "documentation": "

An authorization token data object that corresponds to a public registry.

" }, "Base64": { "type": "string", "pattern": "^\\S+$" }, "BatchCheckLayerAvailabilityRequest": { "type": "structure", "required": [ "repositoryName", "layerDigests" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that's associated with the image layers to check.

" }, "layerDigests": { "shape": "BatchedOperationLayerDigestList", "documentation": "

The digests of the image layers to check.

" } } }, "BatchCheckLayerAvailabilityResponse": { "type": "structure", "members": { "layers": { "shape": "LayerList", "documentation": "

A list of image layer objects that correspond to the image layer references in the request.

" }, "failures": { "shape": "LayerFailureList", "documentation": "

Any failures associated with the call.

" } } }, "BatchDeleteImageRequest": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, that's associated with the registry that contains the image to delete. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository in a public registry that contains the image to delete.

" }, "imageIds": { "shape": "ImageIdentifierList", "documentation": "

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

" } } }, "BatchDeleteImageResponse": { "type": "structure", "members": { "imageIds": { "shape": "ImageIdentifierList", "documentation": "

The image IDs of the deleted images.

" }, "failures": { "shape": "ImageFailureList", "documentation": "

Any failures associated with the call.

" } } }, "BatchedOperationLayerDigest": { "type": "string", "max": 1000, "min": 0 }, "BatchedOperationLayerDigestList": { "type": "list", "member": { "shape": "BatchedOperationLayerDigest" }, "max": 100, "min": 1 }, "CompleteLayerUploadRequest": { "type": "structure", "required": [ "repositoryName", "uploadId", "layerDigests" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, associated with the registry where layers are uploaded. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository in a public registry to associate with the image layer.

" }, "uploadId": { "shape": "UploadId", "documentation": "

The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.

" }, "layerDigests": { "shape": "LayerDigestList", "documentation": "

The sha256 digest of the image layer.

" } } }, "CompleteLayerUploadResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The public registry ID that's associated with the request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository name that's associated with the request.

" }, "uploadId": { "shape": "UploadId", "documentation": "

The upload ID that's associated with the layer.

" }, "layerDigest": { "shape": "LayerDigest", "documentation": "

The sha256 digest of the image layer.

" } } }, "CreateRepositoryRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "

The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).

" }, "catalogData": { "shape": "RepositoryCatalogDataInput", "documentation": "

The details about the repository that are publicly visible in the Amazon ECR Public Gallery.

" }, "tags": { "shape": "TagList", "documentation": "

The metadata that you apply to each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

" } } }, "CreateRepositoryResponse": { "type": "structure", "members": { "repository": { "shape": "Repository", "documentation": "

The repository that was created.

" }, "catalogData": { "shape": "RepositoryCatalogData" } } }, "CreationTimestamp": { "type": "timestamp" }, "DefaultRegistryAliasFlag": { "type": "boolean" }, "DeleteRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that's associated with the repository policy to delete.

" } } }, "DeleteRepositoryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The registry ID that's associated with the request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository name that's associated with the request.

" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "

The JSON repository policy that was deleted from the repository.

" } } }, "DeleteRepositoryRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to delete.

" }, "force": { "shape": "ForceFlag", "documentation": "

The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.

" } } }, "DeleteRepositoryResponse": { "type": "structure", "members": { "repository": { "shape": "Repository", "documentation": "

The repository that was deleted.

" } } }, "DescribeImageTagsRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that contains the image tag details to describe.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value that's returned from a previous paginated DescribeImageTags 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. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of repository results that's returned by DescribeImageTags in paginated output. When this parameter is used, DescribeImageTags only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImageTags request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImageTags returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option.

" } } }, "DescribeImageTagsResponse": { "type": "structure", "members": { "imageTagDetails": { "shape": "ImageTagDetailList", "documentation": "

The image tag details for the images in the requested repository.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value to include in a future DescribeImageTags request. When the results of a DescribeImageTags request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null.

" } } }, "DescribeImagesRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository that contains the images to describe.

" }, "imageIds": { "shape": "ImageIdentifierList", "documentation": "

The list of image IDs for the requested repository.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value that's returned from a previous paginated DescribeImages 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. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of repository results that's returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option.

" } } }, "DescribeImagesResponse": { "type": "structure", "members": { "imageDetails": { "shape": "ImageDetailList", "documentation": "

A list of ImageDetail objects that contain data about the image.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null.

" } } }, "DescribeRegistriesRequest": { "type": "structure", "members": { "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value that's returned from a previous paginated DescribeRegistries 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. If there are no more results to return, this value is null.

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": { "shape": "MaxResults", "documentation": "

The maximum number of repository results that's returned by DescribeRegistries in paginated output. When this parameter is used, DescribeRegistries 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 DescribeRegistries request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRegistries returns up to 100 results and a nextToken value, if applicable.

" } } }, "DescribeRegistriesResponse": { "type": "structure", "required": [ "registries" ], "members": { "registries": { "shape": "RegistryList", "documentation": "

An object that contains the details for a public registry.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value to include in a future DescribeRepositories request. If the results of a DescribeRepositories request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results, this value is null.

" } } }, "DescribeRepositoriesRequest": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryNames": { "shape": "RepositoryNameList", "documentation": "

A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The nextToken value that's 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. If there are no more results to return, this value is null. If you specify repositories with repositoryNames, you can't use this option.

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": { "shape": "MaxResults", "documentation": "

The maximum number of repository results that's 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. You can see the remaining results of the initial request by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. If you specify repositories with repositoryNames, you can't use this option.

" } } }, "DescribeRepositoriesResponse": { "type": "structure", "members": { "repositories": { "shape": "RepositoryList", "documentation": "

A list of repository objects corresponding to valid repositories.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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. If there are no more results to return, this value is null.

" } } }, "ExpirationTimestamp": { "type": "timestamp" }, "ForceFlag": { "type": "boolean" }, "GetAuthorizationTokenRequest": { "type": "structure", "members": {} }, "GetAuthorizationTokenResponse": { "type": "structure", "members": { "authorizationData": { "shape": "AuthorizationData", "documentation": "

An authorization token data object that corresponds to a public registry.

" } } }, "GetRegistryCatalogDataRequest": { "type": "structure", "members": {} }, "GetRegistryCatalogDataResponse": { "type": "structure", "required": [ "registryCatalogData" ], "members": { "registryCatalogData": { "shape": "RegistryCatalogData", "documentation": "

The catalog metadata for the public registry.

" } } }, "GetRepositoryCatalogDataRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to retrieve the catalog metadata for.

" } } }, "GetRepositoryCatalogDataResponse": { "type": "structure", "members": { "catalogData": { "shape": "RepositoryCatalogData", "documentation": "

The catalog metadata for the repository.

" } } }, "GetRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository with the policy to retrieve.

" } } }, "GetRepositoryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The registry ID that's associated with the request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository name that's associated with the request.

" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "

The repository policy text that's associated with the repository. The policy text will be in JSON format.

" } } }, "Image": { "type": "structure", "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID that's associated with the registry containing the image.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that's associated with the image.

" }, "imageId": { "shape": "ImageIdentifier", "documentation": "

An object that contains the image tag and image digest associated with an image.

" }, "imageManifest": { "shape": "ImageManifest", "documentation": "

The image manifest that's associated with the image.

" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "

The manifest media type of the image.

" } }, "documentation": "

An object that represents an Amazon ECR image.

" }, "ImageDetail": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry where this image belongs.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository where this image belongs.

" }, "imageDigest": { "shape": "ImageDigest", "documentation": "

The sha256 digest of the image manifest.

" }, "imageTags": { "shape": "ImageTagList", "documentation": "

The list of tags that's associated with this image.

" }, "imageSizeInBytes": { "shape": "ImageSizeInBytes", "documentation": "

The size, in bytes, of the image in the repository.

If the image is a manifest list, this is the max size of all manifests in the list.

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 might return a larger image size than the image sizes that are returned by DescribeImages.

" }, "imagePushedAt": { "shape": "PushTimestamp", "documentation": "

The date and time, expressed in standard JavaScript date format, that the current image was pushed to the repository at.

" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "

The media type of the image manifest.

" }, "artifactMediaType": { "shape": "MediaType", "documentation": "

The artifact media type of the image.

" } }, "documentation": "

An object that describes an image that's returned by a DescribeImages operation.

" }, "ImageDetailList": { "type": "list", "member": { "shape": "ImageDetail" } }, "ImageDigest": { "type": "string" }, "ImageFailure": { "type": "structure", "members": { "imageId": { "shape": "ImageIdentifier", "documentation": "

The image ID that's associated with the failure.

" }, "failureCode": { "shape": "ImageFailureCode", "documentation": "

The code that's associated with the failure.

" }, "failureReason": { "shape": "ImageFailureReason", "documentation": "

The reason for the failure.

" } }, "documentation": "

An object that represents an Amazon ECR image failure.

" }, "ImageFailureCode": { "type": "string", "enum": [ "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag", "ImageReferencedByManifestList", "KmsError" ] }, "ImageFailureList": { "type": "list", "member": { "shape": "ImageFailure" } }, "ImageFailureReason": { "type": "string" }, "ImageIdentifier": { "type": "structure", "members": { "imageDigest": { "shape": "ImageDigest", "documentation": "

The sha256 digest of the image manifest.

" }, "imageTag": { "shape": "ImageTag", "documentation": "

The tag that's used for the image.

" } }, "documentation": "

An object with identifying information for an Amazon ECR image.

" }, "ImageIdentifierList": { "type": "list", "member": { "shape": "ImageIdentifier" }, "max": 100, "min": 1 }, "ImageManifest": { "type": "string", "max": 4194304, "min": 1 }, "ImageSizeInBytes": { "type": "long" }, "ImageTag": { "type": "string", "max": 300, "min": 1 }, "ImageTagDetail": { "type": "structure", "members": { "imageTag": { "shape": "ImageTag", "documentation": "

The tag that's associated with the image.

" }, "createdAt": { "shape": "CreationTimestamp", "documentation": "

The time stamp that indicates when the image tag was created.

" }, "imageDetail": { "shape": "ReferencedImageDetail", "documentation": "

An object that describes the details of an image.

" } }, "documentation": "

An object that represents the image tag details for an image.

" }, "ImageTagDetailList": { "type": "list", "member": { "shape": "ImageTagDetail" } }, "ImageTagList": { "type": "list", "member": { "shape": "ImageTag" } }, "InitiateLayerUploadRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, that's associated with the registry to which you intend to upload layers. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that you want to upload layers to.

" } } }, "InitiateLayerUploadResponse": { "type": "structure", "members": { "uploadId": { "shape": "UploadId", "documentation": "

The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

" }, "partSize": { "shape": "PartSize", "documentation": "

The size, in bytes, that Amazon ECR expects future layer part uploads to be.

" } } }, "Layer": { "type": "structure", "members": { "layerDigest": { "shape": "LayerDigest", "documentation": "

The sha256 digest of the image layer.

" }, "layerAvailability": { "shape": "LayerAvailability", "documentation": "

The availability status of the image layer.

" }, "layerSize": { "shape": "LayerSizeInBytes", "documentation": "

The size, in bytes, of the image layer.

" }, "mediaType": { "shape": "MediaType", "documentation": "

The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

" } }, "documentation": "

An object that represents an Amazon ECR image layer.

" }, "LayerAvailability": { "type": "string", "enum": [ "AVAILABLE", "UNAVAILABLE" ] }, "LayerDigest": { "type": "string", "pattern": "[a-zA-Z0-9-_+.]+:[a-fA-F0-9]+" }, "LayerDigestList": { "type": "list", "member": { "shape": "LayerDigest" }, "max": 100, "min": 1 }, "LayerFailure": { "type": "structure", "members": { "layerDigest": { "shape": "BatchedOperationLayerDigest", "documentation": "

The layer digest that's associated with the failure.

" }, "failureCode": { "shape": "LayerFailureCode", "documentation": "

The failure code that's associated with the failure.

" }, "failureReason": { "shape": "LayerFailureReason", "documentation": "

The reason for the failure.

" } }, "documentation": "

An object that represents an Amazon ECR image layer failure.

" }, "LayerFailureCode": { "type": "string", "enum": [ "InvalidLayerDigest", "MissingLayerDigest" ] }, "LayerFailureList": { "type": "list", "member": { "shape": "LayerFailure" } }, "LayerFailureReason": { "type": "string" }, "LayerList": { "type": "list", "member": { "shape": "Layer" } }, "LayerPartBlob": { "type": "blob", "max": 20971520, "min": 0 }, "LayerSizeInBytes": { "type": "long" }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resource is an Amazon ECR Public repository.

" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagList", "documentation": "

The tags for the resource.

" } } }, "LogoImageBlob": { "type": "blob", "max": 512000, "min": 0 }, "MarketplaceCertified": { "type": "boolean" }, "MaxResults": { "type": "integer", "max": 1000, "min": 1 }, "MediaType": { "type": "string" }, "NextToken": { "type": "string" }, "OperatingSystem": { "type": "string", "max": 50, "min": 1 }, "OperatingSystemList": { "type": "list", "member": { "shape": "OperatingSystem" }, "max": 50 }, "PartSize": { "type": "long", "min": 0 }, "PrimaryRegistryAliasFlag": { "type": "boolean" }, "PushTimestamp": { "type": "timestamp" }, "PutImageRequest": { "type": "structure", "required": [ "repositoryName", "imageManifest" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository where the image is put.

" }, "imageManifest": { "shape": "ImageManifest", "documentation": "

The image manifest that corresponds to the image to be uploaded.

" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "

The media type of the image manifest. If you push an image manifest that doesn't contain the mediaType field, you must specify the imageManifestMediaType in the request.

" }, "imageTag": { "shape": "ImageTag", "documentation": "

The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

" }, "imageDigest": { "shape": "ImageDigest", "documentation": "

The image digest of the image manifest that corresponds to the image.

" } } }, "PutImageResponse": { "type": "structure", "members": { "image": { "shape": "Image", "documentation": "

Details of the image uploaded.

" } } }, "PutRegistryCatalogDataRequest": { "type": "structure", "members": { "displayName": { "shape": "RegistryDisplayName", "documentation": "

The display name for a public registry. The display name is shown as the repository author in the Amazon ECR Public Gallery.

The registry display name is only publicly visible in the Amazon ECR Public Gallery for verified accounts.

" } } }, "PutRegistryCatalogDataResponse": { "type": "structure", "required": [ "registryCatalogData" ], "members": { "registryCatalogData": { "shape": "RegistryCatalogData", "documentation": "

The catalog data for the public registry.

" } } }, "PutRepositoryCatalogDataRequest": { "type": "structure", "required": [ "repositoryName", "catalogData" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to create or update the catalog data for.

" }, "catalogData": { "shape": "RepositoryCatalogDataInput", "documentation": "

An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

" } } }, "PutRepositoryCatalogDataResponse": { "type": "structure", "members": { "catalogData": { "shape": "RepositoryCatalogData", "documentation": "

The catalog data for the repository.

" } } }, "ReferencedImageDetail": { "type": "structure", "members": { "imageDigest": { "shape": "ImageDigest", "documentation": "

The sha256 digest of the image manifest.

" }, "imageSizeInBytes": { "shape": "ImageSizeInBytes", "documentation": "

The size, in bytes, of the image in the repository.

If the image is a manifest list, this is the max size of all manifests in the list.

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 might return a larger image size than the image sizes that are returned by DescribeImages.

" }, "imagePushedAt": { "shape": "PushTimestamp", "documentation": "

The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.

" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "

The media type of the image manifest.

" }, "artifactMediaType": { "shape": "MediaType", "documentation": "

The artifact media type of the image.

" } }, "documentation": "

An object that describes the image tag details that are returned by a DescribeImageTags action.

" }, "Registry": { "type": "structure", "required": [ "registryId", "registryArn", "registryUri", "verified", "aliases" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the registry. If you do not specify a registry, the default public registry is assumed.

" }, "registryArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the public registry.

" }, "registryUri": { "shape": "Url", "documentation": "

The URI of a public registry. The URI contains a universal prefix and the registry alias.

" }, "verified": { "shape": "RegistryVerified", "documentation": "

Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified, each public repository receives a verified account badge on the Amazon ECR Public Gallery.

" }, "aliases": { "shape": "RegistryAliasList", "documentation": "

An array of objects that represents the aliases for a public registry.

" } }, "documentation": "

The details of a public registry.

" }, "RegistryAlias": { "type": "structure", "required": [ "name", "status", "primaryRegistryAlias", "defaultRegistryAlias" ], "members": { "name": { "shape": "RegistryAliasName", "documentation": "

The name of the registry alias.

" }, "status": { "shape": "RegistryAliasStatus", "documentation": "

The status of the registry alias.

" }, "primaryRegistryAlias": { "shape": "PrimaryRegistryAliasFlag", "documentation": "

Indicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.

A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.

" }, "defaultRegistryAlias": { "shape": "DefaultRegistryAliasFlag", "documentation": "

Indicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.

" } }, "documentation": "

An object representing the aliases for a public registry. A public registry is given an alias when it's created. However, a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.

" }, "RegistryAliasList": { "type": "list", "member": { "shape": "RegistryAlias" } }, "RegistryAliasName": { "type": "string", "max": 50, "min": 2, "pattern": "[a-z][a-z0-9]+(?:[._-][a-z0-9]+)*" }, "RegistryAliasStatus": { "type": "string", "enum": [ "ACTIVE", "PENDING", "REJECTED" ] }, "RegistryCatalogData": { "type": "structure", "members": { "displayName": { "shape": "RegistryDisplayName", "documentation": "

The display name for a public registry. This appears on the Amazon ECR Public Gallery.

Only accounts that have the verified account badge can have a registry display name.

" } }, "documentation": "

The metadata for a public registry.

" }, "RegistryDisplayName": { "type": "string", "max": 100, "min": 0 }, "RegistryId": { "type": "string", "pattern": "[0-9]{12}" }, "RegistryIdOrAlias": { "type": "string", "max": 50, "min": 2 }, "RegistryList": { "type": "list", "member": { "shape": "Registry" } }, "RegistryVerified": { "type": "boolean" }, "Repository": { "type": "structure", "members": { "repositoryArn": { "shape": "Arn", "documentation": "

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, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.

" }, "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the public registry that contains the repository.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository.

" }, "repositoryUri": { "shape": "Url", "documentation": "

The URI for the repository. You can use this URI for container image push and pull operations.

" }, "createdAt": { "shape": "CreationTimestamp", "documentation": "

The date and time, in JavaScript date format, when the repository was created.

" } }, "documentation": "

An object representing a repository.

" }, "RepositoryCatalogData": { "type": "structure", "members": { "description": { "shape": "RepositoryDescription", "documentation": "

The short description of the repository.

" }, "architectures": { "shape": "ArchitectureList", "documentation": "

The architecture tags that are associated with the repository.

Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.

" }, "operatingSystems": { "shape": "OperatingSystemList", "documentation": "

The operating system tags that are associated with the repository.

Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.

" }, "logoUrl": { "shape": "ResourceUrl", "documentation": "

The URL that contains the logo that's associated with the repository.

" }, "aboutText": { "shape": "AboutText", "documentation": "

The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery.

" }, "usageText": { "shape": "UsageText", "documentation": "

The longform usage details of the contents of the repository. The usage text provides context for users of the repository.

" }, "marketplaceCertified": { "shape": "MarketplaceCertified", "documentation": "

Indicates whether the repository is certified by Amazon Web Services Marketplace.

" } }, "documentation": "

The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

" }, "RepositoryCatalogDataInput": { "type": "structure", "members": { "description": { "shape": "RepositoryDescription", "documentation": "

A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.

" }, "architectures": { "shape": "ArchitectureList", "documentation": "

The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures appear as badges on the repository and are used as search filters.

If an unsupported tag is added to your repository catalog data, it's associated with the repository and can be retrieved using the API but isn't discoverable in the Amazon ECR Public Gallery.

" }, "operatingSystems": { "shape": "OperatingSystemList", "documentation": "

The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems appear as badges on the repository and are used as search filters.

If an unsupported tag is added to your repository catalog data, it's associated with the repository and can be retrieved using the API but isn't discoverable in the Amazon ECR Public Gallery.

" }, "logoImageBlob": { "shape": "LogoImageBlob", "documentation": "

The base64-encoded repository logo payload.

The repository logo is only publicly visible in the Amazon ECR Public Gallery for verified accounts.

" }, "aboutText": { "shape": "AboutText", "documentation": "

A detailed description of the contents of the repository. It's publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.

" }, "usageText": { "shape": "UsageText", "documentation": "

Detailed information about how to use the contents of the repository. It's publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.

" } }, "documentation": "

An object that contains the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

" }, "RepositoryDescription": { "type": "string", "max": 1024 }, "RepositoryList": { "type": "list", "member": { "shape": "Repository" } }, "RepositoryName": { "type": "string", "max": 205, "min": 2, "pattern": "(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*" }, "RepositoryNameList": { "type": "list", "member": { "shape": "RepositoryName" }, "max": 100, "min": 1 }, "RepositoryPolicyText": { "type": "string", "max": 10240, "min": 0 }, "ResourceUrl": { "type": "string", "max": 2048 }, "SetRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName", "policyText" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "

The Amazon Web Services account ID that's associated with the registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to receive the policy.

" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.

" }, "force": { "shape": "ForceFlag", "documentation": "

If the policy that you want to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This prevents accidental repository lockouts.

" } } }, "SetRepositoryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The registry ID that's associated with the request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository name that's associated with the request.

" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "

The JSON repository policy text that's applied to the repository.

" } } }, "Tag": { "type": "structure", "members": { "Key": { "shape": "TagKey", "documentation": "

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": { "shape": "TagValue", "documentation": "

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

" } }, "documentation": "

The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

" }, "TagKey": { "type": "string", "max": 128, "min": 1 }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 200, "min": 0 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 200, "min": 0 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resource is an Amazon ECR Public repository.

" }, "tags": { "shape": "TagList", "documentation": "

The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 0 }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is an Amazon ECR Public repository.

" }, "tagKeys": { "shape": "TagKeyList", "documentation": "

The keys of the tags to be removed.

" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UploadId": { "type": "string", "pattern": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" }, "UploadLayerPartRequest": { "type": "structure", "required": [ "repositoryName", "uploadId", "partFirstByte", "partLastByte", "layerPartBlob" ], "members": { "registryId": { "shape": "RegistryIdOrAlias", "documentation": "

The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository that you're uploading layer parts to.

" }, "uploadId": { "shape": "UploadId", "documentation": "

The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.

" }, "partFirstByte": { "shape": "PartSize", "documentation": "

The position of the first byte of the layer part witin the overall image layer.

" }, "partLastByte": { "shape": "PartSize", "documentation": "

The position of the last byte of the layer part within the overall image layer.

" }, "layerPartBlob": { "shape": "LayerPartBlob", "documentation": "

The base64-encoded layer part payload.

" } } }, "UploadLayerPartResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "

The registry ID that's associated with the request.

" }, "repositoryName": { "shape": "RepositoryName", "documentation": "

The repository name that's associated with the request.

" }, "uploadId": { "shape": "UploadId", "documentation": "

The upload ID that's associated with the request.

" }, "lastByteReceived": { "shape": "PartSize", "documentation": "

The integer value of the last byte that's received in the request.

" } } }, "Url": { "type": "string" }, "UsageText": { "type": "string", "max": 25600 } }, "documentation": "Amazon Elastic Container Registry Public

Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the Docker CLI or your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR API for private repositories, see Amazon Elastic Container Registry API Reference.

" }