@aws-sdk/client-swf 3.1068.0 → 3.1070.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.
package/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var SWFServiceException = require('./models/SWFServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getLongPollPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultSWFHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CountClosedWorkflowExecutions$, CountOpenWorkflowExecutions$, CountPendingActivityTasks$, CountPendingDecisionTasks$, DeleteActivityType$, DeleteWorkflowType$, DeprecateActivityType$, DeprecateDomain$, DeprecateWorkflowType$, DescribeActivityType$, DescribeDomain$, DescribeWorkflowExecution$, DescribeWorkflowType$, GetWorkflowExecutionHistory$, ListActivityTypes$, ListClosedWorkflowExecutions$, ListDomains$, ListOpenWorkflowExecutions$, ListTagsForResource$, ListWorkflowTypes$, PollForActivityTask$, PollForDecisionTask$, RecordActivityTaskHeartbeat$, RegisterActivityType$, RegisterDomain$, RegisterWorkflowType$, RequestCancelWorkflowExecution$, RespondActivityTaskCanceled$, RespondActivityTaskCompleted$, RespondActivityTaskFailed$, RespondDecisionTaskCompleted$, SignalWorkflowExecution$, StartWorkflowExecution$, TagResource$, TerminateWorkflowExecution$, UndeprecateActivityType$, UndeprecateDomain$, UndeprecateWorkflowType$, UntagResource$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { SWFServiceException } = require("./models/SWFServiceException");
18
+ exports.SWFServiceException = SWFServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,533 +71,533 @@ const resolveHttpAuthRuntimeConfig = (config) => {
68
71
  };
69
72
 
70
73
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
74
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
75
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
77
  };
75
78
 
76
- class SWFClient extends client.Client {
79
+ class SWFClient extends Client {
77
80
  config;
78
81
  constructor(...[configuration]) {
79
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
82
+ const _config_0 = getRuntimeConfig(configuration || {});
80
83
  super(_config_0);
81
84
  this.initConfig = _config_0;
82
85
  const _config_1 = resolveClientEndpointParameters(_config_0);
83
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
84
- const _config_3 = retry.resolveRetryConfig(_config_2);
85
- const _config_4 = config.resolveRegionConfig(_config_3);
86
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
87
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
88
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
86
+ const _config_2 = resolveUserAgentConfig(_config_1);
87
+ const _config_3 = resolveRetryConfig(_config_2);
88
+ const _config_4 = resolveRegionConfig(_config_3);
89
+ const _config_5 = resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = resolveEndpointConfig(_config_5);
91
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
89
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
93
  this.config = _config_8;
91
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
93
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
94
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
95
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
96
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
97
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
98
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
99
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSWFHttpAuthSchemeParametersProvider,
100
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
94
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
95
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(getRetryPlugin(this.config));
97
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: defaultSWFHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
101
104
  "aws.auth#sigv4": config.credentials,
102
105
  }),
103
106
  }));
104
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
105
108
  }
106
109
  destroy() {
107
110
  super.destroy();
108
111
  }
109
112
  }
110
113
 
111
- class CountClosedWorkflowExecutionsCommand extends client.Command
114
+ class CountClosedWorkflowExecutionsCommand extends Command
112
115
  .classBuilder()
113
116
  .ep(commonParams)
114
117
  .m(function (Command, cs, config, o) {
115
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
118
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
119
  })
117
120
  .s("SimpleWorkflowService", "CountClosedWorkflowExecutions", {})
118
121
  .n("SWFClient", "CountClosedWorkflowExecutionsCommand")
119
- .sc(schemas_0.CountClosedWorkflowExecutions$)
122
+ .sc(CountClosedWorkflowExecutions$)
120
123
  .build() {
121
124
  }
122
125
 
123
- class CountOpenWorkflowExecutionsCommand extends client.Command
126
+ class CountOpenWorkflowExecutionsCommand extends Command
124
127
  .classBuilder()
125
128
  .ep(commonParams)
126
129
  .m(function (Command, cs, config, o) {
127
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
131
  })
129
132
  .s("SimpleWorkflowService", "CountOpenWorkflowExecutions", {})
130
133
  .n("SWFClient", "CountOpenWorkflowExecutionsCommand")
131
- .sc(schemas_0.CountOpenWorkflowExecutions$)
134
+ .sc(CountOpenWorkflowExecutions$)
132
135
  .build() {
133
136
  }
