@aws-sdk/client-swf 3.309.0 → 3.312.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.
@@ -7,370 +7,259 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const SWFServiceException_1 = require("../models/SWFServiceException");
9
9
  const se_CountClosedWorkflowExecutionsCommand = async (input, context) => {
10
- const headers = {
11
- "content-type": "application/x-amz-json-1.0",
12
- "x-amz-target": "SimpleWorkflowService.CountClosedWorkflowExecutions",
13
- };
10
+ const headers = sharedHeaders("CountClosedWorkflowExecutions");
14
11
  let body;
15
12
  body = JSON.stringify(se_CountClosedWorkflowExecutionsInput(input, context));
16
13
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
14
  };
18
15
  exports.se_CountClosedWorkflowExecutionsCommand = se_CountClosedWorkflowExecutionsCommand;
19
16
  const se_CountOpenWorkflowExecutionsCommand = async (input, context) => {
20
- const headers = {
21
- "content-type": "application/x-amz-json-1.0",
22
- "x-amz-target": "SimpleWorkflowService.CountOpenWorkflowExecutions",
23
- };
17
+ const headers = sharedHeaders("CountOpenWorkflowExecutions");
24
18
  let body;
25
19
  body = JSON.stringify(se_CountOpenWorkflowExecutionsInput(input, context));
26
20
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
27
21
  };
28
22
  exports.se_CountOpenWorkflowExecutionsCommand = se_CountOpenWorkflowExecutionsCommand;
29
23
  const se_CountPendingActivityTasksCommand = async (input, context) => {
30
- const headers = {
31
- "content-type": "application/x-amz-json-1.0",
32
- "x-amz-target": "SimpleWorkflowService.CountPendingActivityTasks",
33
- };
24
+ const headers = sharedHeaders("CountPendingActivityTasks");
34
25
  let body;
35
26
  body = JSON.stringify(se_CountPendingActivityTasksInput(input, context));
36
27
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
37
28
  };
38
29
  exports.se_CountPendingActivityTasksCommand = se_CountPendingActivityTasksCommand;
39
30
  const se_CountPendingDecisionTasksCommand = async (input, context) => {
40
- const headers = {
41
- "content-type": "application/x-amz-json-1.0",
42
- "x-amz-target": "SimpleWorkflowService.CountPendingDecisionTasks",
43
- };
31
+ const headers = sharedHeaders("CountPendingDecisionTasks");
44
32
  let body;
45
33
  body = JSON.stringify(se_CountPendingDecisionTasksInput(input, context));
46
34
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
35
  };
48
36
  exports.se_CountPendingDecisionTasksCommand = se_CountPendingDecisionTasksCommand;
49
37
  const se_DeprecateActivityTypeCommand = async (input, context) => {
50
- const headers = {
51
- "content-type": "application/x-amz-json-1.0",
52
- "x-amz-target": "SimpleWorkflowService.DeprecateActivityType",
53
- };
38
+ const headers = sharedHeaders("DeprecateActivityType");
54
39
  let body;
55
40
  body = JSON.stringify(se_DeprecateActivityTypeInput(input, context));
56
41
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
57
42
  };
58
43
  exports.se_DeprecateActivityTypeCommand = se_DeprecateActivityTypeCommand;
59
44
  const se_DeprecateDomainCommand = async (input, context) => {
60
- const headers = {
61
- "content-type": "application/x-amz-json-1.0",
62
- "x-amz-target": "SimpleWorkflowService.DeprecateDomain",
63
- };
45
+ const headers = sharedHeaders("DeprecateDomain");
64
46
  let body;
65
47
  body = JSON.stringify(se_DeprecateDomainInput(input, context));
66
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
49
  };
68
50
  exports.se_DeprecateDomainCommand = se_DeprecateDomainCommand;
69
51
  const se_DeprecateWorkflowTypeCommand = async (input, context) => {
70
- const headers = {
71
- "content-type": "application/x-amz-json-1.0",
72
- "x-amz-target": "SimpleWorkflowService.DeprecateWorkflowType",
73
- };
52
+ const headers = sharedHeaders("DeprecateWorkflowType");
74
53
  let body;
75
54
  body = JSON.stringify(se_DeprecateWorkflowTypeInput(input, context));
76
55
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
56
  };
78
57
  exports.se_DeprecateWorkflowTypeCommand = se_DeprecateWorkflowTypeCommand;
79
58
  const se_DescribeActivityTypeCommand = async (input, context) => {
80
- const headers = {
81
- "content-type": "application/x-amz-json-1.0",
82
- "x-amz-target": "SimpleWorkflowService.DescribeActivityType",
83
- };
59
+ const headers = sharedHeaders("DescribeActivityType");
84
60
  let body;
85
61
  body = JSON.stringify(se_DescribeActivityTypeInput(input, context));
86
62
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
87
63
  };
88
64
  exports.se_DescribeActivityTypeCommand = se_DescribeActivityTypeCommand;
89
65
  const se_DescribeDomainCommand = async (input, context) => {
90
- const headers = {
91
- "content-type": "application/x-amz-json-1.0",
92
- "x-amz-target": "SimpleWorkflowService.DescribeDomain",
93
- };
66
+ const headers = sharedHeaders("DescribeDomain");
94
67
  let body;
95
68
  body = JSON.stringify(se_DescribeDomainInput(input, context));
96
69
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
97
70
  };
98
71
  exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
