@aws-sdk/client-proton 3.99.0 → 3.105.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 (96) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/Proton.js +120 -0
  3. package/dist-cjs/ProtonClient.js +2 -0
  4. package/dist-cjs/commands/CancelComponentDeploymentCommand.js +36 -0
  5. package/dist-cjs/commands/CreateComponentCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
  7. package/dist-cjs/commands/GetComponentCommand.js +36 -0
  8. package/dist-cjs/commands/ListComponentOutputsCommand.js +36 -0
  9. package/dist-cjs/commands/ListComponentProvisionedResourcesCommand.js +36 -0
  10. package/dist-cjs/commands/ListComponentsCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/models/models_0.js +169 -33
  14. package/dist-cjs/pagination/ListComponentOutputsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListComponentProvisionedResourcesPaginator.js +35 -0
  16. package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_json1_0.js +741 -34
  19. package/dist-cjs/waiters/index.js +2 -0
  20. package/dist-cjs/waiters/waitForComponentDeleted.js +39 -0
  21. package/dist-cjs/waiters/waitForComponentDeployed.js +45 -0
  22. package/dist-es/Proton.js +120 -0
  23. package/dist-es/ProtonClient.js +2 -0
  24. package/dist-es/commands/CancelComponentDeploymentCommand.js +39 -0
  25. package/dist-es/commands/CreateComponentCommand.js +39 -0
  26. package/dist-es/commands/DeleteComponentCommand.js +39 -0
  27. package/dist-es/commands/GetComponentCommand.js +39 -0
  28. package/dist-es/commands/ListComponentOutputsCommand.js +39 -0
  29. package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +39 -0
  30. package/dist-es/commands/ListComponentsCommand.js +39 -0
  31. package/dist-es/commands/UpdateComponentCommand.js +39 -0
  32. package/dist-es/commands/index.js +8 -0
  33. package/dist-es/models/models_0.js +106 -25
  34. package/dist-es/pagination/ListComponentOutputsPaginator.js +74 -0
  35. package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +74 -0
  36. package/dist-es/pagination/ListComponentsPaginator.js +75 -0
  37. package/dist-es/pagination/index.js +3 -0
  38. package/dist-es/protocols/Aws_json1_0.js +899 -77
  39. package/dist-es/waiters/index.js +2 -0
  40. package/dist-es/waiters/waitForComponentDeleted.js +54 -0
  41. package/dist-es/waiters/waitForComponentDeployed.js +60 -0
  42. package/dist-types/Proton.d.ts +117 -46
  43. package/dist-types/ProtonClient.d.ts +10 -2
  44. package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +38 -0
  45. package/dist-types/commands/CreateComponentCommand.d.ts +38 -0
  46. package/dist-types/commands/DeleteComponentCommand.d.ts +38 -0
  47. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -1
  48. package/dist-types/commands/GetComponentCommand.d.ts +38 -0
  49. package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnvironmentTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/GetEnvironmentTemplateVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/GetServiceCommand.d.ts +1 -1
  54. package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
  55. package/dist-types/commands/GetServiceTemplateCommand.d.ts +1 -1
  56. package/dist-types/commands/GetServiceTemplateVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/ListComponentOutputsCommand.d.ts +38 -0
  58. package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +38 -0
  59. package/dist-types/commands/ListComponentsCommand.d.ts +38 -0
  60. package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListServiceInstancesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateComponentCommand.d.ts +43 -0
  64. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -0
  65. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +8 -34
  66. package/dist-types/commands/index.d.ts +8 -0
  67. package/dist-types/models/models_0.d.ts +683 -124
  68. package/dist-types/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  69. package/dist-types/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  70. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
  73. package/dist-types/ts3.4/Proton.d.ts +40 -0
  74. package/dist-types/ts3.4/ProtonClient.d.ts +10 -2
  75. package/dist-types/ts3.4/commands/CancelComponentDeploymentCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListComponentOutputsCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListComponentProvisionedResourcesCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +305 -40
  85. package/dist-types/ts3.4/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  90. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  91. package/dist-types/ts3.4/waiters/waitForComponentDeleted.d.ts +7 -0
  92. package/dist-types/ts3.4/waiters/waitForComponentDeployed.d.ts +7 -0
  93. package/dist-types/waiters/index.d.ts +2 -0
  94. package/dist-types/waiters/waitForComponentDeleted.d.ts +14 -0
  95. package/dist-types/waiters/waitForComponentDeployed.d.ts +14 -0
  96. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * **client-proton:** Add new "Components" API to enable users to Create, Delete and Update AWS Proton components. ([fd798b0](https://github.com/aws/aws-sdk-js-v3/commit/fd798b01265985c19da3e985703df5d1edc83320))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-proton
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-proton
@@ -2,9 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Proton = void 0;
4
4
  const AcceptEnvironmentAccountConnectionCommand_1 = require("./commands/AcceptEnvironmentAccountConnectionCommand");
5
+ const CancelComponentDeploymentCommand_1 = require("./commands/CancelComponentDeploymentCommand");
5
6
  const CancelEnvironmentDeploymentCommand_1 = require("./commands/CancelEnvironmentDeploymentCommand");
6
7
  const CancelServiceInstanceDeploymentCommand_1 = require("./commands/CancelServiceInstanceDeploymentCommand");
7
8
  const CancelServicePipelineDeploymentCommand_1 = require("./commands/CancelServicePipelineDeploymentCommand");
9
+ const CreateComponentCommand_1 = require("./commands/CreateComponentCommand");
8
10
  const CreateEnvironmentAccountConnectionCommand_1 = require("./commands/CreateEnvironmentAccountConnectionCommand");
9
11
  const CreateEnvironmentCommand_1 = require("./commands/CreateEnvironmentCommand");
10
12
  const CreateEnvironmentTemplateCommand_1 = require("./commands/CreateEnvironmentTemplateCommand");
@@ -14,6 +16,7 @@ const CreateServiceCommand_1 = require("./commands/CreateServiceCommand");
14
16
  const CreateServiceTemplateCommand_1 = require("./commands/CreateServiceTemplateCommand");
15
17
  const CreateServiceTemplateVersionCommand_1 = require("./commands/CreateServiceTemplateVersionCommand");
16
18
  const CreateTemplateSyncConfigCommand_1 = require("./commands/CreateTemplateSyncConfigCommand");
19
+ const DeleteComponentCommand_1 = require("./commands/DeleteComponentCommand");
17
20
  const DeleteEnvironmentAccountConnectionCommand_1 = require("./commands/DeleteEnvironmentAccountConnectionCommand");
18
21
  const DeleteEnvironmentCommand_1 = require("./commands/DeleteEnvironmentCommand");
19
22
  const DeleteEnvironmentTemplateCommand_1 = require("./commands/DeleteEnvironmentTemplateCommand");
@@ -24,6 +27,7 @@ const DeleteServiceTemplateCommand_1 = require("./commands/DeleteServiceTemplate
24
27
  const DeleteServiceTemplateVersionCommand_1 = require("./commands/DeleteServiceTemplateVersionCommand");
25
28
  const DeleteTemplateSyncConfigCommand_1 = require("./commands/DeleteTemplateSyncConfigCommand");
26
29
  const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
30
+ const GetComponentCommand_1 = require("./commands/GetComponentCommand");
27
31
  const GetEnvironmentAccountConnectionCommand_1 = require("./commands/GetEnvironmentAccountConnectionCommand");
28
32
  const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
29
33
  const GetEnvironmentTemplateCommand_1 = require("./commands/GetEnvironmentTemplateCommand");
@@ -36,6 +40,9 @@ const GetServiceTemplateCommand_1 = require("./commands/GetServiceTemplateComman
36
40
  const GetServiceTemplateVersionCommand_1 = require("./commands/GetServiceTemplateVersionCommand");
37
41
  const GetTemplateSyncConfigCommand_1 = require("./commands/GetTemplateSyncConfigCommand");
38
42
  const GetTemplateSyncStatusCommand_1 = require("./commands/GetTemplateSyncStatusCommand");
43
+ const ListComponentOutputsCommand_1 = require("./commands/ListComponentOutputsCommand");
44
+ const ListComponentProvisionedResourcesCommand_1 = require("./commands/ListComponentProvisionedResourcesCommand");
45
+ const ListComponentsCommand_1 = require("./commands/ListComponentsCommand");
39
46
  const ListEnvironmentAccountConnectionsCommand_1 = require("./commands/ListEnvironmentAccountConnectionsCommand");
40
47
  const ListEnvironmentOutputsCommand_1 = require("./commands/ListEnvironmentOutputsCommand");
41
48
  const ListEnvironmentProvisionedResourcesCommand_1 = require("./commands/ListEnvironmentProvisionedResourcesCommand");
@@ -58,6 +65,7 @@ const RejectEnvironmentAccountConnectionCommand_1 = require("./commands/RejectEn
58
65
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
59
66
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
60
67
  const UpdateAccountSettingsCommand_1 = require("./commands/UpdateAccountSettingsCommand");
68
+ const UpdateComponentCommand_1 = require("./commands/UpdateComponentCommand");
61
69
  const UpdateEnvironmentAccountConnectionCommand_1 = require("./commands/UpdateEnvironmentAccountConnectionCommand");
62
70
  const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand");
63
71
  const UpdateEnvironmentTemplateCommand_1 = require("./commands/UpdateEnvironmentTemplateCommand");
@@ -84,6 +92,20 @@ class Proton extends ProtonClient_1.ProtonClient {
84
92
  return this.send(command, optionsOrCb);
85
93
  }
86
94
  }
95
+ cancelComponentDeployment(args, optionsOrCb, cb) {
96
+ const command = new CancelComponentDeploymentCommand_1.CancelComponentDeploymentCommand(args);
97
+ if (typeof optionsOrCb === "function") {
98
+ this.send(command, optionsOrCb);
99
+ }
100
+ else if (typeof cb === "function") {
101
+ if (typeof optionsOrCb !== "object")
102
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
103
+ this.send(command, optionsOrCb || {}, cb);
104
+ }
105
+ else {
106
+ return this.send(command, optionsOrCb);
107
+ }
108
+ }
87
109
  cancelEnvironmentDeployment(args, optionsOrCb, cb) {
88
110
  const command = new CancelEnvironmentDeploymentCommand_1.CancelEnvironmentDeploymentCommand(args);
89
111
  if (typeof optionsOrCb === "function") {
@@ -126,6 +148,20 @@ class Proton extends ProtonClient_1.ProtonClient {
126
148
  return this.send(command, optionsOrCb);
127
149
  }
128
150
  }
151
+ createComponent(args, optionsOrCb, cb) {
152
+ const command = new CreateComponentCommand_1.CreateComponentCommand(args);
153
+ if (typeof optionsOrCb === "function") {
154
+ this.send(command, optionsOrCb);
155
+ }
156
+ else if (typeof cb === "function") {
157
+ if (typeof optionsOrCb !== "object")
158
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
159
+ this.send(command, optionsOrCb || {}, cb);
160
+ }
161
+ else {
162
+ return this.send(command, optionsOrCb);
163
+ }
164
+ }
129
165
  createEnvironment(args, optionsOrCb, cb) {
130
166
  const command = new CreateEnvironmentCommand_1.CreateEnvironmentCommand(args);
131
167
  if (typeof optionsOrCb === "function") {
@@ -252,6 +288,20 @@ class Proton extends ProtonClient_1.ProtonClient {
252
288
  return this.send(command, optionsOrCb);
253
289
  }
254
290
  }
291
+ deleteComponent(args, optionsOrCb, cb) {
292
+ const command = new DeleteComponentCommand_1.DeleteComponentCommand(args);
293
+ if (typeof optionsOrCb === "function") {
294
+ this.send(command, optionsOrCb);
295
+ }
296
+ else if (typeof cb === "function") {
297
+ if (typeof optionsOrCb !== "object")
298
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
+ this.send(command, optionsOrCb || {}, cb);
300
+ }
301
+ else {
302
+ return this.send(command, optionsOrCb);
303
+ }
304
+ }
255
305
  deleteEnvironment(args, optionsOrCb, cb) {
256
306
  const command = new DeleteEnvironmentCommand_1.DeleteEnvironmentCommand(args);
257
307
  if (typeof optionsOrCb === "function") {
@@ -392,6 +442,20 @@ class Proton extends ProtonClient_1.ProtonClient {
392
442
  return this.send(command, optionsOrCb);
393
443
  }
394
444
  }
445
+ getComponent(args, optionsOrCb, cb) {
446
+ const command = new GetComponentCommand_1.GetComponentCommand(args);
447
+ if (typeof optionsOrCb === "function") {
448
+ this.send(command, optionsOrCb);
449
+ }
450
+ else if (typeof cb === "function") {
451
+ if (typeof optionsOrCb !== "object")
452
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
453
+ this.send(command, optionsOrCb || {}, cb);
454
+ }
455
+ else {
456
+ return this.send(command, optionsOrCb);
457
+ }
458
+ }
395
459
  getEnvironment(args, optionsOrCb, cb) {
396
460
  const command = new GetEnvironmentCommand_1.GetEnvironmentCommand(args);
397
461
  if (typeof optionsOrCb === "function") {
@@ -560,6 +624,48 @@ class Proton extends ProtonClient_1.ProtonClient {
560
624
  return this.send(command, optionsOrCb);
561
625
  }
562
626
  }
627
+ listComponentOutputs(args, optionsOrCb, cb) {
628
+ const command = new ListComponentOutputsCommand_1.ListComponentOutputsCommand(args);
629
+ if (typeof optionsOrCb === "function") {
630
+ this.send(command, optionsOrCb);
631
+ }
632
+ else if (typeof cb === "function") {
633
+ if (typeof optionsOrCb !== "object")
634
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
635
+ this.send(command, optionsOrCb || {}, cb);
636
+ }
637
+ else {
638
+ return this.send(command, optionsOrCb);
639
+ }
640
+ }
641
+ listComponentProvisionedResources(args, optionsOrCb, cb) {
642
+ const command = new ListComponentProvisionedResourcesCommand_1.ListComponentProvisionedResourcesCommand(args);
643
+ if (typeof optionsOrCb === "function") {
644
+ this.send(command, optionsOrCb);
645
+ }
646
+ else if (typeof cb === "function") {
647
+ if (typeof optionsOrCb !== "object")
648
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
649
+ this.send(command, optionsOrCb || {}, cb);
650
+ }
651
+ else {
652
+ return this.send(command, optionsOrCb);
653
+ }
654
+ }
655
+ listComponents(args, optionsOrCb, cb) {
656
+ const command = new ListComponentsCommand_1.ListComponentsCommand(args);
657
+ if (typeof optionsOrCb === "function") {
658
+ this.send(command, optionsOrCb);
659
+ }
660
+ else if (typeof cb === "function") {
661
+ if (typeof optionsOrCb !== "object")
662
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
+ this.send(command, optionsOrCb || {}, cb);
664
+ }
665
+ else {
666
+ return this.send(command, optionsOrCb);
667
+ }
668
+ }
563
669
  listEnvironmentAccountConnections(args, optionsOrCb, cb) {
564
670
  const command = new ListEnvironmentAccountConnectionsCommand_1.ListEnvironmentAccountConnectionsCommand(args);
565
671
  if (typeof optionsOrCb === "function") {
@@ -868,6 +974,20 @@ class Proton extends ProtonClient_1.ProtonClient {
868
974
  return this.send(command, optionsOrCb);
869
975
  }
870
976
  }
977
+ updateComponent(args, optionsOrCb, cb) {
978
+ const command = new UpdateComponentCommand_1.UpdateComponentCommand(args);
979
+ if (typeof optionsOrCb === "function") {
980
+ this.send(command, optionsOrCb);
981
+ }
982
+ else if (typeof cb === "function") {
983
+ if (typeof optionsOrCb !== "object")
984
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
985
+ this.send(command, optionsOrCb || {}, cb);
986
+ }
987
+ else {
988
+ return this.send(command, optionsOrCb);
989
+ }
990
+ }
871
991
  updateEnvironment(args, optionsOrCb, cb) {
872
992
  const command = new UpdateEnvironmentCommand_1.UpdateEnvironmentCommand(args);
873
993
  if (typeof optionsOrCb === "function") {
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class ProtonClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CancelComponentDeploymentCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class CancelComponentDeploymentCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "CancelComponentDeploymentCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CancelComponentDeploymentInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CancelComponentDeploymentOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CancelComponentDeploymentCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CancelComponentDeploymentCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CancelComponentDeploymentCommand = CancelComponentDeploymentCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateComponentCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateComponentCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "CreateComponentCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateComponentInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateComponentOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateComponentCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateComponentCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateComponentCommand = CreateComponentCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteComponentCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class DeleteComponentCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "DeleteComponentCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteComponentInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteComponentOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteComponentCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteComponentCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteComponentCommand = DeleteComponentCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetComponentCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class GetComponentCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "GetComponentCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetComponentInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetComponentOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetComponentCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetComponentCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetComponentCommand = GetComponentCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListComponentOutputsCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListComponentOutputsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "ListComponentOutputsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListComponentOutputsInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListComponentOutputsOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListComponentOutputsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListComponentOutputsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListComponentOutputsCommand = ListComponentOutputsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListComponentProvisionedResourcesCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListComponentProvisionedResourcesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "ListComponentProvisionedResourcesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListComponentProvisionedResourcesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListComponentProvisionedResourcesOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListComponentProvisionedResourcesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListComponentProvisionedResourcesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListComponentProvisionedResourcesCommand = ListComponentProvisionedResourcesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListComponentsCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListComponentsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "ListComponentsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListComponentsInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListComponentsOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListComponentsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListComponentsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListComponentsCommand = ListComponentsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateComponentCommand = 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_0_1 = require("../protocols/Aws_json1_0");
8
+ class UpdateComponentCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "UpdateComponentCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateComponentInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateComponentOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0UpdateComponentCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateComponentCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateComponentCommand = UpdateComponentCommand;
@@ -2,9 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AcceptEnvironmentAccountConnectionCommand"), exports);
5
+ tslib_1.__exportStar(require("./CancelComponentDeploymentCommand"), exports);
5
6
  tslib_1.__exportStar(require("./CancelEnvironmentDeploymentCommand"), exports);
6
7
  tslib_1.__exportStar(require("./CancelServiceInstanceDeploymentCommand"), exports);
7
8
  tslib_1.__exportStar(require("./CancelServicePipelineDeploymentCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateComponentCommand"), exports);
8
10
  tslib_1.__exportStar(require("./CreateEnvironmentAccountConnectionCommand"), exports);
9
11
  tslib_1.__exportStar(require("./CreateEnvironmentCommand"), exports);
10
12
  tslib_1.__exportStar(require("./CreateEnvironmentTemplateCommand"), exports);
@@ -14,6 +16,7 @@ tslib_1.__exportStar(require("./CreateServiceCommand"), exports);
14
16
  tslib_1.__exportStar(require("./CreateServiceTemplateCommand"), exports);
15
17
  tslib_1.__exportStar(require("./CreateServiceTemplateVersionCommand"), exports);
16
18
  tslib_1.__exportStar(require("./CreateTemplateSyncConfigCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteComponentCommand"), exports);
17
20
  tslib_1.__exportStar(require("./DeleteEnvironmentAccountConnectionCommand"), exports);
18
21
  tslib_1.__exportStar(require("./DeleteEnvironmentCommand"), exports);
19
22
  tslib_1.__exportStar(require("./DeleteEnvironmentTemplateCommand"), exports);
@@ -24,6 +27,7 @@ tslib_1.__exportStar(require("./DeleteServiceTemplateCommand"), exports);
24
27
  tslib_1.__exportStar(require("./DeleteServiceTemplateVersionCommand"), exports);
25
28
  tslib_1.__exportStar(require("./DeleteTemplateSyncConfigCommand"), exports);
26
29
  tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetComponentCommand"), exports);
27
31
  tslib_1.__exportStar(require("./GetEnvironmentAccountConnectionCommand"), exports);
28
32
  tslib_1.__exportStar(require("./GetEnvironmentCommand"), exports);
29
33
  tslib_1.__exportStar(require("./GetEnvironmentTemplateCommand"), exports);
@@ -36,6 +40,9 @@ tslib_1.__exportStar(require("./GetServiceTemplateCommand"), exports);
36
40
  tslib_1.__exportStar(require("./GetServiceTemplateVersionCommand"), exports);
37
41
  tslib_1.__exportStar(require("./GetTemplateSyncConfigCommand"), exports);
38
42
  tslib_1.__exportStar(require("./GetTemplateSyncStatusCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListComponentOutputsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListComponentProvisionedResourcesCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListComponentsCommand"), exports);
39
46
  tslib_1.__exportStar(require("./ListEnvironmentAccountConnectionsCommand"), exports);
40
47
  tslib_1.__exportStar(require("./ListEnvironmentOutputsCommand"), exports);
41
48
  tslib_1.__exportStar(require("./ListEnvironmentProvisionedResourcesCommand"), exports);
@@ -58,6 +65,7 @@ tslib_1.__exportStar(require("./RejectEnvironmentAccountConnectionCommand"), exp
58
65
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
59
66
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
60
67
  tslib_1.__exportStar(require("./UpdateAccountSettingsCommand"), exports);
68
+ tslib_1.__exportStar(require("./UpdateComponentCommand"), exports);
61
69
  tslib_1.__exportStar(require("./UpdateEnvironmentAccountConnectionCommand"), exports);
62
70
  tslib_1.__exportStar(require("./UpdateEnvironmentCommand"), exports);
63
71
  tslib_1.__exportStar(require("./UpdateEnvironmentTemplateCommand"), exports);