5.0.0 • Published 7 years ago

@datafire/amazonaws_ecr v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_ecr

Client library for Amazon EC2 Container Registry

Installation and Usage

npm install --save @datafire/amazonaws_ecr
let amazonaws_ecr = require('@datafire/amazonaws_ecr').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_ecr.BatchCheckLayerAvailability({
  "repositoryName": "",
  "layerDigests": []
}).then(data => {
  console.log(data);
});

Description

Amazon EC2 Container Registry (Amazon ECR) is a managed Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.

Actions

BatchCheckLayerAvailability

amazonaws_ecr.BatchCheckLayerAvailability({
  "repositoryName": "",
  "layerDigests": []
}, context)

Input

Output

BatchDeleteImage

amazonaws_ecr.BatchDeleteImage({
  "repositoryName": "",
  "imageIds": []
}, context)

Input

Output

BatchGetImage

amazonaws_ecr.BatchGetImage({
  "repositoryName": "",
  "imageIds": []
}, context)

Input

Output

CompleteLayerUpload

amazonaws_ecr.CompleteLayerUpload({
  "repositoryName": "",
  "uploadId": "",
  "layerDigests": []
}, context)

Input

Output

CreateRepository

amazonaws_ecr.CreateRepository({
  "repositoryName": ""
}, context)

Input

Output

DeleteLifecyclePolicy

amazonaws_ecr.DeleteLifecyclePolicy({
  "repositoryName": ""
}, context)

Input

Output

DeleteRepository

amazonaws_ecr.DeleteRepository({
  "repositoryName": ""
}, context)

Input

Output

DeleteRepositoryPolicy

amazonaws_ecr.DeleteRepositoryPolicy({
  "repositoryName": ""
}, context)

Input

Output

DescribeImages

amazonaws_ecr.DescribeImages({
  "repositoryName": ""
}, context)

Input

Output

DescribeRepositories

amazonaws_ecr.DescribeRepositories({}, context)

Input

Output

GetAuthorizationToken

amazonaws_ecr.GetAuthorizationToken({}, context)

Input

Output

GetDownloadUrlForLayer

amazonaws_ecr.GetDownloadUrlForLayer({
  "repositoryName": "",
  "layerDigest": ""
}, context)

Input

Output

GetLifecyclePolicy

amazonaws_ecr.GetLifecyclePolicy({
  "repositoryName": ""
}, context)

Input

Output

GetLifecyclePolicyPreview

amazonaws_ecr.GetLifecyclePolicyPreview({
  "repositoryName": ""
}, context)

Input

Output

GetRepositoryPolicy

amazonaws_ecr.GetRepositoryPolicy({
  "repositoryName": ""
}, context)

Input

Output

InitiateLayerUpload

amazonaws_ecr.InitiateLayerUpload({
  "repositoryName": ""
}, context)

Input

Output

ListImages

amazonaws_ecr.ListImages({
  "repositoryName": ""
}, context)

Input

Output

PutImage

amazonaws_ecr.PutImage({
  "repositoryName": "",
  "imageManifest": ""
}, context)

Input

Output

PutLifecyclePolicy

amazonaws_ecr.PutLifecyclePolicy({
  "repositoryName": "",
  "lifecyclePolicyText": ""
}, context)

Input

Output

SetRepositoryPolicy

amazonaws_ecr.SetRepositoryPolicy({
  "repositoryName": "",
  "policyText": ""
}, context)

Input

Output

StartLifecyclePolicyPreview

amazonaws_ecr.StartLifecyclePolicyPreview({
  "repositoryName": ""
}, context)

Input

Output

UploadLayerPart

amazonaws_ecr.UploadLayerPart({
  "repositoryName": "",
  "uploadId": "",
  "partFirstByte": 0,
  "partLastByte": 0,
  "layerPartBlob": ""
}, context)

Input

Output

Definitions

Arn

  • Arn string

AuthorizationData

AuthorizationDataList

Base64

  • Base64 string

BatchCheckLayerAvailabilityRequest

BatchCheckLayerAvailabilityResponse

BatchDeleteImageRequest

  • BatchDeleteImageRequest object: Deletes specified images within a specified repository. Images are specified with either the imageTag or imageDigest.

BatchDeleteImageResponse

BatchGetImageRequest

BatchGetImageResponse

BatchedOperationLayerDigest

  • BatchedOperationLayerDigest string

BatchedOperationLayerDigestList

CompleteLayerUploadRequest

CompleteLayerUploadResponse

CreateRepositoryRequest

CreateRepositoryResponse

  • CreateRepositoryResponse object

CreationTimestamp

  • CreationTimestamp string

DeleteLifecyclePolicyRequest

DeleteLifecyclePolicyResponse

DeleteRepositoryPolicyRequest

DeleteRepositoryPolicyResponse

DeleteRepositoryRequest

DeleteRepositoryResponse

  • DeleteRepositoryResponse object

DescribeImagesFilter

  • DescribeImagesFilter object: An object representing a filter on a DescribeImages operation.

DescribeImagesRequest

DescribeImagesResponse

DescribeRepositoriesRequest

DescribeRepositoriesResponse

EmptyUploadException

  • EmptyUploadException object: The specified layer upload does not contain any layer parts.

EvaluationTimestamp

  • EvaluationTimestamp string

ExceptionMessage

  • ExceptionMessage string

ExpirationTimestamp

  • ExpirationTimestamp string

ForceFlag

  • ForceFlag boolean

GetAuthorizationTokenRegistryIdList

  • GetAuthorizationTokenRegistryIdList array

GetAuthorizationTokenRequest

GetAuthorizationTokenResponse

GetDownloadUrlForLayerRequest