99
72
  const se_DescribeWorkflowExecutionCommand = async (input, context) => {
100
- const headers = {
101
- "content-type": "application/x-amz-json-1.0",
102
- "x-amz-target": "SimpleWorkflowService.DescribeWorkflowExecution",
103
- };
73
+ const headers = sharedHeaders("DescribeWorkflowExecution");
104
74
  let body;
105
75
  body = JSON.stringify(se_DescribeWorkflowExecutionInput(input, context));
106
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
107
77
  };
108
78
  exports.se_DescribeWorkflowExecutionCommand = se_DescribeWorkflowExecutionCommand;
109
79
  const se_DescribeWorkflowTypeCommand = async (input, context) => {
110
- const headers = {
111
- "content-type": "application/x-amz-json-1.0",
112
- "x-amz-target": "SimpleWorkflowService.DescribeWorkflowType",
113
- };
80
+ const headers = sharedHeaders("DescribeWorkflowType");
114
81
  let body;
115
82
  body = JSON.stringify(se_DescribeWorkflowTypeInput(input, context));
116
83
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
117
84
  };
118
85
  exports.se_DescribeWorkflowTypeCommand = se_DescribeWorkflowTypeCommand;
119
86
  const se_GetWorkflowExecutionHistoryCommand = async (input, context) => {
120
- const headers = {
121
- "content-type": "application/x-amz-json-1.0",
122
- "x-amz-target": "SimpleWorkflowService.GetWorkflowExecutionHistory",
123
- };
87
+ const headers = sharedHeaders("GetWorkflowExecutionHistory");
124
88
  let body;
125
89
  body = JSON.stringify(se_GetWorkflowExecutionHistoryInput(input, context));
126
90
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
127
91
  };
128
92
  exports.se_GetWorkflowExecutionHistoryCommand = se_GetWorkflowExecutionHistoryCommand;
129
93
  const se_ListActivityTypesCommand = async (input, context) => {
130
- const headers = {
131
- "content-type": "application/x-amz-json-1.0",
132
- "x-amz-target": "SimpleWorkflowService.ListActivityTypes",
133
- };
94
+ const headers = sharedHeaders("ListActivityTypes");
134
95
  let body;
135
96
  body = JSON.stringify(se_ListActivityTypesInput(input, context));
136
97
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
137
98
  };
138
99
  exports.se_ListActivityTypesCommand = se_ListActivityTypesCommand;
139
100
  const se_ListClosedWorkflowExecutionsCommand = async (input, context) => {
140
- const headers = {
141
- "content-type": "application/x-amz-json-1.0",
142
- "x-amz-target": "SimpleWorkflowService.ListClosedWorkflowExecutions",
143
- };
101
+ const headers = sharedHeaders("ListClosedWorkflowExecutions");
144
102
  let body;
145
103
  body = JSON.stringify(se_ListClosedWorkflowExecutionsInput(input, context));
146
104
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
147
105
  };
148
106
  exports.se_ListClosedWorkflowExecutionsCommand = se_ListClosedWorkflowExecutionsCommand;
149
107
  const se_ListDomainsCommand = async (input, context) => {
150
- const headers = {
151
- "content-type": "application/x-amz-json-1.0",
152
- "x-amz-target": "SimpleWorkflowService.ListDomains",
153
- };
108
+ const headers = sharedHeaders("ListDomains");
154
109
  let body;
155
110
  body = JSON.stringify(se_ListDomainsInput(input, context));
156
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
112
  };
158
113
  exports.se_ListDomainsCommand = se_ListDomainsCommand;
159
114
  const se_ListOpenWorkflowExecutionsCommand = async (input, context) => {
160
- const headers = {
161
- "content-type": "application/x-amz-json-1.0",
162
- "x-amz-target": "SimpleWorkflowService.ListOpenWorkflowExecutions",
163
- };
115
+ const headers = sharedHeaders("ListOpenWorkflowExecutions");
164
116
  let body;
165
117
  body = JSON.stringify(se_ListOpenWorkflowExecutionsInput(input, context));
166
118
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
119
  };
168
120
  exports.se_ListOpenWorkflowExecutionsCommand = se_ListOpenWorkflowExecutionsCommand;
169
121
  const se_ListTagsForResourceCommand = async (input, context) => {
170
- const headers = {
171
- "content-type": "application/x-amz-json-1.0",
172
- "x-amz-target": "SimpleWorkflowService.ListTagsForResource",
173
- };
122
+ const headers = sharedHeaders("ListTagsForResource");
174
123
  let body;
175
124
  body = JSON.stringify(se_ListTagsForResourceInput(input, context));
176
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
177
126
  };
178
127
  exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
179
128
  const se_ListWorkflowTypesCommand = async (input, context) => {
180
- const headers = {
181
- "content-type": "application/x-amz-json-1.0",
182
- "x-amz-target": "SimpleWorkflowService.ListWorkflowTypes",
183
- };
129
+ const headers = sharedHeaders("ListWorkflowTypes");
184
130
  let body;
185
131
  body = JSON.stringify(se_ListWorkflowTypesInput(input, context));
186
132
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
187
133
  };
188
134
  exports.se_ListWorkflowTypesCommand = se_ListWorkflowTypesCommand;
189
135
  const se_PollForActivityTaskCommand = async (input, context) => {
190
- const headers = {
191
- "content-type": "application/x-amz-json-1.0",
192
- "x-amz-target": "SimpleWorkflowService.PollForActivityTask",
193
- };
136
+ const headers = sharedHeaders("PollForActivityTask");
194
137
  let body;
195
138
  body = JSON.stringify(se_PollForActivityTaskInput(input, context));
196
139
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
197
140
  };
