{ "version": "2.0", "metadata": { "apiVersion": "2015-09-21", "endpointPrefix": "api.ecr", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon ECR", "serviceFullName": "Amazon EC2 Container Registry", "serviceId": "ECR", "signatureVersion": "v4", "signingName": "ecr", "targetPrefix": "AmazonEC2ContainerRegistry_V20150921", "uid": "ecr-2015-09-21" }, "operations": { "BatchCheckLayerAvailability": { "input": { "type": "structure", "required": [ "repositoryName", "layerDigests" ], "members": { "registryId": {}, "repositoryName": {}, "layerDigests": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "layers": { "type": "list", "member": { "type": "structure", "members": { "layerDigest": {}, "layerAvailability": {}, "layerSize": { "type": "long" }, "mediaType": {} } } }, "failures": { "type": "list", "member": { "type": "structure", "members": { "layerDigest": {}, "failureCode": {}, "failureReason": {} } } } } } }, "BatchDeleteImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" } } }, "output": { "type": "structure", "members": { "imageIds": { "shape": "Si" }, "failures": { "shape": "Sn" } } } }, "BatchGetImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" }, "acceptedMediaTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "images": { "type": "list", "member": { "shape": "Sv" } }, "failures": { "shape": "Sn" } } } }, "CompleteLayerUpload": { "input": { "type": "structure", "required": [ "repositoryName", "uploadId", "layerDigests" ], "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "layerDigests": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "layerDigest": {} } } }, "CreateRepository": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": {}, "tags": { "shape": "S12" } } }, "output": { "type": "structure", "members": { "repository": { "shape": "S17" } } } }, "DeleteLifecyclePolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {}, "lastEvaluatedAt": { "type": "timestamp" } } } }, "DeleteRepository": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "force": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "repository": { "shape": "S17" } } } }, "DeleteRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "DescribeImages": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" }, "nextToken": {}, "maxResults": { "type": "integer" }, "filter": { "type": "structure", "members": { "tagStatus": {} } } } }, "output": { "type": "structure", "members": { "imageDetails": { "type": "list", "member": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "imageDigest": {}, "imageTags": { "shape": "S1t" }, "imageSizeInBytes": { "type": "long" }, "imagePushedAt": { "type": "timestamp" } } } }, "nextToken": {} } } }, "DescribeRepositories": { "input": { "type": "structure", "members": { "registryId": {}, "repositoryNames": { "type": "list", "member": {} }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "repositories": { "type": "list", "member": { "shape": "S17" } }, "nextToken": {} } } }, "GetAuthorizationToken": { "input": { "type": "structure", "members": { "registryIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "authorizationData": { "type": "list", "member": { "type": "structure", "members": { "authorizationToken": {}, "expiresAt": { "type": "timestamp" }, "proxyEndpoint": {} } } } } } }, "GetDownloadUrlForLayer": { "input": { "type": "structure", "required": [ "repositoryName", "layerDigest" ], "members": { "registryId": {}, "repositoryName": {}, "layerDigest": {} } }, "output": { "type": "structure", "members": { "downloadUrl": {}, "layerDigest": {} } } }, "GetLifecyclePolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {}, "lastEvaluatedAt": { "type": "timestamp" } } } }, "GetLifecyclePolicyPreview": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" }, "nextToken": {}, "maxResults": { "type": "integer" }, "filter": { "type": "structure", "members": { "tagStatus": {} } } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {}, "status": {}, "nextToken": {}, "previewResults": { "type": "list", "member": { "type": "structure", "members": { "imageTags": { "shape": "S1t" }, "imageDigest": {}, "imagePushedAt": { "type": "timestamp" }, "action": { "type": "structure", "members": { "type": {} } }, "appliedRulePriority": { "type": "integer" } } } }, "summary": { "type": "structure", "members": { "expiringImageTotalCount": { "type": "integer" } } } } } }, "GetRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "InitiateLayerUpload": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "uploadId": {}, "partSize": { "type": "long" } } } }, "ListImages": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "nextToken": {}, "maxResults": { "type": "integer" }, "filter": { "type": "structure", "members": { "tagStatus": {} } } } }, "output": { "type": "structure", "members": { "imageIds": { "shape": "Si" }, "nextToken": {} } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": {} } }, "output": { "type": "structure", "members": { "tags": { "shape": "S12" } } } }, "PutImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageManifest" ], "members": { "registryId": {}, "repositoryName": {}, "imageManifest": {}, "imageTag": {} } }, "output": { "type": "structure", "members": { "image": { "shape": "Sv" } } } }, "PutLifecyclePolicy": { "input": { "type": "structure", "required": [ "repositoryName", "lifecyclePolicyText" ], "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {} } } }, "SetRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName", "policyText" ], "members": { "registryId": {}, "repositoryName": {}, "policyText": {}, "force": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "StartLifecyclePolicyPreview": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "lifecyclePolicyText": {}, "status": {} } } }, "TagResource": { "input": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": {}, "tags": { "shape": "S12" } } }, "output": { "type": "structure", "members": {} } }, "UntagResource": { "input": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": {}, "tagKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "UploadLayerPart": { "input": { "type": "structure", "required": [ "repositoryName", "uploadId", "partFirstByte", "partLastByte", "layerPartBlob" ], "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "partFirstByte": { "type": "long" }, "partLastByte": { "type": "long" }, "layerPartBlob": { "type": "blob" } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "lastByteReceived": { "type": "long" } } } } }, "shapes": { "Si": { "type": "list", "member": { "shape": "Sj" } }, "Sj": { "type": "structure", "members": { "imageDigest": {}, "imageTag": {} } }, "Sn": { "type": "list", "member": { "type": "structure", "members": { "imageId": { "shape": "Sj" }, "failureCode": {}, "failureReason": {} } } }, "Sv": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "imageId": { "shape": "Sj" }, "imageManifest": {} } }, "S12": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S17": { "type": "structure", "members": { "repositoryArn": {}, "registryId": {}, "repositoryName": {}, "repositoryUri": {}, "createdAt": { "type": "timestamp" } } }, "S1t": { "type": "list", "member": {} } } }