@aws-sdk/client-ecr 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ECR.js +1 -13
- package/dist-cjs/ECRClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/BatchCheckLayerAvailabilityCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/BatchDeleteImageCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/BatchGetImageCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/CompleteLayerUploadCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/CreateRepositoryCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteLifecyclePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteRegistryPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImageReplicationStatusCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImageScanFindingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImagesCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/DescribeRegistryCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeRepositoriesCommand.js +2 -27
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetDownloadUrlForLayerCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/GetLifecyclePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetLifecyclePolicyPreviewCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetRegistryPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetRepositoryPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/InitiateLayerUploadCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/ListImagesCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutImageCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/PutImageScanningConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutImageTagMutabilityCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/PutLifecyclePolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/PutRegistryPolicyCommand.js +2 -29
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/SetRepositoryPolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/StartImageScanCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/StartLifecyclePolicyPreviewCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UploadLayerPartCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/endpoints.js +5 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -382
- package/{dist/cjs → dist-cjs}/pagination/DescribeImageScanFindingsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeImagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/DescribeRepositoriesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListImagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForImageScanComplete.js +4 -14
- package/{dist/cjs → dist-cjs}/waiters/waitForLifecyclePolicyPreviewComplete.js +4 -14
- package/{dist/es → dist-es}/ECR.js +1 -2
- package/{dist/es → dist-es}/ECRClient.js +1 -2
- package/{dist/es → dist-es}/commands/BatchCheckLayerAvailabilityCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchDeleteImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchGetImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CompleteLayerUploadCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteLifecyclePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteRegistryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteRepositoryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImageReplicationStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImageScanFindingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRegistryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRepositoriesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAuthorizationTokenCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetDownloadUrlForLayerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetLifecyclePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetLifecyclePolicyPreviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetRegistryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetRepositoryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/InitiateLayerUploadCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutImageScanningConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutImageTagMutabilityCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutLifecyclePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutRegistryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutReplicationConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SetRepositoryPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartImageScanCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartLifecyclePolicyPreviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UploadLayerPartCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +5 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeImageScanFindingsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeImagesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/DescribeRepositoriesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListImagesPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForImageScanComplete.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForLifecyclePolicyPreviewComplete.js +1 -2
- package/{dist/types → dist-types}/ECR.d.ts +2 -2
- package/{dist/types → dist-types}/ECRClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchDeleteImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CompleteLayerUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLifecyclePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRegistryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRepositoryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImageReplicationStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRegistryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRepositoriesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLifecyclePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRegistryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRepositoryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InitiateLayerUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutImageTagMutabilityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutLifecyclePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRegistryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutReplicationConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetRepositoryPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartImageScanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UploadLayerPartCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeImageScanFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ECR.d.ts +38 -218
- package/{dist/types → dist-types}/ts3.4/ECRClient.d.ts +32 -105
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRepositoriesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetRegistryPolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1545 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeImageScanFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/waiters/waitForImageScanComplete.d.ts +4 -11
- package/{dist/types → dist-types}/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +4 -11
- package/{dist/types → dist-types}/waiters/waitForImageScanComplete.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -2
- package/package.json +46 -43
- package/ECR.ts +0 -1380
- package/ECRClient.ts +0 -405
- package/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
- package/commands/BatchDeleteImageCommand.ts +0 -99
- package/commands/BatchGetImageCommand.ts +0 -97
- package/commands/CompleteLayerUploadCommand.ts +0 -102
- package/commands/CreateRepositoryCommand.ts +0 -95
- package/commands/DeleteLifecyclePolicyCommand.ts +0 -94
- package/commands/DeleteRegistryPolicyCommand.ts +0 -94
- package/commands/DeleteRepositoryCommand.ts +0 -96
- package/commands/DeleteRepositoryPolicyCommand.ts +0 -94
- package/commands/DescribeImageReplicationStatusCommand.ts +0 -102
- package/commands/DescribeImageScanFindingsCommand.ts +0 -97
- package/commands/DescribeImagesCommand.ts +0 -100
- package/commands/DescribeRegistryCommand.ts +0 -96
- package/commands/DescribeRepositoriesCommand.ts +0 -94
- package/commands/GetAuthorizationTokenCommand.ts +0 -101
- package/commands/GetDownloadUrlForLayerCommand.ts +0 -101
- package/commands/GetLifecyclePolicyCommand.ts +0 -94
- package/commands/GetLifecyclePolicyPreviewCommand.ts +0 -98
- package/commands/GetRegistryPolicyCommand.ts +0 -94
- package/commands/GetRepositoryPolicyCommand.ts +0 -94
- package/commands/InitiateLayerUploadCommand.ts +0 -101
- package/commands/ListImagesCommand.ts +0 -100
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutImageCommand.ts +0 -95
- package/commands/PutImageScanningConfigurationCommand.ts +0 -99
- package/commands/PutImageTagMutabilityCommand.ts +0 -96
- package/commands/PutLifecyclePolicyCommand.ts +0 -96
- package/commands/PutRegistryPolicyCommand.ts +0 -96
- package/commands/PutReplicationConfigurationCommand.ts +0 -109
- package/commands/SetRepositoryPolicyCommand.ts +0 -96
- package/commands/StartImageScanCommand.ts +0 -97
- package/commands/StartLifecyclePolicyPreviewCommand.ts +0 -100
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UploadLayerPartCommand.ts +0 -101
- package/dist/cjs/ECR.js.map +0 -1
- package/dist/cjs/ECRClient.js +0 -52
- package/dist/cjs/ECRClient.js.map +0 -1
- package/dist/cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist/cjs/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetImageCommand.js.map +0 -1
- package/dist/cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRegistryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImageScanFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImagesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRegistryCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist/cjs/commands/GetAuthorizationTokenCommand.js +0 -68
- package/dist/cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist/cjs/commands/GetDownloadUrlForLayerCommand.js.map +0 -1
- package/dist/cjs/commands/GetLifecyclePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetLifecyclePolicyPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/GetRegistryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist/cjs/commands/ListImagesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutImageCommand.js.map +0 -1
- package/dist/cjs/commands/PutImageScanningConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/PutImageTagMutabilityCommand.js.map +0 -1
- package/dist/cjs/commands/PutLifecyclePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/PutRegistryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/PutReplicationConfigurationCommand.js +0 -71
- package/dist/cjs/commands/PutReplicationConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/StartImageScanCommand.js.map +0 -1
- package/dist/cjs/commands/StartLifecyclePolicyPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -92
- package/dist/cjs/pagination/DescribeImageScanFindingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetLifecyclePolicyPreviewPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListImagesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForImageScanComplete.js.map +0 -1
- package/dist/cjs/waiters/waitForLifecyclePolicyPreviewComplete.js.map +0 -1
- package/dist/es/ECR.js.map +0 -1
- package/dist/es/ECRClient.js.map +0 -1
- package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist/es/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist/es/commands/BatchGetImageCommand.js.map +0 -1
- package/dist/es/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist/es/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist/es/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegistryPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist/es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeImageReplicationStatusCommand.js.map +0 -1
- package/dist/es/commands/DescribeImageScanFindingsCommand.js.map +0 -1
- package/dist/es/commands/DescribeImagesCommand.js.map +0 -1
- package/dist/es/commands/DescribeRegistryCommand.js.map +0 -1
- package/dist/es/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist/es/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist/es/commands/GetDownloadUrlForLayerCommand.js.map +0 -1
- package/dist/es/commands/GetLifecyclePolicyCommand.js.map +0 -1
- package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js.map +0 -1
- package/dist/es/commands/GetRegistryPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist/es/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist/es/commands/ListImagesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutImageCommand.js.map +0 -1
- package/dist/es/commands/PutImageScanningConfigurationCommand.js.map +0 -1
- package/dist/es/commands/PutImageTagMutabilityCommand.js.map +0 -1
- package/dist/es/commands/PutLifecyclePolicyCommand.js.map +0 -1
- package/dist/es/commands/PutRegistryPolicyCommand.js.map +0 -1
- package/dist/es/commands/PutReplicationConfigurationCommand.js.map +0 -1
- package/dist/es/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist/es/commands/StartImageScanCommand.js.map +0 -1
- package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -47
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -92
- package/dist/es/pagination/DescribeImageScanFindingsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListImagesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForImageScanComplete.js.map +0 -1
- package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js.map +0 -1
- package/dist/types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/BatchDeleteImageCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/BatchGetImageCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/CreateRepositoryCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteRepositoryCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeImagesCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeRegistryCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListImagesCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/PutImageCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/StartImageScanCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UploadLayerPartCommand.d.ts +0 -42
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2779
- package/endpoints.ts +0 -229
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3463
- package/pagination/DescribeImageScanFindingsPaginator.ts +0 -58
- package/pagination/DescribeImagesPaginator.ts +0 -58
- package/pagination/DescribeRepositoriesPaginator.ts +0 -58
- package/pagination/GetLifecyclePolicyPreviewPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListImagesPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -5862
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
- package/waiters/waitForImageScanComplete.ts +0 -57
- package/waiters/waitForLifecyclePolicyPreviewComplete.ts +0 -57
package/ECR.ts
DELETED
|
@@ -1,1380 +0,0 @@
|
|
|
1
|
-
import { ECRClient } from "./ECRClient";
|
|
2
|
-
import {
|
|
3
|
-
BatchCheckLayerAvailabilityCommand,
|
|
4
|
-
BatchCheckLayerAvailabilityCommandInput,
|
|
5
|
-
BatchCheckLayerAvailabilityCommandOutput,
|
|
6
|
-
} from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
7
|
-
import {
|
|
8
|
-
BatchDeleteImageCommand,
|
|
9
|
-
BatchDeleteImageCommandInput,
|
|
10
|
-
BatchDeleteImageCommandOutput,
|
|
11
|
-
} from "./commands/BatchDeleteImageCommand";
|
|
12
|
-
import {
|
|
13
|
-
BatchGetImageCommand,
|
|
14
|
-
BatchGetImageCommandInput,
|
|
15
|
-
BatchGetImageCommandOutput,
|
|
16
|
-
} from "./commands/BatchGetImageCommand";
|
|
17
|
-
import {
|
|
18
|
-
CompleteLayerUploadCommand,
|
|
19
|
-
CompleteLayerUploadCommandInput,
|
|
20
|
-
CompleteLayerUploadCommandOutput,
|
|
21
|
-
} from "./commands/CompleteLayerUploadCommand";
|
|
22
|
-
import {
|
|
23
|
-
CreateRepositoryCommand,
|
|
24
|
-
CreateRepositoryCommandInput,
|
|
25
|
-
CreateRepositoryCommandOutput,
|
|
26
|
-
} from "./commands/CreateRepositoryCommand";
|
|
27
|
-
import {
|
|
28
|
-
DeleteLifecyclePolicyCommand,
|
|
29
|
-
DeleteLifecyclePolicyCommandInput,
|
|
30
|
-
DeleteLifecyclePolicyCommandOutput,
|
|
31
|
-
} from "./commands/DeleteLifecyclePolicyCommand";
|
|
32
|
-
import {
|
|
33
|
-
DeleteRegistryPolicyCommand,
|
|
34
|
-
DeleteRegistryPolicyCommandInput,
|
|
35
|
-
DeleteRegistryPolicyCommandOutput,
|
|
36
|
-
} from "./commands/DeleteRegistryPolicyCommand";
|
|
37
|
-
import {
|
|
38
|
-
DeleteRepositoryCommand,
|
|
39
|
-
DeleteRepositoryCommandInput,
|
|
40
|
-
DeleteRepositoryCommandOutput,
|
|
41
|
-
} from "./commands/DeleteRepositoryCommand";
|
|
42
|
-
import {
|
|
43
|
-
DeleteRepositoryPolicyCommand,
|
|
44
|
-
DeleteRepositoryPolicyCommandInput,
|
|
45
|
-
DeleteRepositoryPolicyCommandOutput,
|
|
46
|
-
} from "./commands/DeleteRepositoryPolicyCommand";
|
|
47
|
-
import {
|
|
48
|
-
DescribeImageReplicationStatusCommand,
|
|
49
|
-
DescribeImageReplicationStatusCommandInput,
|
|
50
|
-
DescribeImageReplicationStatusCommandOutput,
|
|
51
|
-
} from "./commands/DescribeImageReplicationStatusCommand";
|
|
52
|
-
import {
|
|
53
|
-
DescribeImageScanFindingsCommand,
|
|
54
|
-
DescribeImageScanFindingsCommandInput,
|
|
55
|
-
DescribeImageScanFindingsCommandOutput,
|
|
56
|
-
} from "./commands/DescribeImageScanFindingsCommand";
|
|
57
|
-
import {
|
|
58
|
-
DescribeImagesCommand,
|
|
59
|
-
DescribeImagesCommandInput,
|
|
60
|
-
DescribeImagesCommandOutput,
|
|
61
|
-
} from "./commands/DescribeImagesCommand";
|
|
62
|
-
import {
|
|
63
|
-
DescribeRegistryCommand,
|
|
64
|
-
DescribeRegistryCommandInput,
|
|
65
|
-
DescribeRegistryCommandOutput,
|
|
66
|
-
} from "./commands/DescribeRegistryCommand";
|
|
67
|
-
import {
|
|
68
|
-
DescribeRepositoriesCommand,
|
|
69
|
-
DescribeRepositoriesCommandInput,
|
|
70
|
-
DescribeRepositoriesCommandOutput,
|
|
71
|
-
} from "./commands/DescribeRepositoriesCommand";
|
|
72
|
-
import {
|
|
73
|
-
GetAuthorizationTokenCommand,
|
|
74
|
-
GetAuthorizationTokenCommandInput,
|
|
75
|
-
GetAuthorizationTokenCommandOutput,
|
|
76
|
-
} from "./commands/GetAuthorizationTokenCommand";
|
|
77
|
-
import {
|
|
78
|
-
GetDownloadUrlForLayerCommand,
|
|
79
|
-
GetDownloadUrlForLayerCommandInput,
|
|
80
|
-
GetDownloadUrlForLayerCommandOutput,
|
|
81
|
-
} from "./commands/GetDownloadUrlForLayerCommand";
|
|
82
|
-
import {
|
|
83
|
-
GetLifecyclePolicyCommand,
|
|
84
|
-
GetLifecyclePolicyCommandInput,
|
|
85
|
-
GetLifecyclePolicyCommandOutput,
|
|
86
|
-
} from "./commands/GetLifecyclePolicyCommand";
|
|
87
|
-
import {
|
|
88
|
-
GetLifecyclePolicyPreviewCommand,
|
|
89
|
-
GetLifecyclePolicyPreviewCommandInput,
|
|
90
|
-
GetLifecyclePolicyPreviewCommandOutput,
|
|
91
|
-
} from "./commands/GetLifecyclePolicyPreviewCommand";
|
|
92
|
-
import {
|
|
93
|
-
GetRegistryPolicyCommand,
|
|
94
|
-
GetRegistryPolicyCommandInput,
|
|
95
|
-
GetRegistryPolicyCommandOutput,
|
|
96
|
-
} from "./commands/GetRegistryPolicyCommand";
|
|
97
|
-
import {
|
|
98
|
-
GetRepositoryPolicyCommand,
|
|
99
|
-
GetRepositoryPolicyCommandInput,
|
|
100
|
-
GetRepositoryPolicyCommandOutput,
|
|
101
|
-
} from "./commands/GetRepositoryPolicyCommand";
|
|
102
|
-
import {
|
|
103
|
-
InitiateLayerUploadCommand,
|
|
104
|
-
InitiateLayerUploadCommandInput,
|
|
105
|
-
InitiateLayerUploadCommandOutput,
|
|
106
|
-
} from "./commands/InitiateLayerUploadCommand";
|
|
107
|
-
import { ListImagesCommand, ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
|
|
108
|
-
import {
|
|
109
|
-
ListTagsForResourceCommand,
|
|
110
|
-
ListTagsForResourceCommandInput,
|
|
111
|
-
ListTagsForResourceCommandOutput,
|
|
112
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
113
|
-
import { PutImageCommand, PutImageCommandInput, PutImageCommandOutput } from "./commands/PutImageCommand";
|
|
114
|
-
import {
|
|
115
|
-
PutImageScanningConfigurationCommand,
|
|
116
|
-
PutImageScanningConfigurationCommandInput,
|
|
117
|
-
PutImageScanningConfigurationCommandOutput,
|
|
118
|
-
} from "./commands/PutImageScanningConfigurationCommand";
|
|
119
|
-
import {
|
|
120
|
-
PutImageTagMutabilityCommand,
|
|
121
|
-
PutImageTagMutabilityCommandInput,
|
|
122
|
-
PutImageTagMutabilityCommandOutput,
|
|
123
|
-
} from "./commands/PutImageTagMutabilityCommand";
|
|
124
|
-
import {
|
|
125
|
-
PutLifecyclePolicyCommand,
|
|
126
|
-
PutLifecyclePolicyCommandInput,
|
|
127
|
-
PutLifecyclePolicyCommandOutput,
|
|
128
|
-
} from "./commands/PutLifecyclePolicyCommand";
|
|
129
|
-
import {
|
|
130
|
-
PutRegistryPolicyCommand,
|
|
131
|
-
PutRegistryPolicyCommandInput,
|
|
132
|
-
PutRegistryPolicyCommandOutput,
|
|
133
|
-
} from "./commands/PutRegistryPolicyCommand";
|
|
134
|
-
import {
|
|
135
|
-
PutReplicationConfigurationCommand,
|
|
136
|
-
PutReplicationConfigurationCommandInput,
|
|
137
|
-
PutReplicationConfigurationCommandOutput,
|
|
138
|
-
} from "./commands/PutReplicationConfigurationCommand";
|
|
139
|
-
import {
|
|
140
|
-
SetRepositoryPolicyCommand,
|
|
141
|
-
SetRepositoryPolicyCommandInput,
|
|
142
|
-
SetRepositoryPolicyCommandOutput,
|
|
143
|
-
} from "./commands/SetRepositoryPolicyCommand";
|
|
144
|
-
import {
|
|
145
|
-
StartImageScanCommand,
|
|
146
|
-
StartImageScanCommandInput,
|
|
147
|
-
StartImageScanCommandOutput,
|
|
148
|
-
} from "./commands/StartImageScanCommand";
|
|
149
|
-
import {
|
|
150
|
-
StartLifecyclePolicyPreviewCommand,
|
|
151
|
-
StartLifecyclePolicyPreviewCommandInput,
|
|
152
|
-
StartLifecyclePolicyPreviewCommandOutput,
|
|
153
|
-
} from "./commands/StartLifecyclePolicyPreviewCommand";
|
|
154
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
155
|
-
import {
|
|
156
|
-
UntagResourceCommand,
|
|
157
|
-
UntagResourceCommandInput,
|
|
158
|
-
UntagResourceCommandOutput,
|
|
159
|
-
} from "./commands/UntagResourceCommand";
|
|
160
|
-
import {
|
|
161
|
-
UploadLayerPartCommand,
|
|
162
|
-
UploadLayerPartCommandInput,
|
|
163
|
-
UploadLayerPartCommandOutput,
|
|
164
|
-
} from "./commands/UploadLayerPartCommand";
|
|
165
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
169
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
|
|
170
|
-
* familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
|
|
171
|
-
* provides a secure, scalable, and reliable registry for your Docker or Open Container
|
|
172
|
-
* Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
|
|
173
|
-
* permissions using IAM so that specific users or Amazon EC2 instances can access
|
|
174
|
-
* repositories and images.</p>
|
|
175
|
-
* <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
|
|
176
|
-
* <i>Amazon Web Services General Reference</i>.</p>
|
|
177
|
-
*/
|
|
178
|
-
export class ECR extends ECRClient {
|
|
179
|
-
/**
|
|
180
|
-
* <p>Checks the availability of one or more image layers in a repository.</p>
|
|
181
|
-
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
182
|
-
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
183
|
-
* skipped.</p>
|
|
184
|
-
* <note>
|
|
185
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
186
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
187
|
-
* </note>
|
|
188
|
-
*/
|
|
189
|
-
public batchCheckLayerAvailability(
|
|
190
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
191
|
-
options?: __HttpHandlerOptions
|
|
192
|
-
): Promise<BatchCheckLayerAvailabilityCommandOutput>;
|
|
193
|
-
public batchCheckLayerAvailability(
|
|
194
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
195
|
-
cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
196
|
-
): void;
|
|
197
|
-
public batchCheckLayerAvailability(
|
|
198
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
199
|
-
options: __HttpHandlerOptions,
|
|
200
|
-
cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
201
|
-
): void;
|
|
202
|
-
public batchCheckLayerAvailability(
|
|
203
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
204
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void),
|
|
205
|
-
cb?: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
206
|
-
): Promise<BatchCheckLayerAvailabilityCommandOutput> | void {
|
|
207
|
-
const command = new BatchCheckLayerAvailabilityCommand(args);
|
|
208
|
-
if (typeof optionsOrCb === "function") {
|
|
209
|
-
this.send(command, optionsOrCb);
|
|
210
|
-
} else if (typeof cb === "function") {
|
|
211
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
-
} else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* <p>Deletes a list of specified images within a repository. Images are specified with
|
|
220
|
-
* either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
221
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
222
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
223
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
224
|
-
* digest in your request.</p>
|
|
225
|
-
*/
|
|
226
|
-
public batchDeleteImage(
|
|
227
|
-
args: BatchDeleteImageCommandInput,
|
|
228
|
-
options?: __HttpHandlerOptions
|
|
229
|
-
): Promise<BatchDeleteImageCommandOutput>;
|
|
230
|
-
public batchDeleteImage(
|
|
231
|
-
args: BatchDeleteImageCommandInput,
|
|
232
|
-
cb: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
233
|
-
): void;
|
|
234
|
-
public batchDeleteImage(
|
|
235
|
-
args: BatchDeleteImageCommandInput,
|
|
236
|
-
options: __HttpHandlerOptions,
|
|
237
|
-
cb: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
238
|
-
): void;
|
|
239
|
-
public batchDeleteImage(
|
|
240
|
-
args: BatchDeleteImageCommandInput,
|
|
241
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteImageCommandOutput) => void),
|
|
242
|
-
cb?: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
243
|
-
): Promise<BatchDeleteImageCommandOutput> | void {
|
|
244
|
-
const command = new BatchDeleteImageCommand(args);
|
|
245
|
-
if (typeof optionsOrCb === "function") {
|
|
246
|
-
this.send(command, optionsOrCb);
|
|
247
|
-
} else if (typeof cb === "function") {
|
|
248
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
} else {
|
|
251
|
-
return this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* <p>Gets detailed information for an image. Images are specified with either an
|
|
257
|
-
* <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
258
|
-
* <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
|
|
259
|
-
* manifest.</p>
|
|
260
|
-
*/
|
|
261
|
-
public batchGetImage(
|
|
262
|
-
args: BatchGetImageCommandInput,
|
|
263
|
-
options?: __HttpHandlerOptions
|
|
264
|
-
): Promise<BatchGetImageCommandOutput>;
|
|
265
|
-
public batchGetImage(
|
|
266
|
-
args: BatchGetImageCommandInput,
|
|
267
|
-
cb: (err: any, data?: BatchGetImageCommandOutput) => void
|
|
268
|
-
): void;
|
|
269
|
-
public batchGetImage(
|
|
270
|
-
args: BatchGetImageCommandInput,
|
|
271
|
-
options: __HttpHandlerOptions,
|
|
272
|
-
cb: (err: any, data?: BatchGetImageCommandOutput) => void
|
|
273
|
-
): void;
|
|
274
|
-
public batchGetImage(
|
|
275
|
-
args: BatchGetImageCommandInput,
|
|
276
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetImageCommandOutput) => void),
|
|
277
|
-
cb?: (err: any, data?: BatchGetImageCommandOutput) => void
|
|
278
|
-
): Promise<BatchGetImageCommandOutput> | void {
|
|
279
|
-
const command = new BatchGetImageCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
} else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
} else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
|
|
292
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
|
|
293
|
-
* of the image layer for data validation purposes.</p>
|
|
294
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
295
|
-
* layer to verify that the upload has completed.</p>
|
|
296
|
-
* <note>
|
|
297
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
298
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
299
|
-
* </note>
|
|
300
|
-
*/
|
|
301
|
-
public completeLayerUpload(
|
|
302
|
-
args: CompleteLayerUploadCommandInput,
|
|
303
|
-
options?: __HttpHandlerOptions
|
|
304
|
-
): Promise<CompleteLayerUploadCommandOutput>;
|
|
305
|
-
public completeLayerUpload(
|
|
306
|
-
args: CompleteLayerUploadCommandInput,
|
|
307
|
-
cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
308
|
-
): void;
|
|
309
|
-
public completeLayerUpload(
|
|
310
|
-
args: CompleteLayerUploadCommandInput,
|
|
311
|
-
options: __HttpHandlerOptions,
|
|
312
|
-
cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
313
|
-
): void;
|
|
314
|
-
public completeLayerUpload(
|
|
315
|
-
args: CompleteLayerUploadCommandInput,
|
|
316
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CompleteLayerUploadCommandOutput) => void),
|
|
317
|
-
cb?: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
318
|
-
): Promise<CompleteLayerUploadCommandOutput> | void {
|
|
319
|
-
const command = new CompleteLayerUploadCommand(args);
|
|
320
|
-
if (typeof optionsOrCb === "function") {
|
|
321
|
-
this.send(command, optionsOrCb);
|
|
322
|
-
} else if (typeof cb === "function") {
|
|
323
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
324
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
325
|
-
} else {
|
|
326
|
-
return this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
|
|
332
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
333
|
-
*/
|
|
334
|
-
public createRepository(
|
|
335
|
-
args: CreateRepositoryCommandInput,
|
|
336
|
-
options?: __HttpHandlerOptions
|
|
337
|
-
): Promise<CreateRepositoryCommandOutput>;
|
|
338
|
-
public createRepository(
|
|
339
|
-
args: CreateRepositoryCommandInput,
|
|
340
|
-
cb: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
341
|
-
): void;
|
|
342
|
-
public createRepository(
|
|
343
|
-
args: CreateRepositoryCommandInput,
|
|
344
|
-
options: __HttpHandlerOptions,
|
|
345
|
-
cb: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
346
|
-
): void;
|
|
347
|
-
public createRepository(
|
|
348
|
-
args: CreateRepositoryCommandInput,
|
|
349
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRepositoryCommandOutput) => void),
|
|
350
|
-
cb?: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
351
|
-
): Promise<CreateRepositoryCommandOutput> | void {
|
|
352
|
-
const command = new CreateRepositoryCommand(args);
|
|
353
|
-
if (typeof optionsOrCb === "function") {
|
|
354
|
-
this.send(command, optionsOrCb);
|
|
355
|
-
} else if (typeof cb === "function") {
|
|
356
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
358
|
-
} else {
|
|
359
|
-
return this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* <p>Deletes the lifecycle policy associated with the specified repository.</p>
|
|
365
|
-
*/
|
|
366
|
-
public deleteLifecyclePolicy(
|
|
367
|
-
args: DeleteLifecyclePolicyCommandInput,
|
|
368
|
-
options?: __HttpHandlerOptions
|
|
369
|
-
): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
370
|
-
public deleteLifecyclePolicy(
|
|
371
|
-
args: DeleteLifecyclePolicyCommandInput,
|
|
372
|
-
cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void
|
|
373
|
-
): void;
|
|
374
|
-
public deleteLifecyclePolicy(
|
|
375
|
-
args: DeleteLifecyclePolicyCommandInput,
|
|
376
|
-
options: __HttpHandlerOptions,
|
|
377
|
-
cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void
|
|
378
|
-
): void;
|
|
379
|
-
public deleteLifecyclePolicy(
|
|
380
|
-
args: DeleteLifecyclePolicyCommandInput,
|
|
381
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLifecyclePolicyCommandOutput) => void),
|
|
382
|
-
cb?: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void
|
|
383
|
-
): Promise<DeleteLifecyclePolicyCommandOutput> | void {
|
|
384
|
-
const command = new DeleteLifecyclePolicyCommand(args);
|
|
385
|
-
if (typeof optionsOrCb === "function") {
|
|
386
|
-
this.send(command, optionsOrCb);
|
|
387
|
-
} else if (typeof cb === "function") {
|
|
388
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
} else {
|
|
391
|
-
return this.send(command, optionsOrCb);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* <p>Deletes the registry permissions policy.</p>
|
|
397
|
-
*/
|
|
398
|
-
public deleteRegistryPolicy(
|
|
399
|
-
args: DeleteRegistryPolicyCommandInput,
|
|
400
|
-
options?: __HttpHandlerOptions
|
|
401
|
-
): Promise<DeleteRegistryPolicyCommandOutput>;
|
|
402
|
-
public deleteRegistryPolicy(
|
|
403
|
-
args: DeleteRegistryPolicyCommandInput,
|
|
404
|
-
cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void
|
|
405
|
-
): void;
|
|
406
|
-
public deleteRegistryPolicy(
|
|
407
|
-
args: DeleteRegistryPolicyCommandInput,
|
|
408
|
-
options: __HttpHandlerOptions,
|
|
409
|
-
cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void
|
|
410
|
-
): void;
|
|
411
|
-
public deleteRegistryPolicy(
|
|
412
|
-
args: DeleteRegistryPolicyCommandInput,
|
|
413
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRegistryPolicyCommandOutput) => void),
|
|
414
|
-
cb?: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void
|
|
415
|
-
): Promise<DeleteRegistryPolicyCommandOutput> | void {
|
|
416
|
-
const command = new DeleteRegistryPolicyCommand(args);
|
|
417
|
-
if (typeof optionsOrCb === "function") {
|
|
418
|
-
this.send(command, optionsOrCb);
|
|
419
|
-
} else if (typeof cb === "function") {
|
|
420
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
} else {
|
|
423
|
-
return this.send(command, optionsOrCb);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* <p>Deletes a repository. If the repository contains images, you must either delete all
|
|
429
|
-
* images in the repository or use the <code>force</code> option to delete the
|
|
430
|
-
* repository.</p>
|
|
431
|
-
*/
|
|
432
|
-
public deleteRepository(
|
|
433
|
-
args: DeleteRepositoryCommandInput,
|
|
434
|
-
options?: __HttpHandlerOptions
|
|
435
|
-
): Promise<DeleteRepositoryCommandOutput>;
|
|
436
|
-
public deleteRepository(
|
|
437
|
-
args: DeleteRepositoryCommandInput,
|
|
438
|
-
cb: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
439
|
-
): void;
|
|
440
|
-
public deleteRepository(
|
|
441
|
-
args: DeleteRepositoryCommandInput,
|
|
442
|
-
options: __HttpHandlerOptions,
|
|
443
|
-
cb: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
444
|
-
): void;
|
|
445
|
-
public deleteRepository(
|
|
446
|
-
args: DeleteRepositoryCommandInput,
|
|
447
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRepositoryCommandOutput) => void),
|
|
448
|
-
cb?: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
449
|
-
): Promise<DeleteRepositoryCommandOutput> | void {
|
|
450
|
-
const command = new DeleteRepositoryCommand(args);
|
|
451
|
-
if (typeof optionsOrCb === "function") {
|
|
452
|
-
this.send(command, optionsOrCb);
|
|
453
|
-
} else if (typeof cb === "function") {
|
|
454
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
455
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
456
|
-
} else {
|
|
457
|
-
return this.send(command, optionsOrCb);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
463
|
-
*/
|
|
464
|
-
public deleteRepositoryPolicy(
|
|
465
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
466
|
-
options?: __HttpHandlerOptions
|
|
467
|
-
): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
468
|
-
public deleteRepositoryPolicy(
|
|
469
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
470
|
-
cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
471
|
-
): void;
|
|
472
|
-
public deleteRepositoryPolicy(
|
|
473
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
474
|
-
options: __HttpHandlerOptions,
|
|
475
|
-
cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
476
|
-
): void;
|
|
477
|
-
public deleteRepositoryPolicy(
|
|
478
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
479
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRepositoryPolicyCommandOutput) => void),
|
|
480
|
-
cb?: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
481
|
-
): Promise<DeleteRepositoryPolicyCommandOutput> | void {
|
|
482
|
-
const command = new DeleteRepositoryPolicyCommand(args);
|
|
483
|
-
if (typeof optionsOrCb === "function") {
|
|
484
|
-
this.send(command, optionsOrCb);
|
|
485
|
-
} else if (typeof cb === "function") {
|
|
486
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
488
|
-
} else {
|
|
489
|
-
return this.send(command, optionsOrCb);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* <p>Returns the replication status for a specified image.</p>
|
|
495
|
-
*/
|
|
496
|
-
public describeImageReplicationStatus(
|
|
497
|
-
args: DescribeImageReplicationStatusCommandInput,
|
|
498
|
-
options?: __HttpHandlerOptions
|
|
499
|
-
): Promise<DescribeImageReplicationStatusCommandOutput>;
|
|
500
|
-
public describeImageReplicationStatus(
|
|
501
|
-
args: DescribeImageReplicationStatusCommandInput,
|
|
502
|
-
cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void
|
|
503
|
-
): void;
|
|
504
|
-
public describeImageReplicationStatus(
|
|
505
|
-
args: DescribeImageReplicationStatusCommandInput,
|
|
506
|
-
options: __HttpHandlerOptions,
|
|
507
|
-
cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void
|
|
508
|
-
): void;
|
|
509
|
-
public describeImageReplicationStatus(
|
|
510
|
-
args: DescribeImageReplicationStatusCommandInput,
|
|
511
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeImageReplicationStatusCommandOutput) => void),
|
|
512
|
-
cb?: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void
|
|
513
|
-
): Promise<DescribeImageReplicationStatusCommandOutput> | void {
|
|
514
|
-
const command = new DescribeImageReplicationStatusCommand(args);
|
|
515
|
-
if (typeof optionsOrCb === "function") {
|
|
516
|
-
this.send(command, optionsOrCb);
|
|
517
|
-
} else if (typeof cb === "function") {
|
|
518
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
} else {
|
|
521
|
-
return this.send(command, optionsOrCb);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* <p>Returns metadata about the images in a repository.</p>
|
|
527
|
-
* <note>
|
|
528
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
529
|
-
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
530
|
-
* images</code> command shows the uncompressed image size, so it may return a
|
|
531
|
-
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
532
|
-
* </note>
|
|
533
|
-
*/
|
|
534
|
-
public describeImages(
|
|
535
|
-
args: DescribeImagesCommandInput,
|
|
536
|
-
options?: __HttpHandlerOptions
|
|
537
|
-
): Promise<DescribeImagesCommandOutput>;
|
|
538
|
-
public describeImages(
|
|
539
|
-
args: DescribeImagesCommandInput,
|
|
540
|
-
cb: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
541
|
-
): void;
|
|
542
|
-
public describeImages(
|
|
543
|
-
args: DescribeImagesCommandInput,
|
|
544
|
-
options: __HttpHandlerOptions,
|
|
545
|
-
cb: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
546
|
-
): void;
|
|
547
|
-
public describeImages(
|
|
548
|
-
args: DescribeImagesCommandInput,
|
|
549
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeImagesCommandOutput) => void),
|
|
550
|
-
cb?: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
551
|
-
): Promise<DescribeImagesCommandOutput> | void {
|
|
552
|
-
const command = new DescribeImagesCommand(args);
|
|
553
|
-
if (typeof optionsOrCb === "function") {
|
|
554
|
-
this.send(command, optionsOrCb);
|
|
555
|
-
} else if (typeof cb === "function") {
|
|
556
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
557
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
558
|
-
} else {
|
|
559
|
-
return this.send(command, optionsOrCb);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* <p>Returns the scan findings for the specified image.</p>
|
|
565
|
-
*/
|
|
566
|
-
public describeImageScanFindings(
|
|
567
|
-
args: DescribeImageScanFindingsCommandInput,
|
|
568
|
-
options?: __HttpHandlerOptions
|
|
569
|
-
): Promise<DescribeImageScanFindingsCommandOutput>;
|
|
570
|
-
public describeImageScanFindings(
|
|
571
|
-
args: DescribeImageScanFindingsCommandInput,
|
|
572
|
-
cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void
|
|
573
|
-
): void;
|
|
574
|
-
public describeImageScanFindings(
|
|
575
|
-
args: DescribeImageScanFindingsCommandInput,
|
|
576
|
-
options: __HttpHandlerOptions,
|
|
577
|
-
cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void
|
|
578
|
-
): void;
|
|
579
|
-
public describeImageScanFindings(
|
|
580
|
-
args: DescribeImageScanFindingsCommandInput,
|
|
581
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeImageScanFindingsCommandOutput) => void),
|
|
582
|
-
cb?: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void
|
|
583
|
-
): Promise<DescribeImageScanFindingsCommandOutput> | void {
|
|
584
|
-
const command = new DescribeImageScanFindingsCommand(args);
|
|
585
|
-
if (typeof optionsOrCb === "function") {
|
|
586
|
-
this.send(command, optionsOrCb);
|
|
587
|
-
} else if (typeof cb === "function") {
|
|
588
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
589
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
590
|
-
} else {
|
|
591
|
-
return this.send(command, optionsOrCb);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* <p>Describes the settings for a registry. The replication configuration for a repository
|
|
597
|
-
* can be created or updated with the <a>PutReplicationConfiguration</a> API
|
|
598
|
-
* action.</p>
|
|
599
|
-
*/
|
|
600
|
-
public describeRegistry(
|
|
601
|
-
args: DescribeRegistryCommandInput,
|
|
602
|
-
options?: __HttpHandlerOptions
|
|
603
|
-
): Promise<DescribeRegistryCommandOutput>;
|
|
604
|
-
public describeRegistry(
|
|
605
|
-
args: DescribeRegistryCommandInput,
|
|
606
|
-
cb: (err: any, data?: DescribeRegistryCommandOutput) => void
|
|
607
|
-
): void;
|
|
608
|
-
public describeRegistry(
|
|
609
|
-
args: DescribeRegistryCommandInput,
|
|
610
|
-
options: __HttpHandlerOptions,
|
|
611
|
-
cb: (err: any, data?: DescribeRegistryCommandOutput) => void
|
|
612
|
-
): void;
|
|
613
|
-
public describeRegistry(
|
|
614
|
-
args: DescribeRegistryCommandInput,
|
|
615
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRegistryCommandOutput) => void),
|
|
616
|
-
cb?: (err: any, data?: DescribeRegistryCommandOutput) => void
|
|
617
|
-
): Promise<DescribeRegistryCommandOutput> | void {
|
|
618
|
-
const command = new DescribeRegistryCommand(args);
|
|
619
|
-
if (typeof optionsOrCb === "function") {
|
|
620
|
-
this.send(command, optionsOrCb);
|
|
621
|
-
} else if (typeof cb === "function") {
|
|
622
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
623
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
624
|
-
} else {
|
|
625
|
-
return this.send(command, optionsOrCb);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* <p>Describes image repositories in a registry.</p>
|
|
631
|
-
*/
|
|
632
|
-
public describeRepositories(
|
|
633
|
-
args: DescribeRepositoriesCommandInput,
|
|
634
|
-
options?: __HttpHandlerOptions
|
|
635
|
-
): Promise<DescribeRepositoriesCommandOutput>;
|
|
636
|
-
public describeRepositories(
|
|
637
|
-
args: DescribeRepositoriesCommandInput,
|
|
638
|
-
cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
639
|
-
): void;
|
|
640
|
-
public describeRepositories(
|
|
641
|
-
args: DescribeRepositoriesCommandInput,
|
|
642
|
-
options: __HttpHandlerOptions,
|
|
643
|
-
cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
644
|
-
): void;
|
|
645
|
-
public describeRepositories(
|
|
646
|
-
args: DescribeRepositoriesCommandInput,
|
|
647
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRepositoriesCommandOutput) => void),
|
|
648
|
-
cb?: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
649
|
-
): Promise<DescribeRepositoriesCommandOutput> | void {
|
|
650
|
-
const command = new DescribeRepositoriesCommand(args);
|
|
651
|
-
if (typeof optionsOrCb === "function") {
|
|
652
|
-
this.send(command, optionsOrCb);
|
|
653
|
-
} else if (typeof cb === "function") {
|
|
654
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
655
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
656
|
-
} else {
|
|
657
|
-
return this.send(command, optionsOrCb);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
663
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
664
|
-
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
665
|
-
* <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
|
|
666
|
-
* decoded and used in a <code>docker login</code> command to authenticate to a registry.
|
|
667
|
-
* The CLI offers an <code>get-login-password</code> command that simplifies the login
|
|
668
|
-
* process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
|
|
669
|
-
* authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
670
|
-
*/
|
|
671
|
-
public getAuthorizationToken(
|
|
672
|
-
args: GetAuthorizationTokenCommandInput,
|
|
673
|
-
options?: __HttpHandlerOptions
|
|
674
|
-
): Promise<GetAuthorizationTokenCommandOutput>;
|
|
675
|
-
public getAuthorizationToken(
|
|
676
|
-
args: GetAuthorizationTokenCommandInput,
|
|
677
|
-
cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
678
|
-
): void;
|
|
679
|
-
public getAuthorizationToken(
|
|
680
|
-
args: GetAuthorizationTokenCommandInput,
|
|
681
|
-
options: __HttpHandlerOptions,
|
|
682
|
-
cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
683
|
-
): void;
|
|
684
|
-
public getAuthorizationToken(
|
|
685
|
-
args: GetAuthorizationTokenCommandInput,
|
|
686
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAuthorizationTokenCommandOutput) => void),
|
|
687
|
-
cb?: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
688
|
-
): Promise<GetAuthorizationTokenCommandOutput> | void {
|
|
689
|
-
const command = new GetAuthorizationTokenCommand(args);
|
|
690
|
-
if (typeof optionsOrCb === "function") {
|
|
691
|
-
this.send(command, optionsOrCb);
|
|
692
|
-
} else if (typeof cb === "function") {
|
|
693
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
694
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
695
|
-
} else {
|
|
696
|
-
return this.send(command, optionsOrCb);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
702
|
-
* only get URLs for image layers that are referenced in an image.</p>
|
|
703
|
-
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
704
|
-
* that is not already cached.</p>
|
|
705
|
-
* <note>
|
|
706
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
707
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
708
|
-
* </note>
|
|
709
|
-
*/
|
|
710
|
-
public getDownloadUrlForLayer(
|
|
711
|
-
args: GetDownloadUrlForLayerCommandInput,
|
|
712
|
-
options?: __HttpHandlerOptions
|
|
713
|
-
): Promise<GetDownloadUrlForLayerCommandOutput>;
|
|
714
|
-
public getDownloadUrlForLayer(
|
|
715
|
-
args: GetDownloadUrlForLayerCommandInput,
|
|
716
|
-
cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void
|
|
717
|
-
): void;
|
|
718
|
-
public getDownloadUrlForLayer(
|
|
719
|
-
args: GetDownloadUrlForLayerCommandInput,
|
|
720
|
-
options: __HttpHandlerOptions,
|
|
721
|
-
cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void
|
|
722
|
-
): void;
|
|
723
|
-
public getDownloadUrlForLayer(
|
|
724
|
-
args: GetDownloadUrlForLayerCommandInput,
|
|
725
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDownloadUrlForLayerCommandOutput) => void),
|
|
726
|
-
cb?: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void
|
|
727
|
-
): Promise<GetDownloadUrlForLayerCommandOutput> | void {
|
|
728
|
-
const command = new GetDownloadUrlForLayerCommand(args);
|
|
729
|
-
if (typeof optionsOrCb === "function") {
|
|
730
|
-
this.send(command, optionsOrCb);
|
|
731
|
-
} else if (typeof cb === "function") {
|
|
732
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
733
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
734
|
-
} else {
|
|
735
|
-
return this.send(command, optionsOrCb);
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* <p>Retrieves the lifecycle policy for the specified repository.</p>
|
|
741
|
-
*/
|
|
742
|
-
public getLifecyclePolicy(
|
|
743
|
-
args: GetLifecyclePolicyCommandInput,
|
|
744
|
-
options?: __HttpHandlerOptions
|
|
745
|
-
): Promise<GetLifecyclePolicyCommandOutput>;
|
|
746
|
-
public getLifecyclePolicy(
|
|
747
|
-
args: GetLifecyclePolicyCommandInput,
|
|
748
|
-
cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void
|
|
749
|
-
): void;
|
|
750
|
-
public getLifecyclePolicy(
|
|
751
|
-
args: GetLifecyclePolicyCommandInput,
|
|
752
|
-
options: __HttpHandlerOptions,
|
|
753
|
-
cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void
|
|
754
|
-
): void;
|
|
755
|
-
public getLifecyclePolicy(
|
|
756
|
-
args: GetLifecyclePolicyCommandInput,
|
|
757
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLifecyclePolicyCommandOutput) => void),
|
|
758
|
-
cb?: (err: any, data?: GetLifecyclePolicyCommandOutput) => void
|
|
759
|
-
): Promise<GetLifecyclePolicyCommandOutput> | void {
|
|
760
|
-
const command = new GetLifecyclePolicyCommand(args);
|
|
761
|
-
if (typeof optionsOrCb === "function") {
|
|
762
|
-
this.send(command, optionsOrCb);
|
|
763
|
-
} else if (typeof cb === "function") {
|
|
764
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
765
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
766
|
-
} else {
|
|
767
|
-
return this.send(command, optionsOrCb);
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* <p>Retrieves the results of the lifecycle policy preview request for the specified
|
|
773
|
-
* repository.</p>
|
|
774
|
-
*/
|
|
775
|
-
public getLifecyclePolicyPreview(
|
|
776
|
-
args: GetLifecyclePolicyPreviewCommandInput,
|
|
777
|
-
options?: __HttpHandlerOptions
|
|
778
|
-
): Promise<GetLifecyclePolicyPreviewCommandOutput>;
|
|
779
|
-
public getLifecyclePolicyPreview(
|
|
780
|
-
args: GetLifecyclePolicyPreviewCommandInput,
|
|
781
|
-
cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void
|
|
782
|
-
): void;
|
|
783
|
-
public getLifecyclePolicyPreview(
|
|
784
|
-
args: GetLifecyclePolicyPreviewCommandInput,
|
|
785
|
-
options: __HttpHandlerOptions,
|
|
786
|
-
cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void
|
|
787
|
-
): void;
|
|
788
|
-
public getLifecyclePolicyPreview(
|
|
789
|
-
args: GetLifecyclePolicyPreviewCommandInput,
|
|
790
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void),
|
|
791
|
-
cb?: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void
|
|
792
|
-
): Promise<GetLifecyclePolicyPreviewCommandOutput> | void {
|
|
793
|
-
const command = new GetLifecyclePolicyPreviewCommand(args);
|
|
794
|
-
if (typeof optionsOrCb === "function") {
|
|
795
|
-
this.send(command, optionsOrCb);
|
|
796
|
-
} else if (typeof cb === "function") {
|
|
797
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
798
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
799
|
-
} else {
|
|
800
|
-
return this.send(command, optionsOrCb);
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* <p>Retrieves the permissions policy for a registry.</p>
|
|
806
|
-
*/
|
|
807
|
-
public getRegistryPolicy(
|
|
808
|
-
args: GetRegistryPolicyCommandInput,
|
|
809
|
-
options?: __HttpHandlerOptions
|
|
810
|
-
): Promise<GetRegistryPolicyCommandOutput>;
|
|
811
|
-
public getRegistryPolicy(
|
|
812
|
-
args: GetRegistryPolicyCommandInput,
|
|
813
|
-
cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void
|
|
814
|
-
): void;
|
|
815
|
-
public getRegistryPolicy(
|
|
816
|
-
args: GetRegistryPolicyCommandInput,
|
|
817
|
-
options: __HttpHandlerOptions,
|
|
818
|
-
cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void
|
|
819
|
-
): void;
|
|
820
|
-
public getRegistryPolicy(
|
|
821
|
-
args: GetRegistryPolicyCommandInput,
|
|
822
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegistryPolicyCommandOutput) => void),
|
|
823
|
-
cb?: (err: any, data?: GetRegistryPolicyCommandOutput) => void
|
|
824
|
-
): Promise<GetRegistryPolicyCommandOutput> | void {
|
|
825
|
-
const command = new GetRegistryPolicyCommand(args);
|
|
826
|
-
if (typeof optionsOrCb === "function") {
|
|
827
|
-
this.send(command, optionsOrCb);
|
|
828
|
-
} else if (typeof cb === "function") {
|
|
829
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
830
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
831
|
-
} else {
|
|
832
|
-
return this.send(command, optionsOrCb);
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
838
|
-
*/
|
|
839
|
-
public getRepositoryPolicy(
|
|
840
|
-
args: GetRepositoryPolicyCommandInput,
|
|
841
|
-
options?: __HttpHandlerOptions
|
|
842
|
-
): Promise<GetRepositoryPolicyCommandOutput>;
|
|
843
|
-
public getRepositoryPolicy(
|
|
844
|
-
args: GetRepositoryPolicyCommandInput,
|
|
845
|
-
cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
846
|
-
): void;
|
|
847
|
-
public getRepositoryPolicy(
|
|
848
|
-
args: GetRepositoryPolicyCommandInput,
|
|
849
|
-
options: __HttpHandlerOptions,
|
|
850
|
-
cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
851
|
-
): void;
|
|
852
|
-
public getRepositoryPolicy(
|
|
853
|
-
args: GetRepositoryPolicyCommandInput,
|
|
854
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRepositoryPolicyCommandOutput) => void),
|
|
855
|
-
cb?: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
856
|
-
): Promise<GetRepositoryPolicyCommandOutput> | void {
|
|
857
|
-
const command = new GetRepositoryPolicyCommand(args);
|
|
858
|
-
if (typeof optionsOrCb === "function") {
|
|
859
|
-
this.send(command, optionsOrCb);
|
|
860
|
-
} else if (typeof cb === "function") {
|
|
861
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
862
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
863
|
-
} else {
|
|
864
|
-
return this.send(command, optionsOrCb);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
870
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
871
|
-
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
872
|
-
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
873
|
-
* <note>
|
|
874
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
875
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
876
|
-
* </note>
|
|
877
|
-
*/
|
|
878
|
-
public initiateLayerUpload(
|
|
879
|
-
args: InitiateLayerUploadCommandInput,
|
|
880
|
-
options?: __HttpHandlerOptions
|
|
881
|
-
): Promise<InitiateLayerUploadCommandOutput>;
|
|
882
|
-
public initiateLayerUpload(
|
|
883
|
-
args: InitiateLayerUploadCommandInput,
|
|
884
|
-
cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
885
|
-
): void;
|
|
886
|
-
public initiateLayerUpload(
|
|
887
|
-
args: InitiateLayerUploadCommandInput,
|
|
888
|
-
options: __HttpHandlerOptions,
|
|
889
|
-
cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
890
|
-
): void;
|
|
891
|
-
public initiateLayerUpload(
|
|
892
|
-
args: InitiateLayerUploadCommandInput,
|
|
893
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InitiateLayerUploadCommandOutput) => void),
|
|
894
|
-
cb?: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
895
|
-
): Promise<InitiateLayerUploadCommandOutput> | void {
|
|
896
|
-
const command = new InitiateLayerUploadCommand(args);
|
|
897
|
-
if (typeof optionsOrCb === "function") {
|
|
898
|
-
this.send(command, optionsOrCb);
|
|
899
|
-
} else if (typeof cb === "function") {
|
|
900
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
901
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
902
|
-
} else {
|
|
903
|
-
return this.send(command, optionsOrCb);
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* <p>Lists all the image IDs for the specified repository.</p>
|
|
909
|
-
* <p>You can filter images based on whether or not they are tagged by using the
|
|
910
|
-
* <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
|
|
911
|
-
* <code>UNTAGGED</code> or <code>ANY</code>. For example, you can filter your results
|
|
912
|
-
* to return only <code>UNTAGGED</code> images and then pipe that result to a <a>BatchDeleteImage</a> operation to delete them. Or, you can filter your
|
|
913
|
-
* results to return only <code>TAGGED</code> images to list all of the tags in your
|
|
914
|
-
* repository.</p>
|
|
915
|
-
*/
|
|
916
|
-
public listImages(args: ListImagesCommandInput, options?: __HttpHandlerOptions): Promise<ListImagesCommandOutput>;
|
|
917
|
-
public listImages(args: ListImagesCommandInput, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
|
|
918
|
-
public listImages(
|
|
919
|
-
args: ListImagesCommandInput,
|
|
920
|
-
options: __HttpHandlerOptions,
|
|
921
|
-
cb: (err: any, data?: ListImagesCommandOutput) => void
|
|
922
|
-
): void;
|
|
923
|
-
public listImages(
|
|
924
|
-
args: ListImagesCommandInput,
|
|
925
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImagesCommandOutput) => void),
|
|
926
|
-
cb?: (err: any, data?: ListImagesCommandOutput) => void
|
|
927
|
-
): Promise<ListImagesCommandOutput> | void {
|
|
928
|
-
const command = new ListImagesCommand(args);
|
|
929
|
-
if (typeof optionsOrCb === "function") {
|
|
930
|
-
this.send(command, optionsOrCb);
|
|
931
|
-
} else if (typeof cb === "function") {
|
|
932
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
933
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
934
|
-
} else {
|
|
935
|
-
return this.send(command, optionsOrCb);
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* <p>List the tags for an Amazon ECR resource.</p>
|
|
941
|
-
*/
|
|
942
|
-
public listTagsForResource(
|
|
943
|
-
args: ListTagsForResourceCommandInput,
|
|
944
|
-
options?: __HttpHandlerOptions
|
|
945
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
946
|
-
public listTagsForResource(
|
|
947
|
-
args: ListTagsForResourceCommandInput,
|
|
948
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
949
|
-
): void;
|
|
950
|
-
public listTagsForResource(
|
|
951
|
-
args: ListTagsForResourceCommandInput,
|
|
952
|
-
options: __HttpHandlerOptions,
|
|
953
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
954
|
-
): void;
|
|
955
|
-
public listTagsForResource(
|
|
956
|
-
args: ListTagsForResourceCommandInput,
|
|
957
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
958
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
959
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
960
|
-
const command = new ListTagsForResourceCommand(args);
|
|
961
|
-
if (typeof optionsOrCb === "function") {
|
|
962
|
-
this.send(command, optionsOrCb);
|
|
963
|
-
} else if (typeof cb === "function") {
|
|
964
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
965
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
966
|
-
} else {
|
|
967
|
-
return this.send(command, optionsOrCb);
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
973
|
-
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
|
|
974
|
-
* is called once to create or update the image manifest and the tags associated with the
|
|
975
|
-
* image.</p>
|
|
976
|
-
*
|
|
977
|
-
* <note>
|
|
978
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
979
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
980
|
-
* </note>
|
|
981
|
-
*/
|
|
982
|
-
public putImage(args: PutImageCommandInput, options?: __HttpHandlerOptions): Promise<PutImageCommandOutput>;
|
|
983
|
-
public putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
984
|
-
public putImage(
|
|
985
|
-
args: PutImageCommandInput,
|
|
986
|
-
options: __HttpHandlerOptions,
|
|
987
|
-
cb: (err: any, data?: PutImageCommandOutput) => void
|
|
988
|
-
): void;
|
|
989
|
-
public putImage(
|
|
990
|
-
args: PutImageCommandInput,
|
|
991
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImageCommandOutput) => void),
|
|
992
|
-
cb?: (err: any, data?: PutImageCommandOutput) => void
|
|
993
|
-
): Promise<PutImageCommandOutput> | void {
|
|
994
|
-
const command = new PutImageCommand(args);
|
|
995
|
-
if (typeof optionsOrCb === "function") {
|
|
996
|
-
this.send(command, optionsOrCb);
|
|
997
|
-
} else if (typeof cb === "function") {
|
|
998
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
999
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1000
|
-
} else {
|
|
1001
|
-
return this.send(command, optionsOrCb);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* <p>Updates the image scanning configuration for the specified repository.</p>
|
|
1007
|
-
*/
|
|
1008
|
-
public putImageScanningConfiguration(
|
|
1009
|
-
args: PutImageScanningConfigurationCommandInput,
|
|
1010
|
-
options?: __HttpHandlerOptions
|
|
1011
|
-
): Promise<PutImageScanningConfigurationCommandOutput>;
|
|
1012
|
-
public putImageScanningConfiguration(
|
|
1013
|
-
args: PutImageScanningConfigurationCommandInput,
|
|
1014
|
-
cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void
|
|
1015
|
-
): void;
|
|
1016
|
-
public putImageScanningConfiguration(
|
|
1017
|
-
args: PutImageScanningConfigurationCommandInput,
|
|
1018
|
-
options: __HttpHandlerOptions,
|
|
1019
|
-
cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void
|
|
1020
|
-
): void;
|
|
1021
|
-
public putImageScanningConfiguration(
|
|
1022
|
-
args: PutImageScanningConfigurationCommandInput,
|
|
1023
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImageScanningConfigurationCommandOutput) => void),
|
|
1024
|
-
cb?: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void
|
|
1025
|
-
): Promise<PutImageScanningConfigurationCommandOutput> | void {
|
|
1026
|
-
const command = new PutImageScanningConfigurationCommand(args);
|
|
1027
|
-
if (typeof optionsOrCb === "function") {
|
|
1028
|
-
this.send(command, optionsOrCb);
|
|
1029
|
-
} else if (typeof cb === "function") {
|
|
1030
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1031
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1032
|
-
} else {
|
|
1033
|
-
return this.send(command, optionsOrCb);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
1039
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
1040
|
-
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1041
|
-
*/
|
|
1042
|
-
public putImageTagMutability(
|
|
1043
|
-
args: PutImageTagMutabilityCommandInput,
|
|
1044
|
-
options?: __HttpHandlerOptions
|
|
1045
|
-
): Promise<PutImageTagMutabilityCommandOutput>;
|
|
1046
|
-
public putImageTagMutability(
|
|
1047
|
-
args: PutImageTagMutabilityCommandInput,
|
|
1048
|
-
cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void
|
|
1049
|
-
): void;
|
|
1050
|
-
public putImageTagMutability(
|
|
1051
|
-
args: PutImageTagMutabilityCommandInput,
|
|
1052
|
-
options: __HttpHandlerOptions,
|
|
1053
|
-
cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void
|
|
1054
|
-
): void;
|
|
1055
|
-
public putImageTagMutability(
|
|
1056
|
-
args: PutImageTagMutabilityCommandInput,
|
|
1057
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImageTagMutabilityCommandOutput) => void),
|
|
1058
|
-
cb?: (err: any, data?: PutImageTagMutabilityCommandOutput) => void
|
|
1059
|
-
): Promise<PutImageTagMutabilityCommandOutput> | void {
|
|
1060
|
-
const command = new PutImageTagMutabilityCommand(args);
|
|
1061
|
-
if (typeof optionsOrCb === "function") {
|
|
1062
|
-
this.send(command, optionsOrCb);
|
|
1063
|
-
} else if (typeof cb === "function") {
|
|
1064
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1065
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1066
|
-
} else {
|
|
1067
|
-
return this.send(command, optionsOrCb);
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
1073
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
1074
|
-
* template</a>.</p>
|
|
1075
|
-
*/
|
|
1076
|
-
public putLifecyclePolicy(
|
|
1077
|
-
args: PutLifecyclePolicyCommandInput,
|
|
1078
|
-
options?: __HttpHandlerOptions
|
|
1079
|
-
): Promise<PutLifecyclePolicyCommandOutput>;
|
|
1080
|
-
public putLifecyclePolicy(
|
|
1081
|
-
args: PutLifecyclePolicyCommandInput,
|
|
1082
|
-
cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void
|
|
1083
|
-
): void;
|
|
1084
|
-
public putLifecyclePolicy(
|
|
1085
|
-
args: PutLifecyclePolicyCommandInput,
|
|
1086
|
-
options: __HttpHandlerOptions,
|
|
1087
|
-
cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void
|
|
1088
|
-
): void;
|
|
1089
|
-
public putLifecyclePolicy(
|
|
1090
|
-
args: PutLifecyclePolicyCommandInput,
|
|
1091
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecyclePolicyCommandOutput) => void),
|
|
1092
|
-
cb?: (err: any, data?: PutLifecyclePolicyCommandOutput) => void
|
|
1093
|
-
): Promise<PutLifecyclePolicyCommandOutput> | void {
|
|
1094
|
-
const command = new PutLifecyclePolicyCommand(args);
|
|
1095
|
-
if (typeof optionsOrCb === "function") {
|
|
1096
|
-
this.send(command, optionsOrCb);
|
|
1097
|
-
} else if (typeof cb === "function") {
|
|
1098
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1099
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1100
|
-
} else {
|
|
1101
|
-
return this.send(command, optionsOrCb);
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
1107
|
-
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
1108
|
-
* when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1109
|
-
*/
|
|
1110
|
-
public putRegistryPolicy(
|
|
1111
|
-
args: PutRegistryPolicyCommandInput,
|
|
1112
|
-
options?: __HttpHandlerOptions
|
|
1113
|
-
): Promise<PutRegistryPolicyCommandOutput>;
|
|
1114
|
-
public putRegistryPolicy(
|
|
1115
|
-
args: PutRegistryPolicyCommandInput,
|
|
1116
|
-
cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void
|
|
1117
|
-
): void;
|
|
1118
|
-
public putRegistryPolicy(
|
|
1119
|
-
args: PutRegistryPolicyCommandInput,
|
|
1120
|
-
options: __HttpHandlerOptions,
|
|
1121
|
-
cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void
|
|
1122
|
-
): void;
|
|
1123
|
-
public putRegistryPolicy(
|
|
1124
|
-
args: PutRegistryPolicyCommandInput,
|
|
1125
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutRegistryPolicyCommandOutput) => void),
|
|
1126
|
-
cb?: (err: any, data?: PutRegistryPolicyCommandOutput) => void
|
|
1127
|
-
): Promise<PutRegistryPolicyCommandOutput> | void {
|
|
1128
|
-
const command = new PutRegistryPolicyCommand(args);
|
|
1129
|
-
if (typeof optionsOrCb === "function") {
|
|
1130
|
-
this.send(command, optionsOrCb);
|
|
1131
|
-
} else if (typeof cb === "function") {
|
|
1132
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1134
|
-
} else {
|
|
1135
|
-
return this.send(command, optionsOrCb);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
1141
|
-
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
1142
|
-
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
1143
|
-
* your account for the replication process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html">Using
|
|
1144
|
-
* service-linked roles for Amazon ECR</a> in the
|
|
1145
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1146
|
-
* <note>
|
|
1147
|
-
* <p>When configuring cross-account replication, the destination account must grant the
|
|
1148
|
-
* source account permission to replicate. This permission is controlled using a
|
|
1149
|
-
* registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
|
|
1150
|
-
* </note>
|
|
1151
|
-
*/
|
|
1152
|
-
public putReplicationConfiguration(
|
|
1153
|
-
args: PutReplicationConfigurationCommandInput,
|
|
1154
|
-
options?: __HttpHandlerOptions
|
|
1155
|
-
): Promise<PutReplicationConfigurationCommandOutput>;
|
|
1156
|
-
public putReplicationConfiguration(
|
|
1157
|
-
args: PutReplicationConfigurationCommandInput,
|
|
1158
|
-
cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void
|
|
1159
|
-
): void;
|
|
1160
|
-
public putReplicationConfiguration(
|
|
1161
|
-
args: PutReplicationConfigurationCommandInput,
|
|
1162
|
-
options: __HttpHandlerOptions,
|
|
1163
|
-
cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void
|
|
1164
|
-
): void;
|
|
1165
|
-
public putReplicationConfiguration(
|
|
1166
|
-
args: PutReplicationConfigurationCommandInput,
|
|
1167
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutReplicationConfigurationCommandOutput) => void),
|
|
1168
|
-
cb?: (err: any, data?: PutReplicationConfigurationCommandOutput) => void
|
|
1169
|
-
): Promise<PutReplicationConfigurationCommandOutput> | void {
|
|
1170
|
-
const command = new PutReplicationConfigurationCommand(args);
|
|
1171
|
-
if (typeof optionsOrCb === "function") {
|
|
1172
|
-
this.send(command, optionsOrCb);
|
|
1173
|
-
} else if (typeof cb === "function") {
|
|
1174
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1176
|
-
} else {
|
|
1177
|
-
return this.send(command, optionsOrCb);
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
1183
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
1184
|
-
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1185
|
-
*/
|
|
1186
|
-
public setRepositoryPolicy(
|
|
1187
|
-
args: SetRepositoryPolicyCommandInput,
|
|
1188
|
-
options?: __HttpHandlerOptions
|
|
1189
|
-
): Promise<SetRepositoryPolicyCommandOutput>;
|
|
1190
|
-
public setRepositoryPolicy(
|
|
1191
|
-
args: SetRepositoryPolicyCommandInput,
|
|
1192
|
-
cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
1193
|
-
): void;
|
|
1194
|
-
public setRepositoryPolicy(
|
|
1195
|
-
args: SetRepositoryPolicyCommandInput,
|
|
1196
|
-
options: __HttpHandlerOptions,
|
|
1197
|
-
cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
1198
|
-
): void;
|
|
1199
|
-
public setRepositoryPolicy(
|
|
1200
|
-
args: SetRepositoryPolicyCommandInput,
|
|
1201
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetRepositoryPolicyCommandOutput) => void),
|
|
1202
|
-
cb?: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
1203
|
-
): Promise<SetRepositoryPolicyCommandOutput> | void {
|
|
1204
|
-
const command = new SetRepositoryPolicyCommand(args);
|
|
1205
|
-
if (typeof optionsOrCb === "function") {
|
|
1206
|
-
this.send(command, optionsOrCb);
|
|
1207
|
-
} else if (typeof cb === "function") {
|
|
1208
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1209
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1210
|
-
} else {
|
|
1211
|
-
return this.send(command, optionsOrCb);
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
1217
|
-
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
1218
|
-
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
1219
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1220
|
-
*/
|
|
1221
|
-
public startImageScan(
|
|
1222
|
-
args: StartImageScanCommandInput,
|
|
1223
|
-
options?: __HttpHandlerOptions
|
|
1224
|
-
): Promise<StartImageScanCommandOutput>;
|
|
1225
|
-
public startImageScan(
|
|
1226
|
-
args: StartImageScanCommandInput,
|
|
1227
|
-
cb: (err: any, data?: StartImageScanCommandOutput) => void
|
|
1228
|
-
): void;
|
|
1229
|
-
public startImageScan(
|
|
1230
|
-
args: StartImageScanCommandInput,
|
|
1231
|
-
options: __HttpHandlerOptions,
|
|
1232
|
-
cb: (err: any, data?: StartImageScanCommandOutput) => void
|
|
1233
|
-
): void;
|
|
1234
|
-
public startImageScan(
|
|
1235
|
-
args: StartImageScanCommandInput,
|
|
1236
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartImageScanCommandOutput) => void),
|
|
1237
|
-
cb?: (err: any, data?: StartImageScanCommandOutput) => void
|
|
1238
|
-
): Promise<StartImageScanCommandOutput> | void {
|
|
1239
|
-
const command = new StartImageScanCommand(args);
|
|
1240
|
-
if (typeof optionsOrCb === "function") {
|
|
1241
|
-
this.send(command, optionsOrCb);
|
|
1242
|
-
} else if (typeof cb === "function") {
|
|
1243
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1245
|
-
} else {
|
|
1246
|
-
return this.send(command, optionsOrCb);
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
1252
|
-
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
1253
|
-
*/
|
|
1254
|
-
public startLifecyclePolicyPreview(
|
|
1255
|
-
args: StartLifecyclePolicyPreviewCommandInput,
|
|
1256
|
-
options?: __HttpHandlerOptions
|
|
1257
|
-
): Promise<StartLifecyclePolicyPreviewCommandOutput>;
|
|
1258
|
-
public startLifecyclePolicyPreview(
|
|
1259
|
-
args: StartLifecyclePolicyPreviewCommandInput,
|
|
1260
|
-
cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void
|
|
1261
|
-
): void;
|
|
1262
|
-
public startLifecyclePolicyPreview(
|
|
1263
|
-
args: StartLifecyclePolicyPreviewCommandInput,
|
|
1264
|
-
options: __HttpHandlerOptions,
|
|
1265
|
-
cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void
|
|
1266
|
-
): void;
|
|
1267
|
-
public startLifecyclePolicyPreview(
|
|
1268
|
-
args: StartLifecyclePolicyPreviewCommandInput,
|
|
1269
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void),
|
|
1270
|
-
cb?: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void
|
|
1271
|
-
): Promise<StartLifecyclePolicyPreviewCommandOutput> | void {
|
|
1272
|
-
const command = new StartLifecyclePolicyPreviewCommand(args);
|
|
1273
|
-
if (typeof optionsOrCb === "function") {
|
|
1274
|
-
this.send(command, optionsOrCb);
|
|
1275
|
-
} else if (typeof cb === "function") {
|
|
1276
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1278
|
-
} else {
|
|
1279
|
-
return this.send(command, optionsOrCb);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
/**
|
|
1284
|
-
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
1285
|
-
* are not changed if they are not specified in the request parameters.</p>
|
|
1286
|
-
*/
|
|
1287
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1288
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1289
|
-
public tagResource(
|
|
1290
|
-
args: TagResourceCommandInput,
|
|
1291
|
-
options: __HttpHandlerOptions,
|
|
1292
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1293
|
-
): void;
|
|
1294
|
-
public tagResource(
|
|
1295
|
-
args: TagResourceCommandInput,
|
|
1296
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1297
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1298
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1299
|
-
const command = new TagResourceCommand(args);
|
|
1300
|
-
if (typeof optionsOrCb === "function") {
|
|
1301
|
-
this.send(command, optionsOrCb);
|
|
1302
|
-
} else if (typeof cb === "function") {
|
|
1303
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1305
|
-
} else {
|
|
1306
|
-
return this.send(command, optionsOrCb);
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
1312
|
-
*/
|
|
1313
|
-
public untagResource(
|
|
1314
|
-
args: UntagResourceCommandInput,
|
|
1315
|
-
options?: __HttpHandlerOptions
|
|
1316
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1317
|
-
public untagResource(
|
|
1318
|
-
args: UntagResourceCommandInput,
|
|
1319
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1320
|
-
): void;
|
|
1321
|
-
public untagResource(
|
|
1322
|
-
args: UntagResourceCommandInput,
|
|
1323
|
-
options: __HttpHandlerOptions,
|
|
1324
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1325
|
-
): void;
|
|
1326
|
-
public untagResource(
|
|
1327
|
-
args: UntagResourceCommandInput,
|
|
1328
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1329
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1330
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1331
|
-
const command = new UntagResourceCommand(args);
|
|
1332
|
-
if (typeof optionsOrCb === "function") {
|
|
1333
|
-
this.send(command, optionsOrCb);
|
|
1334
|
-
} else if (typeof cb === "function") {
|
|
1335
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1336
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1337
|
-
} else {
|
|
1338
|
-
return this.send(command, optionsOrCb);
|
|
1339
|
-
}
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
1344
|
-
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
1345
|
-
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
1346
|
-
* is called once per each new image layer part.</p>
|
|
1347
|
-
* <note>
|
|
1348
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
1349
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
1350
|
-
* </note>
|
|
1351
|
-
*/
|
|
1352
|
-
public uploadLayerPart(
|
|
1353
|
-
args: UploadLayerPartCommandInput,
|
|
1354
|
-
options?: __HttpHandlerOptions
|
|
1355
|
-
): Promise<UploadLayerPartCommandOutput>;
|
|
1356
|
-
public uploadLayerPart(
|
|
1357
|
-
args: UploadLayerPartCommandInput,
|
|
1358
|
-
cb: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
1359
|
-
): void;
|
|
1360
|
-
public uploadLayerPart(
|
|
1361
|
-
args: UploadLayerPartCommandInput,
|
|
1362
|
-
options: __HttpHandlerOptions,
|
|
1363
|
-
cb: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
1364
|
-
): void;
|
|
1365
|
-
public uploadLayerPart(
|
|
1366
|
-
args: UploadLayerPartCommandInput,
|
|
1367
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UploadLayerPartCommandOutput) => void),
|
|
1368
|
-
cb?: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
1369
|
-
): Promise<UploadLayerPartCommandOutput> | void {
|
|
1370
|
-
const command = new UploadLayerPartCommand(args);
|
|
1371
|
-
if (typeof optionsOrCb === "function") {
|
|
1372
|
-
this.send(command, optionsOrCb);
|
|
1373
|
-
} else if (typeof cb === "function") {
|
|
1374
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1376
|
-
} else {
|
|
1377
|
-
return this.send(command, optionsOrCb);
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
}
|