198
141
  exports.se_PollForActivityTaskCommand = se_PollForActivityTaskCommand;
199
142
  const se_PollForDecisionTaskCommand = async (input, context) => {
200
- const headers = {
201
- "content-type": "application/x-amz-json-1.0",
202
- "x-amz-target": "SimpleWorkflowService.PollForDecisionTask",
203
- };
143
+ const headers = sharedHeaders("PollForDecisionTask");
204
144
  let body;
205
145
  body = JSON.stringify(se_PollForDecisionTaskInput(input, context));
206
146
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
207
147
  };
208
148
  exports.se_PollForDecisionTaskCommand = se_PollForDecisionTaskCommand;
209
149
  const se_RecordActivityTaskHeartbeatCommand = async (input, context) => {
210
- const headers = {
211
- "content-type": "application/x-amz-json-1.0",
212
- "x-amz-target": "SimpleWorkflowService.RecordActivityTaskHeartbeat",
213
- };
150
+ const headers = sharedHeaders("RecordActivityTaskHeartbeat");
214
151
  let body;
215
152
  body = JSON.stringify(se_RecordActivityTaskHeartbeatInput(input, context));
216
153
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
217
154
  };
218
155
  exports.se_RecordActivityTaskHeartbeatCommand = se_RecordActivityTaskHeartbeatCommand;
219
156
  const se_RegisterActivityTypeCommand = async (input, context) => {
220
- const headers = {
221
- "content-type": "application/x-amz-json-1.0",
222
- "x-amz-target": "SimpleWorkflowService.RegisterActivityType",
223
- };
157
+ const headers = sharedHeaders("RegisterActivityType");
224
158
  let body;
225
159
  body = JSON.stringify(se_RegisterActivityTypeInput(input, context));
226
160
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
227
161
  };
228
162
  exports.se_RegisterActivityTypeCommand = se_RegisterActivityTypeCommand;
229
163
  const se_RegisterDomainCommand = async (input, context) => {
230
- const headers = {
231
- "content-type": "application/x-amz-json-1.0",
232
- "x-amz-target": "SimpleWorkflowService.RegisterDomain",
233
- };
164
+ const headers = sharedHeaders("RegisterDomain");
234
165
  let body;
235
166
  body = JSON.stringify(se_RegisterDomainInput(input, context));
236
167
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
237
168
  };
238
169
  exports.se_RegisterDomainCommand = se_RegisterDomainCommand;
239
170
  const se_RegisterWorkflowTypeCommand = async (input, context) => {
240
- const headers = {
241
- "content-type": "application/x-amz-json-1.0",
242
- "x-amz-target": "SimpleWorkflowService.RegisterWorkflowType",
243
- };
171
+ const headers = sharedHeaders("RegisterWorkflowType");
244
172
  let body;
245
173
  body = JSON.stringify(se_RegisterWorkflowTypeInput(input, context));
246
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
175
  };
248
176
  exports.se_RegisterWorkflowTypeCommand = se_RegisterWorkflowTypeCommand;
249
177
  const se_RequestCancelWorkflowExecutionCommand = async (input, context) => {
250
- const headers = {
251
- "content-type": "application/x-amz-json-1.0",
252
- "x-amz-target": "SimpleWorkflowService.RequestCancelWorkflowExecution",
253
- };
178
+ const headers = sharedHeaders("RequestCancelWorkflowExecution");
254
179
  let body;
255
180
  body = JSON.stringify(se_RequestCancelWorkflowExecutionInput(input, context));
256
181
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
182
  };
258
183
  exports.se_RequestCancelWorkflowExecutionCommand = se_RequestCancelWorkflowExecutionCommand;
259
184
  const se_RespondActivityTaskCanceledCommand = async (input, context) => {
260
- const headers = {
261
- "content-type": "application/x-amz-json-1.0",
262
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCanceled",
263
- };
185
+ const headers = sharedHeaders("RespondActivityTaskCanceled");
264
186
  let body;
265
187
  body = JSON.stringify(se_RespondActivityTaskCanceledInput(input, context));
266
188
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
267
189
  };
268
190
  exports.se_RespondActivityTaskCanceledCommand = se_RespondActivityTaskCanceledCommand;
269
191
  const se_RespondActivityTaskCompletedCommand = async (input, context) => {
270
- const headers = {
271
- "content-type": "application/x-amz-json-1.0",
272
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCompleted",
273
- };
192
+ const headers = sharedHeaders("RespondActivityTaskCompleted");
274
193
  let body;
275
194
  body = JSON.stringify(se_RespondActivityTaskCompletedInput(input, context));
276
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
277
196
  };
278
197
  exports.se_RespondActivityTaskCompletedCommand = se_RespondActivityTaskCompletedCommand;
279
198
  const se_RespondActivityTaskFailedCommand = async (input, context) => {
280
- const headers = {
281
- "content-type": "application/x-amz-json-1.0",
282
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskFailed",
283
- };
199
+ const headers = sharedHeaders("RespondActivityTaskFailed");
284
200
  let body;
285
201
  body = JSON.stringify(se_RespondActivityTaskFailedInput(input, context));
286
202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
287
203
  };
288
204
  exports.se_RespondActivityTaskFailedCommand = se_RespondActivityTaskFailedCommand;
289
205
  const se_RespondDecisionTaskCompletedCommand = async (input, context) => {
290
- const headers = {
291
- "content-type": "application/x-amz-json-1.0",
292
- "x-amz-target": "SimpleWorkflowService.RespondDecisionTaskCompleted",
293
- };
206
+ const headers = sharedHeaders("RespondDecisionTaskCompleted");
294
207
  let body;
295
208
  body = JSON.stringify(se_RespondDecisionTaskCompletedInput(input, context));
296
209
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
297
210
  };
298
211
  exports.se_RespondDecisionTaskCompletedCommand = se_RespondDecisionTaskCompletedCommand;
299
212
  const se_SignalWorkflowExecutionCommand = async (input, context) => {
300
- const headers = {
301
- "content-type": "application/x-amz-json-1.0",
302
- "x-amz-target": "SimpleWorkflowService.SignalWorkflowExecution",
303
- };
213
+ const headers = sharedHeaders("SignalWorkflowExecution");
304
214
  let body;
305
215
  body = JSON.stringify(se_SignalWorkflowExecutionInput(input, context));
306
216
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
307
217
  };
308
218
  exports.se_SignalWorkflowExecutionCommand = se_SignalWorkflowExecutionCommand;
309
219
  const se_StartWorkflowExecutionCommand = async (input, context) => {
310
- const headers = {
311
- "content-type": "application/x-amz-json-1.0",
312
- "x-amz-target": "SimpleWorkflowService.StartWorkflowExecution",
313
- };
220
+ const headers = sharedHeaders("StartWorkflowExecution");
314
221
  let body;
315
222
  body = JSON.stringify(se_StartWorkflowExecutionInput(input, context));
316
223
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
317
224
  };
318
225
  exports.se_StartWorkflowExecutionCommand = se_StartWorkflowExecutionCommand;
319
226
  const se_TagResourceCommand = async (input, context) => {
320
- const headers = {
321
- "content-type": "application/x-amz-json-1.0",
322
- "x-amz-target": "SimpleWorkflowService.TagResource",
323
- };
227
+ const headers = sharedHeaders("TagResource");
324
228
  let body;
325
229
  body = JSON.stringify(se_TagResourceInput(input, context));
326
230
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
231
  };
328
232
  exports.se_TagResourceCommand = se_TagResourceCommand;
329
233
  const se_TerminateWorkflowExecutionCommand = async (input, context) => {
330
- const headers = {
331
- "content-type": "application/x-amz-json-1.0",
332
- "x-amz-target": "SimpleWorkflowService.TerminateWorkflowExecution",
333
- };
234
+ const headers = sharedHeaders("TerminateWorkflowExecution");
334
235
  let body;
335
236
  body = JSON.stringify(se_TerminateWorkflowExecutionInput(input, context));
336
237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
238
  };
338
239
  exports.se_TerminateWorkflowExecutionCommand = se_TerminateWorkflowExecutionCommand;
339
240
  const se_UndeprecateActivityTypeCommand = async (input, context) => {
340
- const headers = {
341
- "content-type": "application/x-amz-json-1.0",
342
- "x-amz-target": "SimpleWorkflowService.UndeprecateActivityType",
343
- };
241
+ const headers = sharedHeaders("UndeprecateActivityType");
344
242
  let body;
345
243
  body = JSON.stringify(se_UndeprecateActivityTypeInput(input, context));
346
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
245
  };
348
246
  exports.se_UndeprecateActivityTypeCommand = se_UndeprecateActivityTypeCommand;
349
247
  const se_UndeprecateDomainCommand = async (input, context) => {
350
- const headers = {
351
- "content-type": "application/x-amz-json-1.0",
352
- "x-amz-target": "SimpleWorkflowService.UndeprecateDomain",
353
- };
248
+ const headers = sharedHeaders("UndeprecateDomain");
354
249
  let body;
355
250
  body = JSON.stringify(se_UndeprecateDomainInput(input, context));
356
251
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
357
252
  };
358
253
  exports.se_UndeprecateDomainCommand = se_UndeprecateDomainCommand;
359
254
  const se_UndeprecateWorkflowTypeCommand = async (input, context) => {
360
- const headers = {
361
- "content-type": "application/x-amz-json-1.0",
362
- "x-amz-target": "SimpleWorkflowService.UndeprecateWorkflowType",
363
- };
255
+ const headers = sharedHeaders("UndeprecateWorkflowType");
364
256
  let body;
365
257
  body = JSON.stringify(se_UndeprecateWorkflowTypeInput(input, context));
366
258
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
367
259
  };
368
260
  exports.se_UndeprecateWorkflowTypeCommand = se_UndeprecateWorkflowTypeCommand;
369
261
  const se_UntagResourceCommand = async (input, context) => {
370
- const headers = {
371
- "content-type": "application/x-amz-json-1.0",
372
- "x-amz-target": "SimpleWorkflowService.UntagResource",
373
- };
262
+ const headers = sharedHeaders("UntagResource");
374
263
  let body;
375
264
  body = JSON.stringify(se_UntagResourceInput(input, context));
376
265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -3405,6 +3294,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
3405
3294
  }
3406
3295
  return new protocol_http_1.HttpRequest(contents);
3407
3296
  };
