@aws-sdk/client-swf 3.1045.0 → 3.1047.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 (152) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +97 -98
  5. package/dist-cjs/models/SWFServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/SWF.js +1 -1
  10. package/dist-es/SWFClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +2 -2
  13. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +2 -2
  14. package/dist-es/commands/CountPendingActivityTasksCommand.js +2 -2
  15. package/dist-es/commands/CountPendingDecisionTasksCommand.js +2 -2
  16. package/dist-es/commands/DeleteActivityTypeCommand.js +2 -2
  17. package/dist-es/commands/DeleteWorkflowTypeCommand.js +2 -2
  18. package/dist-es/commands/DeprecateActivityTypeCommand.js +2 -2
  19. package/dist-es/commands/DeprecateDomainCommand.js +2 -2
  20. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +2 -2
  21. package/dist-es/commands/DescribeActivityTypeCommand.js +2 -2
  22. package/dist-es/commands/DescribeDomainCommand.js +2 -2
  23. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +2 -2
  24. package/dist-es/commands/DescribeWorkflowTypeCommand.js +2 -2
  25. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +2 -2
  26. package/dist-es/commands/ListActivityTypesCommand.js +2 -2
  27. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +2 -2
  28. package/dist-es/commands/ListDomainsCommand.js +2 -2
  29. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +2 -2
  30. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-es/commands/ListWorkflowTypesCommand.js +2 -2
  32. package/dist-es/commands/PollForActivityTaskCommand.js +2 -2
  33. package/dist-es/commands/PollForDecisionTaskCommand.js +2 -2
  34. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +2 -2
  35. package/dist-es/commands/RegisterActivityTypeCommand.js +2 -2
  36. package/dist-es/commands/RegisterDomainCommand.js +2 -2
  37. package/dist-es/commands/RegisterWorkflowTypeCommand.js +2 -2
  38. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +2 -2
  39. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +2 -2
  40. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +2 -2
  41. package/dist-es/commands/RespondActivityTaskFailedCommand.js +2 -2
  42. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +2 -2
  43. package/dist-es/commands/SignalWorkflowExecutionCommand.js +2 -2
  44. package/dist-es/commands/StartWorkflowExecutionCommand.js +2 -2
  45. package/dist-es/commands/TagResourceCommand.js +2 -2
  46. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +2 -2
  47. package/dist-es/commands/UndeprecateActivityTypeCommand.js +2 -2
  48. package/dist-es/commands/UndeprecateDomainCommand.js +2 -2
  49. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +2 -2
  50. package/dist-es/commands/UntagResourceCommand.js +2 -2
  51. package/dist-es/endpoint/bdd.js +1 -1
  52. package/dist-es/endpoint/endpointResolver.js +1 -1
  53. package/dist-es/models/SWFServiceException.js +1 -1
  54. package/dist-es/runtimeConfig.browser.js +4 -6
  55. package/dist-es/runtimeConfig.js +4 -8
  56. package/dist-es/runtimeConfig.shared.js +3 -4
  57. package/dist-es/runtimeExtensions.js +2 -2
  58. package/dist-types/SWFClient.d.ts +5 -5
  59. package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -4
  60. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +6 -4
  61. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +6 -4
  62. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +6 -4
  63. package/dist-types/commands/DeleteActivityTypeCommand.d.ts +6 -4
  64. package/dist-types/commands/DeleteWorkflowTypeCommand.d.ts +6 -4
  65. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +6 -4
  66. package/dist-types/commands/DeprecateDomainCommand.d.ts +6 -4
  67. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +6 -4
  68. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +6 -4
  69. package/dist-types/commands/DescribeDomainCommand.d.ts +6 -4
  70. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +6 -4
  71. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +6 -4
  72. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +6 -4
  73. package/dist-types/commands/ListActivityTypesCommand.d.ts +6 -4
  74. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -4
  75. package/dist-types/commands/ListDomainsCommand.d.ts +6 -4
  76. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +6 -4
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  78. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +6 -4
  79. package/dist-types/commands/PollForActivityTaskCommand.d.ts +6 -4
  80. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +6 -4
  81. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +6 -4
  82. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +6 -4
  83. package/dist-types/commands/RegisterDomainCommand.d.ts +6 -4
  84. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +6 -4
  85. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +6 -4
  86. package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +6 -4
  87. package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +6 -4
  88. package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +6 -4
  89. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +6 -4
  90. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +6 -4
  91. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +6 -4
  92. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  93. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +6 -4
  94. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +6 -4
  95. package/dist-types/commands/UndeprecateDomainCommand.d.ts +6 -4
  96. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +6 -4
  97. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  98. package/dist-types/endpoint/bdd.d.ts +1 -1
  99. package/dist-types/extensionConfiguration.d.ts +1 -1
  100. package/dist-types/models/SWFServiceException.d.ts +1 -1
  101. package/dist-types/models/errors.d.ts +1 -1
  102. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  103. package/dist-types/runtimeConfig.d.ts +2 -2
  104. package/dist-types/runtimeConfig.native.d.ts +2 -2
  105. package/dist-types/ts3.4/SWFClient.d.ts +8 -14
  106. package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -4
  107. package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +6 -4
  108. package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +6 -4
  109. package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +6 -4
  110. package/dist-types/ts3.4/commands/DeleteActivityTypeCommand.d.ts +6 -4
  111. package/dist-types/ts3.4/commands/DeleteWorkflowTypeCommand.d.ts +6 -4
  112. package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +6 -4
  113. package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +6 -4
  114. package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +6 -4
  115. package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +6 -4
  116. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +6 -4
  117. package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +6 -4
  118. package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +6 -4
  119. package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +6 -4
  120. package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +6 -4
  121. package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -4
  122. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +6 -4
  123. package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +6 -4
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  125. package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +6 -4
  126. package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +6 -4
  127. package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +6 -4
  128. package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +6 -4
  129. package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +6 -4
  130. package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +6 -4
  131. package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +6 -4
  132. package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +6 -4
  133. package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +6 -4
  134. package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +6 -4
  135. package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  146. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  147. package/dist-types/ts3.4/models/SWFServiceException.d.ts +1 -1
  148. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  149. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  150. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  151. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  152. package/package.json +13 -34