134
137
 
135
- class CountPendingActivityTasksCommand extends client.Command
138
+ class CountPendingActivityTasksCommand extends Command
136
139
  .classBuilder()
137
140
  .ep(commonParams)
138
141
  .m(function (Command, cs, config, o) {
139
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
143
  })
141
144
  .s("SimpleWorkflowService", "CountPendingActivityTasks", {})
142
145
  .n("SWFClient", "CountPendingActivityTasksCommand")
143
- .sc(schemas_0.CountPendingActivityTasks$)
146
+ .sc(CountPendingActivityTasks$)
144
147
  .build() {
145
148
  }
146
149
 
147
- class CountPendingDecisionTasksCommand extends client.Command
150
+ class CountPendingDecisionTasksCommand extends Command
148
151
  .classBuilder()
149
152
  .ep(commonParams)
150
153
  .m(function (Command, cs, config, o) {
151
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
155
  })
153
156
  .s("SimpleWorkflowService", "CountPendingDecisionTasks", {})
154
157
  .n("SWFClient", "CountPendingDecisionTasksCommand")
155
- .sc(schemas_0.CountPendingDecisionTasks$)
158
+ .sc(CountPendingDecisionTasks$)
156
159
  .build() {
157
160
  }
158
161
 
159
- class DeleteActivityTypeCommand extends client.Command
162
+ class DeleteActivityTypeCommand extends Command
160
163
  .classBuilder()
161
164
  .ep(commonParams)
162
165
  .m(function (Command, cs, config, o) {
163
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
167
  })
165
168
  .s("SimpleWorkflowService", "DeleteActivityType", {})
166
169
  .n("SWFClient", "DeleteActivityTypeCommand")