3297
+ function sharedHeaders(operation) {
3298
+ return {
3299
+ "content-type": "application/x-amz-json-1.0",
3300
+ "x-amz-target": `SimpleWorkflowService.${operation}`,
3301
+ };
3302
+ }
3408
3303
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3409
3304
  if (encoded.length) {
3410
3305
  return JSON.parse(encoded);
@@ -3,334 +3,223 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { DefaultUndefinedFault, DomainAlreadyExistsFault, DomainDeprecatedFault, LimitExceededFault, OperationNotPermittedFault, TooManyTagsFault, TypeAlreadyExistsFault, TypeDeprecatedFault, UnknownResourceFault, WorkflowExecutionAlreadyStartedFault, } from "../models/models_0";
4
4
  import { SWFServiceException as __BaseException } from "../models/SWFServiceException";
5
5
  export const se_CountClosedWorkflowExecutionsCommand = async (input, context) => {
6
- const headers = {
7
- "content-type": "application/x-amz-json-1.0",
8
- "x-amz-target": "SimpleWorkflowService.CountClosedWorkflowExecutions",
9
- };
6
+ const headers = sharedHeaders("CountClosedWorkflowExecutions");
10
7
  let body;
11
8
  body = JSON.stringify(se_CountClosedWorkflowExecutionsInput(input, context));
12
9
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
10
  };
14
11
  export const se_CountOpenWorkflowExecutionsCommand = async (input, context) => {
15
- const headers = {
16
- "content-type": "application/x-amz-json-1.0",
17
- "x-amz-target": "SimpleWorkflowService.CountOpenWorkflowExecutions",
18
- };
12
+ const headers = sharedHeaders("CountOpenWorkflowExecutions");
19
13
  let body;
20
14
  body = JSON.stringify(se_CountOpenWorkflowExecutionsInput(input, context));
21
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
16
  };
23
17
  export const se_CountPendingActivityTasksCommand = async (input, context) => {
24
- const headers = {
25
- "content-type": "application/x-amz-json-1.0",
26
- "x-amz-target": "SimpleWorkflowService.CountPendingActivityTasks",
27
- };
18
+ const headers = sharedHeaders("CountPendingActivityTasks");
28
19
  let body;
29
20
  body = JSON.stringify(se_CountPendingActivityTasksInput(input, context));
30
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
22
  };
32
23
  export const se_CountPendingDecisionTasksCommand = async (input, context) => {
33
- const headers = {
34
- "content-type": "application/x-amz-json-1.0",
35
- "x-amz-target": "SimpleWorkflowService.CountPendingDecisionTasks",
36
- };
24
+ const headers = sharedHeaders("CountPendingDecisionTasks");
37
25
  let body;
38
26
  body = JSON.stringify(se_CountPendingDecisionTasksInput(input, context));
39
27
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
28
  };
41
29
  export const se_DeprecateActivityTypeCommand = async (input, context) => {
42
- const headers = {
43
- "content-type": "application/x-amz-json-1.0",
44
- "x-amz-target": "SimpleWorkflowService.DeprecateActivityType",
45
- };
30
+ const headers = sharedHeaders("DeprecateActivityType");
46
31
  let body;
47
32
  body = JSON.stringify(se_DeprecateActivityTypeInput(input, context));
48
33
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
34
  };
50
35
  export const se_DeprecateDomainCommand = async (input, context) => {
51
- const headers = {
52
- "content-type": "application/x-amz-json-1.0",
53
- "x-amz-target": "SimpleWorkflowService.DeprecateDomain",
54
- };
36
+ const headers = sharedHeaders("DeprecateDomain");
55
37
  let body;
56
38
  body = JSON.stringify(se_DeprecateDomainInput(input, context));
57
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
40
  };
59
41
  export const se_DeprecateWorkflowTypeCommand = async (input, context) => {
60
- const headers = {
61
- "content-type": "application/x-amz-json-1.0",
62
- "x-amz-target": "SimpleWorkflowService.DeprecateWorkflowType",
63
- };
42
+ const headers = sharedHeaders("DeprecateWorkflowType");
64
43
  let body;
65
44
  body = JSON.stringify(se_DeprecateWorkflowTypeInput(input, context));
66
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
46
  };
68
47
  export const se_DescribeActivityTypeCommand = async (input, context) => {
69
- const headers = {
70
- "content-type": "application/x-amz-json-1.0",
71
- "x-amz-target": "SimpleWorkflowService.DescribeActivityType",
72
- };
48
+ const headers = sharedHeaders("DescribeActivityType");
73
49
  let body;
74
50
  body = JSON.stringify(se_DescribeActivityTypeInput(input, context));
75
51
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
52
  };
77
53
  export const se_DescribeDomainCommand = async (input, context) => {
78
- const headers = {
79
- "content-type": "application/x-amz-json-1.0",
80
- "x-amz-target": "SimpleWorkflowService.DescribeDomain",
81
- };
54
+ const headers = sharedHeaders("DescribeDomain");
82
55
  let body;
83
56
  body = JSON.stringify(se_DescribeDomainInput(input, context));
84
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
58
  };
86
59
  export const se_DescribeWorkflowExecutionCommand = async (input, context) => {
87
- const headers = {
88
- "content-type": "application/x-amz-json-1.0",
89
- "x-amz-target": "SimpleWorkflowService.DescribeWorkflowExecution",
90
- };
60
+ const headers = sharedHeaders("DescribeWorkflowExecution");
91
61
  let body;
92
62
  body = JSON.stringify(se_DescribeWorkflowExecutionInput(input, context));
93
63
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
64
  };
95
65
  export const se_DescribeWorkflowTypeCommand = async (input, context) => {
96
- const headers = {
97
- "content-type": "application/x-amz-json-1.0",
98
- "x-amz-target": "SimpleWorkflowService.DescribeWorkflowType",
99
- };
66
+ const headers = sharedHeaders("DescribeWorkflowType");
100
67
  let body;
101
68
  body = JSON.stringify(se_DescribeWorkflowTypeInput(input, context));
102
69
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
70
  };
104
71
  export const se_GetWorkflowExecutionHistoryCommand = async (input, context) => {
105
- const headers = {
106
- "content-type": "application/x-amz-json-1.0",
107
- "x-amz-target": "SimpleWorkflowService.GetWorkflowExecutionHistory",
108
- };
72
+ const headers = sharedHeaders("GetWorkflowExecutionHistory");
109
73
  let body;
110
74
  body = JSON.stringify(se_GetWorkflowExecutionHistoryInput(input, context));
111
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
76
  };
113
77
  export const se_ListActivityTypesCommand = async (input, context) => {
114
- const headers = {
115
- "content-type": "application/x-amz-json-1.0",
116
- "x-amz-target": "SimpleWorkflowService.ListActivityTypes",
117
- };
78
+ const headers = sharedHeaders("ListActivityTypes");
118
79
  let body;
119
80
  body = JSON.stringify(se_ListActivityTypesInput(input, context));
120
81
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
82
  };
122
83
  export const se_ListClosedWorkflowExecutionsCommand = async (input, context) => {
123
- const headers = {
124
- "content-type": "application/x-amz-json-1.0",
125
- "x-amz-target": "SimpleWorkflowService.ListClosedWorkflowExecutions",
126
- };
84
+ const headers = sharedHeaders("ListClosedWorkflowExecutions");
127
85
  let body;
128
86
  body = JSON.stringify(se_ListClosedWorkflowExecutionsInput(input, context));
129
87
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
88
  };
131
89
  export const se_ListDomainsCommand = async (input, context) => {
132
- const headers = {
133
- "content-type": "application/x-amz-json-1.0",
134
- "x-amz-target": "SimpleWorkflowService.ListDomains",
135
- };
90
+ const headers = sharedHeaders("ListDomains");
136
91
  let body;
137
92
  body = JSON.stringify(se_ListDomainsInput(input, context));
138
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
94
  };
140
95
  export const se_ListOpenWorkflowExecutionsCommand = async (input, context) => {
141
- const headers = {
142
- "content-type": "application/x-amz-json-1.0",
143
- "x-amz-target": "SimpleWorkflowService.ListOpenWorkflowExecutions",
144
- };
96
+ const headers = sharedHeaders("ListOpenWorkflowExecutions");
145
97
  let body;
146
98
  body = JSON.stringify(se_ListOpenWorkflowExecutionsInput(input, context));
147
99
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
100
  };
149
101
  export const se_ListTagsForResourceCommand = async (input, context) => {
150
- const headers = {
151
- "content-type": "application/x-amz-json-1.0",
152
- "x-amz-target": "SimpleWorkflowService.ListTagsForResource",
153
- };
102
+ const headers = sharedHeaders("ListTagsForResource");
154
103
  let body;
155
104
  body = JSON.stringify(se_ListTagsForResourceInput(input, context));
156
105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
106
  };
158
107
  export const se_ListWorkflowTypesCommand = async (input, context) => {
159
- const headers = {
160
- "content-type": "application/x-amz-json-1.0",
161
- "x-amz-target": "SimpleWorkflowService.ListWorkflowTypes",
162
- };
108
+ const headers = sharedHeaders("ListWorkflowTypes");
163
109
  let body;
164
110
  body = JSON.stringify(se_ListWorkflowTypesInput(input, context));
165
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
112
  };
167
113
  export const se_PollForActivityTaskCommand = async (input, context) => {
168
- const headers = {
169
- "content-type": "application/x-amz-json-1.0",
170
- "x-amz-target": "SimpleWorkflowService.PollForActivityTask",
171
- };
114
+ const headers = sharedHeaders("PollForActivityTask");
172
115
  let body;
173
116
  body = JSON.stringify(se_PollForActivityTaskInput(input, context));
174
117
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
118
  };
176
119
  export const se_PollForDecisionTaskCommand = async (input, context) => {
177
- const headers = {
178
- "content-type": "application/x-amz-json-1.0",
179
- "x-amz-target": "SimpleWorkflowService.PollForDecisionTask",
180
- };
120
+ const headers = sharedHeaders("PollForDecisionTask");
181
121
  let body;
182
122
  body = JSON.stringify(se_PollForDecisionTaskInput(input, context));
183
123
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
124
  };
185
125
  export const se_RecordActivityTaskHeartbeatCommand = async (input, context) => {
186
- const headers = {
187
- "content-type": "application/x-amz-json-1.0",
188
- "x-amz-target": "SimpleWorkflowService.RecordActivityTaskHeartbeat",
189
- };
126
+ const headers = sharedHeaders("RecordActivityTaskHeartbeat");
190
127
  let body;
191
128
  body = JSON.stringify(se_RecordActivityTaskHeartbeatInput(input, context));
192
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
193
130
  };
194
131
  export const se_RegisterActivityTypeCommand = async (input, context) => {
195
- const headers = {
196
- "content-type": "application/x-amz-json-1.0",
197
- "x-amz-target": "SimpleWorkflowService.RegisterActivityType",
198
- };
132
+ const headers = sharedHeaders("RegisterActivityType");
199
133
  let body;
200
134
  body = JSON.stringify(se_RegisterActivityTypeInput(input, context));
201
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
202
136
  };
203
137
  export const se_RegisterDomainCommand = async (input, context) => {
204
- const headers = {
205
- "content-type": "application/x-amz-json-1.0",
206
- "x-amz-target": "SimpleWorkflowService.RegisterDomain",
207
- };
138
+ const headers = sharedHeaders("RegisterDomain");
208
139
  let body;
209
140
  body = JSON.stringify(se_RegisterDomainInput(input, context));
210
141
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
211
142
  };
212
143
  export const se_RegisterWorkflowTypeCommand = async (input, context) => {
213
- const headers = {
214
- "content-type": "application/x-amz-json-1.0",
215
- "x-amz-target": "SimpleWorkflowService.RegisterWorkflowType",
216
- };
144
+ const headers = sharedHeaders("RegisterWorkflowType");
217
145
  let body;
218
146
  body = JSON.stringify(se_RegisterWorkflowTypeInput(input, context));
219
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
220
148
  };
221
149
  export const se_RequestCancelWorkflowExecutionCommand = async (input, context) => {
222
- const headers = {
223
- "content-type": "application/x-amz-json-1.0",
224
- "x-amz-target": "SimpleWorkflowService.RequestCancelWorkflowExecution",
225
- };
150
+ const headers = sharedHeaders("RequestCancelWorkflowExecution");
226
151
  let body;
227
152
  body = JSON.stringify(se_RequestCancelWorkflowExecutionInput(input, context));
228
153
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
229
154
  };
230
155
  export const se_RespondActivityTaskCanceledCommand = async (input, context) => {
231
- const headers = {
232
- "content-type": "application/x-amz-json-1.0",
233
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCanceled",
234
- };
156
+ const headers = sharedHeaders("RespondActivityTaskCanceled");
235
157
  let body;
236
158
  body = JSON.stringify(se_RespondActivityTaskCanceledInput(input, context));
237
159
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
238
160
  };
239
161
  export const se_RespondActivityTaskCompletedCommand = async (input, context) => {
240
- const headers = {
241
- "content-type": "application/x-amz-json-1.0",
242
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskCompleted",
243
- };
162
+ const headers = sharedHeaders("RespondActivityTaskCompleted");
244
163
  let body;
245
164
  body = JSON.stringify(se_RespondActivityTaskCompletedInput(input, context));
246
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
166
  };
248
167
  export const se_RespondActivityTaskFailedCommand = async (input, context) => {
249
- const headers = {
250
- "content-type": "application/x-amz-json-1.0",
251
- "x-amz-target": "SimpleWorkflowService.RespondActivityTaskFailed",
252
- };
168
+ const headers = sharedHeaders("RespondActivityTaskFailed");
253
169
  let body;
254
170
  body = JSON.stringify(se_RespondActivityTaskFailedInput(input, context));
255
171
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
256
172
  };
257
173
  export const se_RespondDecisionTaskCompletedCommand = async (input, context) => {
258
- const headers = {
259
- "content-type": "application/x-amz-json-1.0",
260
- "x-amz-target": "SimpleWorkflowService.RespondDecisionTaskCompleted",
261
- };
174
+ const headers = sharedHeaders("RespondDecisionTaskCompleted");
262
175
  let body;
263
176
  body = JSON.stringify(se_RespondDecisionTaskCompletedInput(input, context));
264
177
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
265
178
  };
266
179
  export const se_SignalWorkflowExecutionCommand = async (input, context) => {
267
- const headers = {
268
- "content-type": "application/x-amz-json-1.0",
269
- "x-amz-target": "SimpleWorkflowService.SignalWorkflowExecution",
270
- };
180
+ const headers = sharedHeaders("SignalWorkflowExecution");
271
181
  let body;
272
182
  body = JSON.stringify(se_SignalWorkflowExecutionInput(input, context));
273
183
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
274
184
  };
275
185
  export const se_StartWorkflowExecutionCommand = async (input, context) => {
276
- const headers = {
277
- "content-type": "application/x-amz-json-1.0",
278
- "x-amz-target": "SimpleWorkflowService.StartWorkflowExecution",
279
- };
186
+ const headers = sharedHeaders("StartWorkflowExecution");
280
187
  let body;
281
188
  body = JSON.stringify(se_StartWorkflowExecutionInput(input, context));
282
189
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
283
190
  };
284
191
  export const se_TagResourceCommand = async (input, context) => {
285
- const headers = {
286
- "content-type": "application/x-amz-json-1.0",
287
- "x-amz-target": "SimpleWorkflowService.TagResource",
288
- };
192
+ const headers = sharedHeaders("TagResource");
289
193
  let body;
290
194
  body = JSON.stringify(se_TagResourceInput(input, context));
291
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
292
196
  };
293
197
  export const se_TerminateWorkflowExecutionCommand = async (input, context) => {
294
- const headers = {
295
- "content-type": "application/x-amz-json-1.0",
296
- "x-amz-target": "SimpleWorkflowService.TerminateWorkflowExecution",
297
- };
198
+ const headers = sharedHeaders("TerminateWorkflowExecution");
298
199
  let body;
299
200
  body = JSON.stringify(se_TerminateWorkflowExecutionInput(input, context));
300
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
301
202
  };
302
203
  export const se_UndeprecateActivityTypeCommand = async (input, context) => {
303
- const headers = {
304
- "content-type": "application/x-amz-json-1.0",
305
- "x-amz-target": "SimpleWorkflowService.UndeprecateActivityType",
306
- };
204
+ const headers = sharedHeaders("UndeprecateActivityType");
307
205
  let body;
308
206
  body = JSON.stringify(se_UndeprecateActivityTypeInput(input, context));
309
207
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
208
  };
311
209
  export const se_UndeprecateDomainCommand = async (input, context) => {
312
- const headers = {
313
- "content-type": "application/x-amz-json-1.0",
314
- "x-amz-target": "SimpleWorkflowService.UndeprecateDomain",
315
- };
210
+ const headers = sharedHeaders("UndeprecateDomain");
316
211
  let body;
317
212
  body = JSON.stringify(se_UndeprecateDomainInput(input, context));
318
213
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
214
  };
320
215
  export const se_UndeprecateWorkflowTypeCommand = async (input, context) => {
321
- const headers = {
322
- "content-type": "application/x-amz-json-1.0",
323
- "x-amz-target": "SimpleWorkflowService.UndeprecateWorkflowType",
324
- };
216
+ const headers = sharedHeaders("UndeprecateWorkflowType");
325
217
  let body;
326
218
  body = JSON.stringify(se_UndeprecateWorkflowTypeInput(input, context));
327
219
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
328
220
  };
329
221
  export const se_UntagResourceCommand = async (input, context) => {
330
- const headers = {
331
- "content-type": "application/x-amz-json-1.0",
332
- "x-amz-target": "SimpleWorkflowService.UntagResource",
333
- };
222
+ const headers = sharedHeaders("UntagResource");
334
223
  let body;
335
224
  body = JSON.stringify(se_UntagResourceInput(input, context));
336
225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -3327,6 +3216,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
3327
3216
  }
3328
3217
  return new __HttpRequest(contents);
3329
3218
  };
