@aws-sdk/client-ecr 3.490.0 → 3.496.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.
Files changed (66) hide show
  1. package/dist-cjs/ECR.js +1 -97
  2. package/dist-cjs/ECRClient.js +1 -43
  3. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +1 -28
  4. package/dist-cjs/commands/BatchDeleteImageCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetImageCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +1 -28
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +1 -28
  8. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +1 -28
  9. package/dist-cjs/commands/CreateRepositoryCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
  11. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteRepositoryCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeImagesCommand.js +1 -28
  18. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeRegistryCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeRepositoriesCommand.js +1 -28
  21. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +1 -28
  22. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +1 -28
  23. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +1 -28
  24. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +1 -28
  25. package/dist-cjs/commands/GetRegistryPolicyCommand.js +1 -28
  26. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +1 -28
  27. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +1 -28
  28. package/dist-cjs/commands/InitiateLayerUploadCommand.js +1 -28
  29. package/dist-cjs/commands/ListImagesCommand.js +1 -28
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  31. package/dist-cjs/commands/PutImageCommand.js +1 -28
  32. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +1 -28
  33. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +1 -28
  34. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +1 -28
  35. package/dist-cjs/commands/PutRegistryPolicyCommand.js +1 -28
  36. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +1 -28
  37. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +1 -28
  38. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +1 -28
  39. package/dist-cjs/commands/StartImageScanCommand.js +1 -28
  40. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +1 -28
  41. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  43. package/dist-cjs/commands/UpdatePullThroughCacheRuleCommand.js +1 -28
  44. package/dist-cjs/commands/UploadLayerPartCommand.js +1 -28
  45. package/dist-cjs/commands/ValidatePullThroughCacheRuleCommand.js +1 -28
  46. package/dist-cjs/commands/index.js +1 -46
  47. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  48. package/dist-cjs/extensionConfiguration.js +1 -2
  49. package/dist-cjs/index.js +4822 -12
  50. package/dist-cjs/models/ECRServiceException.js +1 -12
  51. package/dist-cjs/models/index.js +1 -4
  52. package/dist-cjs/models/models_0.js +1 -595
  53. package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +1 -7
  54. package/dist-cjs/pagination/DescribeImagesPaginator.js +1 -7
  55. package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +1 -7
  56. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +1 -7
  57. package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -7
  58. package/dist-cjs/pagination/Interfaces.js +1 -2
  59. package/dist-cjs/pagination/ListImagesPaginator.js +1 -7
  60. package/dist-cjs/pagination/index.js +1 -10
  61. package/dist-cjs/protocols/Aws_json1_1.js +1 -2934
  62. package/dist-cjs/runtimeExtensions.js +1 -22
  63. package/dist-cjs/waiters/index.js +1 -5
  64. package/dist-cjs/waiters/waitForImageScanComplete.js +1 -45
  65. package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +1 -45
  66. package/package.json +41 -41
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartLifecyclePolicyPreviewCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartLifecyclePolicyPreviewCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "StartLifecyclePolicyPreview", {})
22
- .n("ECRClient", "StartLifecyclePolicyPreviewCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StartLifecyclePolicyPreviewCommand)
25
- .de(Aws_json1_1_1.de_StartLifecyclePolicyPreviewCommand)
26
- .build() {
27
- }
28
- exports.StartLifecyclePolicyPreviewCommand = StartLifecyclePolicyPreviewCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class TagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "TagResource", {})
22
- .n("ECRClient", "TagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_TagResourceCommand)
25
- .de(Aws_json1_1_1.de_TagResourceCommand)
26
- .build() {
27
- }
28
- exports.TagResourceCommand = TagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UntagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "UntagResource", {})
22
- .n("ECRClient", "UntagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UntagResourceCommand)
25
- .de(Aws_json1_1_1.de_UntagResourceCommand)
26
- .build() {
27
- }
28
- exports.UntagResourceCommand = UntagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePullThroughCacheRuleCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdatePullThroughCacheRuleCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "UpdatePullThroughCacheRule", {})
22
- .n("ECRClient", "UpdatePullThroughCacheRuleCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UpdatePullThroughCacheRuleCommand)
25
- .de(Aws_json1_1_1.de_UpdatePullThroughCacheRuleCommand)
26
- .build() {
27
- }
28
- exports.UpdatePullThroughCacheRuleCommand = UpdatePullThroughCacheRuleCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploadLayerPartCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UploadLayerPartCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "UploadLayerPart", {})
22
- .n("ECRClient", "UploadLayerPartCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UploadLayerPartCommand)
25
- .de(Aws_json1_1_1.de_UploadLayerPartCommand)
26
- .build() {
27
- }
28
- exports.UploadLayerPartCommand = UploadLayerPartCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatePullThroughCacheRuleCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ValidatePullThroughCacheRuleCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonEC2ContainerRegistry_V20150921", "ValidatePullThroughCacheRule", {})
22
- .n("ECRClient", "ValidatePullThroughCacheRuleCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_ValidatePullThroughCacheRuleCommand)
25
- .de(Aws_json1_1_1.de_ValidatePullThroughCacheRuleCommand)
26
- .build() {
27
- }
28
- exports.ValidatePullThroughCacheRuleCommand = ValidatePullThroughCacheRuleCommand;
1
+ module.exports = require("../index.js");
@@ -1,46 +1 @@
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("./BatchGetRepositoryScanningConfigurationCommand"), exports);
8
- tslib_1.__exportStar(require("./CompleteLayerUploadCommand"), exports);
9
- tslib_1.__exportStar(require("./CreatePullThroughCacheRuleCommand"), exports);
10
- tslib_1.__exportStar(require("./CreateRepositoryCommand"), exports);
11
- tslib_1.__exportStar(require("./DeleteLifecyclePolicyCommand"), exports);
12
- tslib_1.__exportStar(require("./DeletePullThroughCacheRuleCommand"), exports);
13
- tslib_1.__exportStar(require("./DeleteRegistryPolicyCommand"), exports);
14
- tslib_1.__exportStar(require("./DeleteRepositoryCommand"), exports);
15
- tslib_1.__exportStar(require("./DeleteRepositoryPolicyCommand"), exports);
16
- tslib_1.__exportStar(require("./DescribeImageReplicationStatusCommand"), exports);
17
- tslib_1.__exportStar(require("./DescribeImageScanFindingsCommand"), exports);
18
- tslib_1.__exportStar(require("./DescribeImagesCommand"), exports);
19
- tslib_1.__exportStar(require("./DescribePullThroughCacheRulesCommand"), exports);
20
- tslib_1.__exportStar(require("./DescribeRegistryCommand"), exports);
21
- tslib_1.__exportStar(require("./DescribeRepositoriesCommand"), exports);
22
- tslib_1.__exportStar(require("./GetAuthorizationTokenCommand"), exports);
23
- tslib_1.__exportStar(require("./GetDownloadUrlForLayerCommand"), exports);
24
- tslib_1.__exportStar(require("./GetLifecyclePolicyCommand"), exports);
25
- tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewCommand"), exports);
26
- tslib_1.__exportStar(require("./GetRegistryPolicyCommand"), exports);
27
- tslib_1.__exportStar(require("./GetRegistryScanningConfigurationCommand"), exports);
28
- tslib_1.__exportStar(require("./GetRepositoryPolicyCommand"), exports);
29
- tslib_1.__exportStar(require("./InitiateLayerUploadCommand"), exports);
30
- tslib_1.__exportStar(require("./ListImagesCommand"), exports);
31
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
32
- tslib_1.__exportStar(require("./PutImageCommand"), exports);
33
- tslib_1.__exportStar(require("./PutImageScanningConfigurationCommand"), exports);
34
- tslib_1.__exportStar(require("./PutImageTagMutabilityCommand"), exports);
35
- tslib_1.__exportStar(require("./PutLifecyclePolicyCommand"), exports);
36
- tslib_1.__exportStar(require("./PutRegistryPolicyCommand"), exports);
37
- tslib_1.__exportStar(require("./PutRegistryScanningConfigurationCommand"), exports);
38
- tslib_1.__exportStar(require("./PutReplicationConfigurationCommand"), exports);
39
- tslib_1.__exportStar(require("./SetRepositoryPolicyCommand"), exports);
40
- tslib_1.__exportStar(require("./StartImageScanCommand"), exports);
41
- tslib_1.__exportStar(require("./StartLifecyclePolicyPreviewCommand"), exports);
42
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
43
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
44
- tslib_1.__exportStar(require("./UpdatePullThroughCacheRuleCommand"), exports);
45
- tslib_1.__exportStar(require("./UploadLayerPartCommand"), exports);
46
- tslib_1.__exportStar(require("./ValidatePullThroughCacheRuleCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "ecr",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");