@aws-sdk/client-proton 3.181.0 → 3.183.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 (117) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Proton.js +302 -309
  3. package/dist-es/ProtonClient.js +22 -28
  4. package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +21 -28
  5. package/dist-es/commands/CancelComponentDeploymentCommand.js +21 -28
  6. package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +21 -28
  7. package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +21 -28
  8. package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +21 -28
  9. package/dist-es/commands/CreateComponentCommand.js +21 -28
  10. package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +21 -28
  11. package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
  12. package/dist-es/commands/CreateEnvironmentTemplateCommand.js +21 -28
  13. package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +21 -28
  14. package/dist-es/commands/CreateRepositoryCommand.js +21 -28
  15. package/dist-es/commands/CreateServiceCommand.js +21 -28
  16. package/dist-es/commands/CreateServiceTemplateCommand.js +21 -28
  17. package/dist-es/commands/CreateServiceTemplateVersionCommand.js +21 -28
  18. package/dist-es/commands/CreateTemplateSyncConfigCommand.js +21 -28
  19. package/dist-es/commands/DeleteComponentCommand.js +21 -28
  20. package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +21 -28
  21. package/dist-es/commands/DeleteEnvironmentCommand.js +21 -28
  22. package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +21 -28
  23. package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +21 -28
  24. package/dist-es/commands/DeleteRepositoryCommand.js +21 -28
  25. package/dist-es/commands/DeleteServiceCommand.js +21 -28
  26. package/dist-es/commands/DeleteServiceTemplateCommand.js +21 -28
  27. package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +21 -28
  28. package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +21 -28
  29. package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
  30. package/dist-es/commands/GetComponentCommand.js +21 -28
  31. package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +21 -28
  32. package/dist-es/commands/GetEnvironmentCommand.js +21 -28
  33. package/dist-es/commands/GetEnvironmentTemplateCommand.js +21 -28
  34. package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +21 -28
  35. package/dist-es/commands/GetRepositoryCommand.js +21 -28
  36. package/dist-es/commands/GetRepositorySyncStatusCommand.js +21 -28
  37. package/dist-es/commands/GetServiceCommand.js +21 -28
  38. package/dist-es/commands/GetServiceInstanceCommand.js +21 -28
  39. package/dist-es/commands/GetServiceTemplateCommand.js +21 -28
  40. package/dist-es/commands/GetServiceTemplateVersionCommand.js +21 -28
  41. package/dist-es/commands/GetTemplateSyncConfigCommand.js +21 -28
  42. package/dist-es/commands/GetTemplateSyncStatusCommand.js +21 -28
  43. package/dist-es/commands/ListComponentOutputsCommand.js +21 -28
  44. package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +21 -28
  45. package/dist-es/commands/ListComponentsCommand.js +21 -28
  46. package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +21 -28
  47. package/dist-es/commands/ListEnvironmentOutputsCommand.js +21 -28
  48. package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +21 -28
  49. package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +21 -28
  50. package/dist-es/commands/ListEnvironmentTemplatesCommand.js +21 -28
  51. package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
  52. package/dist-es/commands/ListRepositoriesCommand.js +21 -28
  53. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +21 -28
  54. package/dist-es/commands/ListServiceInstanceOutputsCommand.js +21 -28
  55. package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +21 -28
  56. package/dist-es/commands/ListServiceInstancesCommand.js +21 -28
  57. package/dist-es/commands/ListServicePipelineOutputsCommand.js +21 -28
  58. package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +21 -28
  59. package/dist-es/commands/ListServiceTemplateVersionsCommand.js +21 -28
  60. package/dist-es/commands/ListServiceTemplatesCommand.js +21 -28
  61. package/dist-es/commands/ListServicesCommand.js +21 -28
  62. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  63. package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +21 -28
  64. package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +21 -28
  65. package/dist-es/commands/TagResourceCommand.js +21 -28
  66. package/dist-es/commands/UntagResourceCommand.js +21 -28
  67. package/dist-es/commands/UpdateAccountSettingsCommand.js +21 -28
  68. package/dist-es/commands/UpdateComponentCommand.js +21 -28
  69. package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +21 -28
  70. package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
  71. package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +21 -28
  72. package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +21 -28
  73. package/dist-es/commands/UpdateServiceCommand.js +21 -28
  74. package/dist-es/commands/UpdateServiceInstanceCommand.js +21 -28
  75. package/dist-es/commands/UpdateServicePipelineCommand.js +21 -28
  76. package/dist-es/commands/UpdateServiceTemplateCommand.js +21 -28
  77. package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +21 -28
  78. package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +21 -28
  79. package/dist-es/endpoints.js +8 -8
  80. package/dist-es/models/ProtonServiceException.js +5 -10
  81. package/dist-es/models/models_0.js +794 -302
  82. package/dist-es/pagination/ListComponentOutputsPaginator.js +24 -67
  83. package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +24 -67
  84. package/dist-es/pagination/ListComponentsPaginator.js +25 -68
  85. package/dist-es/pagination/ListEnvironmentAccountConnectionsPaginator.js +25 -68
  86. package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +24 -67
  87. package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +24 -67
  88. package/dist-es/pagination/ListEnvironmentTemplateVersionsPaginator.js +25 -68
  89. package/dist-es/pagination/ListEnvironmentTemplatesPaginator.js +25 -68
  90. package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
  91. package/dist-es/pagination/ListRepositoriesPaginator.js +25 -68
  92. package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +24 -67
  93. package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +24 -67
  94. package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +24 -67
  95. package/dist-es/pagination/ListServiceInstancesPaginator.js +25 -68
  96. package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +24 -67
  97. package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +24 -67
  98. package/dist-es/pagination/ListServiceTemplateVersionsPaginator.js +25 -68
  99. package/dist-es/pagination/ListServiceTemplatesPaginator.js +25 -68
  100. package/dist-es/pagination/ListServicesPaginator.js +25 -68
  101. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  102. package/dist-es/protocols/Aws_json1_0.js +5018 -6546
  103. package/dist-es/runtimeConfig.browser.js +26 -12
  104. package/dist-es/runtimeConfig.js +30 -12
  105. package/dist-es/runtimeConfig.native.js +8 -5
  106. package/dist-es/runtimeConfig.shared.js +8 -11
  107. package/dist-es/waiters/waitForComponentDeleted.js +30 -50
  108. package/dist-es/waiters/waitForComponentDeployed.js +36 -56
  109. package/dist-es/waiters/waitForEnvironmentDeployed.js +36 -56
  110. package/dist-es/waiters/waitForEnvironmentTemplateVersionRegistered.js +45 -65
  111. package/dist-es/waiters/waitForServiceCreated.js +54 -74
  112. package/dist-es/waiters/waitForServiceDeleted.js +30 -50
  113. package/dist-es/waiters/waitForServiceInstanceDeployed.js +36 -56
  114. package/dist-es/waiters/waitForServicePipelineDeployed.js +36 -56
  115. package/dist-es/waiters/waitForServiceTemplateVersionRegistered.js +45 -65
  116. package/dist-es/waiters/waitForServiceUpdated.js +63 -83
  117. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog, NotifyResourceDeploymentStatusChangeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand, serializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand, } from "../protocols/Aws_json1_0";