3219
+ function sharedHeaders(operation) {
3220
+ return {
3221
+ "content-type": "application/x-amz-json-1.0",
3222
+ "x-amz-target": `SimpleWorkflowService.${operation}`,
3223
+ };
3224
+ }
3330
3225
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3331
3226
  if (encoded.length) {
3332
3227
  return JSON.parse(encoded);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-swf",
3
3
  "description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
4
- "version": "3.309.0",
4
+ "version": "3.312.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.309.0",
25
- "@aws-sdk/config-resolver": "3.306.0",
26
- "@aws-sdk/credential-provider-node": "3.309.0",
27
- "@aws-sdk/fetch-http-handler": "3.306.0",
28
- "@aws-sdk/hash-node": "3.306.0",
29
- "@aws-sdk/invalid-dependency": "3.306.0",
30
- "@aws-sdk/middleware-content-length": "3.306.0",
31
- "@aws-sdk/middleware-endpoint": "3.306.0",
32
- "@aws-sdk/middleware-host-header": "3.306.0",
33
- "@aws-sdk/middleware-logger": "3.306.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
- "@aws-sdk/middleware-retry": "3.306.0",
36
- "@aws-sdk/middleware-serde": "3.306.0",
37
- "@aws-sdk/middleware-signing": "3.306.0",
38
- "@aws-sdk/middleware-stack": "3.306.0",
39
- "@aws-sdk/middleware-user-agent": "3.306.0",
40
- "@aws-sdk/node-config-provider": "3.306.0",
41
- "@aws-sdk/node-http-handler": "3.306.0",
42
- "@aws-sdk/protocol-http": "3.306.0",
43
- "@aws-sdk/smithy-client": "3.309.0",
44
- "@aws-sdk/types": "3.306.0",
45
- "@aws-sdk/url-parser": "3.306.0",
46
- "@aws-sdk/util-base64": "3.303.0",
47
- "@aws-sdk/util-body-length-browser": "3.303.0",
48
- "@aws-sdk/util-body-length-node": "3.303.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.309.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.309.0",
51
- "@aws-sdk/util-endpoints": "3.306.0",
52
- "@aws-sdk/util-retry": "3.306.0",
53
- "@aws-sdk/util-user-agent-browser": "3.306.0",
54
- "@aws-sdk/util-user-agent-node": "3.306.0",
55
- "@aws-sdk/util-utf8": "3.303.0",
24
+ "@aws-sdk/client-sts": "3.312.0",
25
+ "@aws-sdk/config-resolver": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.310.0",
27
+ "@aws-sdk/fetch-http-handler": "3.310.0",
28
+ "@aws-sdk/hash-node": "3.310.0",
29
+ "@aws-sdk/invalid-dependency": "3.310.0",
30
+ "@aws-sdk/middleware-content-length": "3.310.0",
31
+ "@aws-sdk/middleware-endpoint": "3.310.0",
32
+ "@aws-sdk/middleware-host-header": "3.310.0",
33
+ "@aws-sdk/middleware-logger": "3.310.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
+ "@aws-sdk/middleware-retry": "3.310.0",
36
+ "@aws-sdk/middleware-serde": "3.310.0",
37
+ "@aws-sdk/middleware-signing": "3.310.0",
38
+ "@aws-sdk/middleware-stack": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.310.0",
40
+ "@aws-sdk/node-config-provider": "3.310.0",
41
+ "@aws-sdk/node-http-handler": "3.310.0",
42
+ "@aws-sdk/protocol-http": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.310.0",
44
+ "@aws-sdk/types": "3.310.0",
45
+ "@aws-sdk/url-parser": "3.310.0",
46
+ "@aws-sdk/util-base64": "3.310.0",
47
+ "@aws-sdk/util-body-length-browser": "3.310.0",
48
+ "@aws-sdk/util-body-length-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.310.0",
52
+ "@aws-sdk/util-retry": "3.310.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.310.0",
54
+ "@aws-sdk/util-user-agent-node": "3.310.0",
55
+ "@aws-sdk/util-utf8": "3.310.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.303.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.310.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",
@@ -76,7 +76,7 @@
76
76
  }
77
77
  },
78
78
  "files": [
79
- "dist-*"
79
+ "dist-*/**"
80
80
  ],
81
81
  "author": {
82
82
  "name": "AWS SDK for JavaScript Team",