{ "version": "2.0", "metadata": { "apiVersion": "2015-09-21", "endpointPrefix": "api.ecr", "jsonVersion": "1.1", "protocol": "json", "protocols": [ "json" ], "serviceAbbreviation": "Amazon ECR", "serviceFullName": "Amazon EC2 Container Registry", "serviceId": "ECR", "signatureVersion": "v4", "signingName": "ecr", "targetPrefix": "AmazonEC2ContainerRegistry_V20150921", "uid": "ecr-2015-09-21", "auth": [ "aws.auth#sigv4" ] }, "operations": { "BatchCheckLayerAvailability": { "name": "BatchCheckLayerAvailability", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchCheckLayerAvailabilityRequest" }, "output": { "shape": "BatchCheckLayerAvailabilityResponse" }, "errors": [ { "shape": "RepositoryNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "ServerException" } ], "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.
" }, "BatchGetImage": { "name": "BatchGetImage", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchGetImageRequest" }, "output": { "shape": "BatchGetImageResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "LimitExceededException" }, { "shape": "UnableToGetUpstreamImageException" } ], "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.
" }, "BatchGetRepositoryScanningConfiguration": { "name": "BatchGetRepositoryScanningConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchGetRepositoryScanningConfigurationRequest" }, "output": { "shape": "BatchGetRepositoryScanningConfigurationResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Gets the scanning configuration for one or more repositories.
" }, "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": "KmsException" } ], "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.
Creates a pull through cache rule. A pull through cache rule provides a way to cache images from an upstream registry source in your Amazon ECR private registry. For more information, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.
" }, "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": "KmsException" } ], "documentation": "Creates a repository. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.
" }, "CreateRepositoryCreationTemplate": { "name": "CreateRepositoryCreationTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateRepositoryCreationTemplateRequest" }, "output": { "shape": "CreateRepositoryCreationTemplateResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "ValidationException" }, { "shape": "InvalidParameterException" }, { "shape": "LimitExceededException" }, { "shape": "TemplateAlreadyExistsException" } ], "documentation": "Creates a repository creation template. This template is used to define the settings for repositories created by Amazon ECR on your behalf. For example, repositories created through pull through cache actions. For more information, see Private repository creation templates in the Amazon Elastic Container Registry User Guide.
" }, "DeleteLifecyclePolicy": { "name": "DeleteLifecyclePolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteLifecyclePolicyRequest" }, "output": { "shape": "DeleteLifecyclePolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "LifecyclePolicyNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Deletes the lifecycle policy associated with the specified repository.
" }, "DeletePullThroughCacheRule": { "name": "DeletePullThroughCacheRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeletePullThroughCacheRuleRequest" }, "output": { "shape": "DeletePullThroughCacheRuleResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" }, { "shape": "PullThroughCacheRuleNotFoundException" } ], "documentation": "Deletes a pull through cache rule.
" }, "DeleteRegistryPolicy": { "name": "DeleteRegistryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRegistryPolicyRequest" }, "output": { "shape": "DeleteRegistryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RegistryPolicyNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Deletes the registry permissions policy.
" }, "DeleteRepository": { "name": "DeleteRepository", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryRequest" }, "output": { "shape": "DeleteRepositoryResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryNotEmptyException" }, { "shape": "KmsException" } ], "documentation": "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.
Deletes a repository creation template.
" }, "DeleteRepositoryPolicy": { "name": "DeleteRepositoryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryPolicyRequest" }, "output": { "shape": "DeleteRepositoryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryPolicyNotFoundException" } ], "documentation": "Deletes the repository policy associated with the specified repository.
" }, "DescribeImageReplicationStatus": { "name": "DescribeImageReplicationStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeImageReplicationStatusRequest" }, "output": { "shape": "DescribeImageReplicationStatusResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ImageNotFoundException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Returns the replication status for a specified image.
" }, "DescribeImageScanFindings": { "name": "DescribeImageScanFindings", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeImageScanFindingsRequest" }, "output": { "shape": "DescribeImageScanFindingsResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ImageNotFoundException" }, { "shape": "ScanNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Returns the scan findings for the specified image.
" }, "DescribeImages": { "name": "DescribeImages", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeImagesRequest" }, "output": { "shape": "DescribeImagesResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ImageNotFoundException" } ], "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.
Returns the pull through cache rules for a registry.
" }, "DescribeRegistry": { "name": "DescribeRegistry", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeRegistryRequest" }, "output": { "shape": "DescribeRegistryResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" } ], "documentation": "Describes the settings for a registry. The replication configuration for a repository can be created or updated with the PutReplicationConfiguration API action.
" }, "DescribeRepositories": { "name": "DescribeRepositories", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeRepositoriesRequest" }, "output": { "shape": "DescribeRepositoriesResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" } ], "documentation": "Describes image repositories in a registry.
" }, "DescribeRepositoryCreationTemplates": { "name": "DescribeRepositoryCreationTemplates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeRepositoryCreationTemplatesRequest" }, "output": { "shape": "DescribeRepositoryCreationTemplatesResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "ValidationException" }, { "shape": "InvalidParameterException" } ], "documentation": "Returns details about the repository creation templates in a registry. The prefixes
request parameter can be used to return the details for a specific repository creation template.
Retrieves the basic scan type version name.
" }, "GetAuthorizationToken": { "name": "GetAuthorizationToken", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetAuthorizationTokenRequest" }, "output": { "shape": "GetAuthorizationTokenResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" } ], "documentation": "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.
Retrieves the lifecycle policy for the specified repository.
" }, "GetLifecyclePolicyPreview": { "name": "GetLifecyclePolicyPreview", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetLifecyclePolicyPreviewRequest" }, "output": { "shape": "GetLifecyclePolicyPreviewResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "LifecyclePolicyPreviewNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Retrieves the results of the lifecycle policy preview request for the specified repository.
" }, "GetRegistryPolicy": { "name": "GetRegistryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRegistryPolicyRequest" }, "output": { "shape": "GetRegistryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RegistryPolicyNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Retrieves the permissions policy for a registry.
" }, "GetRegistryScanningConfiguration": { "name": "GetRegistryScanningConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRegistryScanningConfigurationRequest" }, "output": { "shape": "GetRegistryScanningConfigurationResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" } ], "documentation": "Retrieves the scanning configuration for a registry.
" }, "GetRepositoryPolicy": { "name": "GetRepositoryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryPolicyRequest" }, "output": { "shape": "GetRepositoryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "RepositoryPolicyNotFoundException" } ], "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": "KmsException" } ], "documentation": "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.
List the tags for an Amazon ECR resource.
" }, "PutAccountSetting": { "name": "PutAccountSetting", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutAccountSettingRequest" }, "output": { "shape": "PutAccountSettingResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "ValidationException" }, { "shape": "InvalidParameterException" }, { "shape": "LimitExceededException" } ], "documentation": "Allows you to change the basic scan type version by setting the name
parameter to either CLAIR
to AWS_NATIVE
.
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.
The PutImageScanningConfiguration
API is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see PutRegistryScanningConfiguration.
Updates the image scanning configuration for the specified repository.
" }, "PutImageTagMutability": { "name": "PutImageTagMutability", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutImageTagMutabilityRequest" }, "output": { "shape": "PutImageTagMutabilityResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" } ], "documentation": "Updates the image tag mutability settings for the specified repository. For more information, see Image tag mutability in the Amazon Elastic Container Registry User Guide.
" }, "PutLifecyclePolicy": { "name": "PutLifecyclePolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutLifecyclePolicyRequest" }, "output": { "shape": "PutLifecyclePolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Creates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle policy template.
" }, "PutRegistryPolicy": { "name": "PutRegistryPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRegistryPolicyRequest" }, "output": { "shape": "PutRegistryPolicyResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" } ], "documentation": "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.
" }, "PutRegistryScanningConfiguration": { "name": "PutRegistryScanningConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRegistryScanningConfigurationRequest" }, "output": { "shape": "PutRegistryScanningConfigurationResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" } ], "documentation": "Creates or updates the scanning configuration for your private registry.
" }, "PutReplicationConfiguration": { "name": "PutReplicationConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutReplicationConfigurationRequest" }, "output": { "shape": "PutReplicationConfigurationResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" } ], "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. For more information on the custom role for replication, see Creating an IAM role for replication.
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.
Applies a repository policy to the specified repository to control access permissions. For more information, see Amazon ECR Repository policies in the Amazon Elastic Container Registry User Guide.
" }, "StartImageScan": { "name": "StartImageScan", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "StartImageScanRequest" }, "output": { "shape": "StartImageScanResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "UnsupportedImageTypeException" }, { "shape": "LimitExceededException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ImageNotFoundException" }, { "shape": "ValidationException" } ], "documentation": "Starts an image vulnerability scan. An image scan can only be started once per 24 hours on an individual image. This limit includes if an image was scanned on initial push. For more information, see Image scanning in the Amazon Elastic Container Registry User Guide.
" }, "StartLifecyclePolicyPreview": { "name": "StartLifecyclePolicyPreview", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "StartLifecyclePolicyPreviewRequest" }, "output": { "shape": "StartLifecyclePolicyPreviewResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "LifecyclePolicyNotFoundException" }, { "shape": "LifecyclePolicyPreviewInProgressException" }, { "shape": "ValidationException" } ], "documentation": "Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.
" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "InvalidTagParameterException" }, { "shape": "TooManyTagsException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ServerException" } ], "documentation": "Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.
" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "InvalidTagParameterException" }, { "shape": "TooManyTagsException" }, { "shape": "RepositoryNotFoundException" }, { "shape": "ServerException" } ], "documentation": "Deletes specified tags from a resource.
" }, "UpdatePullThroughCacheRule": { "name": "UpdatePullThroughCacheRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePullThroughCacheRuleRequest" }, "output": { "shape": "UpdatePullThroughCacheRuleResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "InvalidParameterException" }, { "shape": "ValidationException" }, { "shape": "UnableToAccessSecretException" }, { "shape": "PullThroughCacheRuleNotFoundException" }, { "shape": "SecretNotFoundException" }, { "shape": "UnableToDecryptSecretValueException" } ], "documentation": "Updates an existing pull through cache rule.
" }, "UpdateRepositoryCreationTemplate": { "name": "UpdateRepositoryCreationTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateRepositoryCreationTemplateRequest" }, "output": { "shape": "UpdateRepositoryCreationTemplateResponse" }, "errors": [ { "shape": "ServerException" }, { "shape": "ValidationException" }, { "shape": "InvalidParameterException" }, { "shape": "TemplateNotFoundException" } ], "documentation": "Updates an existing repository creation template.
" }, "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": "KmsException" } ], "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 (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.
Validates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.
" } }, "shapes": { "AccountSettingName": { "type": "string", "max": 64, "min": 1 }, "AccountSettingValue": { "type": "string" }, "Arch": { "type": "string" }, "Arn": { "type": "string" }, "Attribute": { "type": "structure", "required": [ "key" ], "members": { "key": { "shape": "AttributeKey", "documentation": "The attribute key.
" }, "value": { "shape": "AttributeValue", "documentation": "The value assigned to the attribute key.
" } }, "documentation": "This data type is used in the ImageScanFinding data type.
" }, "AttributeKey": { "type": "string", "max": 128, "min": 1 }, "AttributeList": { "type": "list", "member": { "shape": "Attribute" }, "max": 50, "min": 0 }, "AttributeValue": { "type": "string", "max": 256, "min": 1 }, "Author": { "type": "string" }, "AuthorizationData": { "type": "structure", "members": { "authorizationToken": { "shape": "Base64", "documentation": "A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password
for private registry authentication using docker login
.
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
" }, "proxyEndpoint": { "shape": "ProxyEndpoint", "documentation": "The registry URL to use for this authorization token in a docker login
command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com
. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com
..
An object representing authorization data for an Amazon ECR registry.
" }, "AuthorizationDataList": { "type": "list", "member": { "shape": "AuthorizationData" } }, "AwsEcrContainerImageDetails": { "type": "structure", "members": { "architecture": { "shape": "Arch", "documentation": "The architecture of the Amazon ECR container image.
" }, "author": { "shape": "Author", "documentation": "The image author of the Amazon ECR container image.
" }, "imageHash": { "shape": "ImageDigest", "documentation": "The image hash of the Amazon ECR container image.
" }, "imageTags": { "shape": "ImageTagsList", "documentation": "The image tags attached to the Amazon ECR container image.
" }, "platform": { "shape": "Platform", "documentation": "The platform of the Amazon ECR container image.
" }, "pushedAt": { "shape": "Date", "documentation": "The date and time the Amazon ECR container image was pushed.
" }, "registry": { "shape": "RegistryId", "documentation": "The registry the Amazon ECR container image belongs to.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository the Amazon ECR container image resides in.
" } }, "documentation": "The image details of the Amazon ECR container image.
" }, "Base64": { "type": "string", "pattern": "^\\S+$" }, "BaseScore": { "type": "double" }, "BatchCheckLayerAvailabilityRequest": { "type": "structure", "required": [ "repositoryName", "layerDigests" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository that is 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 corresponding 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": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository 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
.
Deletes specified images within a specified repository. Images are specified with either the imageTag
or imageDigest
.
The image IDs of the deleted images.
" }, "failures": { "shape": "ImageFailureList", "documentation": "Any failures associated with the call.
" } } }, "BatchGetImageRequest": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "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": { "shape": "RepositoryName", "documentation": "The repository that contains the images to describe.
" }, "imageIds": { "shape": "ImageIdentifierList", "documentation": "A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
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
A list of image objects corresponding to the image references in the request.
" }, "failures": { "shape": "ImageFailureList", "documentation": "Any failures associated with the call.
" } } }, "BatchGetRepositoryScanningConfigurationRequest": { "type": "structure", "required": [ "repositoryNames" ], "members": { "repositoryNames": { "shape": "ScanningConfigurationRepositoryNameList", "documentation": "One or more repository names to get the scanning configuration for.
" } } }, "BatchGetRepositoryScanningConfigurationResponse": { "type": "structure", "members": { "scanningConfigurations": { "shape": "RepositoryScanningConfigurationList", "documentation": "The scanning configuration for the requested repositories.
" }, "failures": { "shape": "RepositoryScanningConfigurationFailureList", "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": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository 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.
The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "uploadId": { "shape": "UploadId", "documentation": "The upload ID associated with the layer.
" }, "layerDigest": { "shape": "LayerDigest", "documentation": "The sha256
digest of the image layer.
The repository name prefix to use when caching images from the source registry.
" }, "upstreamRegistryUrl": { "shape": "Url", "documentation": "The registry URL of the upstream public registry to use as the source for the pull through cache rule. The following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) - <custom>.azurecr.io
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
" }, "upstreamRegistry": { "shape": "UpstreamRegistry", "documentation": "The name of the upstream registry.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
" } } }, "CreatePullThroughCacheRuleResponse": { "type": "structure", "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the pull through cache rule.
" }, "upstreamRegistryUrl": { "shape": "Url", "documentation": "The upstream registry URL associated with the pull through cache rule.
" }, "createdAt": { "shape": "CreationTimestamp", "documentation": "The date and time, in JavaScript date format, when the pull through cache rule was created.
" }, "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "upstreamRegistry": { "shape": "UpstreamRegistry", "documentation": "The name of the upstream registry associated with the pull through cache rule.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
" } } }, "CreateRepositoryCreationTemplateRequest": { "type": "structure", "required": [ "prefix", "appliedFor" ], "members": { "prefix": { "shape": "Prefix", "documentation": "The repository namespace prefix to associate with the template. All repositories created using this namespace prefix will have the settings defined in this template applied. For example, a prefix of prod
would apply to all repositories beginning with prod/
. Similarly, a prefix of prod/team
would apply to all repositories beginning with prod/team/
.
To apply a template to all repositories in your registry that don't have an associated creation template, you can use ROOT
as the prefix.
There is always an assumed /
applied to the end of the prefix. If you specify ecr-public
as the prefix, Amazon ECR treats that as ecr-public/
. When using a pull through cache rule, the repository prefix you specify during rule creation is what you should specify as your repository creation template prefix as well.
A description for the repository creation template.
" }, "encryptionConfiguration": { "shape": "EncryptionConfigurationForRepositoryCreationTemplate", "documentation": "The encryption configuration to use for repositories created using the template.
" }, "resourceTags": { "shape": "TagList", "documentation": "The metadata to apply to the repository to help you categorize and organize. 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": { "shape": "ImageTagMutability", "documentation": "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.
The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions.
" }, "lifecyclePolicy": { "shape": "LifecyclePolicyTextForRepositoryCreationTemplate", "documentation": "The lifecycle policy to use for repositories created using the template.
" }, "appliedFor": { "shape": "RCTAppliedForList", "documentation": "A list of enumerable strings representing the Amazon ECR repository creation scenarios that this template will apply towards. The two supported scenarios are PULL_THROUGH_CACHE
and REPLICATION
The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.
" } } }, "CreateRepositoryCreationTemplateResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryCreationTemplate": { "shape": "RepositoryCreationTemplate", "documentation": "The details of the repository creation template associated with the request.
" } } }, "CreateRepositoryRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "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": { "shape": "RepositoryName", "documentation": "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": { "shape": "TagList", "documentation": "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": { "shape": "ImageTagMutability", "documentation": "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.
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
" }, "encryptionConfiguration": { "shape": "EncryptionConfiguration", "documentation": "The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
" } } }, "CreateRepositoryResponse": { "type": "structure", "members": { "repository": { "shape": "Repository", "documentation": "The repository that was created.
" } } }, "CreationTimestamp": { "type": "timestamp" }, "CredentialArn": { "type": "string", "max": 612, "min": 50, "pattern": "^arn:aws:secretsmanager:[a-zA-Z0-9-:]+:secret:ecr\\-pullthroughcache\\/[a-zA-Z0-9\\/_+=.@-]+$" }, "CustomRoleArn": { "type": "string", "max": 2048 }, "CvssScore": { "type": "structure", "members": { "baseScore": { "shape": "BaseScore", "documentation": "The base CVSS score used for the finding.
" }, "scoringVector": { "shape": "ScoringVector", "documentation": "The vector string of the CVSS score.
" }, "source": { "shape": "Source", "documentation": "The source of the CVSS score.
" }, "version": { "shape": "Version", "documentation": "The version of CVSS used for the score.
" } }, "documentation": "The CVSS score for a finding.
" }, "CvssScoreAdjustment": { "type": "structure", "members": { "metric": { "shape": "Metric", "documentation": "The metric used to adjust the CVSS score.
" }, "reason": { "shape": "Reason", "documentation": "The reason the CVSS score has been adjustment.
" } }, "documentation": "Details on adjustments Amazon Inspector made to the CVSS score for a finding.
" }, "CvssScoreAdjustmentList": { "type": "list", "member": { "shape": "CvssScoreAdjustment" } }, "CvssScoreDetails": { "type": "structure", "members": { "adjustments": { "shape": "CvssScoreAdjustmentList", "documentation": "An object that contains details about adjustment Amazon Inspector made to the CVSS score.
" }, "score": { "shape": "Score", "documentation": "The CVSS score.
" }, "scoreSource": { "shape": "Source", "documentation": "The source for the CVSS score.
" }, "scoringVector": { "shape": "ScoringVector", "documentation": "The vector for the CVSS score.
" }, "version": { "shape": "Version", "documentation": "The CVSS version used in scoring.
" } }, "documentation": "Information about the CVSS score.
" }, "CvssScoreList": { "type": "list", "member": { "shape": "CvssScore" } }, "Date": { "type": "timestamp" }, "DeleteLifecyclePolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository.
" } } }, "DeleteLifecyclePolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON lifecycle policy text.
" }, "lastEvaluatedAt": { "shape": "EvaluationTimestamp", "documentation": "The time stamp of the last time that the lifecycle policy was run.
" } } }, "DeletePullThroughCacheRuleRequest": { "type": "structure", "required": [ "ecrRepositoryPrefix" ], "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the pull through cache rule to delete.
" }, "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed.
" } } }, "DeletePullThroughCacheRuleResponse": { "type": "structure", "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the request.
" }, "upstreamRegistryUrl": { "shape": "Url", "documentation": "The upstream registry URL associated with the pull through cache rule.
" }, "createdAt": { "shape": "CreationTimestamp", "documentation": "The timestamp associated with the pull through cache rule.
" }, "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
" } } }, "DeleteRegistryPolicyRequest": { "type": "structure", "members": {} }, "DeleteRegistryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "policyText": { "shape": "RegistryPolicyText", "documentation": "The contents of the registry permissions policy that was deleted.
" } } }, "DeleteRepositoryCreationTemplateRequest": { "type": "structure", "required": [ "prefix" ], "members": { "prefix": { "shape": "Prefix", "documentation": "The repository namespace prefix associated with the repository creation template.
" } } }, "DeleteRepositoryCreationTemplateResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryCreationTemplate": { "shape": "RepositoryCreationTemplate", "documentation": "The details of the repository creation template that was deleted.
" } } }, "DeleteRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository that is associated with the repository policy to delete.
" } } }, "DeleteRepositoryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name 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 associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to delete.
" }, "force": { "shape": "ForceFlag", "documentation": "If true, deleting the repository force deletes the contents of the repository. If false, the repository must be empty before attempting to delete it.
" } } }, "DeleteRepositoryResponse": { "type": "structure", "members": { "repository": { "shape": "Repository", "documentation": "The repository that was deleted.
" } } }, "DescribeImageReplicationStatusRequest": { "type": "structure", "required": [ "repositoryName", "imageId" ], "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository that the image is in.
" }, "imageId": { "shape": "ImageIdentifier" }, "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.
" } } }, "DescribeImageReplicationStatusResponse": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "imageId": { "shape": "ImageIdentifier" }, "replicationStatuses": { "shape": "ImageReplicationStatusList", "documentation": "The replication status details for the images in the specified repository.
" } } }, "DescribeImageScanFindingsRequest": { "type": "structure", "required": [ "repositoryName", "imageId" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository for the image for which to describe the scan findings.
" }, "imageId": { "shape": "ImageIdentifier" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value returned from a previous paginated DescribeImageScanFindings
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.
The maximum number of image scan results returned by DescribeImageScanFindings
in paginated output. When this parameter is used, DescribeImageScanFindings
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 DescribeImageScanFindings
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImageScanFindings
returns up to 100 results and a nextToken
value, if applicable.
The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "imageId": { "shape": "ImageIdentifier" }, "imageScanStatus": { "shape": "ImageScanStatus", "documentation": "The current state of the scan.
" }, "imageScanFindings": { "shape": "ImageScanFindings", "documentation": "The information contained in the image scan findings.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value to include in a future DescribeImageScanFindings
request. When the results of a DescribeImageScanFindings
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.
The tag status with which to filter your DescribeImages results. You can filter results based on whether they are TAGGED
or UNTAGGED
.
An object representing a filter on a DescribeImages operation.
" }, "DescribeImagesRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default 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 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. This value is null
when there are no more results to return. This option cannot be used when you specify images with imageIds
.
The maximum number of repository results 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. The remaining results of the initial request can be seen by sending another DescribeImages
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImages
returns up to 100 results and a nextToken
value, if applicable. This option cannot be used when you specify images with imageIds
.
The filter key and value with which to filter your DescribeImages
results.
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
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.
" }, "ecrRepositoryPrefixes": { "shape": "PullThroughCacheRuleRepositoryPrefixList", "documentation": "The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value returned from a previous paginated DescribePullThroughCacheRulesRequest
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.
The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest
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 DescribePullThroughCacheRulesRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest
returns up to 100 results and a nextToken
value, if applicable.
The details of the pull through cache rules.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value to include in a future DescribePullThroughCacheRulesRequest
request. When the results of a DescribePullThroughCacheRulesRequest
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.
The registry ID associated with the request.
" }, "replicationConfiguration": { "shape": "ReplicationConfiguration", "documentation": "The replication configuration for the registry.
" } } }, "DescribeRepositoriesRequest": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "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": { "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 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.
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 repositoryNames
.
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. This value is null
when there are no more results to return.
The repository namespace prefixes associated with the repository creation templates to describe. If this value is not specified, all repository creation templates are returned.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value returned from a previous paginated DescribeRepositoryCreationTemplates
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.
The maximum number of repository results returned by DescribeRepositoryCreationTemplatesRequest
in paginated output. When this parameter is used, DescribeRepositoryCreationTemplatesRequest
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 DescribeRepositoryCreationTemplatesRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then DescribeRepositoryCreationTemplatesRequest
returns up to 100 results and a nextToken
value, if applicable.
The registry ID associated with the request.
" }, "repositoryCreationTemplates": { "shape": "RepositoryCreationTemplateList", "documentation": "The details of the repository creation templates.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value to include in a future DescribeRepositoryCreationTemplates
request. When the results of a DescribeRepositoryCreationTemplates
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.
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. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.
If you use the AES256
encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.
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.
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
By default, when no encryption configuration is set or the AES256
encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES256 encryption algorithm. This does not require any action on your part.
For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide.
" }, "EncryptionConfigurationForRepositoryCreationTemplate": { "type": "structure", "required": [ "encryptionType" ], "members": { "encryptionType": { "shape": "EncryptionType", "documentation": "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. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.
If you use the AES256
encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.
If you use the KMS
encryption type, specify the KMS key to use for encryption. The full ARN of the KMS key must 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.
The encryption configuration to associate with the repository creation template.
" }, "EncryptionType": { "type": "string", "enum": [ "AES256", "KMS" ] }, "EnhancedImageScanFinding": { "type": "structure", "members": { "awsAccountId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the image.
" }, "description": { "shape": "FindingDescription", "documentation": "The description of the finding.
" }, "findingArn": { "shape": "FindingArn", "documentation": "The Amazon Resource Number (ARN) of the finding.
" }, "firstObservedAt": { "shape": "Date", "documentation": "The date and time that the finding was first observed.
" }, "lastObservedAt": { "shape": "Date", "documentation": "The date and time that the finding was last observed.
" }, "packageVulnerabilityDetails": { "shape": "PackageVulnerabilityDetails", "documentation": "An object that contains the details of a package vulnerability finding.
" }, "remediation": { "shape": "Remediation", "documentation": "An object that contains the details about how to remediate a finding.
" }, "resources": { "shape": "ResourceList", "documentation": "Contains information on the resources involved in a finding.
" }, "score": { "shape": "Score", "documentation": "The Amazon Inspector score given to the finding.
" }, "scoreDetails": { "shape": "ScoreDetails", "documentation": "An object that contains details of the Amazon Inspector score.
" }, "severity": { "shape": "Severity", "documentation": "The severity of the finding.
" }, "status": { "shape": "Status", "documentation": "The status of the finding.
" }, "title": { "shape": "Title", "documentation": "The title of the finding.
" }, "type": { "shape": "Type", "documentation": "The type of the finding.
" }, "updatedAt": { "shape": "Date", "documentation": "The date and time the finding was last updated at.
" } }, "documentation": "The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.
" }, "EnhancedImageScanFindingList": { "type": "list", "member": { "shape": "EnhancedImageScanFinding" } }, "Epoch": { "type": "integer" }, "EvaluationTimestamp": { "type": "timestamp" }, "ExpirationTimestamp": { "type": "timestamp" }, "FilePath": { "type": "string" }, "FindingArn": { "type": "string" }, "FindingDescription": { "type": "string" }, "FindingName": { "type": "string" }, "FindingSeverity": { "type": "string", "enum": [ "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNDEFINED" ] }, "FindingSeverityCounts": { "type": "map", "key": { "shape": "FindingSeverity" }, "value": { "shape": "SeverityCount" } }, "ForceFlag": { "type": "boolean" }, "GetAccountSettingRequest": { "type": "structure", "required": [ "name" ], "members": { "name": { "shape": "AccountSettingName", "documentation": "Basic scan type version name.
" } } }, "GetAccountSettingResponse": { "type": "structure", "members": { "name": { "shape": "AccountSettingName", "documentation": "Retrieves the basic scan type version name.
" }, "value": { "shape": "AccountSettingName", "documentation": "Retrieves the value that specifies what basic scan type is being used: AWS_NATIVE
or CLAIR
.
A list of Amazon Web Services account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.
", "deprecated": true, "deprecatedMessage": "This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token." } } }, "GetAuthorizationTokenResponse": { "type": "structure", "members": { "authorizationData": { "shape": "AuthorizationDataList", "documentation": "A list of authorization token data objects that correspond to the registryIds
values in the request.
The Amazon Web Services account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository that is associated with the image layer to download.
" }, "layerDigest": { "shape": "LayerDigest", "documentation": "The digest of the image layer to download.
" } } }, "GetDownloadUrlForLayerResponse": { "type": "structure", "members": { "downloadUrl": { "shape": "Url", "documentation": "The pre-signed Amazon S3 download URL for the requested layer.
" }, "layerDigest": { "shape": "LayerDigest", "documentation": "The digest of the image layer to download.
" } } }, "GetLifecyclePolicyPreviewRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository.
" }, "imageIds": { "shape": "ImageIdentifierList", "documentation": "The list of imageIDs to be included.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value returned from a previous paginated
GetLifecyclePolicyPreviewRequest
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 images with imageIds
.
The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest
in
paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this
parameter is not used, then GetLifecyclePolicyPreviewRequest
returns up to
100 results and a nextToken
value, if
applicable. This option cannot be used when you specify images with imageIds
.
An optional parameter that filters results based on image tag status and all tags, if tagged.
" } } }, "GetLifecyclePolicyPreviewResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON lifecycle policy text.
" }, "status": { "shape": "LifecyclePolicyPreviewStatus", "documentation": "The status of the lifecycle policy preview request.
" }, "nextToken": { "shape": "NextToken", "documentation": "The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the results of a GetLifecyclePolicyPreview
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.
The results of the lifecycle policy preview request.
" }, "summary": { "shape": "LifecyclePolicyPreviewSummary", "documentation": "The list of images that is returned as a result of the action.
" } } }, "GetLifecyclePolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository.
" } } }, "GetLifecyclePolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON lifecycle policy text.
" }, "lastEvaluatedAt": { "shape": "EvaluationTimestamp", "documentation": "The time stamp of the last time that the lifecycle policy was run.
" } } }, "GetRegistryPolicyRequest": { "type": "structure", "members": {} }, "GetRegistryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "policyText": { "shape": "RegistryPolicyText", "documentation": "The JSON text of the permissions policy for a registry.
" } } }, "GetRegistryScanningConfigurationRequest": { "type": "structure", "members": {} }, "GetRegistryScanningConfigurationResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "scanningConfiguration": { "shape": "RegistryScanningConfiguration", "documentation": "The scanning configuration for the registry.
" } } }, "GetRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default 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 associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "The JSON repository policy text associated with the repository.
" } } }, "Image": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry containing the image.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository associated with the image.
" }, "imageId": { "shape": "ImageIdentifier", "documentation": "An object containing the image tag and image digest associated with an image.
" }, "imageManifest": { "shape": "ImageManifest", "documentation": "The image manifest associated with the image.
" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "The manifest media type of the image.
" } }, "documentation": "An object representing an Amazon ECR image.
" }, "ImageActionType": { "type": "string", "enum": [ "EXPIRE" ] }, "ImageCount": { "type": "integer", "min": 0 }, "ImageDetail": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry to which this image belongs.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to which this image belongs.
" }, "imageDigest": { "shape": "ImageDigest", "documentation": "The sha256
digest of the image manifest.
The list of tags 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 will be 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 may return a larger image size than the image sizes returned by DescribeImages.
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
" }, "imageScanStatus": { "shape": "ImageScanStatus", "documentation": "The current state of the scan.
" }, "imageScanFindingsSummary": { "shape": "ImageScanFindingsSummary", "documentation": "A summary of the last completed image scan.
" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "The media type of the image manifest.
" }, "artifactMediaType": { "shape": "MediaType", "documentation": "The artifact media type of the image.
" }, "lastRecordedPullTime": { "shape": "RecordedPullTimestamp", "documentation": "The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.
An object that describes an image 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 associated with the failure.
" }, "failureCode": { "shape": "ImageFailureCode", "documentation": "The code associated with the failure.
" }, "failureReason": { "shape": "ImageFailureReason", "documentation": "The reason for the failure.
" } }, "documentation": "An object representing an Amazon ECR image failure.
" }, "ImageFailureCode": { "type": "string", "enum": [ "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag", "ImageReferencedByManifestList", "KmsError", "UpstreamAccessDenied", "UpstreamTooManyRequests", "UpstreamUnavailable" ] }, "ImageFailureList": { "type": "list", "member": { "shape": "ImageFailure" } }, "ImageFailureReason": { "type": "string" }, "ImageIdentifier": { "type": "structure", "members": { "imageDigest": { "shape": "ImageDigest", "documentation": "The sha256
digest of the image manifest.
The tag used for the image.
" } }, "documentation": "An object with identifying information for an image in an Amazon ECR repository.
" }, "ImageIdentifierList": { "type": "list", "member": { "shape": "ImageIdentifier" }, "max": 100, "min": 1 }, "ImageList": { "type": "list", "member": { "shape": "Image" } }, "ImageManifest": { "type": "string", "max": 4194304, "min": 1 }, "ImageReplicationStatus": { "type": "structure", "members": { "region": { "shape": "Region", "documentation": "The destination Region for the image replication.
" }, "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry to which the image belongs.
" }, "status": { "shape": "ReplicationStatus", "documentation": "The image replication status.
" }, "failureCode": { "shape": "ReplicationError", "documentation": "The failure code for a replication that has failed.
" } }, "documentation": "The status of the replication process for an image.
" }, "ImageReplicationStatusList": { "type": "list", "member": { "shape": "ImageReplicationStatus" } }, "ImageScanFinding": { "type": "structure", "members": { "name": { "shape": "FindingName", "documentation": "The name associated with the finding, usually a CVE number.
" }, "description": { "shape": "FindingDescription", "documentation": "The description of the finding.
" }, "uri": { "shape": "Url", "documentation": "A link containing additional details about the security vulnerability.
" }, "severity": { "shape": "FindingSeverity", "documentation": "The finding severity.
" }, "attributes": { "shape": "AttributeList", "documentation": "A collection of attributes of the host from which the finding is generated.
" } }, "documentation": "Contains information about an image scan finding.
" }, "ImageScanFindingList": { "type": "list", "member": { "shape": "ImageScanFinding" } }, "ImageScanFindings": { "type": "structure", "members": { "imageScanCompletedAt": { "shape": "ScanTimestamp", "documentation": "The time of the last completed image scan.
" }, "vulnerabilitySourceUpdatedAt": { "shape": "VulnerabilitySourceUpdateTimestamp", "documentation": "The time when the vulnerability data was last scanned.
" }, "findingSeverityCounts": { "shape": "FindingSeverityCounts", "documentation": "The image vulnerability counts, sorted by severity.
" }, "findings": { "shape": "ImageScanFindingList", "documentation": "The findings from the image scan.
" }, "enhancedFindings": { "shape": "EnhancedImageScanFindingList", "documentation": "Details about the enhanced scan findings from Amazon Inspector.
" } }, "documentation": "The details of an image scan.
" }, "ImageScanFindingsSummary": { "type": "structure", "members": { "imageScanCompletedAt": { "shape": "ScanTimestamp", "documentation": "The time of the last completed image scan.
" }, "vulnerabilitySourceUpdatedAt": { "shape": "VulnerabilitySourceUpdateTimestamp", "documentation": "The time when the vulnerability data was last scanned.
" }, "findingSeverityCounts": { "shape": "FindingSeverityCounts", "documentation": "The image vulnerability counts, sorted by severity.
" } }, "documentation": "A summary of the last completed image scan.
" }, "ImageScanStatus": { "type": "structure", "members": { "status": { "shape": "ScanStatus", "documentation": "The current state of an image scan.
" }, "description": { "shape": "ScanStatusDescription", "documentation": "The description of the image scan status.
" } }, "documentation": "The current status of an image scan.
" }, "ImageScanningConfiguration": { "type": "structure", "members": { "scanOnPush": { "shape": "ScanOnPushFlag", "documentation": "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.
The image scanning configuration for a repository.
" }, "ImageSizeInBytes": { "type": "long" }, "ImageTag": { "type": "string", "max": 300, "min": 1 }, "ImageTagList": { "type": "list", "member": { "shape": "ImageTag" } }, "ImageTagMutability": { "type": "string", "enum": [ "MUTABLE", "IMMUTABLE" ] }, "ImageTagsList": { "type": "list", "member": { "shape": "ImageTag" } }, "InitiateLayerUploadRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to which you intend to upload layers.
" } } }, "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.
" } } }, "IsPTCRuleValid": { "type": "boolean" }, "KmsKey": { "type": "string", "max": 2048, "min": 1 }, "KmsKeyForRepositoryCreationTemplate": { "type": "string", "max": 2048, "min": 0, "pattern": "^$|arn:aws:kms:[a-z0-9-]+:[0-9]{12}:key\\/[a-z0-9-]+" }, "Layer": { "type": "structure", "members": { "layerDigest": { "shape": "LayerDigest", "documentation": "The sha256
digest of the image layer.
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
.
An object representing 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 associated with the failure.
" }, "failureCode": { "shape": "LayerFailureCode", "documentation": "The failure code associated with the failure.
" }, "failureReason": { "shape": "LayerFailureReason", "documentation": "The reason for the failure.
" } }, "documentation": "An object representing 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" }, "LifecyclePolicyPreviewFilter": { "type": "structure", "members": { "tagStatus": { "shape": "TagStatus", "documentation": "The tag status of the image.
" } }, "documentation": "The filter for the lifecycle policy preview.
" }, "LifecyclePolicyPreviewResult": { "type": "structure", "members": { "imageTags": { "shape": "ImageTagList", "documentation": "The list of tags associated with this image.
" }, "imageDigest": { "shape": "ImageDigest", "documentation": "The sha256
digest of the image manifest.
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
" }, "action": { "shape": "LifecyclePolicyRuleAction", "documentation": "The type of action to be taken.
" }, "appliedRulePriority": { "shape": "LifecyclePolicyRulePriority", "documentation": "The priority of the applied rule.
" } }, "documentation": "The result of the lifecycle policy preview.
" }, "LifecyclePolicyPreviewResultList": { "type": "list", "member": { "shape": "LifecyclePolicyPreviewResult" } }, "LifecyclePolicyPreviewStatus": { "type": "string", "enum": [ "IN_PROGRESS", "COMPLETE", "EXPIRED", "FAILED" ] }, "LifecyclePolicyPreviewSummary": { "type": "structure", "members": { "expiringImageTotalCount": { "shape": "ImageCount", "documentation": "The number of expiring images.
" } }, "documentation": "The summary of the lifecycle policy preview request.
" }, "LifecyclePolicyRuleAction": { "type": "structure", "members": { "type": { "shape": "ImageActionType", "documentation": "The type of action to be taken.
" } }, "documentation": "The type of action to be taken.
" }, "LifecyclePolicyRulePriority": { "type": "integer", "min": 1 }, "LifecyclePolicyText": { "type": "string", "max": 30720, "min": 100 }, "LifecyclePolicyTextForRepositoryCreationTemplate": { "type": "string", "max": 30720, "min": 0 }, "LifecyclePreviewMaxResults": { "type": "integer", "max": 100, "min": 1 }, "ListImagesFilter": { "type": "structure", "members": { "tagStatus": { "shape": "TagStatus", "documentation": "The tag status with which to filter your ListImages results. You can filter results based on whether they are TAGGED
or UNTAGGED
.
An object representing a filter on a ListImages operation.
" }, "ListImagesRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "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": { "shape": "RepositoryName", "documentation": "The repository with image IDs to be listed.
" }, "nextToken": { "shape": "NextToken", "documentation": "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.
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.
The filter key and value with which to filter your ListImages
results.
The list of image IDs for the requested repository.
" }, "nextToken": { "shape": "NextToken", "documentation": "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.
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the only supported resource is an Amazon ECR repository.
" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagList", "documentation": "The tags for the resource.
" } } }, "MaxResults": { "type": "integer", "max": 1000, "min": 1 }, "MediaType": { "type": "string" }, "MediaTypeList": { "type": "list", "member": { "shape": "MediaType" }, "max": 100, "min": 1 }, "Metric": { "type": "string" }, "NextToken": { "type": "string" }, "PTCValidateFailure": { "type": "string" }, "PackageManager": { "type": "string" }, "PackageVulnerabilityDetails": { "type": "structure", "members": { "cvss": { "shape": "CvssScoreList", "documentation": "An object that contains details about the CVSS score of a finding.
" }, "referenceUrls": { "shape": "ReferenceUrlsList", "documentation": "One or more URLs that contain details about this vulnerability type.
" }, "relatedVulnerabilities": { "shape": "RelatedVulnerabilitiesList", "documentation": "One or more vulnerabilities related to the one identified in this finding.
" }, "source": { "shape": "Source", "documentation": "The source of the vulnerability information.
" }, "sourceUrl": { "shape": "Url", "documentation": "A URL to the source of the vulnerability information.
" }, "vendorCreatedAt": { "shape": "Date", "documentation": "The date and time that this vulnerability was first added to the vendor's database.
" }, "vendorSeverity": { "shape": "Severity", "documentation": "The severity the vendor has given to this vulnerability type.
" }, "vendorUpdatedAt": { "shape": "Date", "documentation": "The date and time the vendor last updated this vulnerability in their database.
" }, "vulnerabilityId": { "shape": "VulnerabilityId", "documentation": "The ID given to this vulnerability.
" }, "vulnerablePackages": { "shape": "VulnerablePackagesList", "documentation": "The packages impacted by this vulnerability.
" } }, "documentation": "Information about a package vulnerability finding.
" }, "PartSize": { "type": "long", "min": 0 }, "Platform": { "type": "string" }, "Prefix": { "type": "string", "max": 256, "min": 1, "pattern": "^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$" }, "PrefixList": { "type": "list", "member": { "shape": "Prefix" } }, "ProxyEndpoint": { "type": "string" }, "PullThroughCacheRule": { "type": "structure", "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the pull through cache rule.
" }, "upstreamRegistryUrl": { "shape": "Url", "documentation": "The upstream registry URL associated with the pull through cache rule.
" }, "createdAt": { "shape": "CreationTimestamp", "documentation": "The date and time the pull through cache was created.
" }, "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The ARN of the Secrets Manager secret associated with the pull through cache rule.
" }, "upstreamRegistry": { "shape": "UpstreamRegistry", "documentation": "The name of the upstream source registry associated with the pull through cache rule.
" }, "updatedAt": { "shape": "UpdatedTimestamp", "documentation": "The date and time, in JavaScript date format, when the pull through cache rule was last updated.
" } }, "documentation": "The details of a pull through cache rule.
" }, "PullThroughCacheRuleList": { "type": "list", "member": { "shape": "PullThroughCacheRule" } }, "PullThroughCacheRuleRepositoryPrefix": { "type": "string", "max": 30, "min": 2, "pattern": "(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*" }, "PullThroughCacheRuleRepositoryPrefixList": { "type": "list", "member": { "shape": "PullThroughCacheRuleRepositoryPrefix" }, "max": 100, "min": 1 }, "PushTimestamp": { "type": "timestamp" }, "PutAccountSettingRequest": { "type": "structure", "required": [ "name", "value" ], "members": { "name": { "shape": "AccountSettingName", "documentation": "Basic scan type version name.
" }, "value": { "shape": "AccountSettingValue", "documentation": "Setting value that determines what basic scan type is being used: AWS_NATIVE
or CLAIR
.
Retrieves the the basic scan type version name.
" }, "value": { "shape": "AccountSettingValue", "documentation": "Retrieves the basic scan type value, either AWS_NATIVE
or -
.
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": { "shape": "RepositoryName", "documentation": "The name of the repository in which to put the image.
" }, "imageManifest": { "shape": "ImageManifest", "documentation": "The image manifest corresponding to the image to be uploaded.
" }, "imageManifestMediaType": { "shape": "MediaType", "documentation": "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.
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 corresponding to the image.
" } } }, "PutImageResponse": { "type": "structure", "members": { "image": { "shape": "Image", "documentation": "Details of the image uploaded.
" } } }, "PutImageScanningConfigurationRequest": { "type": "structure", "required": [ "repositoryName", "imageScanningConfiguration" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository in which to update the image scanning configuration setting.
" }, "imageScanningConfiguration": { "shape": "ImageScanningConfiguration", "documentation": "The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
" } } }, "PutImageScanningConfigurationResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "imageScanningConfiguration": { "shape": "ImageScanningConfiguration", "documentation": "The image scanning configuration setting for the repository.
" } } }, "PutImageTagMutabilityRequest": { "type": "structure", "required": [ "repositoryName", "imageTagMutability" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository in which to update the image tag mutability settings.
" }, "imageTagMutability": { "shape": "ImageTagMutability", "documentation": "The tag mutability setting for the repository. If MUTABLE
is specified, image tags can be overwritten. If IMMUTABLE
is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "imageTagMutability": { "shape": "ImageTagMutability", "documentation": "The image tag mutability setting for the repository.
" } } }, "PutLifecyclePolicyRequest": { "type": "structure", "required": [ "repositoryName", "lifecyclePolicyText" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to receive the policy.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON repository policy text to apply to the repository.
" } } }, "PutLifecyclePolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON repository policy text.
" } } }, "PutRegistryPolicyRequest": { "type": "structure", "required": [ "policyText" ], "members": { "policyText": { "shape": "RegistryPolicyText", "documentation": "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.
" } } }, "PutRegistryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "policyText": { "shape": "RegistryPolicyText", "documentation": "The JSON policy text for your registry.
" } } }, "PutRegistryScanningConfigurationRequest": { "type": "structure", "members": { "scanType": { "shape": "ScanType", "documentation": "The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC
scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
" } } }, "PutRegistryScanningConfigurationResponse": { "type": "structure", "members": { "registryScanningConfiguration": { "shape": "RegistryScanningConfiguration", "documentation": "The scanning configuration for your registry.
" } } }, "PutReplicationConfigurationRequest": { "type": "structure", "required": [ "replicationConfiguration" ], "members": { "replicationConfiguration": { "shape": "ReplicationConfiguration", "documentation": "An object representing the replication configuration for a registry.
" } } }, "PutReplicationConfigurationResponse": { "type": "structure", "members": { "replicationConfiguration": { "shape": "ReplicationConfiguration", "documentation": "The contents of the replication configuration for the registry.
" } } }, "RCTAppliedFor": { "type": "string", "enum": [ "REPLICATION", "PULL_THROUGH_CACHE" ] }, "RCTAppliedForList": { "type": "list", "member": { "shape": "RCTAppliedFor" } }, "Reason": { "type": "string" }, "Recommendation": { "type": "structure", "members": { "url": { "shape": "Url", "documentation": "The URL address to the CVE remediation recommendations.
" }, "text": { "shape": "RecommendationText", "documentation": "The recommended course of action to remediate the finding.
" } }, "documentation": "Details about the recommended course of action to remediate the finding.
" }, "RecommendationText": { "type": "string" }, "RecordedPullTimestamp": { "type": "timestamp" }, "ReferenceUrlsList": { "type": "list", "member": { "shape": "Url" } }, "Region": { "type": "string", "max": 25, "min": 2, "pattern": "[0-9a-z-]{2,25}" }, "RegistryId": { "type": "string", "pattern": "[0-9]{12}" }, "RegistryPolicyText": { "type": "string", "max": 10240, "min": 0 }, "RegistryScanningConfiguration": { "type": "structure", "members": { "scanType": { "shape": "ScanType", "documentation": "The type of scanning configured for the registry.
" }, "rules": { "shape": "RegistryScanningRuleList", "documentation": "The scanning rules associated with the registry.
" } }, "documentation": "The scanning configuration for a private registry.
" }, "RegistryScanningRule": { "type": "structure", "required": [ "scanFrequency", "repositoryFilters" ], "members": { "scanFrequency": { "shape": "ScanFrequency", "documentation": "The frequency that scans are performed at for a private registry. When the ENHANCED
scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN
and SCAN_ON_PUSH
. When the BASIC
scan type is specified, the SCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then the MANUAL
scan frequency is set by default.
The repository filters associated with the scanning configuration for a private registry.
" } }, "documentation": "The details of a scanning rule for a private registry.
" }, "RegistryScanningRuleList": { "type": "list", "member": { "shape": "RegistryScanningRule" }, "max": 2, "min": 0 }, "RelatedVulnerabilitiesList": { "type": "list", "member": { "shape": "RelatedVulnerability" } }, "RelatedVulnerability": { "type": "string" }, "Release": { "type": "string" }, "Remediation": { "type": "structure", "members": { "recommendation": { "shape": "Recommendation", "documentation": "An object that contains information about the recommended course of action to remediate the finding.
" } }, "documentation": "Information on how to remediate a finding.
" }, "ReplicationConfiguration": { "type": "structure", "required": [ "rules" ], "members": { "rules": { "shape": "ReplicationRuleList", "documentation": "An array of objects representing the replication destinations and repository filters for a replication configuration.
" } }, "documentation": "The replication configuration for a registry.
" }, "ReplicationDestination": { "type": "structure", "required": [ "region", "registryId" ], "members": { "region": { "shape": "Region", "documentation": "The Region to replicate to.
" }, "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
" } }, "documentation": "An array of objects representing the destination for a replication rule.
" }, "ReplicationDestinationList": { "type": "list", "member": { "shape": "ReplicationDestination" }, "max": 100, "min": 0 }, "ReplicationError": { "type": "string" }, "ReplicationRule": { "type": "structure", "required": [ "destinations" ], "members": { "destinations": { "shape": "ReplicationDestinationList", "documentation": "An array of objects representing the destination for a replication rule.
" }, "repositoryFilters": { "shape": "RepositoryFilterList", "documentation": "An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
" } }, "documentation": "An array of objects representing the replication destinations and repository filters for a replication configuration.
" }, "ReplicationRuleList": { "type": "list", "member": { "shape": "ReplicationRule" }, "max": 10, "min": 0 }, "ReplicationStatus": { "type": "string", "enum": [ "IN_PROGRESS", "COMPLETE", "FAILED" ] }, "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-namespace/repository-name
.
The Amazon Web Services account ID associated with the 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.
The date and time, in JavaScript date format, when the repository was created.
" }, "imageTagMutability": { "shape": "ImageTagMutability", "documentation": "The tag mutability setting for the repository.
" }, "imageScanningConfiguration": { "shape": "ImageScanningConfiguration" }, "encryptionConfiguration": { "shape": "EncryptionConfiguration", "documentation": "The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
" } }, "documentation": "An object representing a repository.
" }, "RepositoryCreationTemplate": { "type": "structure", "members": { "prefix": { "shape": "Prefix", "documentation": "The repository namespace prefix associated with the repository creation template.
" }, "description": { "shape": "RepositoryTemplateDescription", "documentation": "The description associated with the repository creation template.
" }, "encryptionConfiguration": { "shape": "EncryptionConfigurationForRepositoryCreationTemplate", "documentation": "The encryption configuration associated with the repository creation template.
" }, "resourceTags": { "shape": "TagList", "documentation": "The metadata to apply to the repository to help you categorize and organize. 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": { "shape": "ImageTagMutability", "documentation": "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.
" }, "repositoryPolicy": { "shape": "RepositoryPolicyText", "documentation": "he repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions.
" }, "lifecyclePolicy": { "shape": "LifecyclePolicyTextForRepositoryCreationTemplate", "documentation": "The lifecycle policy to use for repositories created using the template.
" }, "appliedFor": { "shape": "RCTAppliedForList", "documentation": "A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. The two supported scenarios are PULL_THROUGH_CACHE and REPLICATION
" }, "customRoleArn": { "shape": "CustomRoleArn", "documentation": "The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.
" }, "createdAt": { "shape": "Date", "documentation": "The date and time, in JavaScript date format, when the repository creation template was created.
" }, "updatedAt": { "shape": "Date", "documentation": "The date and time, in JavaScript date format, when the repository creation template was last updated.
" } }, "documentation": "The details of the repository creation template associated with the request.
" }, "RepositoryCreationTemplateList": { "type": "list", "member": { "shape": "RepositoryCreationTemplate" } }, "RepositoryFilter": { "type": "structure", "required": [ "filter", "filterType" ], "members": { "filter": { "shape": "RepositoryFilterValue", "documentation": "The repository filter details. When the PREFIX_MATCH
filter type is specified, this value is required and should be the repository name prefix to configure replication for.
The repository filter type. The only supported value is PREFIX_MATCH
, which is a repository name prefix specified with the filter
parameter.
The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.
" }, "RepositoryFilterList": { "type": "list", "member": { "shape": "RepositoryFilter" }, "max": 100, "min": 1 }, "RepositoryFilterType": { "type": "string", "enum": [ "PREFIX_MATCH" ] }, "RepositoryFilterValue": { "type": "string", "max": 256, "min": 2, "pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$" }, "RepositoryList": { "type": "list", "member": { "shape": "Repository" } }, "RepositoryName": { "type": "string", "max": 256, "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 }, "RepositoryScanningConfiguration": { "type": "structure", "members": { "repositoryArn": { "shape": "Arn", "documentation": "The ARN of the repository.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository.
" }, "scanOnPush": { "shape": "ScanOnPushFlag", "documentation": "Whether or not scan on push is configured for the repository.
" }, "scanFrequency": { "shape": "ScanFrequency", "documentation": "The scan frequency for the repository.
" }, "appliedScanFilters": { "shape": "ScanningRepositoryFilterList", "documentation": "The scan filters applied to the repository.
" } }, "documentation": "The details of the scanning configuration for a repository.
" }, "RepositoryScanningConfigurationFailure": { "type": "structure", "members": { "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository.
" }, "failureCode": { "shape": "ScanningConfigurationFailureCode", "documentation": "The failure code.
" }, "failureReason": { "shape": "ScanningConfigurationFailureReason", "documentation": "The reason for the failure.
" } }, "documentation": "The details about any failures associated with the scanning configuration of a repository.
" }, "RepositoryScanningConfigurationFailureList": { "type": "list", "member": { "shape": "RepositoryScanningConfigurationFailure" } }, "RepositoryScanningConfigurationList": { "type": "list", "member": { "shape": "RepositoryScanningConfiguration" } }, "RepositoryTemplateDescription": { "type": "string", "max": 256 }, "Resource": { "type": "structure", "members": { "details": { "shape": "ResourceDetails", "documentation": "An object that contains details about the resource involved in a finding.
" }, "id": { "shape": "ResourceId", "documentation": "The ID of the resource.
" }, "tags": { "shape": "Tags", "documentation": "The tags attached to the resource.
" }, "type": { "shape": "Type", "documentation": "The type of resource.
" } }, "documentation": "Details about the resource involved in a finding.
" }, "ResourceDetails": { "type": "structure", "members": { "awsEcrContainerImage": { "shape": "AwsEcrContainerImageDetails", "documentation": "An object that contains details about the Amazon ECR container image involved in the finding.
" } }, "documentation": "Contains details about the resource involved in the finding.
" }, "ResourceId": { "type": "string" }, "ResourceList": { "type": "list", "member": { "shape": "Resource" } }, "ScanFrequency": { "type": "string", "enum": [ "SCAN_ON_PUSH", "CONTINUOUS_SCAN", "MANUAL" ] }, "ScanOnPushFlag": { "type": "boolean" }, "ScanStatus": { "type": "string", "enum": [ "IN_PROGRESS", "COMPLETE", "FAILED", "UNSUPPORTED_IMAGE", "ACTIVE", "PENDING", "SCAN_ELIGIBILITY_EXPIRED", "FINDINGS_UNAVAILABLE" ] }, "ScanStatusDescription": { "type": "string" }, "ScanTimestamp": { "type": "timestamp" }, "ScanType": { "type": "string", "enum": [ "BASIC", "ENHANCED" ] }, "ScanningConfigurationFailureCode": { "type": "string", "enum": [ "REPOSITORY_NOT_FOUND" ] }, "ScanningConfigurationFailureReason": { "type": "string" }, "ScanningConfigurationRepositoryNameList": { "type": "list", "member": { "shape": "RepositoryName" }, "max": 25, "min": 1 }, "ScanningRepositoryFilter": { "type": "structure", "required": [ "filter", "filterType" ], "members": { "filter": { "shape": "ScanningRepositoryFilterValue", "documentation": "The filter to use when scanning.
" }, "filterType": { "shape": "ScanningRepositoryFilterType", "documentation": "The type associated with the filter.
" } }, "documentation": "The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
" }, "ScanningRepositoryFilterList": { "type": "list", "member": { "shape": "ScanningRepositoryFilter" }, "max": 100, "min": 0 }, "ScanningRepositoryFilterType": { "type": "string", "enum": [ "WILDCARD" ] }, "ScanningRepositoryFilterValue": { "type": "string", "max": 255, "min": 1, "pattern": "^[a-z0-9*](?:[._\\-/a-z0-9*]?[a-z0-9*]+)*$" }, "Score": { "type": "double" }, "ScoreDetails": { "type": "structure", "members": { "cvss": { "shape": "CvssScoreDetails", "documentation": "An object that contains details about the CVSS score given to a finding.
" } }, "documentation": "Information about the Amazon Inspector score given to a finding.
" }, "ScoringVector": { "type": "string" }, "SetRepositoryPolicyRequest": { "type": "structure", "required": [ "repositoryName", "policyText" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default 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 you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.
" } } }, "SetRepositoryPolicyResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "policyText": { "shape": "RepositoryPolicyText", "documentation": "The JSON repository policy text applied to the repository.
" } } }, "Severity": { "type": "string" }, "SeverityCount": { "type": "integer", "min": 0 }, "Source": { "type": "string" }, "SourceLayerHash": { "type": "string" }, "StartImageScanRequest": { "type": "structure", "required": [ "repositoryName", "imageId" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository that contains the images to scan.
" }, "imageId": { "shape": "ImageIdentifier" } } }, "StartImageScanResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "imageId": { "shape": "ImageIdentifier" }, "imageScanStatus": { "shape": "ImageScanStatus", "documentation": "The current state of the scan.
" } } }, "StartLifecyclePolicyPreviewRequest": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to be evaluated.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
" } } }, "StartLifecyclePolicyPreviewResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "lifecyclePolicyText": { "shape": "LifecyclePolicyText", "documentation": "The JSON repository policy text.
" }, "status": { "shape": "LifecyclePolicyPreviewStatus", "documentation": "The status of the lifecycle policy preview request.
" } } }, "Status": { "type": "string" }, "Tag": { "type": "structure", "required": [ "Key", "Value" ], "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.
A value
acts as a descriptor within a tag category (key).
The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a 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.
" }, "TagKey": { "type": "string" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" } }, "TagList": { "type": "list", "member": { "shape": "Tag" } }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported resource is an Amazon ECR 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": {} }, "TagStatus": { "type": "string", "enum": [ "TAGGED", "UNTAGGED", "ANY" ] }, "TagValue": { "type": "string" }, "Tags": { "type": "map", "key": { "shape": "TagKey" }, "value": { "shape": "TagValue" } }, "Title": { "type": "string" }, "Type": { "type": "string" }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "Arn", "documentation": "The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported resource is an Amazon ECR repository.
" }, "tagKeys": { "shape": "TagKeyList", "documentation": "The keys of the tags to be removed.
" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UpdatePullThroughCacheRuleRequest": { "type": "structure", "required": [ "ecrRepositoryPrefix", "credentialArn" ], "members": { "registryId": { "shape": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
" }, "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The repository name prefix to use when caching images from the source registry.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
" } } }, "UpdatePullThroughCacheRuleResponse": { "type": "structure", "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the pull through cache rule.
" }, "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "updatedAt": { "shape": "UpdatedTimestamp", "documentation": "The date and time, in JavaScript date format, when the pull through cache rule was updated.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
" } } }, "UpdateRepositoryCreationTemplateRequest": { "type": "structure", "required": [ "prefix" ], "members": { "prefix": { "shape": "Prefix", "documentation": "The repository namespace prefix that matches an existing repository creation template in the registry. All repositories created using this namespace prefix will have the settings defined in this template applied. For example, a prefix of prod
would apply to all repositories beginning with prod/
. This includes a repository named prod/team1
as well as a repository named prod/repository1
.
To apply a template to all repositories in your registry that don't have an associated creation template, you can use ROOT
as the prefix.
A description for the repository creation template.
" }, "encryptionConfiguration": { "shape": "EncryptionConfigurationForRepositoryCreationTemplate" }, "resourceTags": { "shape": "TagList", "documentation": "The metadata to apply to the repository to help you categorize and organize. 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": { "shape": "ImageTagMutability", "documentation": "Updates 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.
Updates the repository policy created using the template. A repository policy is a permissions policy associated with a repository to control access permissions.
" }, "lifecyclePolicy": { "shape": "LifecyclePolicyTextForRepositoryCreationTemplate", "documentation": "Updates the lifecycle policy associated with the specified repository creation template.
" }, "appliedFor": { "shape": "RCTAppliedForList", "documentation": "Updates the list of enumerable strings representing the Amazon ECR repository creation scenarios that this template will apply towards. The two supported scenarios are PULL_THROUGH_CACHE
and REPLICATION
The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.
" } } }, "UpdateRepositoryCreationTemplateResponse": { "type": "structure", "members": { "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "repositoryCreationTemplate": { "shape": "RepositoryCreationTemplate", "documentation": "The details of the repository creation template associated with the request.
" } } }, "UpdatedTimestamp": { "type": "timestamp" }, "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": "RegistryId", "documentation": "The Amazon Web Services account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The name of the repository to which you are uploading layer parts.
" }, "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 associated with the request.
" }, "repositoryName": { "shape": "RepositoryName", "documentation": "The repository name associated with the request.
" }, "uploadId": { "shape": "UploadId", "documentation": "The upload ID associated with the request.
" }, "lastByteReceived": { "shape": "PartSize", "documentation": "The integer value of the last byte received in the request.
" } } }, "UpstreamRegistry": { "type": "string", "enum": [ "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry" ] }, "Url": { "type": "string" }, "ValidatePullThroughCacheRuleRequest": { "type": "structure", "required": [ "ecrRepositoryPrefix" ], "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The repository name prefix associated with the pull through cache rule.
" }, "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
" } } }, "ValidatePullThroughCacheRuleResponse": { "type": "structure", "members": { "ecrRepositoryPrefix": { "shape": "PullThroughCacheRuleRepositoryPrefix", "documentation": "The Amazon ECR repository prefix associated with the pull through cache rule.
" }, "registryId": { "shape": "RegistryId", "documentation": "The registry ID associated with the request.
" }, "upstreamRegistryUrl": { "shape": "Url", "documentation": "The upstream registry URL associated with the pull through cache rule.
" }, "credentialArn": { "shape": "CredentialArn", "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
" }, "isValid": { "shape": "IsPTCRuleValid", "documentation": "Whether or not the pull through cache rule was validated. If true
, Amazon ECR was able to reach the upstream registry and authentication was successful. If false
, there was an issue and validation failed. The failure
reason indicates the cause.
The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.
" } } }, "Version": { "type": "string" }, "VulnerabilityId": { "type": "string" }, "VulnerabilitySourceUpdateTimestamp": { "type": "timestamp" }, "VulnerablePackage": { "type": "structure", "members": { "arch": { "shape": "Arch", "documentation": "The architecture of the vulnerable package.
" }, "epoch": { "shape": "Epoch", "documentation": "The epoch of the vulnerable package.
" }, "filePath": { "shape": "FilePath", "documentation": "The file path of the vulnerable package.
" }, "name": { "shape": "VulnerablePackageName", "documentation": "The name of the vulnerable package.
" }, "packageManager": { "shape": "PackageManager", "documentation": "The package manager of the vulnerable package.
" }, "release": { "shape": "Release", "documentation": "The release of the vulnerable package.
" }, "sourceLayerHash": { "shape": "SourceLayerHash", "documentation": "The source layer hash of the vulnerable package.
" }, "version": { "shape": "Version", "documentation": "The version of the vulnerable package.
" } }, "documentation": "Information on the vulnerable package identified by a finding.
" }, "VulnerablePackageName": { "type": "string" }, "VulnerablePackagesList": { "type": "list", "member": { "shape": "VulnerablePackage" } } }, "documentation": "Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the familiar Docker CLI, or their 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 private repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images.
Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the Amazon Web Services General Reference.
" }