@aws-sdk/client-ecr 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/ECR.js +0 -11
- package/dist-cjs/ECRClient.js +0 -16
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -29
- package/dist-cjs/commands/BatchGetImageCommand.js +0 -27
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -25
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +0 -24
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -30
- package/dist-cjs/commands/DescribeRegistryCommand.js +0 -26
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -24
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -31
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +0 -31
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListImagesCommand.js +0 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +0 -24
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +0 -26
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +0 -34
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -26
- package/dist-cjs/commands/StartImageScanCommand.js +0 -27
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +38 -0
- package/dist-cjs/endpoints.js +10 -1
- package/dist-cjs/index.js +5 -45
- package/dist-cjs/models/models_0.js +0 -381
- package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -10
- package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +0 -10
- package/dist-cjs/pagination/ListImagesPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForImageScanComplete.js +0 -9
- package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +0 -9
- package/dist-es/commands/index.js +35 -0
- package/dist-es/endpoints.js +10 -1
- package/dist-es/index.js +5 -45
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +35 -0
- package/dist-types/index.d.ts +5 -45
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/ECR.d.ts +36 -216
- package/dist-types/ts3.4/ECRClient.d.ts +24 -97
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/index.d.ts +35 -0
- package/dist-types/ts3.4/index.d.ts +5 -45
- package/dist-types/ts3.4/models/models_0.d.ts +478 -1712
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +33 -33
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
10
|
-
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
11
|
-
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
12
|
-
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ECRClient, StartImageScanCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
17
|
-
* // const { ECRClient, StartImageScanCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
18
|
-
* const client = new ECRClient(config);
|
|
19
|
-
* const command = new StartImageScanCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link StartImageScanCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link StartImageScanCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class StartImageScanCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
10
|
-
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ECRClient, StartLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
-
* // const { ECRClient, StartLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
-
* const client = new ECRClient(config);
|
|
17
|
-
* const command = new StartLifecyclePolicyPreviewCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class StartLifecyclePolicyPreviewCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
10
|
-
* are not changed if they are not specified in the request parameters.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ECRClient, TagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
-
* // const { ECRClient, TagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
-
* const client = new ECRClient(config);
|
|
17
|
-
* const command = new TagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRClient, UntagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
14
|
-
* // const { ECRClient, UntagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
15
|
-
* const client = new ECRClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
10
|
-
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
11
|
-
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
12
|
-
* is called once per each new image layer part.</p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
15
|
-
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ECRClient, UploadLayerPartCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
21
|
-
* // const { ECRClient, UploadLayerPartCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
22
|
-
* const client = new ECRClient(config);
|
|
23
|
-
* const command = new UploadLayerPartCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link UploadLayerPartCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class UploadLayerPartCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchCheckLayerAvailabilityCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./BatchDeleteImageCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./BatchGetImageCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CompleteLayerUploadCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateRepositoryCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteLifecyclePolicyCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteRegistryPolicyCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteRepositoryCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteRepositoryPolicyCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DescribeImageReplicationStatusCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribeImageScanFindingsCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DescribeImagesCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DescribeRegistryCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DescribeRepositoriesCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetAuthorizationTokenCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetDownloadUrlForLayerCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./GetLifecyclePolicyCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./GetRegistryPolicyCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./GetRepositoryPolicyCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./InitiateLayerUploadCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./ListImagesCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./PutImageCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./PutImageScanningConfigurationCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./PutImageTagMutabilityCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./PutLifecyclePolicyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./PutRegistryPolicyCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./PutReplicationConfigurationCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./SetRepositoryPolicyCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./StartImageScanCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./StartLifecyclePolicyPreviewCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./UploadLayerPartCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -147,6 +147,10 @@ const regionHash = {
|
|
|
147
147
|
hostname: "api.ecr.us-iso-east-1.c2s.ic.gov",
|
|
148
148
|
signingRegion: "us-iso-east-1",
|
|
149
149
|
},
|
|
150
|
+
"us-iso-west-1": {
|
|
151
|
+
hostname: "api.ecr.us-iso-west-1.c2s.ic.gov",
|
|
152
|
+
signingRegion: "us-iso-west-1",
|
|
153
|
+
},
|
|
150
154
|
"us-isob-east-1": {
|
|
151
155
|
hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov",
|
|
152
156
|
signingRegion: "us-isob-east-1",
|
|
@@ -193,18 +197,22 @@ const partitionHash = {
|
|
|
193
197
|
"us-west-1",
|
|
194
198
|
"us-west-2",
|
|
195
199
|
],
|
|
200
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
196
201
|
hostname: "api.ecr.{region}.amazonaws.com",
|
|
197
202
|
},
|
|
198
203
|
"aws-cn": {
|
|
199
204
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
205
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
200
206
|
hostname: "api.ecr.{region}.amazonaws.com.cn",
|
|
201
207
|
},
|
|
202
208
|
"aws-iso": {
|
|
203
|
-
regions: ["us-iso-east-1"],
|
|
209
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
210
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
204
211
|
hostname: "api.ecr.{region}.c2s.ic.gov",
|
|
205
212
|
},
|
|
206
213
|
"aws-iso-b": {
|
|
207
214
|
regions: ["us-isob-east-1"],
|
|
215
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
208
216
|
hostname: "api.ecr.{region}.sc2s.sgov.gov",
|
|
209
217
|
},
|
|
210
218
|
"aws-us-gov": {
|
|
@@ -216,6 +224,7 @@ const partitionHash = {
|
|
|
216
224
|
"us-gov-east-1",
|
|
217
225
|
"us-gov-west-1",
|
|
218
226
|
],
|
|
227
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
219
228
|
hostname: "api.ecr.{region}.amazonaws.com",
|
|
220
229
|
},
|
|
221
230
|
};
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,49 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ECRClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./ECR"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
11
|
-
tslib_1.__exportStar(require("./commands/DeleteLifecyclePolicyCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/DeleteRegistryPolicyCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DeleteRepositoryCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DeleteRepositoryPolicyCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DescribeImageReplicationStatusCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DescribeImagesCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./pagination/DescribeImagesPaginator"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/DescribeImageScanFindingsCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./pagination/DescribeImageScanFindingsPaginator"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./waiters/waitForImageScanComplete"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/DescribeRegistryCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/DescribeRepositoriesCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./pagination/DescribeRepositoriesPaginator"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/GetAuthorizationTokenCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/GetDownloadUrlForLayerCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/GetLifecyclePolicyCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/GetLifecyclePolicyPreviewCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./pagination/GetLifecyclePolicyPreviewPaginator"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./waiters/waitForLifecyclePolicyPreviewComplete"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/GetRegistryPolicyCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/GetRepositoryPolicyCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/InitiateLayerUploadCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/ListImagesCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./pagination/ListImagesPaginator"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/PutImageCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/PutImageScanningConfigurationCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/PutImageTagMutabilityCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/PutLifecyclePolicyCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/PutRegistryPolicyCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/PutReplicationConfigurationCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/SetRepositoryPolicyCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/StartImageScanCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/StartLifecyclePolicyPreviewCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/UploadLayerPartCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ECRClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./waiters"), exports);
|