GetDownloadUrlForLayerResponse

  • GetDownloadUrlForLayerResponse object

GetLifecyclePolicyPreviewRequest

GetLifecyclePolicyPreviewResponse

GetLifecyclePolicyRequest

GetLifecyclePolicyResponse

GetRepositoryPolicyRequest

GetRepositoryPolicyResponse

Image

ImageActionType

  • ImageActionType string (values: EXPIRE)

ImageAlreadyExistsException

  • ImageAlreadyExistsException object: The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.

ImageCount

  • ImageCount integer

ImageDetail

ImageDetailList

ImageDigest

  • ImageDigest string

ImageFailure

ImageFailureCode

  • ImageFailureCode string (values: InvalidImageDigest, InvalidImageTag, ImageTagDoesNotMatchDigest, ImageNotFound, MissingDigestAndTag)

ImageFailureList

ImageFailureReason

  • ImageFailureReason string

ImageIdentifier

  • ImageIdentifier object: An object with identifying information for an Amazon ECR image.

ImageIdentifierList

ImageList

  • ImageList array

ImageManifest

  • ImageManifest string

ImageNotFoundException

  • ImageNotFoundException object: The image requested does not exist in the specified repository.

ImageSizeInBytes

  • ImageSizeInBytes integer

ImageTag

  • ImageTag string

ImageTagList

InitiateLayerUploadRequest

InitiateLayerUploadResponse

InvalidLayerException

  • InvalidLayerException object: The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.

InvalidLayerPartException

  • InvalidLayerPartException object: The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.

InvalidParameterException

  • InvalidParameterException object: The specified parameter is invalid. Review the available parameters for the API request.

Layer

LayerAlreadyExistsException

  • LayerAlreadyExistsException object: The image layer already exists in the associated repository.

LayerAvailability

  • LayerAvailability string (values: AVAILABLE, UNAVAILABLE)

LayerDigest

  • LayerDigest string

LayerDigestList

LayerFailure

LayerFailureCode

  • LayerFailureCode string (values: InvalidLayerDigest, MissingLayerDigest)

LayerFailureList

LayerFailureReason

  • LayerFailureReason string

LayerInaccessibleException

  • LayerInaccessibleException object: The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.

LayerList

  • LayerList array

LayerPartBlob

  • LayerPartBlob string

LayerPartTooSmallException

  • LayerPartTooSmallException object: Layer parts must be at least 5 MiB in size.

LayerSizeInBytes

  • LayerSizeInBytes integer

LayersNotFoundException

  • LayersNotFoundException object: The specified layers could not be found, or the specified layer is not valid for this repository.

LifecyclePolicyNotFoundException

  • LifecyclePolicyNotFoundException object: The lifecycle policy could not be found, and no policy is set to the repository.

LifecyclePolicyPreviewFilter

  • LifecyclePolicyPreviewFilter object: The filter for the lifecycle policy preview.

LifecyclePolicyPreviewInProgressException

  • LifecyclePolicyPreviewInProgressException object: The previous lifecycle policy preview request has not completed. Please try again later.

LifecyclePolicyPreviewNotFoundException

  • LifecyclePolicyPreviewNotFoundException object: There is no dry run for this repository.

LifecyclePolicyPreviewResult

LifecyclePolicyPreviewResultList

LifecyclePolicyPreviewStatus

  • LifecyclePolicyPreviewStatus string (values: IN_PROGRESS, COMPLETE, EXPIRED, FAILED)

LifecyclePolicyPreviewSummary

  • LifecyclePolicyPreviewSummary object: The summary of the lifecycle policy preview request.

LifecyclePolicyRuleAction

  • LifecyclePolicyRuleAction object: The type of action to be taken.

LifecyclePolicyRulePriority

  • LifecyclePolicyRulePriority integer

LifecyclePolicyText

  • LifecyclePolicyText string

LimitExceededException

  • LimitExceededException object: The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Default Service Limits in the Amazon EC2 Container Registry User Guide.

ListImagesFilter

  • ListImagesFilter object: An object representing a filter on a ListImages operation.

ListImagesRequest

ListImagesResponse

MaxResults

  • MaxResults integer

MediaType

  • MediaType string

MediaTypeList

NextToken

  • NextToken string

PartSize

  • PartSize integer

ProxyEndpoint

  • ProxyEndpoint string

PushTimestamp

  • PushTimestamp string

PutImageRequest

PutImageResponse

  • PutImageResponse object

PutLifecyclePolicyRequest

PutLifecyclePolicyResponse

RegistryId

  • RegistryId string

Repository

RepositoryAlreadyExistsException

  • RepositoryAlreadyExistsException object: The specified repository already exists in the specified registry.

RepositoryList

RepositoryName

  • RepositoryName string

RepositoryNameList

RepositoryNotEmptyException

  • RepositoryNotEmptyException object: The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.

RepositoryNotFoundException

  • RepositoryNotFoundException object: The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.

RepositoryPolicyNotFoundException

  • RepositoryPolicyNotFoundException object: The specified repository and registry combination does not have an associated repository policy.

RepositoryPolicyText

  • RepositoryPolicyText string

ServerException

  • ServerException object: These errors are usually caused by a server-side issue.

SetRepositoryPolicyRequest

SetRepositoryPolicyResponse

StartLifecyclePolicyPreviewRequest

StartLifecyclePolicyPreviewResponse

TagStatus

  • TagStatus string (values: TAGGED, UNTAGGED)

UploadId

  • UploadId string

UploadLayerPartRequest

UploadLayerPartResponse

UploadNotFoundException

  • UploadNotFoundException object: The upload could not be found, or the specified upload id is not valid for this repository.

Url

  • Url string
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago