@aws-sdk/client-ecr 3.41.0 → 3.45.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 (54) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/ECR.js +90 -0
  3. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
  4. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
  5. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
  6. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
  7. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
  8. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +26 -0
  11. package/dist-cjs/models/models_0.js +238 -15
  12. package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
  15. package/dist-es/ECR.js +90 -0
  16. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
  17. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
  18. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
  19. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
  20. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
  21. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/endpoints.js +26 -0
  24. package/dist-es/models/models_0.js +164 -8
  25. package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_1.js +1204 -120
  28. package/dist-types/ECR.d.ts +43 -0
  29. package/dist-types/ECRClient.d.ts +8 -2
  30. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
  31. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
  32. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
  33. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
  34. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
  35. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
  36. package/dist-types/commands/index.d.ts +6 -0
  37. package/dist-types/models/models_0.d.ts +984 -157
  38. package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  41. package/dist-types/ts3.4/ECR.d.ts +30 -0
  42. package/dist-types/ts3.4/ECRClient.d.ts +8 -2
  43. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +488 -24
  51. package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
  54. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-ecr
31
+
32
+
33
+
34
+
35
+
36
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
48
 
8
49
 
package/dist-cjs/ECR.js CHANGED
@@ -4,15 +4,19 @@ exports.ECR = void 0;
4
4
  const BatchCheckLayerAvailabilityCommand_1 = require("./commands/BatchCheckLayerAvailabilityCommand");
5
5
  const BatchDeleteImageCommand_1 = require("./commands/BatchDeleteImageCommand");
6
6
  const BatchGetImageCommand_1 = require("./commands/BatchGetImageCommand");
7
+ const BatchGetRepositoryScanningConfigurationCommand_1 = require("./commands/BatchGetRepositoryScanningConfigurationCommand");
7
8
  const CompleteLayerUploadCommand_1 = require("./commands/CompleteLayerUploadCommand");
9
+ const CreatePullThroughCacheRuleCommand_1 = require("./commands/CreatePullThroughCacheRuleCommand");
8
10
  const CreateRepositoryCommand_1 = require("./commands/CreateRepositoryCommand");
9
11
  const DeleteLifecyclePolicyCommand_1 = require("./commands/DeleteLifecyclePolicyCommand");
12
+ const DeletePullThroughCacheRuleCommand_1 = require("./commands/DeletePullThroughCacheRuleCommand");
10
13
  const DeleteRegistryPolicyCommand_1 = require("./commands/DeleteRegistryPolicyCommand");
11
14
  const DeleteRepositoryCommand_1 = require("./commands/DeleteRepositoryCommand");
12
15
  const DeleteRepositoryPolicyCommand_1 = require("./commands/DeleteRepositoryPolicyCommand");
13
16
  const DescribeImageReplicationStatusCommand_1 = require("./commands/DescribeImageReplicationStatusCommand");
14
17
  const DescribeImageScanFindingsCommand_1 = require("./commands/DescribeImageScanFindingsCommand");
15
18
  const DescribeImagesCommand_1 = require("./commands/DescribeImagesCommand");
19
+ const DescribePullThroughCacheRulesCommand_1 = require("./commands/DescribePullThroughCacheRulesCommand");
16
20
  const DescribeRegistryCommand_1 = require("./commands/DescribeRegistryCommand");
17
21
  const DescribeRepositoriesCommand_1 = require("./commands/DescribeRepositoriesCommand");
18
22
  const GetAuthorizationTokenCommand_1 = require("./commands/GetAuthorizationTokenCommand");
