@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 { GetEnvironmentTemplateInputFilterSensitiveLog, GetEnvironmentTemplateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetEnvironmentTemplateCommand, serializeAws_json1_0GetEnvironmentTemplateCommand, } from "../protocols/Aws_json1_0";
6
- var GetEnvironmentTemplateCommand = (function (_super) {
7
- __extends(GetEnvironmentTemplateCommand, _super);
8
- function GetEnvironmentTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEnvironmentTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEnvironmentTemplateCommand.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 = "GetEnvironmentTemplateCommand";
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 = "GetEnvironmentTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEnvironmentTemplateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEnvironmentTemplateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEnvironmentTemplateCommand.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_0GetEnvironmentTemplateCommand(input, context);
33
- };
34
- GetEnvironmentTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetEnvironmentTemplateCommand(output, context);
36
- };
37
- return GetEnvironmentTemplateCommand;
38
- }($Command));
39
- export { GetEnvironmentTemplateCommand };
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 { GetEnvironmentTemplateVersionInputFilterSensitiveLog, GetEnvironmentTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetEnvironmentTemplateVersionCommand, serializeAws_json1_0GetEnvironmentTemplateVersionCommand, } from "../protocols/Aws_json1_0";
6
- var GetEnvironmentTemplateVersionCommand = (function (_super) {
7
- __extends(GetEnvironmentTemplateVersionCommand, _super);
8
- function GetEnvironmentTemplateVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEnvironmentTemplateVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEnvironmentTemplateVersionCommand.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 = "GetEnvironmentTemplateVersionCommand";
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 = "GetEnvironmentTemplateVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEnvironmentTemplateVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEnvironmentTemplateVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEnvironmentTemplateVersionCommand.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_0GetEnvironmentTemplateVersionCommand(input, context);
33
- };
34
- GetEnvironmentTemplateVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetEnvironmentTemplateVersionCommand(output, context);
36
- };
37
- return GetEnvironmentTemplateVersionCommand;
38
- }($Command));
39
- export { GetEnvironmentTemplateVersionCommand };
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 { GetRepositoryInputFilterSensitiveLog, GetRepositoryOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetRepositoryCommand, serializeAws_json1_0GetRepositoryCommand, } from "../protocols/Aws_json1_0";
6
- var GetRepositoryCommand = (function (_super) {
7
- __extends(GetRepositoryCommand, _super);
8
- function GetRepositoryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRepositoryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRepositoryCommand.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 = "GetRepositoryCommand";
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 = "GetRepositoryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRepositoryInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRepositoryOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRepositoryCommand.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_0GetRepositoryCommand(input, context);
33
- };
34
- GetRepositoryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetRepositoryCommand(output, context);
36
- };
37
- return GetRepositoryCommand;
38
- }($Command));
39
- export { GetRepositoryCommand };
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 { GetRepositorySyncStatusInputFilterSensitiveLog, GetRepositorySyncStatusOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetRepositorySyncStatusCommand, serializeAws_json1_0GetRepositorySyncStatusCommand, } from "../protocols/Aws_json1_0";
6
- var GetRepositorySyncStatusCommand = (function (_super) {
7
- __extends(GetRepositorySyncStatusCommand, _super);
8
- function GetRepositorySyncStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRepositorySyncStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRepositorySyncStatusCommand.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 = "GetRepositorySyncStatusCommand";
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 = "GetRepositorySyncStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRepositorySyncStatusInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRepositorySyncStatusOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRepositorySyncStatusCommand.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_0GetRepositorySyncStatusCommand(input, context);
33
- };
34
- GetRepositorySyncStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetRepositorySyncStatusCommand(output, context);
36
- };
37
- return GetRepositorySyncStatusCommand;
38
- }($Command));
39
- export { GetRepositorySyncStatusCommand };
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 { GetServiceInputFilterSensitiveLog, GetServiceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetServiceCommand, serializeAws_json1_0GetServiceCommand, } from "../protocols/Aws_json1_0";
6
- var GetServiceCommand = (function (_super) {
7
- __extends(GetServiceCommand, _super);
8
- function GetServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetServiceCommand.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 = "GetServiceCommand";
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 = "GetServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetServiceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetServiceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetServiceCommand.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_0GetServiceCommand(input, context);
33
- };
34
- GetServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetServiceCommand(output, context);
36
- };
37
- return GetServiceCommand;
38
- }($Command));
39
- export { GetServiceCommand };
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 { GetServiceInstanceInputFilterSensitiveLog, GetServiceInstanceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetServiceInstanceCommand, serializeAws_json1_0GetServiceInstanceCommand, } from "../protocols/Aws_json1_0";
6
- var GetServiceInstanceCommand = (function (_super) {
7
- __extends(GetServiceInstanceCommand, _super);
8
- function GetServiceInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetServiceInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetServiceInstanceCommand.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 = "GetServiceInstanceCommand";
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 = "GetServiceInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetServiceInstanceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetServiceInstanceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetServiceInstanceCommand.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_0GetServiceInstanceCommand(input, context);
33
- };
34
- GetServiceInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetServiceInstanceCommand(output, context);
36
- };
37
- return GetServiceInstanceCommand;
38
- }($Command));
39
- export { GetServiceInstanceCommand };
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 { GetServiceTemplateInputFilterSensitiveLog, GetServiceTemplateOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetServiceTemplateCommand, serializeAws_json1_0GetServiceTemplateCommand, } from "../protocols/Aws_json1_0";
6
- var GetServiceTemplateCommand = (function (_super) {
7
- __extends(GetServiceTemplateCommand, _super);
8
- function GetServiceTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetServiceTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetServiceTemplateCommand.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 = "GetServiceTemplateCommand";
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 = "GetServiceTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetServiceTemplateInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetServiceTemplateOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetServiceTemplateCommand.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_0GetServiceTemplateCommand(input, context);
33
- };
34
- GetServiceTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetServiceTemplateCommand(output, context);
36
- };
37
- return GetServiceTemplateCommand;
38
- }($Command));
39
- export { GetServiceTemplateCommand };
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 { GetServiceTemplateVersionInputFilterSensitiveLog, GetServiceTemplateVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetServiceTemplateVersionCommand, serializeAws_json1_0GetServiceTemplateVersionCommand, } from "../protocols/Aws_json1_0";
6
- var GetServiceTemplateVersionCommand = (function (_super) {
7
- __extends(GetServiceTemplateVersionCommand, _super);
8
- function GetServiceTemplateVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetServiceTemplateVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetServiceTemplateVersionCommand.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 = "GetServiceTemplateVersionCommand";
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 = "GetServiceTemplateVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetServiceTemplateVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetServiceTemplateVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetServiceTemplateVersionCommand.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_0GetServiceTemplateVersionCommand(input, context);
33
- };
34
- GetServiceTemplateVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetServiceTemplateVersionCommand(output, context);
36
- };
37
- return GetServiceTemplateVersionCommand;
38
- }($Command));
39
- export { GetServiceTemplateVersionCommand };
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 { GetTemplateSyncConfigInputFilterSensitiveLog, GetTemplateSyncConfigOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetTemplateSyncConfigCommand, serializeAws_json1_0GetTemplateSyncConfigCommand, } from "../protocols/Aws_json1_0";
6
- var GetTemplateSyncConfigCommand = (function (_super) {
7
- __extends(GetTemplateSyncConfigCommand, _super);
8
- function GetTemplateSyncConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTemplateSyncConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTemplateSyncConfigCommand.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 = "GetTemplateSyncConfigCommand";
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 = "GetTemplateSyncConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTemplateSyncConfigInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTemplateSyncConfigOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTemplateSyncConfigCommand.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_0GetTemplateSyncConfigCommand(input, context);
33
- };
34
- GetTemplateSyncConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetTemplateSyncConfigCommand(output, context);
36
- };
37
- return GetTemplateSyncConfigCommand;
38
- }($Command));
39
- export { GetTemplateSyncConfigCommand };
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 { GetTemplateSyncStatusInputFilterSensitiveLog, GetTemplateSyncStatusOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetTemplateSyncStatusCommand, serializeAws_json1_0GetTemplateSyncStatusCommand, } from "../protocols/Aws_json1_0";
6
- var GetTemplateSyncStatusCommand = (function (_super) {
7
- __extends(GetTemplateSyncStatusCommand, _super);
8
- function GetTemplateSyncStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTemplateSyncStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTemplateSyncStatusCommand.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 = "GetTemplateSyncStatusCommand";
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 = "GetTemplateSyncStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTemplateSyncStatusInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTemplateSyncStatusOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTemplateSyncStatusCommand.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_0GetTemplateSyncStatusCommand(input, context);
33
- };
34
- GetTemplateSyncStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetTemplateSyncStatusCommand(output, context);
36
- };
37
- return GetTemplateSyncStatusCommand;
38
- }($Command));
39
- export { GetTemplateSyncStatusCommand };
31
+ }
32
+ }