@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
3
3
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
4
4
|
import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
|
|
@@ -34,326 +34,146 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
34
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
35
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
36
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
40
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
|
|
41
|
-
* familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
|
|
42
|
-
* provides a secure, scalable, and reliable registry for your Docker or Open Container
|
|
43
|
-
* Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
|
|
44
|
-
* permissions using IAM so that specific users or Amazon EC2 instances can access
|
|
45
|
-
* repositories and images.</p>
|
|
46
|
-
* <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
|
|
47
|
-
* <i>Amazon Web Services General Reference</i>.</p>
|
|
48
|
-
*/
|
|
37
|
+
import { ECRClient } from "./ECRClient";
|
|
38
|
+
|
|
49
39
|
export declare class ECR extends ECRClient {
|
|
50
|
-
|
|
51
|
-
* <p>Checks the availability of one or more image layers in a repository.</p>
|
|
52
|
-
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
53
|
-
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
54
|
-
* skipped.</p>
|
|
55
|
-
* <note>
|
|
56
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
57
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
58
|
-
* </note>
|
|
59
|
-
*/
|
|
40
|
+
|
|
60
41
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<BatchCheckLayerAvailabilityCommandOutput>;
|
|
61
42
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
62
43
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
63
|
-
|
|
64
|
-
* <p>Deletes a list of specified images within a repository. Images are specified with
|
|
65
|
-
* either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
66
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
67
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
68
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
69
|
-
* digest in your request.</p>
|
|
70
|
-
*/
|
|
44
|
+
|
|
71
45
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteImageCommandOutput>;
|
|
72
46
|
batchDeleteImage(args: BatchDeleteImageCommandInput, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
73
47
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
74
|
-
|
|
75
|
-
* <p>Gets detailed information for an image. Images are specified with either an
|
|
76
|
-
* <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
77
|
-
* <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
|
|
78
|
-
* manifest.</p>
|
|
79
|
-
*/
|
|
48
|
+
|
|
80
49
|
batchGetImage(args: BatchGetImageCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetImageCommandOutput>;
|
|
81
50
|
batchGetImage(args: BatchGetImageCommandInput, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
82
51
|
batchGetImage(args: BatchGetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
83
|
-
|
|
84
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
|
|
85
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
|
|
86
|
-
* of the image layer for data validation purposes.</p>
|
|
87
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
88
|
-
* layer to verify that the upload has completed.</p>
|
|
89
|
-
* <note>
|
|
90
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
91
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
92
|
-
* </note>
|
|
93
|
-
*/
|
|
52
|
+
|
|
94
53
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLayerUploadCommandOutput>;
|
|
95
54
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
96
55
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
97
|
-
|
|
98
|
-
* <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
|
|
99
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
100
|
-
*/
|
|
56
|
+
|
|
101
57
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
102
58
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
103
59
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
104
|
-
|
|
105
|
-
* <p>Deletes the lifecycle policy associated with the specified repository.</p>
|
|
106
|
-
*/
|
|
60
|
+
|
|
107
61
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
108
62
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
109
63
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
110
|
-
|
|
111
|
-
* <p>Deletes the registry permissions policy.</p>
|
|
112
|
-
*/
|
|
64
|
+
|
|
113
65
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegistryPolicyCommandOutput>;
|
|
114
66
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void): void;
|
|
115
67
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void): void;
|
|
116
|
-
|
|
117
|
-
* <p>Deletes a repository. If the repository contains images, you must either delete all
|
|
118
|
-
* images in the repository or use the <code>force</code> option to delete the
|
|
119
|
-
* repository.</p>
|
|
120
|
-
*/
|
|
68
|
+
|
|
121
69
|
deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCommandOutput>;
|
|
122
70
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
123
71
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
124
|
-
|
|
125
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
126
|
-
*/
|
|
72
|
+
|
|
127
73
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
128
74
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
129
75
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
130
|
-
|
|
131
|
-
* <p>Returns the replication status for a specified image.</p>
|
|
132
|
-
*/
|
|
76
|
+
|
|
133
77
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageReplicationStatusCommandOutput>;
|
|
134
78
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
135
79
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
136
|
-
|
|
137
|
-
* <p>Returns metadata about the images in a repository.</p>
|
|
138
|
-
* <note>
|
|
139
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
140
|
-
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
141
|
-
* images</code> command shows the uncompressed image size, so it may return a
|
|
142
|
-
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
143
|
-
* </note>
|
|
144
|
-
*/
|
|
80
|
+
|
|
145
81
|
describeImages(args: DescribeImagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImagesCommandOutput>;
|
|
146
82
|
describeImages(args: DescribeImagesCommandInput, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
147
83
|
describeImages(args: DescribeImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
148
|
-
|
|
149
|
-
* <p>Returns the scan findings for the specified image.</p>
|
|
150
|
-
*/
|
|
84
|
+
|
|
151
85
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageScanFindingsCommandOutput>;
|
|
152
86
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
153
87
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
154
|
-
|
|
155
|
-
* <p>Describes the settings for a registry. The replication configuration for a repository
|
|
156
|
-
* can be created or updated with the <a>PutReplicationConfiguration</a> API
|
|
157
|
-
* action.</p>
|
|
158
|
-
*/
|
|
88
|
+
|
|
159
89
|
describeRegistry(args: DescribeRegistryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRegistryCommandOutput>;
|
|
160
90
|
describeRegistry(args: DescribeRegistryCommandInput, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
|
|
161
91
|
describeRegistry(args: DescribeRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
|
|
162
|
-
|
|
163
|
-
* <p>Describes image repositories in a registry.</p>
|
|
164
|
-
*/
|
|
92
|
+
|
|
165
93
|
describeRepositories(args: DescribeRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoriesCommandOutput>;
|
|
166
94
|
describeRepositories(args: DescribeRepositoriesCommandInput, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
167
95
|
describeRepositories(args: DescribeRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
168
|
-
|
|
169
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
170
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
171
|
-
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
172
|
-
* <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
|
|
173
|
-
* decoded and used in a <code>docker login</code> command to authenticate to a registry.
|
|
174
|
-
* The CLI offers an <code>get-login-password</code> command that simplifies the login
|
|
175
|
-
* process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
|
|
176
|
-
* authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
177
|
-
*/
|
|
96
|
+
|
|
178
97
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetAuthorizationTokenCommandOutput>;
|
|
179
98
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
180
99
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
181
|
-
|
|
182
|
-
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
183
|
-
* only get URLs for image layers that are referenced in an image.</p>
|
|
184
|
-
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
185
|
-
* that is not already cached.</p>
|
|
186
|
-
* <note>
|
|
187
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
188
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
189
|
-
* </note>
|
|
190
|
-
*/
|
|
100
|
+
|
|
191
101
|
getDownloadUrlForLayer(args: GetDownloadUrlForLayerCommandInput, options?: __HttpHandlerOptions): Promise<GetDownloadUrlForLayerCommandOutput>;
|
|
192
102
|
getDownloadUrlForLayer(args: GetDownloadUrlForLayerCommandInput, cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void): void;
|
|
193
103
|
getDownloadUrlForLayer(args: GetDownloadUrlForLayerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void): void;
|
|
194
|
-
|
|
195
|
-
* <p>Retrieves the lifecycle policy for the specified repository.</p>
|
|
196
|
-
*/
|
|
104
|
+
|
|
197
105
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
198
106
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
199
107
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
200
|
-
|
|
201
|
-
* <p>Retrieves the results of the lifecycle policy preview request for the specified
|
|
202
|
-
* repository.</p>
|
|
203
|
-
*/
|
|
108
|
+
|
|
204
109
|
getLifecyclePolicyPreview(args: GetLifecyclePolicyPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyPreviewCommandOutput>;
|
|
205
110
|
getLifecyclePolicyPreview(args: GetLifecyclePolicyPreviewCommandInput, cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
206
111
|
getLifecyclePolicyPreview(args: GetLifecyclePolicyPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
207
|
-
|
|
208
|
-
* <p>Retrieves the permissions policy for a registry.</p>
|
|
209
|
-
*/
|
|
112
|
+
|
|
210
113
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryPolicyCommandOutput>;
|
|
211
114
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
212
115
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
213
|
-
|
|
214
|
-
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
215
|
-
*/
|
|
116
|
+
|
|
216
117
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryPolicyCommandOutput>;
|
|
217
118
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
218
119
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
219
|
-
|
|
220
|
-
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
221
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
222
|
-
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
223
|
-
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
224
|
-
* <note>
|
|
225
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
226
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
227
|
-
* </note>
|
|
228
|
-
*/
|
|
120
|
+
|
|
229
121
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, options?: __HttpHandlerOptions): Promise<InitiateLayerUploadCommandOutput>;
|
|
230
122
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
231
123
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
232
|
-
|
|
233
|
-
* <p>Lists all the image IDs for the specified repository.</p>
|
|
234
|
-
* <p>You can filter images based on whether or not they are tagged by using the
|
|
235
|
-
* <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
|
|
236
|
-
* <code>UNTAGGED</code> or <code>ANY</code>. For example, you can filter your results
|
|
237
|
-
* 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
|
|
238
|
-
* results to return only <code>TAGGED</code> images to list all of the tags in your
|
|
239
|
-
* repository.</p>
|
|
240
|
-
*/
|
|
124
|
+
|
|
241
125
|
listImages(args: ListImagesCommandInput, options?: __HttpHandlerOptions): Promise<ListImagesCommandOutput>;
|
|
242
126
|
listImages(args: ListImagesCommandInput, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
|
|
243
127
|
listImages(args: ListImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
|
|
244
|
-
|
|
245
|
-
* <p>List the tags for an Amazon ECR resource.</p>
|
|
246
|
-
*/
|
|
128
|
+
|
|
247
129
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
248
130
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
249
131
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
250
|
-
|
|
251
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
252
|
-
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
|
|
253
|
-
* is called once to create or update the image manifest and the tags associated with the
|
|
254
|
-
* image.</p>
|
|
255
|
-
*
|
|
256
|
-
* <note>
|
|
257
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
258
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
259
|
-
* </note>
|
|
260
|
-
*/
|
|
132
|
+
|
|
261
133
|
putImage(args: PutImageCommandInput, options?: __HttpHandlerOptions): Promise<PutImageCommandOutput>;
|
|
262
134
|
putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
263
135
|
putImage(args: PutImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
264
|
-
|
|
265
|
-
* <p>Updates the image scanning configuration for the specified repository.</p>
|
|
266
|
-
*/
|
|
136
|
+
|
|
267
137
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutImageScanningConfigurationCommandOutput>;
|
|
268
138
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
269
139
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
270
|
-
|
|
271
|
-
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
272
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
273
|
-
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
274
|
-
*/
|
|
140
|
+
|
|
275
141
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, options?: __HttpHandlerOptions): Promise<PutImageTagMutabilityCommandOutput>;
|
|
276
142
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
277
143
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
278
|
-
|
|
279
|
-
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
280
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
281
|
-
* template</a>.</p>
|
|
282
|
-
*/
|
|
144
|
+
|
|
283
145
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecyclePolicyCommandOutput>;
|
|
284
146
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
285
147
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
286
|
-
|
|
287
|
-
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
288
|
-
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
289
|
-
* 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>
|
|
290
|
-
*/
|
|
148
|
+
|
|
291
149
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryPolicyCommandOutput>;
|
|
292
150
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
293
151
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
294
|
-
|
|
295
|
-
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
296
|
-
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
297
|
-
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
298
|
-
* 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
|
|
299
|
-
* service-linked roles for Amazon ECR</a> in the
|
|
300
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
301
|
-
* <note>
|
|
302
|
-
* <p>When configuring cross-account replication, the destination account must grant the
|
|
303
|
-
* source account permission to replicate. This permission is controlled using a
|
|
304
|
-
* registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
|
|
305
|
-
* </note>
|
|
306
|
-
*/
|
|
152
|
+
|
|
307
153
|
putReplicationConfiguration(args: PutReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutReplicationConfigurationCommandOutput>;
|
|
308
154
|
putReplicationConfiguration(args: PutReplicationConfigurationCommandInput, cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void): void;
|
|
309
155
|
putReplicationConfiguration(args: PutReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void): void;
|
|
310
|
-
|
|
311
|
-
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
312
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
313
|
-
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
314
|
-
*/
|
|
156
|
+
|
|
315
157
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<SetRepositoryPolicyCommandOutput>;
|
|
316
158
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
317
159
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
318
|
-
|
|
319
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
320
|
-
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
321
|
-
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
322
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
323
|
-
*/
|
|
160
|
+
|
|
324
161
|
startImageScan(args: StartImageScanCommandInput, options?: __HttpHandlerOptions): Promise<StartImageScanCommandOutput>;
|
|
325
162
|
startImageScan(args: StartImageScanCommandInput, cb: (err: any, data?: StartImageScanCommandOutput) => void): void;
|
|
326
163
|
startImageScan(args: StartImageScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImageScanCommandOutput) => void): void;
|
|
327
|
-
|
|
328
|
-
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
329
|
-
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
330
|
-
*/
|
|
164
|
+
|
|
331
165
|
startLifecyclePolicyPreview(args: StartLifecyclePolicyPreviewCommandInput, options?: __HttpHandlerOptions): Promise<StartLifecyclePolicyPreviewCommandOutput>;
|
|
332
166
|
startLifecyclePolicyPreview(args: StartLifecyclePolicyPreviewCommandInput, cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
333
167
|
startLifecyclePolicyPreview(args: StartLifecyclePolicyPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
334
|
-
|
|
335
|
-
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
336
|
-
* are not changed if they are not specified in the request parameters.</p>
|
|
337
|
-
*/
|
|
168
|
+
|
|
338
169
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
339
170
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
340
171
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
341
|
-
|
|
342
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
343
|
-
*/
|
|
172
|
+
|
|
344
173
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
345
174
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
346
175
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
347
|
-
|
|
348
|
-
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
349
|
-
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
350
|
-
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
351
|
-
* is called once per each new image layer part.</p>
|
|
352
|
-
* <note>
|
|
353
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
354
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
355
|
-
* </note>
|
|
356
|
-
*/
|
|
176
|
+
|
|
357
177
|
uploadLayerPart(args: UploadLayerPartCommandInput, options?: __HttpHandlerOptions): Promise<UploadLayerPartCommandOutput>;
|
|
358
178
|
uploadLayerPart(args: UploadLayerPartCommandInput, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
359
179
|
uploadLayerPart(args: UploadLayerPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
1
9
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
2
10
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
3
11
|
import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
|
|
@@ -33,143 +41,62 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
33
41
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
42
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
43
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
36
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
37
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
38
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
39
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
40
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
41
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
42
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
43
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
44
44
|
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
45
45
|
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
46
46
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
47
|
-
|
|
48
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
49
|
-
*/
|
|
47
|
+
|
|
50
48
|
requestHandler?: __HttpHandler;
|
|
51
|
-
|
|
52
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
53
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
49
|
+
|
|
56
50
|
sha256?: __HashConstructor;
|
|
57
|
-
|
|
58
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
51
|
+
|
|
61
52
|
urlParser?: __UrlParser;
|
|
62
|
-
|
|
63
|
-
* A function that can calculate the length of a request body.
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
53
|
+
|
|
66
54
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
67
|
-
|
|
68
|
-
* A function that converts a stream into an array of bytes.
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
55
|
+
|
|
71
56
|
streamCollector?: __StreamCollector;
|
|
72
|
-
|
|
73
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
57
|
+
|
|
76
58
|
base64Decoder?: __Decoder;
|
|
77
|
-
|
|
78
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
59
|
+
|
|
81
60
|
base64Encoder?: __Encoder;
|
|
82
|
-
|
|
83
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
61
|
+
|
|
86
62
|
utf8Decoder?: __Decoder;
|
|
87
|
-
|
|
88
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
63
|
+
|
|
91
64
|
utf8Encoder?: __Encoder;
|
|
92
|
-
|
|
93
|
-
* The runtime environment.
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
65
|
+
|
|
96
66
|
runtime?: string;
|
|
97
|
-
|
|
98
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
99
|
-
* trait of an operation.
|
|
100
|
-
*/
|
|
67
|
+
|
|
101
68
|
disableHostPrefix?: boolean;
|
|
102
|
-
|
|
103
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
104
|
-
*/
|
|
69
|
+
|
|
105
70
|
maxAttempts?: number | __Provider<number>;
|
|
106
|
-
|
|
107
|
-
* Specifies which retry algorithm to use.
|
|
108
|
-
*/
|
|
71
|
+
|
|
109
72
|
retryMode?: string | __Provider<string>;
|
|
110
|
-
|
|
111
|
-
* Optional logger for logging debug/info/warn/error.
|
|
112
|
-
*/
|
|
73
|
+
|
|
113
74
|
logger?: __Logger;
|
|
114
|
-
|
|
115
|
-
* Unique service identifier.
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
75
|
+
|
|
118
76
|
serviceId?: string;
|
|
119
|
-
|
|
120
|
-
* The AWS region to which this client will send requests
|
|
121
|
-
*/
|
|
77
|
+
|
|
122
78
|
region?: string | __Provider<string>;
|
|
123
|
-
|
|
124
|
-
* Default credentials provider; Not available in browser runtime.
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
79
|
+
|
|
127
80
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
128
|
-
|
|
129
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
81
|
+
|
|
132
82
|
regionInfoProvider?: RegionInfoProvider;
|
|
133
|
-
|
|
134
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
83
|
+
|
|
137
84
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
138
85
|
}
|
|
139
86
|
declare type ECRClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
140
|
-
|
|
141
|
-
* The configuration interface of ECRClient class constructor that set the region, credentials and other options.
|
|
142
|
-
*/
|
|
87
|
+
|
|
143
88
|
export interface ECRClientConfig extends ECRClientConfigType {
|
|
144
89
|
}
|
|
145
90
|
declare type ECRClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
146
|
-
|
|
147
|
-
* The resolved configuration interface of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.
|
|
148
|
-
*/
|
|
91
|
+
|
|
149
92
|
export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {
|
|
150
93
|
}
|
|
151
|
-
|
|
152
|
-
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
153
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
|
|
154
|
-
* familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
|
|
155
|
-
* provides a secure, scalable, and reliable registry for your Docker or Open Container
|
|
156
|
-
* Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
|
|
157
|
-
* permissions using IAM so that specific users or Amazon EC2 instances can access
|
|
158
|
-
* repositories and images.</p>
|
|
159
|
-
* <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
|
|
160
|
-
* <i>Amazon Web Services General Reference</i>.</p>
|
|
161
|
-
*/
|
|
94
|
+
|
|
162
95
|
export declare class ECRClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRClientResolvedConfig> {
|
|
163
|
-
|
|
164
|
-
* The resolved configuration of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.
|
|
165
|
-
*/
|
|
96
|
+
|
|
166
97
|
readonly config: ECRClientResolvedConfig;
|
|
167
98
|
constructor(configuration: ECRClientConfig);
|
|
168
|
-
|
|
169
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
170
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
171
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
172
|
-
*/
|
|
99
|
+
|
|
173
100
|
destroy(): void;
|
|
174
101
|
}
|
|
175
102
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayerAvailabilityRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLayerAvailabilityResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
|
|
11
|
+
readonly input: BatchCheckLayerAvailabilityCommandInput;
|
|
12
|
+
constructor(input: BatchCheckLayerAvailabilityCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { BatchDeleteImageRequest, BatchDeleteImageResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRClientResolvedConfig> {
|
|
11
|
+
readonly input: BatchDeleteImageCommandInput;
|
|
12
|
+
constructor(input: BatchDeleteImageCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { BatchGetImageRequest, BatchGetImageResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetImageCommandInput extends BatchGetImageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BatchGetImageCommand extends $Command<BatchGetImageCommandInput, BatchGetImageCommandOutput, ECRClientResolvedConfig> {
|
|
11
|
+
readonly input: BatchGetImageCommandInput;
|
|
12
|
+
constructor(input: BatchGetImageCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetImageCommandInput, BatchGetImageCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|