@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,109 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { PutReplicationConfigurationRequest, PutReplicationConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutReplicationConfigurationCommand,
|
|
5
|
-
serializeAws_json1_1PutReplicationConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutReplicationConfigurationCommandInput extends PutReplicationConfigurationRequest {}
|
|
21
|
-
export interface PutReplicationConfigurationCommandOutput
|
|
22
|
-
extends PutReplicationConfigurationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
27
|
-
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
28
|
-
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
29
|
-
* 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
|
|
30
|
-
* service-linked roles for Amazon ECR</a> in the
|
|
31
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>When configuring cross-account replication, the destination account must grant the
|
|
34
|
-
* source account permission to replicate. This permission is controlled using a
|
|
35
|
-
* registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
|
|
36
|
-
* </note>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { ECRClient, PutReplicationConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
41
|
-
* // const { ECRClient, PutReplicationConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
42
|
-
* const client = new ECRClient(config);
|
|
43
|
-
* const command = new PutReplicationConfigurationCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link PutReplicationConfigurationCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class PutReplicationConfigurationCommand extends $Command<
|
|
53
|
-
PutReplicationConfigurationCommandInput,
|
|
54
|
-
PutReplicationConfigurationCommandOutput,
|
|
55
|
-
ECRClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: PutReplicationConfigurationCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: ECRClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "ECRClient";
|
|
80
|
-
const commandName = "PutReplicationConfigurationCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: PutReplicationConfigurationRequest.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: PutReplicationConfigurationResponse.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: PutReplicationConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1PutReplicationConfigurationCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<PutReplicationConfigurationCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1PutReplicationConfigurationCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1SetRepositoryPolicyCommand,
|
|
5
|
-
serializeAws_json1_1SetRepositoryPolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface SetRepositoryPolicyCommandInput extends SetRepositoryPolicyRequest {}
|
|
21
|
-
export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
25
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
26
|
-
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ECRClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
31
|
-
* // const { ECRClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
32
|
-
* const client = new ECRClient(config);
|
|
33
|
-
* const command = new SetRepositoryPolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class SetRepositoryPolicyCommand extends $Command<
|
|
43
|
-
SetRepositoryPolicyCommandInput,
|
|
44
|
-
SetRepositoryPolicyCommandOutput,
|
|
45
|
-
ECRClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: SetRepositoryPolicyCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ECRClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ECRClient";
|
|
70
|
-
const commandName = "SetRepositoryPolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: SetRepositoryPolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: SetRepositoryPolicyResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: SetRepositoryPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1SetRepositoryPolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetRepositoryPolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1SetRepositoryPolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { StartImageScanRequest, StartImageScanResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartImageScanCommand,
|
|
5
|
-
serializeAws_json1_1StartImageScanCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartImageScanCommandInput extends StartImageScanRequest {}
|
|
21
|
-
export interface StartImageScanCommandOutput extends StartImageScanResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
25
|
-
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
26
|
-
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
27
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ECRClient, StartImageScanCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
32
|
-
* // const { ECRClient, StartImageScanCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
33
|
-
* const client = new ECRClient(config);
|
|
34
|
-
* const command = new StartImageScanCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link StartImageScanCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link StartImageScanCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class StartImageScanCommand extends $Command<
|
|
44
|
-
StartImageScanCommandInput,
|
|
45
|
-
StartImageScanCommandOutput,
|
|
46
|
-
ECRClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: StartImageScanCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: ECRClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<StartImageScanCommandInput, StartImageScanCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "ECRClient";
|
|
71
|
-
const commandName = "StartImageScanCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: StartImageScanRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: StartImageScanResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: StartImageScanCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1StartImageScanCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartImageScanCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1StartImageScanCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { StartLifecyclePolicyPreviewRequest, StartLifecyclePolicyPreviewResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartLifecyclePolicyPreviewCommand,
|
|
5
|
-
serializeAws_json1_1StartLifecyclePolicyPreviewCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartLifecyclePolicyPreviewCommandInput extends StartLifecyclePolicyPreviewRequest {}
|
|
21
|
-
export interface StartLifecyclePolicyPreviewCommandOutput
|
|
22
|
-
extends StartLifecyclePolicyPreviewResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
27
|
-
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ECRClient, StartLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
32
|
-
* // const { ECRClient, StartLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
33
|
-
* const client = new ECRClient(config);
|
|
34
|
-
* const command = new StartLifecyclePolicyPreviewCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class StartLifecyclePolicyPreviewCommand extends $Command<
|
|
44
|
-
StartLifecyclePolicyPreviewCommandInput,
|
|
45
|
-
StartLifecyclePolicyPreviewCommandOutput,
|
|
46
|
-
ECRClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: StartLifecyclePolicyPreviewCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: ECRClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "ECRClient";
|
|
71
|
-
const commandName = "StartLifecyclePolicyPreviewCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: StartLifecyclePolicyPreviewRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: StartLifecyclePolicyPreviewResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: StartLifecyclePolicyPreviewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1StartLifecyclePolicyPreviewCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<StartLifecyclePolicyPreviewCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1StartLifecyclePolicyPreviewCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
5
|
-
serializeAws_json1_1TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
25
|
-
* are not changed if they are not specified in the request parameters.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ECRClient, TagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
30
|
-
* // const { ECRClient, TagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
31
|
-
* const client = new ECRClient(config);
|
|
32
|
-
* const command = new TagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class TagResourceCommand extends $Command<
|
|
42
|
-
TagResourceCommandInput,
|
|
43
|
-
TagResourceCommandOutput,
|
|
44
|
-
ECRClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ECRClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ECRClient";
|
|
69
|
-
const commandName = "TagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ECRClient, UntagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
|
-
* // const { ECRClient, UntagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
|
-
* const client = new ECRClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
ECRClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: ECRClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "ECRClient";
|
|
68
|
-
const commandName = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|