@aws-sdk/client-ecr 3.40.0 → 3.44.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 +41 -0
- package/dist-cjs/ECR.js +90 -0
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +24 -0
- package/dist-cjs/models/models_0.js +238 -15
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
- package/dist-es/ECR.js +90 -0
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +24 -0
- package/dist-es/models/models_0.js +164 -8
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1204 -120
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +8 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +984 -157
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +488 -24
- package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/package.json +4 -4
|
@@ -28,7 +28,7 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
|
|
|
28
28
|
*
|
|
29
29
|
* @see {@link PutImageCommandInput} for command's `input` shape.
|
|
30
30
|
* @see {@link PutImageCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
31
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link PutImageScanningConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link PutImageScanningConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class PutImageScanningConfigurationCommand extends $Command<PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link PutImageTagMutabilityCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link PutImageTagMutabilityCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class PutImageTagMutabilityCommand extends $Command<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link PutLifecyclePolicyCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link PutLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link PutRegistryPolicyCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link PutRegistryPolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { PutRegistryScanningConfigurationRequest, PutRegistryScanningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface PutRegistryScanningConfigurationCommandInput extends PutRegistryScanningConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutRegistryScanningConfigurationCommandOutput extends PutRegistryScanningConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates or updates the scanning configuration for your private registry.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, PutRegistryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, PutRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new PutRegistryScanningConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link PutRegistryScanningConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link PutRegistryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class PutRegistryScanningConfigurationCommand extends $Command<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: PutRegistryScanningConfigurationCommandInput;
|
|
28
|
+
constructor(input: PutRegistryScanningConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -30,7 +30,7 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
|
|
|
30
30
|
*
|
|
31
31
|
* @see {@link PutReplicationConfigurationCommandInput} for command's `input` shape.
|
|
32
32
|
* @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
33
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link StartImageScanCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link StartImageScanCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link UploadLayerPartCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
export * from "./BatchCheckLayerAvailabilityCommand";
|
|
2
2
|
export * from "./BatchDeleteImageCommand";
|
|
3
3
|
export * from "./BatchGetImageCommand";
|
|
4
|
+
export * from "./BatchGetRepositoryScanningConfigurationCommand";
|
|
4
5
|
export * from "./CompleteLayerUploadCommand";
|
|
6
|
+
export * from "./CreatePullThroughCacheRuleCommand";
|
|
5
7
|
export * from "./CreateRepositoryCommand";
|
|
6
8
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
9
|
+
export * from "./DeletePullThroughCacheRuleCommand";
|
|
7
10
|
export * from "./DeleteRegistryPolicyCommand";
|
|
8
11
|
export * from "./DeleteRepositoryCommand";
|
|
9
12
|
export * from "./DeleteRepositoryPolicyCommand";
|
|
10
13
|
export * from "./DescribeImageReplicationStatusCommand";
|
|
11
14
|
export * from "./DescribeImageScanFindingsCommand";
|
|
12
15
|
export * from "./DescribeImagesCommand";
|
|
16
|
+
export * from "./DescribePullThroughCacheRulesCommand";
|
|
13
17
|
export * from "./DescribeRegistryCommand";
|
|
14
18
|
export * from "./DescribeRepositoriesCommand";
|
|
15
19
|
export * from "./GetAuthorizationTokenCommand";
|
|
@@ -17,6 +21,7 @@ export * from "./GetDownloadUrlForLayerCommand";
|
|
|
17
21
|
export * from "./GetLifecyclePolicyCommand";
|
|
18
22
|
export * from "./GetLifecyclePolicyPreviewCommand";
|
|
19
23
|
export * from "./GetRegistryPolicyCommand";
|
|
24
|
+
export * from "./GetRegistryScanningConfigurationCommand";
|
|
20
25
|
export * from "./GetRepositoryPolicyCommand";
|
|
21
26
|
export * from "./InitiateLayerUploadCommand";
|
|
22
27
|
export * from "./ListImagesCommand";
|
|
@@ -26,6 +31,7 @@ export * from "./PutImageScanningConfigurationCommand";
|
|
|
26
31
|
export * from "./PutImageTagMutabilityCommand";
|
|
27
32
|
export * from "./PutLifecyclePolicyCommand";
|
|
28
33
|
export * from "./PutRegistryPolicyCommand";
|
|
34
|
+
export * from "./PutRegistryScanningConfigurationCommand";
|
|
29
35
|
export * from "./PutReplicationConfigurationCommand";
|
|
30
36
|
export * from "./SetRepositoryPolicyCommand";
|
|
31
37
|
export * from "./StartImageScanCommand";
|