package/dist-cjs/index.js CHANGED
@@ -4,19 +4,18 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
- var client = require('@aws-sdk/core/client');
18
+ var client$1 = require('@aws-sdk/core/client');
20
19
  var errors = require('./models/errors');
21
20
  var SWFServiceException = require('./models/SWFServiceException');
22
21
 
@@ -74,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
74
73
  };
75
74
 
76
75
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
77
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
78
77
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
79
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
80
79
  };
81
80
 
82
- class SWFClient extends smithyClient.Client {
81
+ class SWFClient extends client.Client {
83
82
  config;
84
83
  constructor(...[configuration]) {
85
84
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -87,17 +86,17 @@ class SWFClient extends smithyClient.Client {
87
86
  this.initConfig = _config_0;
88
87
  const _config_1 = resolveClientEndpointParameters(_config_0);
89
88
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
90
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
91
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_3 = retry.resolveRetryConfig(_config_2);
90
+ const _config_4 = config.resolveRegionConfig(_config_3);
92
91
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
93
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
94
93
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
95
94
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
96
95
  this.config = _config_8;
97
96
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
98
97
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
99
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
100
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
99
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
101
100
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
103
102
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -114,11 +113,11 @@ class SWFClient extends smithyClient.Client {
114
113
  }
115
114
  }
116
115
 
117
- class CountClosedWorkflowExecutionsCommand extends smithyClient.Command
116
+ class CountClosedWorkflowExecutionsCommand extends client.Command
118
117
  .classBuilder()
119
118
  .ep(commonParams)
120
119
  .m(function (Command, cs, config, o) {
121
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
120
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
122
121
  })
123
122
  .s("SimpleWorkflowService", "CountClosedWorkflowExecutions", {})
124
123
  .n("SWFClient", "CountClosedWorkflowExecutionsCommand")
@@ -126,11 +125,11 @@ class CountClosedWorkflowExecutionsCommand extends smithyClient.Command
126
125
  .build() {
127
126
  }
128
127
 
129
- class CountOpenWorkflowExecutionsCommand extends smithyClient.Command
128
+ class CountOpenWorkflowExecutionsCommand extends client.Command
130
129
  .classBuilder()
131
130
  .ep(commonParams)
132
131
  .m(function (Command, cs, config, o) {
133
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
132
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
134
133
  })
135
134
  .s("SimpleWorkflowService", "CountOpenWorkflowExecutions", {})
136
135
  .n("SWFClient", "CountOpenWorkflowExecutionsCommand")
@@ -138,11 +137,11 @@ class CountOpenWorkflowExecutionsCommand extends smithyClient.Command
138
137
  .build() {
139
138
  }
140
139
 
141
- class CountPendingActivityTasksCommand extends smithyClient.Command
140
+ class CountPendingActivityTasksCommand extends client.Command
142
141
  .classBuilder()
143
142
  .ep(commonParams)
144
143
  .m(function (Command, cs, config, o) {
145
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
144
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
146
145
  })
147
146
  .s("SimpleWorkflowService", "CountPendingActivityTasks", {})
148
147
  .n("SWFClient", "CountPendingActivityTasksCommand")
@@ -150,11 +149,11 @@ class CountPendingActivityTasksCommand extends smithyClient.Command
150
149
  .build() {
151
150
  }
152
151
 
153
- class CountPendingDecisionTasksCommand extends smithyClient.Command
152
+ class CountPendingDecisionTasksCommand extends client.Command
154
153
  .classBuilder()
155
154
  .ep(commonParams)
156
155
  .m(function (Command, cs, config, o) {
157
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
156
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
158
157
  })
159
158
  .s("SimpleWorkflowService", "CountPendingDecisionTasks", {})
160
159
  .n("SWFClient", "CountPendingDecisionTasksCommand")
@@ -162,11 +161,11 @@ class CountPendingDecisionTasksCommand extends smithyClient.Command
162
161
  .build() {
163
162
  }
164
163
 
165
- class DeleteActivityTypeCommand extends smithyClient.Command
164
+ class DeleteActivityTypeCommand extends client.Command
166
165
  .classBuilder()
167
166
  .ep(commonParams)
168
167
  .m(function (Command, cs, config, o) {
169
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
168
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
170
169
  })
171
170
  .s("SimpleWorkflowService", "DeleteActivityType", {})
172
171
  .n("SWFClient", "DeleteActivityTypeCommand")
@@ -174,11 +173,11 @@ class DeleteActivityTypeCommand extends smithyClient.Command
174
173
  .build() {
175
174
  }
176
175
 
177
- class DeleteWorkflowTypeCommand extends smithyClient.Command
176
+ class DeleteWorkflowTypeCommand extends client.Command
178
177
  .classBuilder()
179
178
  .ep(commonParams)
180
179
  .m(function (Command, cs, config, o) {
181
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
180
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
182
181
  })
183
182
  .s("SimpleWorkflowService", "DeleteWorkflowType", {})
184
183
  .n("SWFClient", "DeleteWorkflowTypeCommand")
@@ -186,11 +185,11 @@ class DeleteWorkflowTypeCommand extends smithyClient.Command
186
185
  .build() {
187
186
  }
188
187
 
189
- class DeprecateActivityTypeCommand extends smithyClient.Command
188
+ class DeprecateActivityTypeCommand extends client.Command
190
189
  .classBuilder()
191
190
  .ep(commonParams)
192
191
  .m(function (Command, cs, config, o) {
193
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
192
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
193
  })
195
194
  .s("SimpleWorkflowService", "DeprecateActivityType", {})
196
195
  .n("SWFClient", "DeprecateActivityTypeCommand")
@@ -198,11 +197,11 @@ class DeprecateActivityTypeCommand extends smithyClient.Command
198
197
  .build() {
199
198
  }
200
199
 
201
- class DeprecateDomainCommand extends smithyClient.Command
200
+ class DeprecateDomainCommand extends client.Command
202
201
  .classBuilder()
203
202
  .ep(commonParams)
204
203
  .m(function (Command, cs, config, o) {
205
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
204
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
206
205
  })
207
206
  .s("SimpleWorkflowService", "DeprecateDomain", {})
208
207
  .n("SWFClient", "DeprecateDomainCommand")
@@ -210,11 +209,11 @@ class DeprecateDomainCommand extends smithyClient.Command
210
209
  .build() {
211
210
  }
212
211
 
213
- class DeprecateWorkflowTypeCommand extends smithyClient.Command
212
+ class DeprecateWorkflowTypeCommand extends client.Command
214
213
  .classBuilder()
215
214
  .ep(commonParams)
216
215
  .m(function (Command, cs, config, o) {
217
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
216
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
218
217
  })
219
218
  .s("SimpleWorkflowService", "DeprecateWorkflowType", {})
220
219
  .n("SWFClient", "DeprecateWorkflowTypeCommand")
@@ -222,11 +221,11 @@ class DeprecateWorkflowTypeCommand extends smithyClient.Command
222
221
  .build() {
223
222
  }
224
223
 
225
- class DescribeActivityTypeCommand extends smithyClient.Command
224
+ class DescribeActivityTypeCommand extends client.Command
226
225
  .classBuilder()
227
226
  .ep(commonParams)
228
227
  .m(function (Command, cs, config, o) {
229
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
228
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
229
  })
231
230
  .s("SimpleWorkflowService", "DescribeActivityType", {})
232
231
  .n("SWFClient", "DescribeActivityTypeCommand")
@@ -234,11 +233,11 @@ class DescribeActivityTypeCommand extends smithyClient.Command
234
233
  .build() {
235
234
  }
236
235
 
237
- class DescribeDomainCommand extends smithyClient.Command
236
+ class DescribeDomainCommand extends client.Command
238
237
  .classBuilder()
239
238
  .ep(commonParams)
240
239
  .m(function (Command, cs, config, o) {
241
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
240
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
242
241
  })
243
242
  .s("SimpleWorkflowService", "DescribeDomain", {})
244
243
  .n("SWFClient", "DescribeDomainCommand")
@@ -246,11 +245,11 @@ class DescribeDomainCommand extends smithyClient.Command
246
245
  .build() {
247
246
  }
248
247
 
249
- class DescribeWorkflowExecutionCommand extends smithyClient.Command
248
+ class DescribeWorkflowExecutionCommand extends client.Command
250
249
  .classBuilder()
251
250
  .ep(commonParams)
252
251
  .m(function (Command, cs, config, o) {
253
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
252
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
254
253
  })
255
254
  .s("SimpleWorkflowService", "DescribeWorkflowExecution", {})
256
255
  .n("SWFClient", "DescribeWorkflowExecutionCommand")
@@ -258,11 +257,11 @@ class DescribeWorkflowExecutionCommand extends smithyClient.Command
258
257
  .build() {
259
258
  }
260
259
 
261
- class DescribeWorkflowTypeCommand extends smithyClient.Command
260
+ class DescribeWorkflowTypeCommand extends client.Command
262
261
  .classBuilder()
263
262
  .ep(commonParams)
264
263
  .m(function (Command, cs, config, o) {
265
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
264
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
265
  })
267
266
  .s("SimpleWorkflowService", "DescribeWorkflowType", {})
268
267
  .n("SWFClient", "DescribeWorkflowTypeCommand")
@@ -270,11 +269,11 @@ class DescribeWorkflowTypeCommand extends smithyClient.Command
270
269
  .build() {
271
270
  }
272
271
 
273
- class GetWorkflowExecutionHistoryCommand extends smithyClient.Command
272
+ class GetWorkflowExecutionHistoryCommand extends client.Command
274
273
  .classBuilder()
275
274
  .ep(commonParams)
276
275
  .m(function (Command, cs, config, o) {
277
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
276
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
278
277
  })
279
278
  .s("SimpleWorkflowService", "GetWorkflowExecutionHistory", {})
280
279
  .n("SWFClient", "GetWorkflowExecutionHistoryCommand")
@@ -282,11 +281,11 @@ class GetWorkflowExecutionHistoryCommand extends smithyClient.Command
282
281
  .build() {
283
282
  }
284
283
 
285
- class ListActivityTypesCommand extends smithyClient.Command
284
+ class ListActivityTypesCommand extends client.Command
286
285
  .classBuilder()
287
286
  .ep(commonParams)
288
287
  .m(function (Command, cs, config, o) {
289
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
288
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
290
289
  })
291
290
  .s("SimpleWorkflowService", "ListActivityTypes", {})
292
291
  .n("SWFClient", "ListActivityTypesCommand")
@@ -294,11 +293,11 @@ class ListActivityTypesCommand extends smithyClient.Command
294
293
  .build() {
295
294
  }
296
295
 
297
- class ListClosedWorkflowExecutionsCommand extends smithyClient.Command
296
+ class ListClosedWorkflowExecutionsCommand extends client.Command
298
297
  .classBuilder()
299
298
  .ep(commonParams)
300
299
  .m(function (Command, cs, config, o) {
301
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
300
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
302
301
  })
303
302
  .s("SimpleWorkflowService", "ListClosedWorkflowExecutions", {})
304
303
  .n("SWFClient", "ListClosedWorkflowExecutionsCommand")
@@ -306,11 +305,11 @@ class ListClosedWorkflowExecutionsCommand extends smithyClient.Command
306
305
  .build() {
307
306
  }
308
307
 
309
- class ListDomainsCommand extends smithyClient.Command
308
+ class ListDomainsCommand extends client.Command
310
309
  .classBuilder()
311
310
  .ep(commonParams)
312
311
  .m(function (Command, cs, config, o) {
313
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
312
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
314
313
  })
315
314
  .s("SimpleWorkflowService", "ListDomains", {})
316
315
  .n("SWFClient", "ListDomainsCommand")
@@ -318,11 +317,11 @@ class ListDomainsCommand extends smithyClient.Command
318
317
  .build() {
319
318
  }
320
319
 
321
- class ListOpenWorkflowExecutionsCommand extends smithyClient.Command
320
+ class ListOpenWorkflowExecutionsCommand extends client.Command
322
321
  .classBuilder()
323
322
  .ep(commonParams)
324
323
  .m(function (Command, cs, config, o) {
325
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
324
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
326
325
  })
327
326
  .s("SimpleWorkflowService", "ListOpenWorkflowExecutions", {})
328
327
  .n("SWFClient", "ListOpenWorkflowExecutionsCommand")
@@ -330,11 +329,11 @@ class ListOpenWorkflowExecutionsCommand extends smithyClient.Command
330
329
  .build() {
331
330
  }
332
331
 
333
- class ListTagsForResourceCommand extends smithyClient.Command
332
+ class ListTagsForResourceCommand extends client.Command
334
333
  .classBuilder()
335
334
  .ep(commonParams)
336
335
  .m(function (Command, cs, config, o) {
337
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
336
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
338
337
  })
339
338
  .s("SimpleWorkflowService", "ListTagsForResource", {})
340
339
  .n("SWFClient", "ListTagsForResourceCommand")
@@ -342,11 +341,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
342
341
  .build() {
343
342
  }
344
343
 
345
- class ListWorkflowTypesCommand extends smithyClient.Command
344
+ class ListWorkflowTypesCommand extends client.Command
346
345
  .classBuilder()
347
346
  .ep(commonParams)
348
347
  .m(function (Command, cs, config, o) {
349
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
348
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
350
349
  })
351
350
  .s("SimpleWorkflowService", "ListWorkflowTypes", {})
352
351
  .n("SWFClient", "ListWorkflowTypesCommand")
@@ -354,13 +353,13 @@ class ListWorkflowTypesCommand extends smithyClient.Command
354
353
  .build() {
355
354
  }
356
355
 
357
- class PollForActivityTaskCommand extends smithyClient.Command
356
+ class PollForActivityTaskCommand extends client.Command
358
357
  .classBuilder()
359
358
  .ep(commonParams)
360
359
  .m(function (Command, cs, config, o) {
361
360
  return [
362
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
363
- client.getLongPollPlugin(config),
361
+ endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
362
+ client$1.getLongPollPlugin(config),
364
363
  ];
365
364
  })
366
365
  .s("SimpleWorkflowService", "PollForActivityTask", {})
@@ -369,13 +368,13 @@ class PollForActivityTaskCommand extends smithyClient.Command
369
368
  .build() {
370
369
  }
371
370
 
372
- class PollForDecisionTaskCommand extends smithyClient.Command
371
+ class PollForDecisionTaskCommand extends client.Command
373
372
  .classBuilder()
374
373
  .ep(commonParams)
375
374
  .m(function (Command, cs, config, o) {
376
375
  return [
377
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
378
- client.getLongPollPlugin(config),
376
+ endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
377
+ client$1.getLongPollPlugin(config),
379
378
  ];
380
379
  })
381
380
  .s("SimpleWorkflowService", "PollForDecisionTask", {})
@@ -384,11 +383,11 @@ class PollForDecisionTaskCommand extends smithyClient.Command
384
383
  .build() {
385
384
  }
386
385
 
387
- class RecordActivityTaskHeartbeatCommand extends smithyClient.Command
386
+ class RecordActivityTaskHeartbeatCommand extends client.Command
388
387
  .classBuilder()
389
388
  .ep(commonParams)
390
389
  .m(function (Command, cs, config, o) {
391
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
390
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
391
  })
393
392
  .s("SimpleWorkflowService", "RecordActivityTaskHeartbeat", {})
394
393
  .n("SWFClient", "RecordActivityTaskHeartbeatCommand")
@@ -396,11 +395,11 @@ class RecordActivityTaskHeartbeatCommand extends smithyClient.Command
396
395
  .build() {
397
396
  }
398
397
 
399
- class RegisterActivityTypeCommand extends smithyClient.Command
398
+ class RegisterActivityTypeCommand extends client.Command
400
399
  .classBuilder()
401
400
  .ep(commonParams)
402
401
  .m(function (Command, cs, config, o) {
403
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
402
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
404
403
  })
405
404
  .s("SimpleWorkflowService", "RegisterActivityType", {})
406
405
  .n("SWFClient", "RegisterActivityTypeCommand")
@@ -408,11 +407,11 @@ class RegisterActivityTypeCommand extends smithyClient.Command
408
407
  .build() {
409
408
  }
410
409
 
411
- class RegisterDomainCommand extends smithyClient.Command
410
+ class RegisterDomainCommand extends client.Command
412
411
  .classBuilder()
413
412
  .ep(commonParams)
414
413
  .m(function (Command, cs, config, o) {
415
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
414
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
416
415
  })
417
416
  .s("SimpleWorkflowService", "RegisterDomain", {})
418
417
  .n("SWFClient", "RegisterDomainCommand")
@@ -420,11 +419,11 @@ class RegisterDomainCommand extends smithyClient.Command
420
419
  .build() {
421
420
  }
422
421
 
423
- class RegisterWorkflowTypeCommand extends smithyClient.Command
422
+ class RegisterWorkflowTypeCommand extends client.Command
424
423
  .classBuilder()
425
424
  .ep(commonParams)
426
425
  .m(function (Command, cs, config, o) {
427
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
426
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
428
427
  })
429
428
  .s("SimpleWorkflowService", "RegisterWorkflowType", {})
430
429
  .n("SWFClient", "RegisterWorkflowTypeCommand")
@@ -432,11 +431,11 @@ class RegisterWorkflowTypeCommand extends smithyClient.Command
432
431
  .build() {
433
432
  }
434
433
 
435
- class RequestCancelWorkflowExecutionCommand extends smithyClient.Command
434
+ class RequestCancelWorkflowExecutionCommand extends client.Command
436
435
  .classBuilder()
437
436
  .ep(commonParams)
438
437
  .m(function (Command, cs, config, o) {
439
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
438
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
440
439
  })
441
440
  .s("SimpleWorkflowService", "RequestCancelWorkflowExecution", {})
442
441
  .n("SWFClient", "RequestCancelWorkflowExecutionCommand")
@@ -444,11 +443,11 @@ class RequestCancelWorkflowExecutionCommand extends smithyClient.Command
444
443
  .build() {
445
444
  }
446
445
 
447
- class RespondActivityTaskCanceledCommand extends smithyClient.Command
446
+ class RespondActivityTaskCanceledCommand extends client.Command
448
447
  .classBuilder()
449
448
  .ep(commonParams)
450
449
  .m(function (Command, cs, config, o) {
451
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
450
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
451
  })
453
452
  .s("SimpleWorkflowService", "RespondActivityTaskCanceled", {})
454
453
  .n("SWFClient", "RespondActivityTaskCanceledCommand")
@@ -456,11 +455,11 @@ class RespondActivityTaskCanceledCommand extends smithyClient.Command
456
455
  .build() {
457
456
  }
458
457
 
459
- class RespondActivityTaskCompletedCommand extends smithyClient.Command
458
+ class RespondActivityTaskCompletedCommand extends client.Command
460
459
  .classBuilder()
461
460
  .ep(commonParams)
462
461
  .m(function (Command, cs, config, o) {
463
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
462
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
464
463
  })
465
464
  .s("SimpleWorkflowService", "RespondActivityTaskCompleted", {})
466
465
  .n("SWFClient", "RespondActivityTaskCompletedCommand")
@@ -468,11 +467,11 @@ class RespondActivityTaskCompletedCommand extends smithyClient.Command
468
467
  .build() {
469
468
  }
470
469
 
471
- class RespondActivityTaskFailedCommand extends smithyClient.Command
470
+ class RespondActivityTaskFailedCommand extends client.Command
472
471
  .classBuilder()
473
472
  .ep(commonParams)
474
473
  .m(function (Command, cs, config, o) {
475
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
474
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
476
475
  })
477
476
  .s("SimpleWorkflowService", "RespondActivityTaskFailed", {})
478
477
  .n("SWFClient", "RespondActivityTaskFailedCommand")
@@ -480,11 +479,11 @@ class RespondActivityTaskFailedCommand extends smithyClient.Command
480
479
  .build() {
481
480
  }
482
481
 
483
- class RespondDecisionTaskCompletedCommand extends smithyClient.Command
482
+ class RespondDecisionTaskCompletedCommand extends client.Command
484
483
  .classBuilder()
485
484
  .ep(commonParams)
486
485
  .m(function (Command, cs, config, o) {
487
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
486
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
488
487
  })
489
488
  .s("SimpleWorkflowService", "RespondDecisionTaskCompleted", {})
490
489
  .n("SWFClient", "RespondDecisionTaskCompletedCommand")
@@ -492,11 +491,11 @@ class RespondDecisionTaskCompletedCommand extends smithyClient.Command
492
491
  .build() {
493
492
  }
494
493
 
495
- class SignalWorkflowExecutionCommand extends smithyClient.Command
494
+ class SignalWorkflowExecutionCommand extends client.Command
496
495
  .classBuilder()
497
496
  .ep(commonParams)
498
497
  .m(function (Command, cs, config, o) {
499
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
498
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
500
499
  })
501
500
  .s("SimpleWorkflowService", "SignalWorkflowExecution", {})
502
501
  .n("SWFClient", "SignalWorkflowExecutionCommand")
@@ -504,11 +503,11 @@ class SignalWorkflowExecutionCommand extends smithyClient.Command
504
503
  .build() {
505
504
  }
506
505
 
507
- class StartWorkflowExecutionCommand extends smithyClient.Command
506
+ class StartWorkflowExecutionCommand extends client.Command
508
507
  .classBuilder()
509
508
  .ep(commonParams)
510
509
  .m(function (Command, cs, config, o) {
511
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
510
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
512
511
  })
513
512
  .s("SimpleWorkflowService", "StartWorkflowExecution", {})
514
513
  .n("SWFClient", "StartWorkflowExecutionCommand")
@@ -516,11 +515,11 @@ class StartWorkflowExecutionCommand extends smithyClient.Command
516
515
  .build() {
517
516
  }
518
517
 
519
- class TagResourceCommand extends smithyClient.Command
518
+ class TagResourceCommand extends client.Command
520
519
  .classBuilder()
521
520
  .ep(commonParams)
522
521
  .m(function (Command, cs, config, o) {
523
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
522
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
524
523
  })
525
524
  .s("SimpleWorkflowService", "TagResource", {})
526
525
  .n("SWFClient", "TagResourceCommand")
@@ -528,11 +527,11 @@ class TagResourceCommand extends smithyClient.Command
528
527
  .build() {
529
528
  }
530
529
 
531
- class TerminateWorkflowExecutionCommand extends smithyClient.Command
530
+ class TerminateWorkflowExecutionCommand extends client.Command
532
531
  .classBuilder()
533
532
  .ep(commonParams)
534
533
  .m(function (Command, cs, config, o) {
535
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
534
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
535
  })
537
536
  .s("SimpleWorkflowService", "TerminateWorkflowExecution", {})
538
537
  .n("SWFClient", "TerminateWorkflowExecutionCommand")
@@ -540,11 +539,11 @@ class TerminateWorkflowExecutionCommand extends smithyClient.Command
540
539
  .build() {
541
540
  }
542
541
 
543
- class UndeprecateActivityTypeCommand extends smithyClient.Command
542
+ class UndeprecateActivityTypeCommand extends client.Command
544
543
  .classBuilder()
545
544
  .ep(commonParams)
546
545
  .m(function (Command, cs, config, o) {
547
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
546
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
548
547
  })
549
548
  .s("SimpleWorkflowService", "UndeprecateActivityType", {})
550
549
  .n("SWFClient", "UndeprecateActivityTypeCommand")
@@ -552,11 +551,11 @@ class UndeprecateActivityTypeCommand extends smithyClient.Command
552
551
  .build() {
553
552
  }
554
553
 
555
- class UndeprecateDomainCommand extends smithyClient.Command
554
+ class UndeprecateDomainCommand extends client.Command
556
555
  .classBuilder()
557
556
  .ep(commonParams)
558
557
  .m(function (Command, cs, config, o) {
559
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
558
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
560
559
  })
561
560
  .s("SimpleWorkflowService", "UndeprecateDomain", {})
562
561
  .n("SWFClient", "UndeprecateDomainCommand")
@@ -564,11 +563,11 @@ class UndeprecateDomainCommand extends smithyClient.Command
564
563
  .build() {
565
564
  }
566
565
 
567
- class UndeprecateWorkflowTypeCommand extends smithyClient.Command
566
+ class UndeprecateWorkflowTypeCommand extends client.Command
568
567
  .classBuilder()
569
568
  .ep(commonParams)
570
569
  .m(function (Command, cs, config, o) {
571
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
570
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
572
571
  })
573
572
  .s("SimpleWorkflowService", "UndeprecateWorkflowType", {})
574
573
  .n("SWFClient", "UndeprecateWorkflowTypeCommand")
@@ -576,11 +575,11 @@ class UndeprecateWorkflowTypeCommand extends smithyClient.Command
576
575
  .build() {
577
576
  }
578
577
 
579
- class UntagResourceCommand extends smithyClient.Command
578
+ class UntagResourceCommand extends client.Command
580
579
  .classBuilder()
581
580
  .ep(commonParams)
582
581
  .m(function (Command, cs, config, o) {
583
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
582
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
584
583
  })
585
584
  .s("SimpleWorkflowService", "UntagResource", {})
586
585
  .n("SWFClient", "UntagResourceCommand")
@@ -654,7 +653,7 @@ const paginators = {
654
653
  };
655
654
  class SWF extends SWFClient {
656
655
  }
657
- smithyClient.createAggregatedClient(commands, SWF, { paginators });
656
+ client.createAggregatedClient(commands, SWF, { paginators });
658
657
 
659
658
  const ActivityTaskTimeoutType = {
660
659
  HEARTBEAT: "HEARTBEAT",
@@ -858,8 +857,8 @@ const ExecutionStatus = {
858
857
  OPEN: "OPEN",
859
858
  };
860
859
 
861
- exports.$Command = smithyClient.Command;
862
- exports.__Client = smithyClient.Client;
860
+ exports.$Command = client.Command;
861
+ exports.__Client = client.Client;
863
862
  exports.SWFServiceException = SWFServiceException.SWFServiceException;
864
863
  exports.ActivityTaskTimeoutType = ActivityTaskTimeoutType;
865
864
  exports.CancelTimerFailedCause = CancelTimerFailedCause;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SWFServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SWFServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class SWFServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, SWFServiceException.prototype);