@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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var ProtonClient = (function (_super) {
13
- __extends(ProtonClient, _super);
14
- function ProtonClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class ProtonClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- ProtonClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return ProtonClient;
38
- }(__Client));
39
- export { ProtonClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -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 { AcceptEnvironmentAccountConnectionInputFilterSensitiveLog, AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand, serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
6
- var AcceptEnvironmentAccountConnectionCommand = (function (_super) {
7
- __extends(AcceptEnvironmentAccountConnectionCommand, _super);
8
- function AcceptEnvironmentAccountConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcceptEnvironmentAccountConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcceptEnvironmentAccountConnectionCommand.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 = "AcceptEnvironmentAccountConnectionCommand";
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 = "AcceptEnvironmentAccountConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcceptEnvironmentAccountConnectionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcceptEnvironmentAccountConnectionCommand.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_0AcceptEnvironmentAccountConnectionCommand(input, context);
33
- };
34
- AcceptEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand(output, context);
36
- };
37
- return AcceptEnvironmentAccountConnectionCommand;
38
- }($Command));
39
- export { AcceptEnvironmentAccountConnectionCommand };
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 { CancelComponentDeploymentInputFilterSensitiveLog, CancelComponentDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CancelComponentDeploymentCommand, serializeAws_json1_0CancelComponentDeploymentCommand, } from "../protocols/Aws_json1_0";
6
- var CancelComponentDeploymentCommand = (function (_super) {
7
- __extends(CancelComponentDeploymentCommand, _super);
8
- function CancelComponentDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelComponentDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelComponentDeploymentCommand.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 = "CancelComponentDeploymentCommand";
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 = "CancelComponentDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelComponentDeploymentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelComponentDeploymentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelComponentDeploymentCommand.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_0CancelComponentDeploymentCommand(input, context);
33
- };
34
- CancelComponentDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CancelComponentDeploymentCommand(output, context);
36
- };
37
- return CancelComponentDeploymentCommand;
38
- }($Command));
39
- export { CancelComponentDeploymentCommand };
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 { CancelEnvironmentDeploymentInputFilterSensitiveLog, CancelEnvironmentDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CancelEnvironmentDeploymentCommand, serializeAws_json1_0CancelEnvironmentDeploymentCommand, } from "../protocols/Aws_json1_0";
6
- var CancelEnvironmentDeploymentCommand = (function (_super) {
7
- __extends(CancelEnvironmentDeploymentCommand, _super);
8
- function CancelEnvironmentDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelEnvironmentDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelEnvironmentDeploymentCommand.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 = "CancelEnvironmentDeploymentCommand";
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 = "CancelEnvironmentDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelEnvironmentDeploymentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelEnvironmentDeploymentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelEnvironmentDeploymentCommand.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_0CancelEnvironmentDeploymentCommand(input, context);
33
- };
34
- CancelEnvironmentDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CancelEnvironmentDeploymentCommand(output, context);
36
- };
37
- return CancelEnvironmentDeploymentCommand;
38
- }($Command));
39
- export { CancelEnvironmentDeploymentCommand };
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 { CancelServiceInstanceDeploymentInputFilterSensitiveLog, CancelServiceInstanceDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CancelServiceInstanceDeploymentCommand, serializeAws_json1_0CancelServiceInstanceDeploymentCommand, } from "../protocols/Aws_json1_0";
6
- var CancelServiceInstanceDeploymentCommand = (function (_super) {
7
- __extends(CancelServiceInstanceDeploymentCommand, _super);
8
- function CancelServiceInstanceDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelServiceInstanceDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelServiceInstanceDeploymentCommand.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 = "CancelServiceInstanceDeploymentCommand";
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 = "CancelServiceInstanceDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelServiceInstanceDeploymentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelServiceInstanceDeploymentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelServiceInstanceDeploymentCommand.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_0CancelServiceInstanceDeploymentCommand(input, context);
33
- };
34
- CancelServiceInstanceDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CancelServiceInstanceDeploymentCommand(output, context);
36
- };
37
- return CancelServiceInstanceDeploymentCommand;
38
- }($Command));
39
- export { CancelServiceInstanceDeploymentCommand };
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 { CancelServicePipelineDeploymentInputFilterSensitiveLog, CancelServicePipelineDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CancelServicePipelineDeploymentCommand, serializeAws_json1_0CancelServicePipelineDeploymentCommand, } from "../protocols/Aws_json1_0";
6
- var CancelServicePipelineDeploymentCommand = (function (_super) {
7
- __extends(CancelServicePipelineDeploymentCommand, _super);
8
- function CancelServicePipelineDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelServicePipelineDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelServicePipelineDeploymentCommand.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 = "CancelServicePipelineDeploymentCommand";
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 = "CancelServicePipelineDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelServicePipelineDeploymentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelServicePipelineDeploymentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelServicePipelineDeploymentCommand.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_0CancelServicePipelineDeploymentCommand(input, context);
33
- };
34
- CancelServicePipelineDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CancelServicePipelineDeploymentCommand(output, context);
36
- };
37
- return CancelServicePipelineDeploymentCommand;
38
- }($Command));
39
- export { CancelServicePipelineDeploymentCommand };
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 { CreateComponentInputFilterSensitiveLog, CreateComponentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateComponentCommand, serializeAws_json1_0CreateComponentCommand, } from "../protocols/Aws_json1_0";
6
- var CreateComponentCommand = (function (_super) {
7
- __extends(CreateComponentCommand, _super);
8
- function CreateComponentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateComponentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateComponentCommand.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 = "CreateComponentCommand";
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 = "CreateComponentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateComponentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateComponentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateComponentCommand.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_0CreateComponentCommand(input, context);
33
- };
34
- CreateComponentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateComponentCommand(output, context);
36
- };
37
- return CreateComponentCommand;
38
- }($Command));
39
- export { CreateComponentCommand };
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 { CreateEnvironmentAccountConnectionInputFilterSensitiveLog, CreateEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand, serializeAws_json1_0CreateEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
6
- var CreateEnvironmentAccountConnectionCommand = (function (_super) {
7
- __extends(CreateEnvironmentAccountConnectionCommand, _super);
8
- function CreateEnvironmentAccountConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateEnvironmentAccountConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateEnvironmentAccountConnectionCommand.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 = "CreateEnvironmentAccountConnectionCommand";
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 = "CreateEnvironmentAccountConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateEnvironmentAccountConnectionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateEnvironmentAccountConnectionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateEnvironmentAccountConnectionCommand.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_0CreateEnvironmentAccountConnectionCommand(input, context);
33
- };
34
- CreateEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand(output, context);
36
- };
37
- return CreateEnvironmentAccountConnectionCommand;
38
- }($Command));
39
- export { CreateEnvironmentAccountConnectionCommand };
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 { CreateEnvironmentInputFilterSensitiveLog, CreateEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateEnvironmentCommand, serializeAws_json1_0CreateEnvironmentCommand, } from "../protocols/Aws_json1_0";
6
- var CreateEnvironmentCommand = (function (_super) {
7
- __extends(CreateEnvironmentCommand, _super);
8
- function CreateEnvironmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateEnvironmentCommand.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 = "CreateEnvironmentCommand";
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 = "CreateEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateEnvironmentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateEnvironmentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateEnvironmentCommand.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_0CreateEnvironmentCommand(input, context);
33
- };
34
- CreateEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateEnvironmentCommand(output, context);
36
- };
37
- return CreateEnvironmentCommand;
38
- }($Command));
39
- export { CreateEnvironmentCommand };
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 { CreateEnvironmentTemplateInputFilterSensitiveLog, CreateEnvironmentTemplateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateEnvironmentTemplateCommand, serializeAws_json1_0CreateEnvironmentTemplateCommand, } from "../protocols/Aws_json1_0";
6
- var CreateEnvironmentTemplateCommand = (function (_super) {
7
- __extends(CreateEnvironmentTemplateCommand, _super);
8
- function CreateEnvironmentTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateEnvironmentTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateEnvironmentTemplateCommand.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 = "CreateEnvironmentTemplateCommand";
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 = "CreateEnvironmentTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateEnvironmentTemplateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateEnvironmentTemplateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateEnvironmentTemplateCommand.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_0CreateEnvironmentTemplateCommand(input, context);
33
- };
34
- CreateEnvironmentTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateEnvironmentTemplateCommand(output, context);
36
- };
37
- return CreateEnvironmentTemplateCommand;
38
- }($Command));
39
- export { CreateEnvironmentTemplateCommand };
31
+ }
32
+ }