6
- var NotifyResourceDeploymentStatusChangeCommand = (function (_super) {
7
- __extends(NotifyResourceDeploymentStatusChangeCommand, _super);
8
- function NotifyResourceDeploymentStatusChangeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class NotifyResourceDeploymentStatusChangeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- NotifyResourceDeploymentStatusChangeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "NotifyResourceDeploymentStatusChangeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "NotifyResourceDeploymentStatusChangeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: NotifyResourceDeploymentStatusChangeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- NotifyResourceDeploymentStatusChangeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand(input, context);
33
- };
34
- NotifyResourceDeploymentStatusChangeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand(output, context);
36
- };
37
- return NotifyResourceDeploymentStatusChangeCommand;
38
- }($Command));
39
- export { NotifyResourceDeploymentStatusChangeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RejectEnvironmentAccountConnectionInputFilterSensitiveLog, RejectEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand, serializeAws_json1_0RejectEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
6
- var RejectEnvironmentAccountConnectionCommand = (function (_super) {
7
- __extends(RejectEnvironmentAccountConnectionCommand, _super);
8
- function RejectEnvironmentAccountConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RejectEnvironmentAccountConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RejectEnvironmentAccountConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "RejectEnvironmentAccountConnectionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "RejectEnvironmentAccountConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RejectEnvironmentAccountConnectionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RejectEnvironmentAccountConnectionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RejectEnvironmentAccountConnectionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0RejectEnvironmentAccountConnectionCommand(input, context);
33
- };
34
- RejectEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand(output, context);
36
- };
37
- return RejectEnvironmentAccountConnectionCommand;
38
- }($Command));
39
- export { RejectEnvironmentAccountConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "TagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateAccountSettingsInputFilterSensitiveLog, UpdateAccountSettingsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateAccountSettingsCommand, serializeAws_json1_0UpdateAccountSettingsCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateAccountSettingsCommand = (function (_super) {
7
- __extends(UpdateAccountSettingsCommand, _super);
8
- function UpdateAccountSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateAccountSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAccountSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateAccountSettingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateAccountSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAccountSettingsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateAccountSettingsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateAccountSettingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateAccountSettingsCommand(input, context);
33
- };
34
- UpdateAccountSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateAccountSettingsCommand(output, context);
36
- };
37
- return UpdateAccountSettingsCommand;
38
- }($Command));
39
- export { UpdateAccountSettingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateComponentInputFilterSensitiveLog, UpdateComponentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateComponentCommand, serializeAws_json1_0UpdateComponentCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateComponentCommand = (function (_super) {
7
- __extends(UpdateComponentCommand, _super);
8
- function UpdateComponentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateComponentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateComponentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateComponentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateComponentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateComponentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateComponentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateComponentCommand(input, context);
33
- };
34
- UpdateComponentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateComponentCommand(output, context);
36
- };
37
- return UpdateComponentCommand;
38
- }($Command));
39
- export { UpdateComponentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateEnvironmentAccountConnectionInputFilterSensitiveLog, UpdateEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand, serializeAws_json1_0UpdateEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateEnvironmentAccountConnectionCommand = (function (_super) {
7
- __extends(UpdateEnvironmentAccountConnectionCommand, _super);
8
- function UpdateEnvironmentAccountConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEnvironmentAccountConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEnvironmentAccountConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateEnvironmentAccountConnectionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateEnvironmentAccountConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEnvironmentAccountConnectionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEnvironmentAccountConnectionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEnvironmentAccountConnectionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateEnvironmentAccountConnectionCommand(input, context);
33
- };
34
- UpdateEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand(output, context);
36
- };
37
- return UpdateEnvironmentAccountConnectionCommand;
38
- }($Command));
39
- export { UpdateEnvironmentAccountConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateEnvironmentInputFilterSensitiveLog, UpdateEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateEnvironmentCommand, serializeAws_json1_0UpdateEnvironmentCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateEnvironmentCommand = (function (_super) {
7
- __extends(UpdateEnvironmentCommand, _super);
8
- function UpdateEnvironmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateEnvironmentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEnvironmentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEnvironmentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEnvironmentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateEnvironmentCommand(input, context);
33
- };
34
- UpdateEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateEnvironmentCommand(output, context);
36
- };
37
- return UpdateEnvironmentCommand;
38
- }($Command));
39
- export { UpdateEnvironmentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateEnvironmentTemplateInputFilterSensitiveLog, UpdateEnvironmentTemplateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateEnvironmentTemplateCommand, serializeAws_json1_0UpdateEnvironmentTemplateCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateEnvironmentTemplateCommand = (function (_super) {
7
- __extends(UpdateEnvironmentTemplateCommand, _super);
8
- function UpdateEnvironmentTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEnvironmentTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEnvironmentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateEnvironmentTemplateCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateEnvironmentTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEnvironmentTemplateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEnvironmentTemplateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEnvironmentTemplateCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateEnvironmentTemplateCommand(input, context);
33
- };
34
- UpdateEnvironmentTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateEnvironmentTemplateCommand(output, context);
36
- };
37
- return UpdateEnvironmentTemplateCommand;
38
- }($Command));
39
- export { UpdateEnvironmentTemplateCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateEnvironmentTemplateVersionInputFilterSensitiveLog, UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand, serializeAws_json1_0UpdateEnvironmentTemplateVersionCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateEnvironmentTemplateVersionCommand = (function (_super) {
7
- __extends(UpdateEnvironmentTemplateVersionCommand, _super);
8
- function UpdateEnvironmentTemplateVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEnvironmentTemplateVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEnvironmentTemplateVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ProtonClient";
18
- var commandName = "UpdateEnvironmentTemplateVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ProtonClient";
15
+ const commandName = "UpdateEnvironmentTemplateVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEnvironmentTemplateVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEnvironmentTemplateVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateEnvironmentTemplateVersionCommand(input, context);
33
- };
34
- UpdateEnvironmentTemplateVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand(output, context);
36
- };
37
- return UpdateEnvironmentTemplateVersionCommand;
38
- }($Command));
39
- export { UpdateEnvironmentTemplateVersionCommand };
31
+ }
32
+ }