@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { StartImageScanRequest, StartImageScanResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export declare type StartImageScanCommandInput = StartImageScanRequest;
|
|
6
|
+
export declare type StartImageScanCommandOutput = StartImageScanResponse & __MetadataBearer;
|
|
7
|
+
/**
|
|
8
|
+
* <p>Starts an image vulnerability scan. An image scan can only be started once per day on
|
|
9
|
+
* an individual image. This limit includes if an image was scanned on initial push. For
|
|
10
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image Scanning</a> in the
|
|
11
|
+
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
12
|
+
*/
|
|
13
|
+
export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
|
|
14
|
+
readonly input: StartImageScanCommandInput;
|
|
15
|
+
constructor(input: StartImageScanCommandInput);
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartImageScanCommandInput, StartImageScanCommandOutput>;
|
|
20
|
+
private serialize;
|
|
21
|
+
private deserialize;
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { StartLifecyclePolicyPreviewRequest, StartLifecyclePolicyPreviewResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export declare type StartLifecyclePolicyPreviewCommandInput = StartLifecyclePolicyPreviewRequest;
|
|
6
|
+
export declare type StartLifecyclePolicyPreviewCommandOutput = StartLifecyclePolicyPreviewResponse & __MetadataBearer;
|
|
7
|
+
/**
|
|
8
|
+
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
9
|
+
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
10
|
+
*/
|
|
11
|
+
export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
|
|
12
|
+
readonly input: StartLifecyclePolicyPreviewCommandInput;
|
|
13
|
+
constructor(input: StartLifecyclePolicyPreviewCommandInput);
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput>;
|
|
18
|
+
private serialize;
|
|
19
|
+
private deserialize;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { TagResourceRequest, TagResourceResponse } 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 TagResourceCommandInput = TagResourceRequest;
|
|
6
|
+
export declare type TagResourceCommandOutput = TagResourceResponse & __MetadataBearer;
|
|
7
|
+
/**
|
|
8
|
+
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
9
|
+
* are not changed if they are not specified in the request parameters.</p>
|
|
10
|
+
*/
|
|
11
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
12
|
+
readonly input: TagResourceCommandInput;
|
|
13
|
+
constructor(input: TagResourceCommandInput);
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
18
|
+
private serialize;
|
|
19
|
+
private deserialize;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommandInput = UntagResourceRequest;
|
|
6
|
+
export declare type UntagResourceCommandOutput = UntagResourceResponse & __MetadataBearer;
|
|
7
|
+
/**
|
|
8
|
+
* <p>Deletes specified tags from a resource.</p>
|
|
9
|
+
*/
|
|
10
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
11
|
+
readonly input: UntagResourceCommandInput;
|
|
12
|
+
constructor(input: UntagResourceCommandInput);
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
17
|
+
private serialize;
|
|
18
|
+
private deserialize;
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
2
|
+
import { UploadLayerPartRequest, UploadLayerPartResponse } 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 UploadLayerPartCommandInput = UploadLayerPartRequest;
|
|
6
|
+
export declare type UploadLayerPartCommandOutput = UploadLayerPartResponse & __MetadataBearer;
|
|
7
|
+
/**
|
|
8
|
+
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
9
|
+
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
10
|
+
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
11
|
+
* is called once per each new image layer part.</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 UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {
|
|
18
|
+
readonly input: UploadLayerPartCommandInput;
|
|
19
|
+
constructor(input: UploadLayerPartCommandInput);
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadLayerPartCommandInput, UploadLayerPartCommandOutput>;
|
|
24
|
+
private serialize;
|
|
25
|
+
private deserialize;
|
|
26
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export * from "./ECRClient";
|
|
2
|
+
export * from "./ECR";
|
|
3
|
+
export * from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
4
|
+
export * from "./commands/BatchDeleteImageCommand";
|
|
5
|
+
export * from "./commands/BatchGetImageCommand";
|
|
6
|
+
export * from "./commands/CompleteLayerUploadCommand";
|
|
7
|
+
export * from "./commands/CreateRepositoryCommand";
|
|
8
|
+
export * from "./commands/DeleteLifecyclePolicyCommand";
|
|
9
|
+
export * from "./commands/DeleteRegistryPolicyCommand";
|
|
10
|
+
export * from "./commands/DeleteRepositoryCommand";
|
|
11
|
+
export * from "./commands/DeleteRepositoryPolicyCommand";
|
|
12
|
+
export * from "./commands/DescribeImagesCommand";
|
|
13
|
+
export * from "./pagination/DescribeImagesPaginator";
|
|
14
|
+
export * from "./commands/DescribeImageScanFindingsCommand";
|
|
15
|
+
export * from "./pagination/DescribeImageScanFindingsPaginator";
|
|
16
|
+
export * from "./waiters/waitForImageScanComplete";
|
|
17
|
+
export * from "./commands/DescribeRegistryCommand";
|
|
18
|
+
export * from "./commands/DescribeRepositoriesCommand";
|
|
19
|
+
export * from "./pagination/DescribeRepositoriesPaginator";
|
|
20
|
+
export * from "./commands/GetAuthorizationTokenCommand";
|
|
21
|
+
export * from "./commands/GetDownloadUrlForLayerCommand";
|
|
22
|
+
export * from "./commands/GetLifecyclePolicyCommand";
|
|
23
|
+
export * from "./commands/GetLifecyclePolicyPreviewCommand";
|
|
24
|
+
export * from "./pagination/GetLifecyclePolicyPreviewPaginator";
|
|
25
|
+
export * from "./waiters/waitForLifecyclePolicyPreviewComplete";
|
|
26
|
+
export * from "./commands/GetRegistryPolicyCommand";
|
|
27
|
+
export * from "./commands/GetRepositoryPolicyCommand";
|
|
28
|
+
export * from "./commands/InitiateLayerUploadCommand";
|
|
29
|
+
export * from "./commands/ListImagesCommand";
|
|
30
|
+
export * from "./pagination/ListImagesPaginator";
|
|
31
|
+
export * from "./commands/ListTagsForResourceCommand";
|
|
32
|
+
export * from "./commands/PutImageCommand";
|
|
33
|
+
export * from "./commands/PutImageScanningConfigurationCommand";
|
|
34
|
+
export * from "./commands/PutImageTagMutabilityCommand";
|
|
35
|
+
export * from "./commands/PutLifecyclePolicyCommand";
|
|
36
|
+
export * from "./commands/PutRegistryPolicyCommand";
|
|
37
|
+
export * from "./commands/PutReplicationConfigurationCommand";
|
|
38
|
+
export * from "./commands/SetRepositoryPolicyCommand";
|
|
39
|
+
export * from "./commands/StartImageScanCommand";
|
|
40
|
+
export * from "./commands/StartLifecyclePolicyPreviewCommand";
|
|
41
|
+
export * from "./commands/TagResourceCommand";
|
|
42
|
+
export * from "./commands/UntagResourceCommand";
|
|
43
|
+
export * from "./commands/UploadLayerPartCommand";
|
|
44
|
+
export * from "./pagination/Interfaces";
|
|
45
|
+
export * from "./models/index";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|