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