@@ -20,6 +24,7 @@ const GetDownloadUrlForLayerCommand_1 = require("./commands/GetDownloadUrlForLay
20
24
  const GetLifecyclePolicyCommand_1 = require("./commands/GetLifecyclePolicyCommand");
21
25
  const GetLifecyclePolicyPreviewCommand_1 = require("./commands/GetLifecyclePolicyPreviewCommand");
22
26
  const GetRegistryPolicyCommand_1 = require("./commands/GetRegistryPolicyCommand");
27
+ const GetRegistryScanningConfigurationCommand_1 = require("./commands/GetRegistryScanningConfigurationCommand");
23
28
  const GetRepositoryPolicyCommand_1 = require("./commands/GetRepositoryPolicyCommand");
24
29
  const InitiateLayerUploadCommand_1 = require("./commands/InitiateLayerUploadCommand");
25
30
  const ListImagesCommand_1 = require("./commands/ListImagesCommand");
@@ -29,6 +34,7 @@ const PutImageScanningConfigurationCommand_1 = require("./commands/PutImageScann
29
34
  const PutImageTagMutabilityCommand_1 = require("./commands/PutImageTagMutabilityCommand");
30
35
  const PutLifecyclePolicyCommand_1 = require("./commands/PutLifecyclePolicyCommand");
31
36
  const PutRegistryPolicyCommand_1 = require("./commands/PutRegistryPolicyCommand");
37
+ const PutRegistryScanningConfigurationCommand_1 = require("./commands/PutRegistryScanningConfigurationCommand");
32
38
  const PutReplicationConfigurationCommand_1 = require("./commands/PutReplicationConfigurationCommand");
33
39
  const SetRepositoryPolicyCommand_1 = require("./commands/SetRepositoryPolicyCommand");
34
40
  const StartImageScanCommand_1 = require("./commands/StartImageScanCommand");
@@ -80,6 +86,20 @@ class ECR extends ECRClient_1.ECRClient {
80
86
  return this.send(command, optionsOrCb);
81
87
  }
82
88
  }
89
+ batchGetRepositoryScanningConfiguration(args, optionsOrCb, cb) {
90
+ const command = new BatchGetRepositoryScanningConfigurationCommand_1.BatchGetRepositoryScanningConfigurationCommand(args);
91
+ if (typeof optionsOrCb === "function") {
92
+ this.send(command, optionsOrCb);
93
+ }
94
+ else if (typeof cb === "function") {
95
+ if (typeof optionsOrCb !== "object")
96
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
97
+ this.send(command, optionsOrCb || {}, cb);
98
+ }
99
+ else {
100
+ return this.send(command, optionsOrCb);
101
+ }
102
+ }
83
103
  completeLayerUpload(args, optionsOrCb, cb) {
84
104
  const command = new CompleteLayerUploadCommand_1.CompleteLayerUploadCommand(args);
85
105
  if (typeof optionsOrCb === "function") {
@@ -94,6 +114,20 @@ class ECR extends ECRClient_1.ECRClient {
94
114
  return this.send(command, optionsOrCb);
95
115
  }
96
116
  }
117
+ createPullThroughCacheRule(args, optionsOrCb, cb) {
118
+ const command = new CreatePullThroughCacheRuleCommand_1.CreatePullThroughCacheRuleCommand(args);
119
+ if (typeof optionsOrCb === "function") {
120
+ this.send(command, optionsOrCb);
121
+ }
122
+ else if (typeof cb === "function") {
123
+ if (typeof optionsOrCb !== "object")
124
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
125
+ this.send(command, optionsOrCb || {}, cb);
126
+ }
127
+ else {
128
+ return this.send(command, optionsOrCb);
129
+ }
130
+ }
97
131
  createRepository(args, optionsOrCb, cb) {
98
132
  const command = new CreateRepositoryCommand_1.CreateRepositoryCommand(args);
99
133
  if (typeof optionsOrCb === "function") {
@@ -122,6 +156,20 @@ class ECR extends ECRClient_1.ECRClient {
122
156
  return this.send(command, optionsOrCb);
123
157
  }
124
158
  }
159
+ deletePullThroughCacheRule(args, optionsOrCb, cb) {
160
+ const command = new DeletePullThroughCacheRuleCommand_1.DeletePullThroughCacheRuleCommand(args);
161
+ if (typeof optionsOrCb === "function") {
162
+ this.send(command, optionsOrCb);
163
+ }
164
+ else if (typeof cb === "function") {
165
+ if (typeof optionsOrCb !== "object")
166
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
167
+ this.send(command, optionsOrCb || {}, cb);
168
+ }
169
+ else {
170
+ return this.send(command, optionsOrCb);
171
+ }
172
+ }
125
173
  deleteRegistryPolicy(args, optionsOrCb, cb) {
126
174
  const command = new DeleteRegistryPolicyCommand_1.DeleteRegistryPolicyCommand(args);
127
175
  if (typeof optionsOrCb === "function") {
@@ -206,6 +254,20 @@ class ECR extends ECRClient_1.ECRClient {
206
254
  return this.send(command, optionsOrCb);
207
255
  }
208
256
  }
257
+ describePullThroughCacheRules(args, optionsOrCb, cb) {
258
+ const command = new DescribePullThroughCacheRulesCommand_1.DescribePullThroughCacheRulesCommand(args);
259
+ if (typeof optionsOrCb === "function") {
260
+ this.send(command, optionsOrCb);
261
+ }
262
+ else if (typeof cb === "function") {
263
+ if (typeof optionsOrCb !== "object")
264
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
265
+ this.send(command, optionsOrCb || {}, cb);
266
+ }
267
+ else {
268
+ return this.send(command, optionsOrCb);
269
+ }
270
+ }
209
271
  describeRegistry(args, optionsOrCb, cb) {
210
272
  const command = new DescribeRegistryCommand_1.DescribeRegistryCommand(args);
211
273
  if (typeof optionsOrCb === "function") {
@@ -304,6 +366,20 @@ class ECR extends ECRClient_1.ECRClient {
304
366
  return this.send(command, optionsOrCb);
305
367
  }
306
368
  }
369
+ getRegistryScanningConfiguration(args, optionsOrCb, cb) {
370
+ const command = new GetRegistryScanningConfigurationCommand_1.GetRegistryScanningConfigurationCommand(args);
371
+ if (typeof optionsOrCb === "function") {
372
+ this.send(command, optionsOrCb);
373
+ }
374
+ else if (typeof cb === "function") {
375
+ if (typeof optionsOrCb !== "object")
376
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
377
+ this.send(command, optionsOrCb || {}, cb);
378
+ }
379
+ else {
380
+ return this.send(command, optionsOrCb);
381
+ }
382
+ }
307
383
  getRepositoryPolicy(args, optionsOrCb, cb) {
308
384
  const command = new GetRepositoryPolicyCommand_1.GetRepositoryPolicyCommand(args);
309
385
  if (typeof optionsOrCb === "function") {
@@ -430,6 +506,20 @@ class ECR extends ECRClient_1.ECRClient {
430
506
  return this.send(command, optionsOrCb);
431
507
  }
432
508
  }
509
+ putRegistryScanningConfiguration(args, optionsOrCb, cb) {
510
+ const command = new PutRegistryScanningConfigurationCommand_1.PutRegistryScanningConfigurationCommand(args);
511
+ if (typeof optionsOrCb === "function") {
512
+ this.send(command, optionsOrCb);
513
+ }
514
+ else if (typeof cb === "function") {
515
+ if (typeof optionsOrCb !== "object")
516
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
517
+ this.send(command, optionsOrCb || {}, cb);
518
+ }
519
+ else {
520
+ return this.send(command, optionsOrCb);
521
+ }
522
+ }
433
523
  putReplicationConfiguration(args, optionsOrCb, cb) {
434
524
  const command = new PutReplicationConfigurationCommand_1.PutReplicationConfigurationCommand(args);
435
525
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetRepositoryScanningConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class BatchGetRepositoryScanningConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "BatchGetRepositoryScanningConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.BatchGetRepositoryScanningConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.BatchGetRepositoryScanningConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand(output, context);
34
+ }
35
+ }
36
+ exports.BatchGetRepositoryScanningConfigurationCommand = BatchGetRepositoryScanningConfigurationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreatePullThroughCacheRuleCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreatePullThroughCacheRuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "CreatePullThroughCacheRuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreatePullThroughCacheRuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreatePullThroughCacheRuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1CreatePullThroughCacheRuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1CreatePullThroughCacheRuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreatePullThroughCacheRuleCommand = CreatePullThroughCacheRuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeletePullThroughCacheRuleCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeletePullThroughCacheRuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "DeletePullThroughCacheRuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeletePullThroughCacheRuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeletePullThroughCacheRuleResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DeletePullThroughCacheRuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DeletePullThroughCacheRuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeletePullThroughCacheRuleCommand = DeletePullThroughCacheRuleCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribePullThroughCacheRulesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribePullThroughCacheRulesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "DescribePullThroughCacheRulesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribePullThroughCacheRulesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribePullThroughCacheRulesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribePullThroughCacheRulesCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribePullThroughCacheRulesCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribePullThroughCacheRulesCommand = DescribePullThroughCacheRulesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetRegistryScanningConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetRegistryScanningConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "GetRegistryScanningConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetRegistryScanningConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetRegistryScanningConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1GetRegistryScanningConfigurationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1GetRegistryScanningConfigurationCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetRegistryScanningConfigurationCommand = GetRegistryScanningConfigurationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutRegistryScanningConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class PutRegistryScanningConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ECRClient";
18
+ const commandName = "PutRegistryScanningConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.PutRegistryScanningConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.PutRegistryScanningConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1PutRegistryScanningConfigurationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1PutRegistryScanningConfigurationCommand(output, context);
34
+ }
35
+ }
36
+ exports.PutRegistryScanningConfigurationCommand = PutRegistryScanningConfigurationCommand;
@@ -4,15 +4,19 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchCheckLayerAvailabilityCommand"), exports);
5
5
  tslib_1.__exportStar(require("./BatchDeleteImageCommand"), exports);
6
6
  tslib_1.__exportStar(require("./BatchGetImageCommand"), exports);
7
+ tslib_1.__exportStar(require("./BatchGetRepositoryScanningConfigurationCommand"), exports);
7
8
  tslib_1.__exportStar(require("./CompleteLayerUploadCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreatePullThroughCacheRuleCommand"), exports);
8
10
  tslib_1.__exportStar(require("./CreateRepositoryCommand"), exports);
9
11
  tslib_1.__exportStar(require("./DeleteLifecyclePolicyCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeletePullThroughCacheRuleCommand"), exports);
10
13
  tslib_1.__exportStar(require("./DeleteRegistryPolicyCommand"), exports);
11
14
  tslib_1.__exportStar(require("./DeleteRepositoryCommand"), exports);
12
15
  tslib_1.__exportStar(require("./DeleteRepositoryPolicyCommand"), exports);
13
16
  tslib_1.__exportStar(require("./DescribeImageReplicationStatusCommand"), exports);
14
17
  tslib_1.__exportStar(require("./DescribeImageScanFindingsCommand"), exports);
15
18
  tslib_1.__exportStar(require("./DescribeImagesCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribePullThroughCacheRulesCommand"), exports);
16
20
  tslib_1.__exportStar(require("./DescribeRegistryCommand"), exports);
17
21
  tslib_1.__exportStar(require("./DescribeRepositoriesCommand"), exports);
18
22
  tslib_1.__exportStar(require("./GetAuthorizationTokenCommand"), exports);
@@ -20,6 +24,7 @@ tslib_1.__exportStar(require("./GetDownloadUrlForLayerCommand"), exports);
20
24
  tslib_1.__exportStar(require("./GetLifecyclePolicyCommand"), exports);
21
25
  tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewCommand"), exports);
22
26
  tslib_1.__exportStar(require("./GetRegistryPolicyCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetRegistryScanningConfigurationCommand"), exports);
23
28
  tslib_1.__exportStar(require("./GetRepositoryPolicyCommand"), exports);
24
29
  tslib_1.__exportStar(require("./InitiateLayerUploadCommand"), exports);
25
30
  tslib_1.__exportStar(require("./ListImagesCommand"), exports);
@@ -29,6 +34,7 @@ tslib_1.__exportStar(require("./PutImageScanningConfigurationCommand"), exports)
29
34
  tslib_1.__exportStar(require("./PutImageTagMutabilityCommand"), exports);
30
35
  tslib_1.__exportStar(require("./PutLifecyclePolicyCommand"), exports);
31
36
  tslib_1.__exportStar(require("./PutRegistryPolicyCommand"), exports);
37
+ tslib_1.__exportStar(require("./PutRegistryScanningConfigurationCommand"), exports);
32
38
  tslib_1.__exportStar(require("./PutReplicationConfigurationCommand"), exports);
33
39
  tslib_1.__exportStar(require("./SetRepositoryPolicyCommand"), exports);
34
40
  tslib_1.__exportStar(require("./StartImageScanCommand"), exports);
@@ -75,6 +75,15 @@ const regionHash = {
75
75
  ],
76
76
  signingRegion: "ap-southeast-2",
77
77
  },
78
+ "ap-southeast-3": {
79
+ variants: [
80
+ {
81
+ hostname: "api.ecr.ap-southeast-3.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ ],
85
+ signingRegion: "ap-southeast-3",
86
+ },
78
87
  "ca-central-1": {
79
88
  variants: [
80
89
  {
@@ -291,6 +300,7 @@ const partitionHash = {
291
300
  "ap-south-1",
292
301
  "ap-southeast-1",
293
302
  "ap-southeast-2",
303
+ "ap-southeast-3",
294
304
  "ca-central-1",
295
305
  "dkr-us-east-1",
296
306
  "dkr-us-east-2",
@@ -327,6 +337,14 @@ const partitionHash = {
327
337
  hostname: "ecr-fips.{region}.amazonaws.com",
328
338
  tags: ["fips"],
329
339
  },
340
+ {
341
+ hostname: "api.ecr-fips.{region}.api.aws",
342
+ tags: ["dualstack", "fips"],
343
+ },
344
+ {
345
+ hostname: "api.ecr.{region}.api.aws",
346
+ tags: ["dualstack"],
347
+ },
330
348
  ],
331
349
  },
332
350
  "aws-cn": {
@@ -400,6 +418,14 @@ const partitionHash = {
400
418
  hostname: "ecr-fips.{region}.amazonaws.com",
401
419
  tags: ["fips"],
402
420
  },
421
+ {
422
+ hostname: "api.ecr-fips.{region}.api.aws",
423
+ tags: ["dualstack", "fips"],
424
+ },
425
+ {
426
+ hostname: "api.ecr.{region}.api.aws",
427
+ tags: ["dualstack"],
428
+ },
403
429
  ],
404
430
  },
405
431
  };