@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,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { DeleteRepositoryRequest, DeleteRepositoryResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface DeleteRepositoryCommandInput extends DeleteRepositoryRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Deletes a repository. If the repository contains images, you must either delete all
|
|
11
|
-
* images in the repository or use the <code>force</code> option to delete the
|
|
12
|
-
* repository.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new DeleteRepositoryCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: DeleteRepositoryCommandInput;
|
|
30
|
-
constructor(input: DeleteRepositoryCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { DescribeImagesRequest, DescribeImagesResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface DescribeImagesCommandInput extends DescribeImagesRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Returns metadata about the images in a repository.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
13
|
-
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
14
|
-
* images</code> command shows the uncompressed image size, so it may return a
|
|
15
|
-
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ECRClient, DescribeImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
21
|
-
* // const { ECRClient, DescribeImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
22
|
-
* const client = new ECRClient(config);
|
|
23
|
-
* const command = new DescribeImagesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link DescribeImagesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link DescribeImagesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRClientResolvedConfig> {
|
|
33
|
-
readonly input: DescribeImagesCommandInput;
|
|
34
|
-
constructor(input: DescribeImagesCommandInput);
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImagesCommandInput, DescribeImagesCommandOutput>;
|
|
39
|
-
private serialize;
|
|
40
|
-
private deserialize;
|
|
41
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { DescribeRegistryRequest, DescribeRegistryResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface DescribeRegistryCommandInput extends DescribeRegistryRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Describes the settings for a registry. The replication configuration for a repository
|
|
11
|
-
* can be created or updated with the <a>PutReplicationConfiguration</a> API
|
|
12
|
-
* action.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, DescribeRegistryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, DescribeRegistryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new DescribeRegistryCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeRegistryCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeRegistryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: DescribeRegistryCommandInput;
|
|
30
|
-
constructor(input: DescribeRegistryCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRegistryCommandInput, DescribeRegistryCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { GetAuthorizationTokenRequest, GetAuthorizationTokenResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface GetAuthorizationTokenCommandInput extends GetAuthorizationTokenRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationTokenResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
11
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
12
|
-
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
13
|
-
* <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
|
|
14
|
-
* decoded and used in a <code>docker login</code> command to authenticate to a registry.
|
|
15
|
-
* The CLI offers an <code>get-login-password</code> command that simplifies the login
|
|
16
|
-
* process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
|
|
17
|
-
* authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
22
|
-
* // const { ECRClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
23
|
-
* const client = new ECRClient(config);
|
|
24
|
-
* const command = new GetAuthorizationTokenCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link GetAuthorizationTokenCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, ECRClientResolvedConfig> {
|
|
34
|
-
readonly input: GetAuthorizationTokenCommandInput;
|
|
35
|
-
constructor(input: GetAuthorizationTokenCommandInput);
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput>;
|
|
40
|
-
private serialize;
|
|
41
|
-
private deserialize;
|
|
42
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { GetDownloadUrlForLayerRequest, GetDownloadUrlForLayerResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface GetDownloadUrlForLayerCommandInput extends GetDownloadUrlForLayerRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLayerResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
11
|
-
* only get URLs for image layers that are referenced in an image.</p>
|
|
12
|
-
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
13
|
-
* that is not already cached.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ECRClient, GetDownloadUrlForLayerCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
22
|
-
* // const { ECRClient, GetDownloadUrlForLayerCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
23
|
-
* const client = new ECRClient(config);
|
|
24
|
-
* const command = new GetDownloadUrlForLayerCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link GetDownloadUrlForLayerCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link GetDownloadUrlForLayerCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
export declare class GetDownloadUrlForLayerCommand extends $Command<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig> {
|
|
34
|
-
readonly input: GetDownloadUrlForLayerCommandInput;
|
|
35
|
-
constructor(input: GetDownloadUrlForLayerCommandInput);
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput>;
|
|
40
|
-
private serialize;
|
|
41
|
-
private deserialize;
|
|
42
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { InitiateLayerUploadRequest, InitiateLayerUploadResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface InitiateLayerUploadCommandInput extends InitiateLayerUploadRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
11
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
12
|
-
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
13
|
-
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ECRClient, InitiateLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
22
|
-
* // const { ECRClient, InitiateLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
23
|
-
* const client = new ECRClient(config);
|
|
24
|
-
* const command = new InitiateLayerUploadCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link InitiateLayerUploadCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link InitiateLayerUploadCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRClientResolvedConfig> {
|
|
34
|
-
readonly input: InitiateLayerUploadCommandInput;
|
|
35
|
-
constructor(input: InitiateLayerUploadCommandInput);
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput>;
|
|
40
|
-
private serialize;
|
|
41
|
-
private deserialize;
|
|
42
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { ListImagesRequest, ListImagesResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface ListImagesCommandInput extends ListImagesRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Lists all the image IDs for the specified repository.</p>
|
|
11
|
-
* <p>You can filter images based on whether or not they are tagged by using the
|
|
12
|
-
* <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
|
|
13
|
-
* <code>UNTAGGED</code> or <code>ANY</code>. For example, you can filter your results
|
|
14
|
-
* 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
|
|
15
|
-
* results to return only <code>TAGGED</code> images to list all of the tags in your
|
|
16
|
-
* repository.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ECRClient, ListImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
21
|
-
* // const { ECRClient, ListImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
22
|
-
* const client = new ECRClient(config);
|
|
23
|
-
* const command = new ListImagesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListImagesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListImagesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export declare class ListImagesCommand extends $Command<ListImagesCommandInput, ListImagesCommandOutput, ECRClientResolvedConfig> {
|
|
33
|
-
readonly input: ListImagesCommandInput;
|
|
34
|
-
constructor(input: ListImagesCommandInput);
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImagesCommandInput, ListImagesCommandOutput>;
|
|
39
|
-
private serialize;
|
|
40
|
-
private deserialize;
|
|
41
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutImageRequest, PutImageResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutImageCommandInput extends PutImageRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutImageCommandOutput extends PutImageResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
11
|
-
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
|
|
12
|
-
* is called once to create or update the image manifest and the tags associated with the
|
|
13
|
-
* image.</p>
|
|
14
|
-
*
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
17
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { ECRClient, PutImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
23
|
-
* // const { ECRClient, PutImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
24
|
-
* const client = new ECRClient(config);
|
|
25
|
-
* const command = new PutImageCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link PutImageCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link PutImageCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRClientResolvedConfig> {
|
|
35
|
-
readonly input: PutImageCommandInput;
|
|
36
|
-
constructor(input: PutImageCommandInput);
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutImageCommandInput, PutImageCommandOutput>;
|
|
41
|
-
private serialize;
|
|
42
|
-
private deserialize;
|
|
43
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutImageTagMutabilityRequest, PutImageTagMutabilityResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutImageTagMutabilityCommandInput extends PutImageTagMutabilityRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilityResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
11
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
12
|
-
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, PutImageTagMutabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, PutImageTagMutabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new PutImageTagMutabilityCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link PutImageTagMutabilityCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link PutImageTagMutabilityCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class PutImageTagMutabilityCommand extends $Command<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: PutImageTagMutabilityCommandInput;
|
|
30
|
-
constructor(input: PutImageTagMutabilityCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutLifecyclePolicyRequest, PutLifecyclePolicyResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutLifecyclePolicyCommandInput extends PutLifecyclePolicyRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
11
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
12
|
-
* template</a>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, PutLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, PutLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new PutLifecyclePolicyCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link PutLifecyclePolicyCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link PutLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: PutLifecyclePolicyCommandInput;
|
|
30
|
-
constructor(input: PutLifecyclePolicyCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutRegistryPolicyRequest, PutRegistryPolicyResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutRegistryPolicyCommandInput extends PutRegistryPolicyRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
11
|
-
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
12
|
-
* 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>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, PutRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, PutRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new PutRegistryPolicyCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link PutRegistryPolicyCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link PutRegistryPolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: PutRegistryPolicyCommandInput;
|
|
30
|
-
constructor(input: PutRegistryPolicyCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutReplicationConfigurationRequest, PutReplicationConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutReplicationConfigurationCommandInput extends PutReplicationConfigurationRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutReplicationConfigurationCommandOutput extends PutReplicationConfigurationResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
11
|
-
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
12
|
-
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
13
|
-
* 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
|
|
14
|
-
* service-linked roles for Amazon ECR</a> in the
|
|
15
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
16
|
-
* <note>
|
|
17
|
-
* <p>When configuring cross-account replication, the destination account must grant the
|
|
18
|
-
* source account permission to replicate. This permission is controlled using a
|
|
19
|
-
* registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
|
|
20
|
-
* </note>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { ECRClient, PutReplicationConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
25
|
-
* // const { ECRClient, PutReplicationConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
26
|
-
* const client = new ECRClient(config);
|
|
27
|
-
* const command = new PutReplicationConfigurationCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link PutReplicationConfigurationCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
37
|
-
readonly input: PutReplicationConfigurationCommandInput;
|
|
38
|
-
constructor(input: PutReplicationConfigurationCommandInput);
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput>;
|
|
43
|
-
private serialize;
|
|
44
|
-
private deserialize;
|
|
45
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface SetRepositoryPolicyCommandInput extends SetRepositoryPolicyRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
11
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
12
|
-
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new SetRepositoryPolicyCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
29
|
-
readonly input: SetRepositoryPolicyCommandInput;
|
|
30
|
-
constructor(input: SetRepositoryPolicyCommandInput);
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput>;
|
|
35
|
-
private serialize;
|
|
36
|
-
private deserialize;
|
|
37
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { StartImageScanRequest, StartImageScanResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface StartImageScanCommandInput extends StartImageScanRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface StartImageScanCommandOutput extends StartImageScanResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
11
|
-
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
12
|
-
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
13
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ECRClient, StartImageScanCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
18
|
-
* // const { ECRClient, StartImageScanCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
19
|
-
* const client = new ECRClient(config);
|
|
20
|
-
* const command = new StartImageScanCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link StartImageScanCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link StartImageScanCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
|
|
30
|
-
readonly input: StartImageScanCommandInput;
|
|
31
|
-
constructor(input: StartImageScanCommandInput);
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartImageScanCommandInput, StartImageScanCommandOutput>;
|
|
36
|
-
private serialize;
|
|
37
|
-
private deserialize;
|
|
38
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { StartLifecyclePolicyPreviewRequest, StartLifecyclePolicyPreviewResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface StartLifecyclePolicyPreviewCommandInput extends StartLifecyclePolicyPreviewRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecyclePolicyPreviewResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
11
|
-
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ECRClient, StartLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
16
|
-
* // const { ECRClient, StartLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
17
|
-
* const client = new ECRClient(config);
|
|
18
|
-
* const command = new StartLifecyclePolicyPreviewCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
|
|
28
|
-
readonly input: StartLifecyclePolicyPreviewCommandInput;
|
|
29
|
-
constructor(input: StartLifecyclePolicyPreviewCommandInput);
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput>;
|
|
34
|
-
private serialize;
|
|
35
|
-
private deserialize;
|
|
36
|
-
}
|