@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 { DeleteEnvironmentTemplateVersionInputFilterSensitiveLog, DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommand, serializeAws_json1_0DeleteEnvironmentTemplateVersionCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteEnvironmentTemplateVersionCommand = (function (_super) {
7
- __extends(DeleteEnvironmentTemplateVersionCommand, _super);
8
- function DeleteEnvironmentTemplateVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteEnvironmentTemplateVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEnvironmentTemplateVersionCommand.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 = "DeleteEnvironmentTemplateVersionCommand";
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 = "DeleteEnvironmentTemplateVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEnvironmentTemplateVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteEnvironmentTemplateVersionCommand.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_0DeleteEnvironmentTemplateVersionCommand(input, context);
33
- };
34
- DeleteEnvironmentTemplateVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommand(output, context);
36
- };
37
- return DeleteEnvironmentTemplateVersionCommand;
38
- }($Command));
39
- export { DeleteEnvironmentTemplateVersionCommand };
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 { DeleteRepositoryInputFilterSensitiveLog, DeleteRepositoryOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteRepositoryCommand, serializeAws_json1_0DeleteRepositoryCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteRepositoryCommand = (function (_super) {
7
- __extends(DeleteRepositoryCommand, _super);
8
- function DeleteRepositoryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRepositoryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRepositoryCommand.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 = "DeleteRepositoryCommand";
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 = "DeleteRepositoryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRepositoryInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteRepositoryOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRepositoryCommand.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_0DeleteRepositoryCommand(input, context);
33
- };
34
- DeleteRepositoryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteRepositoryCommand(output, context);
36
- };
37
- return DeleteRepositoryCommand;
38
- }($Command));
39
- export { DeleteRepositoryCommand };
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 { DeleteServiceInputFilterSensitiveLog, DeleteServiceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteServiceCommand, serializeAws_json1_0DeleteServiceCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteServiceCommand = (function (_super) {
7
- __extends(DeleteServiceCommand, _super);
8
- function DeleteServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteServiceCommand.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 = "DeleteServiceCommand";
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 = "DeleteServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteServiceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteServiceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteServiceCommand.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_0DeleteServiceCommand(input, context);
33
- };
34
- DeleteServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteServiceCommand(output, context);
36
- };
37
- return DeleteServiceCommand;
38
- }($Command));
39
- export { DeleteServiceCommand };
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 { DeleteServiceTemplateInputFilterSensitiveLog, DeleteServiceTemplateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteServiceTemplateCommand, serializeAws_json1_0DeleteServiceTemplateCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteServiceTemplateCommand = (function (_super) {
7
- __extends(DeleteServiceTemplateCommand, _super);
8
- function DeleteServiceTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteServiceTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteServiceTemplateCommand.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 = "DeleteServiceTemplateCommand";
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 = "DeleteServiceTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteServiceTemplateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteServiceTemplateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteServiceTemplateCommand.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_0DeleteServiceTemplateCommand(input, context);
33
- };
34
- DeleteServiceTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteServiceTemplateCommand(output, context);
36
- };
37
- return DeleteServiceTemplateCommand;
38
- }($Command));
39
- export { DeleteServiceTemplateCommand };
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 { DeleteServiceTemplateVersionInputFilterSensitiveLog, DeleteServiceTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteServiceTemplateVersionCommand, serializeAws_json1_0DeleteServiceTemplateVersionCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteServiceTemplateVersionCommand = (function (_super) {
7
- __extends(DeleteServiceTemplateVersionCommand, _super);
8
- function DeleteServiceTemplateVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteServiceTemplateVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteServiceTemplateVersionCommand.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 = "DeleteServiceTemplateVersionCommand";
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 = "DeleteServiceTemplateVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteServiceTemplateVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteServiceTemplateVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteServiceTemplateVersionCommand.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_0DeleteServiceTemplateVersionCommand(input, context);
33
- };
34
- DeleteServiceTemplateVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteServiceTemplateVersionCommand(output, context);
36
- };
37
- return DeleteServiceTemplateVersionCommand;
38
- }($Command));
39
- export { DeleteServiceTemplateVersionCommand };
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 { DeleteTemplateSyncConfigInputFilterSensitiveLog, DeleteTemplateSyncConfigOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteTemplateSyncConfigCommand, serializeAws_json1_0DeleteTemplateSyncConfigCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteTemplateSyncConfigCommand = (function (_super) {
7
- __extends(DeleteTemplateSyncConfigCommand, _super);
8
- function DeleteTemplateSyncConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTemplateSyncConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTemplateSyncConfigCommand.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 = "DeleteTemplateSyncConfigCommand";
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 = "DeleteTemplateSyncConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTemplateSyncConfigInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTemplateSyncConfigOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTemplateSyncConfigCommand.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_0DeleteTemplateSyncConfigCommand(input, context);
33
- };
34
- DeleteTemplateSyncConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteTemplateSyncConfigCommand(output, context);
36
- };
37
- return DeleteTemplateSyncConfigCommand;
38
- }($Command));
39
- export { DeleteTemplateSyncConfigCommand };
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 { GetAccountSettingsInputFilterSensitiveLog, GetAccountSettingsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetAccountSettingsCommand, serializeAws_json1_0GetAccountSettingsCommand, } from "../protocols/Aws_json1_0";
6
- var GetAccountSettingsCommand = (function (_super) {
7
- __extends(GetAccountSettingsCommand, _super);
8
- function GetAccountSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAccountSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAccountSettingsCommand.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 = "GetAccountSettingsCommand";
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 = "GetAccountSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAccountSettingsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAccountSettingsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAccountSettingsCommand.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_0GetAccountSettingsCommand(input, context);
33
- };
34
- GetAccountSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetAccountSettingsCommand(output, context);
36
- };
37
- return GetAccountSettingsCommand;
38
- }($Command));
39
- export { GetAccountSettingsCommand };
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 { GetComponentInputFilterSensitiveLog, GetComponentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetComponentCommand, serializeAws_json1_0GetComponentCommand, } from "../protocols/Aws_json1_0";
6
- var GetComponentCommand = (function (_super) {
7
- __extends(GetComponentCommand, _super);
8
- function GetComponentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetComponentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetComponentCommand.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 = "GetComponentCommand";
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 = "GetComponentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetComponentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetComponentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetComponentCommand.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_0GetComponentCommand(input, context);
33
- };
34
- GetComponentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetComponentCommand(output, context);
36
- };
37
- return GetComponentCommand;
38
- }($Command));
39
- export { GetComponentCommand };
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 { GetEnvironmentAccountConnectionInputFilterSensitiveLog, GetEnvironmentAccountConnectionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetEnvironmentAccountConnectionCommand, serializeAws_json1_0GetEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
6
- var GetEnvironmentAccountConnectionCommand = (function (_super) {
7
- __extends(GetEnvironmentAccountConnectionCommand, _super);
8
- function GetEnvironmentAccountConnectionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEnvironmentAccountConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEnvironmentAccountConnectionCommand.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 = "GetEnvironmentAccountConnectionCommand";
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 = "GetEnvironmentAccountConnectionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEnvironmentAccountConnectionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEnvironmentAccountConnectionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEnvironmentAccountConnectionCommand.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_0GetEnvironmentAccountConnectionCommand(input, context);
33
- };
34
- GetEnvironmentAccountConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetEnvironmentAccountConnectionCommand(output, context);
36
- };
37
- return GetEnvironmentAccountConnectionCommand;
38
- }($Command));
39
- export { GetEnvironmentAccountConnectionCommand };
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 { GetEnvironmentInputFilterSensitiveLog, GetEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetEnvironmentCommand, serializeAws_json1_0GetEnvironmentCommand, } from "../protocols/Aws_json1_0";
6
- var GetEnvironmentCommand = (function (_super) {
7
- __extends(GetEnvironmentCommand, _super);
8
- function GetEnvironmentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEnvironmentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEnvironmentCommand.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 = "GetEnvironmentCommand";
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 = "GetEnvironmentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEnvironmentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEnvironmentOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEnvironmentCommand.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_0GetEnvironmentCommand(input, context);
33
- };
34
- GetEnvironmentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetEnvironmentCommand(output, context);
36
- };
37
- return GetEnvironmentCommand;
38
- }($Command));
39
- export { GetEnvironmentCommand };
31
+ }
32
+ }