167
- .sc(schemas_0.DeleteActivityType$)
170
+ .sc(DeleteActivityType$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class DeleteWorkflowTypeCommand extends client.Command
174
+ class DeleteWorkflowTypeCommand extends Command
172
175
  .classBuilder()
173
176
  .ep(commonParams)
174
177
  .m(function (Command, cs, config, o) {
175
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
179
  })
177
180
  .s("SimpleWorkflowService", "DeleteWorkflowType", {})
178
181
  .n("SWFClient", "DeleteWorkflowTypeCommand")
179
- .sc(schemas_0.DeleteWorkflowType$)
182
+ .sc(DeleteWorkflowType$)
180
183
  .build() {
181
184
  }
182
185
 
183
- class DeprecateActivityTypeCommand extends client.Command
186
+ class DeprecateActivityTypeCommand extends Command
184
187
  .classBuilder()
185
188
  .ep(commonParams)
186
189
  .m(function (Command, cs, config, o) {
187
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
191
  })
189
192
  .s("SimpleWorkflowService", "DeprecateActivityType", {})
190
193
  .n("SWFClient", "DeprecateActivityTypeCommand")
191
- .sc(schemas_0.DeprecateActivityType$)
194
+ .sc(DeprecateActivityType$)
192
195
  .build() {
193
196
  }
194
197
 
195
- class DeprecateDomainCommand extends client.Command
198
+ class DeprecateDomainCommand extends Command
196
199
  .classBuilder()
197
200
  .ep(commonParams)
198
201
  .m(function (Command, cs, config, o) {
199
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
203
  })
201
204
  .s("SimpleWorkflowService", "DeprecateDomain", {})
202
205
  .n("SWFClient", "DeprecateDomainCommand")
203
- .sc(schemas_0.DeprecateDomain$)
206
+ .sc(DeprecateDomain$)
204
207
  .build() {
205
208
  }
206
209
 
207
- class DeprecateWorkflowTypeCommand extends client.Command
210
+ class DeprecateWorkflowTypeCommand extends Command
208
211
  .classBuilder()
209
212
  .ep(commonParams)
210
213
  .m(function (Command, cs, config, o) {
211
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
215
  })
213
216
  .s("SimpleWorkflowService", "DeprecateWorkflowType", {})
214
217
  .n("SWFClient", "DeprecateWorkflowTypeCommand")
215
- .sc(schemas_0.DeprecateWorkflowType$)
218
+ .sc(DeprecateWorkflowType$)
216
219
  .build() {
217
220
  }
218
221
 
219
- class DescribeActivityTypeCommand extends client.Command
222
+ class DescribeActivityTypeCommand extends Command
220
223
  .classBuilder()
221
224
  .ep(commonParams)
222
225
  .m(function (Command, cs, config, o) {
223
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
227
  })
225
228
  .s("SimpleWorkflowService", "DescribeActivityType", {})
226
229
  .n("SWFClient", "DescribeActivityTypeCommand")
227
- .sc(schemas_0.DescribeActivityType$)
230
+ .sc(DescribeActivityType$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class DescribeDomainCommand extends client.Command
234
+ class DescribeDomainCommand extends Command
232
235
  .classBuilder()
233
236
  .ep(commonParams)
234
237
  .m(function (Command, cs, config, o) {
235
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
239
  })
237
240
  .s("SimpleWorkflowService", "DescribeDomain", {})
238
241
  .n("SWFClient", "DescribeDomainCommand")
239
- .sc(schemas_0.DescribeDomain$)
242
+ .sc(DescribeDomain$)
240
243
  .build() {
241
244
  }
242
245
 
243
- class DescribeWorkflowExecutionCommand extends client.Command
246
+ class DescribeWorkflowExecutionCommand extends Command
244
247
  .classBuilder()
245
248
  .ep(commonParams)
246
249
  .m(function (Command, cs, config, o) {
247
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
251
  })
249
252
  .s("SimpleWorkflowService", "DescribeWorkflowExecution", {})
250
253
  .n("SWFClient", "DescribeWorkflowExecutionCommand")
251
- .sc(schemas_0.DescribeWorkflowExecution$)
254
+ .sc(DescribeWorkflowExecution$)
252
255
  .build() {
253
256
  }
254
257
 
255
- class DescribeWorkflowTypeCommand extends client.Command
258
+ class DescribeWorkflowTypeCommand extends Command
256
259
  .classBuilder()
257
260
  .ep(commonParams)
258
261
  .m(function (Command, cs, config, o) {
259
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
262
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
263
  })
261
264
  .s("SimpleWorkflowService", "DescribeWorkflowType", {})
262
265
  .n("SWFClient", "DescribeWorkflowTypeCommand")
263
- .sc(schemas_0.DescribeWorkflowType$)
266
+ .sc(DescribeWorkflowType$)
264
267
  .build() {
265
268
  }
266
269
 
267
- class GetWorkflowExecutionHistoryCommand extends client.Command
270
+ class GetWorkflowExecutionHistoryCommand extends Command
268
271
  .classBuilder()
269
272
  .ep(commonParams)
270
273
  .m(function (Command, cs, config, o) {
271
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
274
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
275
  })
273
276
  .s("SimpleWorkflowService", "GetWorkflowExecutionHistory", {})
274
277
  .n("SWFClient", "GetWorkflowExecutionHistoryCommand")
275
- .sc(schemas_0.GetWorkflowExecutionHistory$)
278
+ .sc(GetWorkflowExecutionHistory$)
276
279
  .build() {
277
280
  }
278
281
 
279
- class ListActivityTypesCommand extends client.Command
282
+ class ListActivityTypesCommand extends Command
280
283
  .classBuilder()
281
284
  .ep(commonParams)
282
285
  .m(function (Command, cs, config, o) {
283
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
287
  })
285
288
  .s("SimpleWorkflowService", "ListActivityTypes", {})
286
289
  .n("SWFClient", "ListActivityTypesCommand")
287
- .sc(schemas_0.ListActivityTypes$)
290
+ .sc(ListActivityTypes$)
288
291
  .build() {
289
292
  }
290
293
 
291
- class ListClosedWorkflowExecutionsCommand extends client.Command
294
+ class ListClosedWorkflowExecutionsCommand extends Command
292
295
  .classBuilder()
293
296
  .ep(commonParams)
294
297
  .m(function (Command, cs, config, o) {
295
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
299
  })
297
300
  .s("SimpleWorkflowService", "ListClosedWorkflowExecutions", {})
298
301
  .n("SWFClient", "ListClosedWorkflowExecutionsCommand")
299
- .sc(schemas_0.ListClosedWorkflowExecutions$)
302
+ .sc(ListClosedWorkflowExecutions$)
300
303
  .build() {
301
304
  }
302
305
 
303
- class ListDomainsCommand extends client.Command
306
+ class ListDomainsCommand extends Command
304
307
  .classBuilder()
305
308
  .ep(commonParams)
306
309
  .m(function (Command, cs, config, o) {
307
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
310
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
311
  })
309
312
  .s("SimpleWorkflowService", "ListDomains", {})
310
313
  .n("SWFClient", "ListDomainsCommand")
311
- .sc(schemas_0.ListDomains$)
314
+ .sc(ListDomains$)
312
315
  .build() {
313
316
  }
314
317
 
315
- class ListOpenWorkflowExecutionsCommand extends client.Command
318
+ class ListOpenWorkflowExecutionsCommand extends Command
316
319
  .classBuilder()
317
320
  .ep(commonParams)
318
321
  .m(function (Command, cs, config, o) {
319
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
322
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
323
  })
321
324
  .s("SimpleWorkflowService", "ListOpenWorkflowExecutions", {})
322
325
  .n("SWFClient", "ListOpenWorkflowExecutionsCommand")
323
- .sc(schemas_0.ListOpenWorkflowExecutions$)
326
+ .sc(ListOpenWorkflowExecutions$)
324
327
  .build() {
325
328
  }
326
329
 
327
- class ListTagsForResourceCommand extends client.Command
330
+ class ListTagsForResourceCommand extends Command
328
331
  .classBuilder()
329
332
  .ep(commonParams)
330
333
  .m(function (Command, cs, config, o) {
331
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
334
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
335
  })
333
336
  .s("SimpleWorkflowService", "ListTagsForResource", {})
334
337
  .n("SWFClient", "ListTagsForResourceCommand")
335
- .sc(schemas_0.ListTagsForResource$)
338
+ .sc(ListTagsForResource$)
336
339
  .build() {
337
340
  }
338
341
 
339
- class ListWorkflowTypesCommand extends client.Command
342
+ class ListWorkflowTypesCommand extends Command
340
343
  .classBuilder()
341
344
  .ep(commonParams)
342
345
  .m(function (Command, cs, config, o) {
343
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
346
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
347
  })
345
348
  .s("SimpleWorkflowService", "ListWorkflowTypes", {})
346
349
  .n("SWFClient", "ListWorkflowTypesCommand")
347
- .sc(schemas_0.ListWorkflowTypes$)
350
+ .sc(ListWorkflowTypes$)
348
351
  .build() {
349
352
  }
350
353
 
351
- class PollForActivityTaskCommand extends client.Command
354
+ class PollForActivityTaskCommand extends Command
352
355
  .classBuilder()
353
356
  .ep(commonParams)
354
357
  .m(function (Command, cs, config, o) {
355
358
  return [
356
- endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
357
- client$1.getLongPollPlugin(config),
359
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
360
+ getLongPollPlugin(config),
358
361
  ];
359
362
  })
360
363
  .s("SimpleWorkflowService", "PollForActivityTask", {})
361
364
  .n("SWFClient", "PollForActivityTaskCommand")
362
- .sc(schemas_0.PollForActivityTask$)
365
+ .sc(PollForActivityTask$)
363
366
  .build() {
364
367
  }
365
368
 
366
- class PollForDecisionTaskCommand extends client.Command
369
+ class PollForDecisionTaskCommand extends Command
367
370
  .classBuilder()
368
371
  .ep(commonParams)
369
372
  .m(function (Command, cs, config, o) {
370
373
  return [
371
- endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
372
- client$1.getLongPollPlugin(config),
374
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
375
+ getLongPollPlugin(config),
373
376
  ];
374
377
  })
375
378
  .s("SimpleWorkflowService", "PollForDecisionTask", {})
376
379
  .n("SWFClient", "PollForDecisionTaskCommand")
377
- .sc(schemas_0.PollForDecisionTask$)
380
+ .sc(PollForDecisionTask$)
378
381
  .build() {
379
382
  }
380
383
 
381
- class RecordActivityTaskHeartbeatCommand extends client.Command
384
+ class RecordActivityTaskHeartbeatCommand extends Command
382
385
  .classBuilder()
383
386
  .ep(commonParams)
384
387
  .m(function (Command, cs, config, o) {
385
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
388
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
386
389
  })
387
390
  .s("SimpleWorkflowService", "RecordActivityTaskHeartbeat", {})
388
391
  .n("SWFClient", "RecordActivityTaskHeartbeatCommand")
389
- .sc(schemas_0.RecordActivityTaskHeartbeat$)
392
+ .sc(RecordActivityTaskHeartbeat$)
390
393
  .build() {
391
394
  }
392
395
 
393
- class RegisterActivityTypeCommand extends client.Command
396
+ class RegisterActivityTypeCommand extends Command
394
397
  .classBuilder()
395
398
  .ep(commonParams)
396
399
  .m(function (Command, cs, config, o) {
397
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
400
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
398
401
  })
399
402
  .s("SimpleWorkflowService", "RegisterActivityType", {})
400
403
  .n("SWFClient", "RegisterActivityTypeCommand")
401
- .sc(schemas_0.RegisterActivityType$)
404
+ .sc(RegisterActivityType$)
402
405
  .build() {
403
406
  }
404
407
 
405
- class RegisterDomainCommand extends client.Command
408
+ class RegisterDomainCommand extends Command
406
409
  .classBuilder()
407
410
  .ep(commonParams)
408
411
  .m(function (Command, cs, config, o) {
409
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
412
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
410
413
  })
411
414
  .s("SimpleWorkflowService", "RegisterDomain", {})
412
415
  .n("SWFClient", "RegisterDomainCommand")
413
- .sc(schemas_0.RegisterDomain$)
416
+ .sc(RegisterDomain$)
414
417
  .build() {
415
418
  }
416
419
 
417
- class RegisterWorkflowTypeCommand extends client.Command
420
+ class RegisterWorkflowTypeCommand extends Command
418
421
  .classBuilder()
419
422
  .ep(commonParams)
420
423
  .m(function (Command, cs, config, o) {
421
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
424
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
425
  })
423
426
  .s("SimpleWorkflowService", "RegisterWorkflowType", {})
424
427
  .n("SWFClient", "RegisterWorkflowTypeCommand")
425
- .sc(schemas_0.RegisterWorkflowType$)
428
+ .sc(RegisterWorkflowType$)
426
429
  .build() {
427
430
  }
428
431
 
429
- class RequestCancelWorkflowExecutionCommand extends client.Command
432
+ class RequestCancelWorkflowExecutionCommand extends Command
430
433
  .classBuilder()
431
434
  .ep(commonParams)
432
435
  .m(function (Command, cs, config, o) {
433
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
436
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
437
  })
435
438
  .s("SimpleWorkflowService", "RequestCancelWorkflowExecution", {})
436
439
  .n("SWFClient", "RequestCancelWorkflowExecutionCommand")
437
- .sc(schemas_0.RequestCancelWorkflowExecution$)
440
+ .sc(RequestCancelWorkflowExecution$)
438
441
  .build() {
439
442
  }
440
443
 
441
- class RespondActivityTaskCanceledCommand extends client.Command
444
+ class RespondActivityTaskCanceledCommand extends Command
442
445
  .classBuilder()
443
446
  .ep(commonParams)
444
447
  .m(function (Command, cs, config, o) {
445
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
448
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
446
449
  })
447
450
  .s("SimpleWorkflowService", "RespondActivityTaskCanceled", {})
448
451
  .n("SWFClient", "RespondActivityTaskCanceledCommand")
449
- .sc(schemas_0.RespondActivityTaskCanceled$)
452
+ .sc(RespondActivityTaskCanceled$)
450
453
  .build() {
451
454
  }
452
455
 
453
- class RespondActivityTaskCompletedCommand extends client.Command
456
+ class RespondActivityTaskCompletedCommand extends Command
454
457
  .classBuilder()
455
458
  .ep(commonParams)
456
459
  .m(function (Command, cs, config, o) {
457
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
460
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
458
461
  })
459
462
  .s("SimpleWorkflowService", "RespondActivityTaskCompleted", {})
460
463
  .n("SWFClient", "RespondActivityTaskCompletedCommand")
461
- .sc(schemas_0.RespondActivityTaskCompleted$)
464
+ .sc(RespondActivityTaskCompleted$)
462
465
  .build() {
463
466
  }
464
467
 
465
- class RespondActivityTaskFailedCommand extends client.Command
468
+ class RespondActivityTaskFailedCommand extends Command
466
469
  .classBuilder()
467
470
  .ep(commonParams)
468
471
  .m(function (Command, cs, config, o) {
469
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
472
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
470
473
  })
471
474
  .s("SimpleWorkflowService", "RespondActivityTaskFailed", {})
472
475
  .n("SWFClient", "RespondActivityTaskFailedCommand")
473
- .sc(schemas_0.RespondActivityTaskFailed$)
476
+ .sc(RespondActivityTaskFailed$)
474
477
  .build() {
475
478
  }
476
479
 
477
- class RespondDecisionTaskCompletedCommand extends client.Command
480
+ class RespondDecisionTaskCompletedCommand extends Command
478
481
  .classBuilder()
479
482
  .ep(commonParams)
480
483
  .m(function (Command, cs, config, o) {
481
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
484
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
485
  })
483
486
  .s("SimpleWorkflowService", "RespondDecisionTaskCompleted", {})
484
487
  .n("SWFClient", "RespondDecisionTaskCompletedCommand")
485
- .sc(schemas_0.RespondDecisionTaskCompleted$)
488
+ .sc(RespondDecisionTaskCompleted$)
486
489
  .build() {
487
490
  }
488
491
 
489
- class SignalWorkflowExecutionCommand extends client.Command
492
+ class SignalWorkflowExecutionCommand extends Command
490
493
  .classBuilder()
491
494
  .ep(commonParams)
492
495
  .m(function (Command, cs, config, o) {
493
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
496
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
497
  })
495
498
  .s("SimpleWorkflowService", "SignalWorkflowExecution", {})
496
499
  .n("SWFClient", "SignalWorkflowExecutionCommand")
497
- .sc(schemas_0.SignalWorkflowExecution$)
500
+ .sc(SignalWorkflowExecution$)
498
501
  .build() {
499
502
  }
500
503
 
501
- class StartWorkflowExecutionCommand extends client.Command
504
+ class StartWorkflowExecutionCommand extends Command
502
505
  .classBuilder()
503
506
  .ep(commonParams)
504
507
  .m(function (Command, cs, config, o) {
505
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
508
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
506
509
  })
507
510
  .s("SimpleWorkflowService", "StartWorkflowExecution", {})
508
511
  .n("SWFClient", "StartWorkflowExecutionCommand")
509
- .sc(schemas_0.StartWorkflowExecution$)
512
+ .sc(StartWorkflowExecution$)
510
513
  .build() {
511
514
  }
512
515
 
513
- class TagResourceCommand extends client.Command
516
+ class TagResourceCommand extends Command
514
517
  .classBuilder()
515
518
  .ep(commonParams)
516
519
  .m(function (Command, cs, config, o) {
517
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
520
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
518
521
  })
519
522
  .s("SimpleWorkflowService", "TagResource", {})
520
523
  .n("SWFClient", "TagResourceCommand")
521
- .sc(schemas_0.TagResource$)
524
+ .sc(TagResource$)
522
525
  .build() {
523
526
  }
524
527
 
525
- class TerminateWorkflowExecutionCommand extends client.Command
528
+ class TerminateWorkflowExecutionCommand extends Command
526
529
  .classBuilder()
527
530
  .ep(commonParams)
528
531
  .m(function (Command, cs, config, o) {
529
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
532
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
530
533
  })
531
534
  .s("SimpleWorkflowService", "TerminateWorkflowExecution", {})
532
535
  .n("SWFClient", "TerminateWorkflowExecutionCommand")
533
- .sc(schemas_0.TerminateWorkflowExecution$)
536
+ .sc(TerminateWorkflowExecution$)
534
537
  .build() {
535
538
  }
536
539
 
537
- class UndeprecateActivityTypeCommand extends client.Command
540
+ class UndeprecateActivityTypeCommand extends Command
538
541
  .classBuilder()
539
542
  .ep(commonParams)
540
543
  .m(function (Command, cs, config, o) {
541
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
544
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
542
545
  })
543
546
  .s("SimpleWorkflowService", "UndeprecateActivityType", {})
544
547
  .n("SWFClient", "UndeprecateActivityTypeCommand")
545
- .sc(schemas_0.UndeprecateActivityType$)
548
+ .sc(UndeprecateActivityType$)
546
549
  .build() {
547
550
  }
548
551
 
549
- class UndeprecateDomainCommand extends client.Command
552
+ class UndeprecateDomainCommand extends Command
550
553
  .classBuilder()
551
554
  .ep(commonParams)
552
555
  .m(function (Command, cs, config, o) {
553
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
556
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
554
557
  })
555
558
  .s("SimpleWorkflowService", "UndeprecateDomain", {})
556
559
  .n("SWFClient", "UndeprecateDomainCommand")
557
- .sc(schemas_0.UndeprecateDomain$)
560
+ .sc(UndeprecateDomain$)
558
561
  .build() {
559
562
  }
560
563
 
561
- class UndeprecateWorkflowTypeCommand extends client.Command
564
+ class UndeprecateWorkflowTypeCommand extends Command
562
565
  .classBuilder()
563
566
  .ep(commonParams)
564
567
  .m(function (Command, cs, config, o) {
565
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
568
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
566
569
  })
567
570
  .s("SimpleWorkflowService", "UndeprecateWorkflowType", {})
568
571
  .n("SWFClient", "UndeprecateWorkflowTypeCommand")
569
- .sc(schemas_0.UndeprecateWorkflowType$)
572
+ .sc(UndeprecateWorkflowType$)
570
573
  .build() {
571
574
  }
572
575
 
573
- class UntagResourceCommand extends client.Command
576
+ class UntagResourceCommand extends Command
574
577
  .classBuilder()
575
578
  .ep(commonParams)
576
579
  .m(function (Command, cs, config, o) {
577
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
580
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
578
581
  })
579
582
  .s("SimpleWorkflowService", "UntagResource", {})
580
583
  .n("SWFClient", "UntagResourceCommand")
581
- .sc(schemas_0.UntagResource$)
584
+ .sc(UntagResource$)
582
585
  .build() {
583
586
  }
584
587
 
585
- const paginateGetWorkflowExecutionHistory = core.createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
588
+ const paginateGetWorkflowExecutionHistory = createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
586
589
 
587
- const paginateListActivityTypes = core.createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
590
+ const paginateListActivityTypes = createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
588
591
 
589
- const paginateListClosedWorkflowExecutions = core.createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
592
+ const paginateListClosedWorkflowExecutions = createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
590
593
 
591
- const paginateListDomains = core.createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
594
+ const paginateListDomains = createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
592
595
 
593
- const paginateListOpenWorkflowExecutions = core.createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
596
+ const paginateListOpenWorkflowExecutions = createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
594
597
 
595
- const paginateListWorkflowTypes = core.createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
598
+ const paginateListWorkflowTypes = createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
596
599
 
597
- const paginatePollForDecisionTask = core.createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
600
+ const paginatePollForDecisionTask = createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
598
601
 
599
602
  const commands = {
600
603
  CountClosedWorkflowExecutionsCommand,
@@ -648,7 +651,7 @@ const paginators = {
648
651
  };
649
652
  class SWF extends SWFClient {
650
653
  }
651
- client.createAggregatedClient(commands, SWF, { paginators });
654
+ createAggregatedClient(commands, SWF, { paginators });
652
655
 
653
656
  const ActivityTaskTimeoutType = {
654
657
  HEARTBEAT: "HEARTBEAT",
@@ -852,9 +855,6 @@ const ExecutionStatus = {
852
855
  OPEN: "OPEN",
853
856
  };
854
857
 
855
- exports.$Command = client.Command;
856
- exports.__Client = client.Client;
857
- exports.SWFServiceException = SWFServiceException.SWFServiceException;
858
858
  exports.ActivityTaskTimeoutType = ActivityTaskTimeoutType;
859
859
  exports.CancelTimerFailedCause = CancelTimerFailedCause;
860
860
  exports.CancelWorkflowExecutionFailedCause = CancelWorkflowExecutionFailedCause;
@@ -929,23 +929,3 @@ exports.paginateListDomains = paginateListDomains;
929
929
  exports.paginateListOpenWorkflowExecutions = paginateListOpenWorkflowExecutions;
930
930
  exports.paginateListWorkflowTypes = paginateListWorkflowTypes;
931
931
  exports.paginatePollForDecisionTask = paginatePollForDecisionTask;
932
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
933
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
934
- Object.defineProperty(exports, '__proto__', {
935
- enumerable: true,
936
- value: schemas_0['__proto__']
937
- });
938
-
939
- Object.keys(schemas_0).forEach(function (k) {
940
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
941
- });
942
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
943
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
944
- Object.defineProperty(exports, '__proto__', {
945
- enumerable: true,
946
- value: errors['__proto__']
947
- });
948
-
949
- Object.keys(errors).forEach(function (k) {
950
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
951
- });