@aws-sdk/client-proton 3.183.0 → 3.185.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 (118) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/Proton.js +309 -302
  4. package/dist-es/ProtonClient.js +28 -22
  5. package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +28 -21
  6. package/dist-es/commands/CancelComponentDeploymentCommand.js +28 -21
  7. package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +28 -21
  8. package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +28 -21
  10. package/dist-es/commands/CreateComponentCommand.js +28 -21
  11. package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +28 -21
  12. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  13. package/dist-es/commands/CreateEnvironmentTemplateCommand.js +28 -21
  14. package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +28 -21
  15. package/dist-es/commands/CreateRepositoryCommand.js +28 -21
  16. package/dist-es/commands/CreateServiceCommand.js +28 -21
  17. package/dist-es/commands/CreateServiceTemplateCommand.js +28 -21
  18. package/dist-es/commands/CreateServiceTemplateVersionCommand.js +28 -21
  19. package/dist-es/commands/CreateTemplateSyncConfigCommand.js +28 -21
  20. package/dist-es/commands/DeleteComponentCommand.js +28 -21
  21. package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +28 -21
  22. package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
  23. package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +28 -21
  24. package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +28 -21
  25. package/dist-es/commands/DeleteRepositoryCommand.js +28 -21
  26. package/dist-es/commands/DeleteServiceCommand.js +28 -21
  27. package/dist-es/commands/DeleteServiceTemplateCommand.js +28 -21
  28. package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +28 -21
  29. package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +28 -21
  30. package/dist-es/commands/GetAccountSettingsCommand.js +28 -21
  31. package/dist-es/commands/GetComponentCommand.js +28 -21
  32. package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +28 -21
  33. package/dist-es/commands/GetEnvironmentCommand.js +28 -21
  34. package/dist-es/commands/GetEnvironmentTemplateCommand.js +28 -21
  35. package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +28 -21
  36. package/dist-es/commands/GetRepositoryCommand.js +28 -21
  37. package/dist-es/commands/GetRepositorySyncStatusCommand.js +28 -21
  38. package/dist-es/commands/GetServiceCommand.js +28 -21
  39. package/dist-es/commands/GetServiceInstanceCommand.js +28 -21
  40. package/dist-es/commands/GetServiceTemplateCommand.js +28 -21
  41. package/dist-es/commands/GetServiceTemplateVersionCommand.js +28 -21
  42. package/dist-es/commands/GetTemplateSyncConfigCommand.js +28 -21
  43. package/dist-es/commands/GetTemplateSyncStatusCommand.js +28 -21
  44. package/dist-es/commands/ListComponentOutputsCommand.js +28 -21
  45. package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +28 -21
  46. package/dist-es/commands/ListComponentsCommand.js +28 -21
  47. package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +28 -21
  48. package/dist-es/commands/ListEnvironmentOutputsCommand.js +28 -21
  49. package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +28 -21
  50. package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +28 -21
  51. package/dist-es/commands/ListEnvironmentTemplatesCommand.js +28 -21
  52. package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
  53. package/dist-es/commands/ListRepositoriesCommand.js +28 -21
  54. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +28 -21
  55. package/dist-es/commands/ListServiceInstanceOutputsCommand.js +28 -21
  56. package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +28 -21
  57. package/dist-es/commands/ListServiceInstancesCommand.js +28 -21
  58. package/dist-es/commands/ListServicePipelineOutputsCommand.js +28 -21
  59. package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +28 -21
  60. package/dist-es/commands/ListServiceTemplateVersionsCommand.js +28 -21
  61. package/dist-es/commands/ListServiceTemplatesCommand.js +28 -21
  62. package/dist-es/commands/ListServicesCommand.js +28 -21
  63. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  64. package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +28 -21
  65. package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +28 -21
  66. package/dist-es/commands/TagResourceCommand.js +28 -21
  67. package/dist-es/commands/UntagResourceCommand.js +28 -21
  68. package/dist-es/commands/UpdateAccountSettingsCommand.js +28 -21
  69. package/dist-es/commands/UpdateComponentCommand.js +28 -21
  70. package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +28 -21
  71. package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
  72. package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +28 -21
  73. package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +28 -21
  74. package/dist-es/commands/UpdateServiceCommand.js +28 -21
  75. package/dist-es/commands/UpdateServiceInstanceCommand.js +28 -21
  76. package/dist-es/commands/UpdateServicePipelineCommand.js +28 -21
  77. package/dist-es/commands/UpdateServiceTemplateCommand.js +28 -21
  78. package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +28 -21
  79. package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +28 -21
  80. package/dist-es/endpoints.js +8 -8
  81. package/dist-es/models/ProtonServiceException.js +10 -5
  82. package/dist-es/models/models_0.js +302 -794
  83. package/dist-es/pagination/ListComponentOutputsPaginator.js +67 -24
  84. package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +67 -24
  85. package/dist-es/pagination/ListComponentsPaginator.js +68 -25
  86. package/dist-es/pagination/ListEnvironmentAccountConnectionsPaginator.js +68 -25
  87. package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +67 -24
  88. package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +67 -24
  89. package/dist-es/pagination/ListEnvironmentTemplateVersionsPaginator.js +68 -25
  90. package/dist-es/pagination/ListEnvironmentTemplatesPaginator.js +68 -25
  91. package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
  92. package/dist-es/pagination/ListRepositoriesPaginator.js +68 -25
  93. package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +67 -24
  94. package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +67 -24
  95. package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +67 -24
  96. package/dist-es/pagination/ListServiceInstancesPaginator.js +68 -25
  97. package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +67 -24
  98. package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +67 -24
  99. package/dist-es/pagination/ListServiceTemplateVersionsPaginator.js +68 -25
  100. package/dist-es/pagination/ListServiceTemplatesPaginator.js +68 -25
  101. package/dist-es/pagination/ListServicesPaginator.js +68 -25
  102. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  103. package/dist-es/protocols/Aws_json1_0.js +6546 -5018
  104. package/dist-es/runtimeConfig.browser.js +12 -26
  105. package/dist-es/runtimeConfig.js +12 -30
  106. package/dist-es/runtimeConfig.native.js +5 -8
  107. package/dist-es/runtimeConfig.shared.js +11 -8
  108. package/dist-es/waiters/waitForComponentDeleted.js +50 -30
  109. package/dist-es/waiters/waitForComponentDeployed.js +56 -36
  110. package/dist-es/waiters/waitForEnvironmentDeployed.js +56 -36
  111. package/dist-es/waiters/waitForEnvironmentTemplateVersionRegistered.js +65 -45
  112. package/dist-es/waiters/waitForServiceCreated.js +74 -54
  113. package/dist-es/waiters/waitForServiceDeleted.js +50 -30
  114. package/dist-es/waiters/waitForServiceInstanceDeployed.js +56 -36
  115. package/dist-es/waiters/waitForServicePipelineDeployed.js +56 -36
  116. package/dist-es/waiters/waitForServiceTemplateVersionRegistered.js +65 -45
  117. package/dist-es/waiters/waitForServiceUpdated.js +83 -63
  118. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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));
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;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ProtonClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ProtonClient;
38
+ }(__Client));
39
+ export { ProtonClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AcceptEnvironmentAccountConnectionInputFilterSensitiveLog, AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand, serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
5
- export class AcceptEnvironmentAccountConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcceptEnvironmentAccountConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: AcceptEnvironmentAccountConnectionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcceptEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcceptEnvironmentAccountConnectionCommand;
38
+ }($Command));
39
+ export { AcceptEnvironmentAccountConnectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelComponentDeploymentInputFilterSensitiveLog, CancelComponentDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CancelComponentDeploymentCommand, serializeAws_json1_0CancelComponentDeploymentCommand, } from "../protocols/Aws_json1_0";
5
- export class CancelComponentDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelComponentDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CancelComponentDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelComponentDeploymentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CancelComponentDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelComponentDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CancelComponentDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelComponentDeploymentCommand;
38
+ }($Command));
39
+ export { CancelComponentDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelEnvironmentDeploymentInputFilterSensitiveLog, CancelEnvironmentDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CancelEnvironmentDeploymentCommand, serializeAws_json1_0CancelEnvironmentDeploymentCommand, } from "../protocols/Aws_json1_0";
5
- export class CancelEnvironmentDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelEnvironmentDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CancelEnvironmentDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelEnvironmentDeploymentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CancelEnvironmentDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelEnvironmentDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CancelEnvironmentDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelEnvironmentDeploymentCommand;
38
+ }($Command));
39
+ export { CancelEnvironmentDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelServiceInstanceDeploymentInputFilterSensitiveLog, CancelServiceInstanceDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CancelServiceInstanceDeploymentCommand, serializeAws_json1_0CancelServiceInstanceDeploymentCommand, } from "../protocols/Aws_json1_0";
5
- export class CancelServiceInstanceDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelServiceInstanceDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CancelServiceInstanceDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelServiceInstanceDeploymentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CancelServiceInstanceDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelServiceInstanceDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CancelServiceInstanceDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelServiceInstanceDeploymentCommand;
38
+ }($Command));
39
+ export { CancelServiceInstanceDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelServicePipelineDeploymentInputFilterSensitiveLog, CancelServicePipelineDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CancelServicePipelineDeploymentCommand, serializeAws_json1_0CancelServicePipelineDeploymentCommand, } from "../protocols/Aws_json1_0";
5
- export class CancelServicePipelineDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelServicePipelineDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CancelServicePipelineDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelServicePipelineDeploymentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CancelServicePipelineDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelServicePipelineDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CancelServicePipelineDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelServicePipelineDeploymentCommand;
38
+ }($Command));
39
+ export { CancelServicePipelineDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateComponentInputFilterSensitiveLog, CreateComponentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateComponentCommand, serializeAws_json1_0CreateComponentCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateComponentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateComponentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CreateComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateComponentCommand;
38
+ }($Command));
39
+ export { CreateComponentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEnvironmentAccountConnectionInputFilterSensitiveLog, CreateEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand, serializeAws_json1_0CreateEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateEnvironmentAccountConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEnvironmentAccountConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateEnvironmentAccountConnectionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEnvironmentAccountConnectionOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CreateEnvironmentAccountConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEnvironmentAccountConnectionCommand;
38
+ }($Command));
39
+ export { CreateEnvironmentAccountConnectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEnvironmentInputFilterSensitiveLog, CreateEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateEnvironmentCommand, serializeAws_json1_0CreateEnvironmentCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateEnvironmentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEnvironmentOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CreateEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEnvironmentCommand;
38
+ }($Command));
39
+ export { CreateEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEnvironmentTemplateInputFilterSensitiveLog, CreateEnvironmentTemplateOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateEnvironmentTemplateCommand, serializeAws_json1_0CreateEnvironmentTemplateCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateEnvironmentTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEnvironmentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: CreateEnvironmentTemplateInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEnvironmentTemplateOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_json1_0CreateEnvironmentTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEnvironmentTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateEnvironmentTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEnvironmentTemplateCommand;
38
+ }($Command));
39
+ export { CreateEnvironmentTemplateCommand };