@aws-sdk/client-mwaa-serverless 3.987.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var MWAAServerlessServiceException = require('./models/MWAAServerlessServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -108,628 +111,6 @@ class MWAAServerlessClient extends smithyClient.Client {
108
111
  }
109
112
  }
110
113
 
111
- class MWAAServerlessServiceException extends smithyClient.ServiceException {
112
- constructor(options) {
113
- super(options);
114
- Object.setPrototypeOf(this, MWAAServerlessServiceException.prototype);
115
- }
116
- }
117
-
118
- class AccessDeniedException extends MWAAServerlessServiceException {
119
- name = "AccessDeniedException";
120
- $fault = "client";
121
- Message;
122
- constructor(opts) {
123
- super({
124
- name: "AccessDeniedException",
125
- $fault: "client",
126
- ...opts,
127
- });
128
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
129
- this.Message = opts.Message;
130
- }
131
- }
132
- class InternalServerException extends MWAAServerlessServiceException {
133
- name = "InternalServerException";
134
- $fault = "server";
135
- $retryable = {};
136
- Message;
137
- RetryAfterSeconds;
138
- constructor(opts) {
139
- super({
140
- name: "InternalServerException",
141
- $fault: "server",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, InternalServerException.prototype);
145
- this.Message = opts.Message;
146
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
147
- }
148
- }
149
- class OperationTimeoutException extends MWAAServerlessServiceException {
150
- name = "OperationTimeoutException";
151
- $fault = "server";
152
- Message;
153
- constructor(opts) {
154
- super({
155
- name: "OperationTimeoutException",
156
- $fault: "server",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, OperationTimeoutException.prototype);
160
- this.Message = opts.Message;
161
- }
162
- }
163
- class ResourceNotFoundException extends MWAAServerlessServiceException {
164
- name = "ResourceNotFoundException";
165
- $fault = "client";
166
- Message;
167
- ResourceId;
168
- ResourceType;
169
- constructor(opts) {
170
- super({
171
- name: "ResourceNotFoundException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
176
- this.Message = opts.Message;
177
- this.ResourceId = opts.ResourceId;
178
- this.ResourceType = opts.ResourceType;
179
- }
180
- }
181
- class ThrottlingException extends MWAAServerlessServiceException {
182
- name = "ThrottlingException";
183
- $fault = "client";
184
- $retryable = {
185
- throttling: true,
186
- };
187
- Message;
188
- ServiceCode;
189
- QuotaCode;
190
- RetryAfterSeconds;
191
- constructor(opts) {
192
- super({
193
- name: "ThrottlingException",
194
- $fault: "client",
195
- ...opts,
196
- });
197
- Object.setPrototypeOf(this, ThrottlingException.prototype);
198
- this.Message = opts.Message;
199
- this.ServiceCode = opts.ServiceCode;
200
- this.QuotaCode = opts.QuotaCode;
201
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
202
- }
203
- }
204
- class ValidationException extends MWAAServerlessServiceException {
205
- name = "ValidationException";
206
- $fault = "client";
207
- Message;
208
- Reason;
209
- FieldList;
210
- constructor(opts) {
211
- super({
212
- name: "ValidationException",
213
- $fault: "client",
214
- ...opts,
215
- });
216
- Object.setPrototypeOf(this, ValidationException.prototype);
217
- this.Message = opts.Message;
218
- this.Reason = opts.Reason;
219
- this.FieldList = opts.FieldList;
220
- }
221
- }
222
- class ConflictException extends MWAAServerlessServiceException {
223
- name = "ConflictException";
224
- $fault = "client";
225
- Message;
226
- ResourceId;
227
- ResourceType;
228
- constructor(opts) {
229
- super({
230
- name: "ConflictException",
231
- $fault: "client",
232
- ...opts,
233
- });
234
- Object.setPrototypeOf(this, ConflictException.prototype);
235
- this.Message = opts.Message;
236
- this.ResourceId = opts.ResourceId;
237
- this.ResourceType = opts.ResourceType;
238
- }
239
- }
240
- class ServiceQuotaExceededException extends MWAAServerlessServiceException {
241
- name = "ServiceQuotaExceededException";
242
- $fault = "client";
243
- Message;
244
- ResourceId;
245
- ResourceType;
246
- ServiceCode;
247
- QuotaCode;
248
- constructor(opts) {
249
- super({
250
- name: "ServiceQuotaExceededException",
251
- $fault: "client",
252
- ...opts,
253
- });
254
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
255
- this.Message = opts.Message;
256
- this.ResourceId = opts.ResourceId;
257
- this.ResourceType = opts.ResourceType;
258
- this.ServiceCode = opts.ServiceCode;
259
- this.QuotaCode = opts.QuotaCode;
260
- }
261
- }
262
-
263
- const _ADE = "AccessDeniedException";
264
- const _AN = "AttemptNumber";
265
- const _B = "Bucket";
266
- const _CA = "CreatedAt";
267
- const _CE = "ConflictException";
268
- const _CEr = "CronExpression";
269
- const _CO = "CreatedOn";
270
- const _COo = "CompletedOn";
271
- const _CT = "ClientToken";
272
- const _CW = "CreateWorkflow";
273
- const _CWR = "CreateWorkflowRequest";
274
- const _CWRr = "CreateWorkflowResponse";
275
- const _D = "Description";
276
- const _DIS = "DurationInSeconds";
277
- const _DSL = "DefinitionS3Location";
278
- const _DW = "DeleteWorkflow";
279
- const _DWR = "DeleteWorkflowRequest";
280
- const _DWRe = "DeleteWorkflowResponse";
281
- const _Du = "Duration";
282
- const _EA = "EndedAt";
283
- const _EC = "EncryptionConfiguration";
284
- const _EM = "ErrorMessage";
285
- const _EV = "EngineVersion";
286
- const _FL = "FieldList";
287
- const _GTI = "GetTaskInstance";
288
- const _GTIR = "GetTaskInstanceRequest";
289
- const _GTIRe = "GetTaskInstanceResponse";
290
- const _GW = "GetWorkflow";
291
- const _GWR = "GetWorkflowRequest";
292
- const _GWRR = "GetWorkflowRunRequest";
293
- const _GWRRe = "GetWorkflowRunResponse";
294
- const _GWRe = "GetWorkflowResponse";
295
- const _GWRet = "GetWorkflowRun";
296
- const _ILV = "IsLatestVersion";
297
- const _ISE = "InternalServerException";
298
- const _KKI = "KmsKeyId";
299
- const _LC = "LoggingConfiguration";
300
- const _LGN = "LogGroupName";
301
- const _LS = "LogStream";
302
- const _LTFR = "ListTagsForResource";
303
- const _LTFRR = "ListTagsForResourceRequest";
304
- const _LTFRRi = "ListTagsForResourceResponse";
305
- const _LTI = "ListTaskInstances";
306
- const _LTIR = "ListTaskInstancesRequest";
307
- const _LTIRi = "ListTaskInstancesResponse";
308
- const _LW = "ListWorkflows";
309
- const _LWR = "ListWorkflowsRequest";
310
- const _LWRR = "ListWorkflowRunsRequest";
311
- const _LWRRi = "ListWorkflowRunsResponse";
312
- const _LWRi = "ListWorkflowsResponse";
313
- const _LWRis = "ListWorkflowRuns";
314
- const _LWV = "ListWorkflowVersions";
315
- const _LWVR = "ListWorkflowVersionsRequest";
316
- const _LWVRi = "ListWorkflowVersionsResponse";
317
- const _M = "Message";
318
- const _MA = "ModifiedAt";
319
- const _MR = "MaxResults";
320
- const _N = "Name";
321
- const _NC = "NetworkConfiguration";
322
- const _NT = "NextToken";
323
- const _OK = "ObjectKey";
324
- const _OM = "ObjectMap";
325
- const _ON = "OperatorName";
326
- const _OP = "OverrideParameters";
327
- const _OTE = "OperationTimeoutException";
328
- const _QC = "QuotaCode";
329
- const _R = "Reason";
330
- const _RA = "RoleArn";
331
- const _RAS = "RetryAfterSeconds";
332
- const _RA_ = "Retry-After";
333
- const _RAe = "ResourceArn";
334
- const _RD = "RunDetail";
335
- const _RDS = "RunDetailSummary";
336
- const _RI = "ResourceId";
337
- const _RIe = "RevisionId";
338
- const _RIu = "RunId";
339
- const _RNFE = "ResourceNotFoundException";
340
- const _RS = "RunState";
341
- const _RT = "ResourceType";
342
- const _RTu = "RunType";
343
- const _S = "Status";
344
- const _SA = "StartedAt";
345
- const _SC = "ScheduleConfiguration";
346
- const _SCe = "ServiceCode";
347
- const _SGI = "SecurityGroupIds";
348
- const _SI = "SubnetIds";
349
- const _SO = "StartedOn";
350
- const _SQEE = "ServiceQuotaExceededException";
351
- const _SWR = "StartWorkflowRun";
352
- const _SWRR = "StartWorkflowRunRequest";
353
- const _SWRRt = "StartWorkflowRunResponse";
354
- const _SWRRto = "StopWorkflowRunRequest";
355
- const _SWRRtop = "StopWorkflowRunResponse";
356
- const _SWRt = "StopWorkflowRun";
357
- const _T = "Tags";
358
- const _TE = "ThrottlingException";
359
- const _TI = "TaskId";
360
- const _TII = "TaskInstanceId";
361
- const _TIS = "TaskInstanceSummary";
362
- const _TISa = "TaskInstanceSummaries";
363
- const _TIa = "TaskInstances";
364
- const _TK = "TagKeys";
365
- const _TM = "TriggerMode";
366
- const _TR = "TagResource";
367
- const _TRR = "TagResourceRequest";
368
- const _TRRa = "TagResourceResponse";
369
- const _Ty = "Type";
370
- const _UR = "UntagResource";
371
- const _URR = "UntagResourceRequest";
372
- const _URRn = "UntagResourceResponse";
373
- const _UW = "UpdateWorkflow";
374
- const _UWR = "UpdateWorkflowRequest";
375
- const _UWRp = "UpdateWorkflowResponse";
376
- const _VE = "ValidationException";
377
- const _VEF = "ValidationExceptionField";
378
- const _VEFa = "ValidationExceptionFields";
379
- const _VI = "VersionId";
380
- const _W = "Warnings";
381
- const _WA = "WorkflowArn";
382
- const _WD = "WorkflowDefinition";
383
- const _WR = "WorkflowRuns";
384
- const _WRD = "WorkflowRunDetail";
385
- const _WRS = "WorkflowRunSummary";
386
- const _WRSo = "WorkflowRunSummaries";
387
- const _WS = "WorkflowStatus";
388
- const _WSo = "WorkflowSummary";
389
- const _WSor = "WorkflowSummaries";
390
- const _WV = "WorkflowVersion";
391
- const _WVS = "WorkflowVersionSummary";
392
- const _WVSo = "WorkflowVersionSummaries";
393
- const _WVo = "WorkflowVersions";
394
- const _Wo = "Workflows";
395
- const _X = "Xcom";
396
- const _c = "client";
397
- const _e = "error";
398
- const _h = "http";
399
- const _hE = "httpError";
400
- const _hH = "httpHeader";
401
- const _hQ = "httpQuery";
402
- const _mR = "maxResults";
403
- const _nT = "nextToken";
404
- const _s = "server";
405
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mwaaserverless";
406
- const _tK = "tagKeys";
407
- const _wV = "workflowVersion";
408
- const n0 = "com.amazonaws.mwaaserverless";
409
- var AccessDeniedException$ = [-3, n0, _ADE,
410
- { [_e]: _c, [_hE]: 403 },
411
- [_M],
412
- [0], 1
413
- ];
414
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
415
- var ConflictException$ = [-3, n0, _CE,
416
- { [_e]: _c, [_hE]: 409 },
417
- [_M, _RI, _RT],
418
- [0, 0, 0], 3
419
- ];
420
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
421
- var CreateWorkflowRequest$ = [3, n0, _CWR,
422
- 0,
423
- [_N, _DSL, _RA, _CT, _D, _EC, _LC, _EV, _NC, _T, _TM],
424
- [0, () => DefinitionS3Location$, 0, [0, 4], 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 128 | 0, 0], 3
425
- ];
426
- var CreateWorkflowResponse$ = [3, n0, _CWRr,
427
- 0,
428
- [_WA, _CA, _RIe, _WS, _WV, _ILV, _W],
429
- [0, 5, 0, 0, 0, 2, 64 | 0], 1
430
- ];
431
- var DefinitionS3Location$ = [3, n0, _DSL,
432
- 0,
433
- [_B, _OK, _VI],
434
- [0, 0, 0], 2
435
- ];
436
- var DeleteWorkflowRequest$ = [3, n0, _DWR,
437
- 0,
438
- [_WA, _WV],
439
- [[0, 1], [0, { [_hQ]: _wV }]], 1
440
- ];
441
- var DeleteWorkflowResponse$ = [3, n0, _DWRe,
442
- 0,
443
- [_WA, _WV],
444
- [0, 0], 1
445
- ];
446
- var EncryptionConfiguration$ = [3, n0, _EC,
447
- 0,
448
- [_Ty, _KKI],
449
- [0, 0], 1
450
- ];
451
- var GetTaskInstanceRequest$ = [3, n0, _GTIR,
452
- 0,
453
- [_WA, _TII, _RIu],
454
- [[0, 1], [0, 1], [0, 1]], 3
455
- ];
456
- var GetTaskInstanceResponse$ = [3, n0, _GTIRe,
457
- 0,
458
- [_WA, _RIu, _TII, _WV, _S, _DIS, _ON, _MA, _EA, _SA, _AN, _EM, _TI, _LS, _X],
459
- [0, 0, 0, 0, 0, 1, 0, 5, 5, 5, 1, 0, 0, 0, 128 | 0], 3
460
- ];
461
- var GetWorkflowRequest$ = [3, n0, _GWR,
462
- 0,
463
- [_WA, _WV],
464
- [[0, 1], [0, { [_hQ]: _wV }]], 1
465
- ];
466
- var GetWorkflowResponse$ = [3, n0, _GWRe,
467
- 0,
468
- [_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _SC, _RA, _NC, _TM, _WD],
469
- [0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, 0, 0], 1
470
- ];
471
- var GetWorkflowRunRequest$ = [3, n0, _GWRR,
472
- 0,
473
- [_WA, _RIu],
474
- [[0, 1], [0, 1]], 2
475
- ];
476
- var GetWorkflowRunResponse$ = [3, n0, _GWRRe,
477
- 0,
478
- [_WA, _WV, _RIu, _RTu, _OP, _RD],
479
- [0, 0, 0, 0, [() => ObjectMap, 0], () => WorkflowRunDetail$]
480
- ];
481
- var InternalServerException$ = [-3, n0, _ISE,
482
- { [_e]: _s, [_hE]: 500 },
483
- [_M, _RAS],
484
- [0, [1, { [_hH]: _RA_ }]], 1
485
- ];
486
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
487
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
488
- 0,
489
- [_RAe],
490
- [[0, 1]], 1
491
- ];
492
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
493
- 0,
494
- [_T],
495
- [128 | 0]
496
- ];
497
- var ListTaskInstancesRequest$ = [3, n0, _LTIR,
498
- 0,
499
- [_WA, _RIu, _MR, _NT],
500
- [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
501
- ];
502
- var ListTaskInstancesResponse$ = [3, n0, _LTIRi,
503
- 0,
504
- [_TIa, _NT],
505
- [() => TaskInstanceSummaries, 0]
506
- ];
507
- var ListWorkflowRunsRequest$ = [3, n0, _LWRR,
508
- 0,
509
- [_WA, _MR, _NT, _WV],
510
- [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _wV }]], 1
511
- ];
512
- var ListWorkflowRunsResponse$ = [3, n0, _LWRRi,
513
- 0,
514
- [_WR, _NT],
515
- [() => WorkflowRunSummaries, 0]
516
- ];
517
- var ListWorkflowsRequest$ = [3, n0, _LWR,
518
- 0,
519
- [_MR, _NT],
520
- [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
521
- ];
522
- var ListWorkflowsResponse$ = [3, n0, _LWRi,
523
- 0,
524
- [_Wo, _NT],
525
- [() => WorkflowSummaries, 0], 1
526
- ];
527
- var ListWorkflowVersionsRequest$ = [3, n0, _LWVR,
528
- 0,
529
- [_WA, _MR, _NT],
530
- [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
531
- ];
532
- var ListWorkflowVersionsResponse$ = [3, n0, _LWVRi,
533
- 0,
534
- [_WVo, _NT],
535
- [() => WorkflowVersionSummaries, 0]
536
- ];
537
- var LoggingConfiguration$ = [3, n0, _LC,
538
- 0,
539
- [_LGN],
540
- [0], 1
541
- ];
542
- var NetworkConfiguration$ = [3, n0, _NC,
543
- 0,
544
- [_SGI, _SI],
545
- [64 | 0, 64 | 0]
546
- ];
547
- var OperationTimeoutException$ = [-3, n0, _OTE,
548
- { [_e]: _s, [_hE]: 504 },
549
- [_M],
550
- [0]
551
- ];
552
- schema.TypeRegistry.for(n0).registerError(OperationTimeoutException$, OperationTimeoutException);
553
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
554
- { [_e]: _c, [_hE]: 404 },
555
- [_M, _RI, _RT],
556
- [0, 0, 0], 3
557
- ];
558
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
559
- var RunDetailSummary$ = [3, n0, _RDS,
560
- 0,
561
- [_S, _CO, _SA, _EA],
562
- [0, 5, 5, 5]
563
- ];
564
- var ScheduleConfiguration$ = [3, n0, _SC,
565
- 0,
566
- [_CEr],
567
- [0]
568
- ];
569
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
570
- { [_e]: _c, [_hE]: 402 },
571
- [_M, _RI, _RT, _SCe, _QC],
572
- [0, 0, 0, 0, 0], 5
573
- ];
574
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
575
- var StartWorkflowRunRequest$ = [3, n0, _SWRR,
576
- 0,
577
- [_WA, _CT, _OP, _WV],
578
- [[0, 1], [0, 4], [() => ObjectMap, 0], 0], 1
579
- ];
580
- var StartWorkflowRunResponse$ = [3, n0, _SWRRt,
581
- 0,
582
- [_RIu, _S, _SA],
583
- [0, 0, 5]
584
- ];
585
- var StopWorkflowRunRequest$ = [3, n0, _SWRRto,
586
- 0,
587
- [_WA, _RIu],
588
- [[0, 1], [0, 1]], 2
589
- ];
590
- var StopWorkflowRunResponse$ = [3, n0, _SWRRtop,
591
- 0,
592
- [_WA, _WV, _RIu, _S],
593
- [0, 0, 0, 0]
594
- ];
595
- var TagResourceRequest$ = [3, n0, _TRR,
596
- 0,
597
- [_RAe, _T],
598
- [[0, 1], 128 | 0], 2
599
- ];
600
- var TagResourceResponse$ = [3, n0, _TRRa,
601
- 0,
602
- [],
603
- []
604
- ];
605
- var TaskInstanceSummary$ = [3, n0, _TIS,
606
- 0,
607
- [_WA, _WV, _RIu, _TII, _S, _DIS, _ON],
608
- [0, 0, 0, 0, 0, 1, 0]
609
- ];
610
- var ThrottlingException$ = [-3, n0, _TE,
611
- { [_e]: _c, [_hE]: 429 },
612
- [_M, _SCe, _QC, _RAS],
613
- [0, 0, 0, [1, { [_hH]: _RA_ }]], 3
614
- ];
615
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
616
- var UntagResourceRequest$ = [3, n0, _URR,
617
- 0,
618
- [_RAe, _TK],
619
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
620
- ];
621
- var UntagResourceResponse$ = [3, n0, _URRn,
622
- 0,
623
- [],
624
- []
625
- ];
626
- var UpdateWorkflowRequest$ = [3, n0, _UWR,
627
- 0,
628
- [_WA, _DSL, _RA, _D, _LC, _EV, _NC, _TM],
629
- [[0, 1], () => DefinitionS3Location$, 0, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 0], 3
630
- ];
631
- var UpdateWorkflowResponse$ = [3, n0, _UWRp,
632
- 0,
633
- [_WA, _MA, _WV, _W],
634
- [0, 5, 0, 64 | 0], 1
635
- ];
636
- var ValidationException$ = [-3, n0, _VE,
637
- { [_e]: _c, [_hE]: 400 },
638
- [_M, _R, _FL],
639
- [0, 0, () => ValidationExceptionFields], 2
640
- ];
641
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
642
- var ValidationExceptionField$ = [3, n0, _VEF,
643
- 0,
644
- [_N, _M],
645
- [0, 0], 2
646
- ];
647
- var WorkflowRunDetail$ = [3, n0, _WRD,
648
- 0,
649
- [_WA, _WV, _RIu, _RTu, _SO, _CA, _COo, _MA, _Du, _EM, _TIa, _RS],
650
- [0, 0, 0, 0, 5, 5, 5, 5, 1, 0, 64 | 0, 0]
651
- ];
652
- var WorkflowRunSummary$ = [3, n0, _WRS,
653
- 0,
654
- [_RIu, _WA, _WV, _RTu, _RDS],
655
- [0, 0, 0, 0, () => RunDetailSummary$]
656
- ];
657
- var WorkflowSummary$ = [3, n0, _WSo,
658
- 0,
659
- [_WA, _WV, _N, _D, _CA, _MA, _WS, _TM],
660
- [0, 0, 0, 0, 5, 5, 0, 0], 1
661
- ];
662
- var WorkflowVersionSummary$ = [3, n0, _WVS,
663
- 0,
664
- [_WV, _WA, _ILV, _CA, _MA, _DSL, _SC, _TM],
665
- [0, 0, 2, 5, 5, () => DefinitionS3Location$, () => ScheduleConfiguration$, 0], 2
666
- ];
667
- var MWAAServerlessServiceException$ = [-3, _sm, "MWAAServerlessServiceException", 0, [], []];
668
- schema.TypeRegistry.for(_sm).registerError(MWAAServerlessServiceException$, MWAAServerlessServiceException);
669
- var TaskInstanceSummaries = [1, n0, _TISa,
670
- 0, () => TaskInstanceSummary$
671
- ];
672
- var ValidationExceptionFields = [1, n0, _VEFa,
673
- 0, () => ValidationExceptionField$
674
- ];
675
- var WorkflowRunSummaries = [1, n0, _WRSo,
676
- 0, () => WorkflowRunSummary$
677
- ];
678
- var WorkflowSummaries = [1, n0, _WSor,
679
- 0, () => WorkflowSummary$
680
- ];
681
- var WorkflowVersionSummaries = [1, n0, _WVSo,
682
- 0, () => WorkflowVersionSummary$
683
- ];
684
- var ObjectMap = [2, n0, _OM,
685
- 8, 0, 15
686
- ];
687
- var CreateWorkflow$ = [9, n0, _CW,
688
- { [_h]: ["POST", "/workflows", 200] }, () => CreateWorkflowRequest$, () => CreateWorkflowResponse$
689
- ];
690
- var DeleteWorkflow$ = [9, n0, _DW,
691
- { [_h]: ["DELETE", "/workflows/{WorkflowArn}", 200] }, () => DeleteWorkflowRequest$, () => DeleteWorkflowResponse$
692
- ];
693
- var GetTaskInstance$ = [9, n0, _GTI,
694
- { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks/{TaskInstanceId}", 200] }, () => GetTaskInstanceRequest$, () => GetTaskInstanceResponse$
695
- ];
696
- var GetWorkflow$ = [9, n0, _GW,
697
- { [_h]: ["GET", "/workflows/{WorkflowArn}", 200] }, () => GetWorkflowRequest$, () => GetWorkflowResponse$
698
- ];
699
- var GetWorkflowRun$ = [9, n0, _GWRet,
700
- { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => GetWorkflowRunRequest$, () => GetWorkflowRunResponse$
701
- ];
702
- var ListTagsForResource$ = [9, n0, _LTFR,
703
- { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
704
- ];
705
- var ListTaskInstances$ = [9, n0, _LTI,
706
- { [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks", 200] }, () => ListTaskInstancesRequest$, () => ListTaskInstancesResponse$
707
- ];
708
- var ListWorkflowRuns$ = [9, n0, _LWRis,
709
- { [_h]: ["GET", "/workflows/{WorkflowArn}/runs", 200] }, () => ListWorkflowRunsRequest$, () => ListWorkflowRunsResponse$
710
- ];
711
- var ListWorkflows$ = [9, n0, _LW,
712
- { [_h]: ["GET", "/workflows", 200] }, () => ListWorkflowsRequest$, () => ListWorkflowsResponse$
713
- ];
714
- var ListWorkflowVersions$ = [9, n0, _LWV,
715
- { [_h]: ["GET", "/workflows/{WorkflowArn}/versions", 200] }, () => ListWorkflowVersionsRequest$, () => ListWorkflowVersionsResponse$
716
- ];
717
- var StartWorkflowRun$ = [9, n0, _SWR,
718
- { [_h]: ["POST", "/workflows/{WorkflowArn}/runs", 200] }, () => StartWorkflowRunRequest$, () => StartWorkflowRunResponse$
719
- ];
720
- var StopWorkflowRun$ = [9, n0, _SWRt,
721
- { [_h]: ["DELETE", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => StopWorkflowRunRequest$, () => StopWorkflowRunResponse$
722
- ];
723
- var TagResource$ = [9, n0, _TR,
724
- { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
725
- ];
726
- var UntagResource$ = [9, n0, _UR,
727
- { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
728
- ];
729
- var UpdateWorkflow$ = [9, n0, _UW,
730
- { [_h]: ["PUT", "/workflows/{WorkflowArn}", 200] }, () => UpdateWorkflowRequest$, () => UpdateWorkflowResponse$
731
- ];
732
-
733
114
  class CreateWorkflowCommand extends smithyClient.Command
734
115
  .classBuilder()
735
116
  .ep(commonParams)
@@ -738,7 +119,7 @@ class CreateWorkflowCommand extends smithyClient.Command
738
119
  })
739
120
  .s("AmazonMWAAServerless", "CreateWorkflow", {})
740
121
  .n("MWAAServerlessClient", "CreateWorkflowCommand")
741
- .sc(CreateWorkflow$)
122
+ .sc(schemas_0.CreateWorkflow$)
742
123
  .build() {
743
124
  }
744
125
 
@@ -750,7 +131,7 @@ class DeleteWorkflowCommand extends smithyClient.Command
750
131
  })
751
132
  .s("AmazonMWAAServerless", "DeleteWorkflow", {})
752
133
  .n("MWAAServerlessClient", "DeleteWorkflowCommand")
753
- .sc(DeleteWorkflow$)
134
+ .sc(schemas_0.DeleteWorkflow$)
754
135
  .build() {
755
136
  }
756
137
 
@@ -762,7 +143,7 @@ class GetTaskInstanceCommand extends smithyClient.Command
762
143
  })
763
144
  .s("AmazonMWAAServerless", "GetTaskInstance", {})
764
145
  .n("MWAAServerlessClient", "GetTaskInstanceCommand")
765
- .sc(GetTaskInstance$)
146
+ .sc(schemas_0.GetTaskInstance$)
766
147
  .build() {
767
148
  }
768
149
 
@@ -774,7 +155,7 @@ class GetWorkflowCommand extends smithyClient.Command
774
155
  })
775
156
  .s("AmazonMWAAServerless", "GetWorkflow", {})
776
157
  .n("MWAAServerlessClient", "GetWorkflowCommand")
777
- .sc(GetWorkflow$)
158
+ .sc(schemas_0.GetWorkflow$)
778
159
  .build() {
779
160
  }
780
161
 
@@ -786,7 +167,7 @@ class GetWorkflowRunCommand extends smithyClient.Command
786
167
  })
787
168
  .s("AmazonMWAAServerless", "GetWorkflowRun", {})
788
169
  .n("MWAAServerlessClient", "GetWorkflowRunCommand")
789
- .sc(GetWorkflowRun$)
170
+ .sc(schemas_0.GetWorkflowRun$)
790
171
  .build() {
791
172
  }
792
173
 
@@ -798,7 +179,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
798
179
  })
799
180
  .s("AmazonMWAAServerless", "ListTagsForResource", {})
800
181
  .n("MWAAServerlessClient", "ListTagsForResourceCommand")
801
- .sc(ListTagsForResource$)
182
+ .sc(schemas_0.ListTagsForResource$)
802
183
  .build() {
803
184
  }
804
185
 
@@ -810,7 +191,7 @@ class ListTaskInstancesCommand extends smithyClient.Command
810
191
  })
811
192
  .s("AmazonMWAAServerless", "ListTaskInstances", {})
812
193
  .n("MWAAServerlessClient", "ListTaskInstancesCommand")
813
- .sc(ListTaskInstances$)
194
+ .sc(schemas_0.ListTaskInstances$)
814
195
  .build() {
815
196
  }
816
197
 
@@ -822,7 +203,7 @@ class ListWorkflowRunsCommand extends smithyClient.Command
822
203
  })
823
204
  .s("AmazonMWAAServerless", "ListWorkflowRuns", {})
824
205
  .n("MWAAServerlessClient", "ListWorkflowRunsCommand")
825
- .sc(ListWorkflowRuns$)
206
+ .sc(schemas_0.ListWorkflowRuns$)
826
207
  .build() {
827
208
  }
828
209
 
@@ -834,7 +215,7 @@ class ListWorkflowsCommand extends smithyClient.Command
834
215
  })
835
216
  .s("AmazonMWAAServerless", "ListWorkflows", {})
836
217
  .n("MWAAServerlessClient", "ListWorkflowsCommand")
837
- .sc(ListWorkflows$)
218
+ .sc(schemas_0.ListWorkflows$)
838
219
  .build() {
839
220
  }
840
221
 
@@ -846,7 +227,7 @@ class ListWorkflowVersionsCommand extends smithyClient.Command
846
227
  })
847
228
  .s("AmazonMWAAServerless", "ListWorkflowVersions", {})
848
229
  .n("MWAAServerlessClient", "ListWorkflowVersionsCommand")
849
- .sc(ListWorkflowVersions$)
230
+ .sc(schemas_0.ListWorkflowVersions$)
850
231
  .build() {
851
232
  }
852
233
 
@@ -858,7 +239,7 @@ class StartWorkflowRunCommand extends smithyClient.Command
858
239
  })
859
240
  .s("AmazonMWAAServerless", "StartWorkflowRun", {})
860
241
  .n("MWAAServerlessClient", "StartWorkflowRunCommand")
861
- .sc(StartWorkflowRun$)
242
+ .sc(schemas_0.StartWorkflowRun$)
862
243
  .build() {
863
244
  }
864
245
 
@@ -870,7 +251,7 @@ class StopWorkflowRunCommand extends smithyClient.Command
870
251
  })
871
252
  .s("AmazonMWAAServerless", "StopWorkflowRun", {})
872
253
  .n("MWAAServerlessClient", "StopWorkflowRunCommand")
873
- .sc(StopWorkflowRun$)
254
+ .sc(schemas_0.StopWorkflowRun$)
874
255
  .build() {
875
256
  }
876
257
 
@@ -882,7 +263,7 @@ class TagResourceCommand extends smithyClient.Command
882
263
  })
883
264
  .s("AmazonMWAAServerless", "TagResource", {})
884
265
  .n("MWAAServerlessClient", "TagResourceCommand")
885
- .sc(TagResource$)
266
+ .sc(schemas_0.TagResource$)
886
267
  .build() {
887
268
  }
888
269
 
@@ -894,7 +275,7 @@ class UntagResourceCommand extends smithyClient.Command
894
275
  })
895
276
  .s("AmazonMWAAServerless", "UntagResource", {})
896
277
  .n("MWAAServerlessClient", "UntagResourceCommand")
897
- .sc(UntagResource$)
278
+ .sc(schemas_0.UntagResource$)
898
279
  .build() {
899
280
  }
900
281
 
@@ -906,7 +287,7 @@ class UpdateWorkflowCommand extends smithyClient.Command
906
287
  })
907
288
  .s("AmazonMWAAServerless", "UpdateWorkflow", {})
908
289
  .n("MWAAServerlessClient", "UpdateWorkflowCommand")
909
- .sc(UpdateWorkflow$)
290
+ .sc(schemas_0.UpdateWorkflow$)
910
291
  .build() {
911
292
  }
912
293
 
@@ -1002,105 +383,46 @@ Object.defineProperty(exports, "__Client", {
1002
383
  enumerable: true,
1003
384
  get: function () { return smithyClient.Client; }
1004
385
  });
1005
- exports.AccessDeniedException = AccessDeniedException;
1006
- exports.AccessDeniedException$ = AccessDeniedException$;
1007
- exports.ConflictException = ConflictException;
1008
- exports.ConflictException$ = ConflictException$;
1009
- exports.CreateWorkflow$ = CreateWorkflow$;
386
+ Object.defineProperty(exports, "MWAAServerlessServiceException", {
387
+ enumerable: true,
388
+ get: function () { return MWAAServerlessServiceException.MWAAServerlessServiceException; }
389
+ });
1010
390
  exports.CreateWorkflowCommand = CreateWorkflowCommand;
1011
- exports.CreateWorkflowRequest$ = CreateWorkflowRequest$;
1012
- exports.CreateWorkflowResponse$ = CreateWorkflowResponse$;
1013
- exports.DefinitionS3Location$ = DefinitionS3Location$;
1014
- exports.DeleteWorkflow$ = DeleteWorkflow$;
1015
391
  exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
1016
- exports.DeleteWorkflowRequest$ = DeleteWorkflowRequest$;
1017
- exports.DeleteWorkflowResponse$ = DeleteWorkflowResponse$;
1018
- exports.EncryptionConfiguration$ = EncryptionConfiguration$;
1019
392
  exports.EncryptionType = EncryptionType;
1020
- exports.GetTaskInstance$ = GetTaskInstance$;
1021
393
  exports.GetTaskInstanceCommand = GetTaskInstanceCommand;
1022
- exports.GetTaskInstanceRequest$ = GetTaskInstanceRequest$;
1023
- exports.GetTaskInstanceResponse$ = GetTaskInstanceResponse$;
1024
- exports.GetWorkflow$ = GetWorkflow$;
1025
394
  exports.GetWorkflowCommand = GetWorkflowCommand;
1026
- exports.GetWorkflowRequest$ = GetWorkflowRequest$;
1027
- exports.GetWorkflowResponse$ = GetWorkflowResponse$;
1028
- exports.GetWorkflowRun$ = GetWorkflowRun$;
1029
395
  exports.GetWorkflowRunCommand = GetWorkflowRunCommand;
1030
- exports.GetWorkflowRunRequest$ = GetWorkflowRunRequest$;
1031
- exports.GetWorkflowRunResponse$ = GetWorkflowRunResponse$;
1032
- exports.InternalServerException = InternalServerException;
1033
- exports.InternalServerException$ = InternalServerException$;
1034
- exports.ListTagsForResource$ = ListTagsForResource$;
1035
396
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1036
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1037
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1038
- exports.ListTaskInstances$ = ListTaskInstances$;
1039
397
  exports.ListTaskInstancesCommand = ListTaskInstancesCommand;
1040
- exports.ListTaskInstancesRequest$ = ListTaskInstancesRequest$;
1041
- exports.ListTaskInstancesResponse$ = ListTaskInstancesResponse$;
1042
- exports.ListWorkflowRuns$ = ListWorkflowRuns$;
1043
398
  exports.ListWorkflowRunsCommand = ListWorkflowRunsCommand;
1044
- exports.ListWorkflowRunsRequest$ = ListWorkflowRunsRequest$;
1045
- exports.ListWorkflowRunsResponse$ = ListWorkflowRunsResponse$;
1046
- exports.ListWorkflowVersions$ = ListWorkflowVersions$;
1047
399
  exports.ListWorkflowVersionsCommand = ListWorkflowVersionsCommand;
1048
- exports.ListWorkflowVersionsRequest$ = ListWorkflowVersionsRequest$;
1049
- exports.ListWorkflowVersionsResponse$ = ListWorkflowVersionsResponse$;
1050
- exports.ListWorkflows$ = ListWorkflows$;
1051
400
  exports.ListWorkflowsCommand = ListWorkflowsCommand;
1052
- exports.ListWorkflowsRequest$ = ListWorkflowsRequest$;
1053
- exports.ListWorkflowsResponse$ = ListWorkflowsResponse$;
1054
- exports.LoggingConfiguration$ = LoggingConfiguration$;
1055
401
  exports.MWAAServerless = MWAAServerless;
1056
402
  exports.MWAAServerlessClient = MWAAServerlessClient;
1057
- exports.MWAAServerlessServiceException = MWAAServerlessServiceException;
1058
- exports.MWAAServerlessServiceException$ = MWAAServerlessServiceException$;
1059
- exports.NetworkConfiguration$ = NetworkConfiguration$;
1060
- exports.OperationTimeoutException = OperationTimeoutException;
1061
- exports.OperationTimeoutException$ = OperationTimeoutException$;
1062
- exports.ResourceNotFoundException = ResourceNotFoundException;
1063
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1064
- exports.RunDetailSummary$ = RunDetailSummary$;
1065
403
  exports.RunType = RunType;
1066
- exports.ScheduleConfiguration$ = ScheduleConfiguration$;
1067
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1068
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1069
- exports.StartWorkflowRun$ = StartWorkflowRun$;
1070
404
  exports.StartWorkflowRunCommand = StartWorkflowRunCommand;
1071
- exports.StartWorkflowRunRequest$ = StartWorkflowRunRequest$;
1072
- exports.StartWorkflowRunResponse$ = StartWorkflowRunResponse$;
1073
- exports.StopWorkflowRun$ = StopWorkflowRun$;
1074
405
  exports.StopWorkflowRunCommand = StopWorkflowRunCommand;
1075
- exports.StopWorkflowRunRequest$ = StopWorkflowRunRequest$;
1076
- exports.StopWorkflowRunResponse$ = StopWorkflowRunResponse$;
1077
- exports.TagResource$ = TagResource$;
1078
406
  exports.TagResourceCommand = TagResourceCommand;
1079
- exports.TagResourceRequest$ = TagResourceRequest$;
1080
- exports.TagResourceResponse$ = TagResourceResponse$;
1081
407
  exports.TaskInstanceStatus = TaskInstanceStatus;
1082
- exports.TaskInstanceSummary$ = TaskInstanceSummary$;
1083
- exports.ThrottlingException = ThrottlingException;
1084
- exports.ThrottlingException$ = ThrottlingException$;
1085
- exports.UntagResource$ = UntagResource$;
1086
408
  exports.UntagResourceCommand = UntagResourceCommand;
1087
- exports.UntagResourceRequest$ = UntagResourceRequest$;
1088
- exports.UntagResourceResponse$ = UntagResourceResponse$;
1089
- exports.UpdateWorkflow$ = UpdateWorkflow$;
1090
409
  exports.UpdateWorkflowCommand = UpdateWorkflowCommand;
1091
- exports.UpdateWorkflowRequest$ = UpdateWorkflowRequest$;
1092
- exports.UpdateWorkflowResponse$ = UpdateWorkflowResponse$;
1093
- exports.ValidationException = ValidationException;
1094
- exports.ValidationException$ = ValidationException$;
1095
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1096
410
  exports.ValidationExceptionReason = ValidationExceptionReason;
1097
- exports.WorkflowRunDetail$ = WorkflowRunDetail$;
1098
411
  exports.WorkflowRunStatus = WorkflowRunStatus;
1099
- exports.WorkflowRunSummary$ = WorkflowRunSummary$;
1100
412
  exports.WorkflowStatus = WorkflowStatus;
1101
- exports.WorkflowSummary$ = WorkflowSummary$;
1102
- exports.WorkflowVersionSummary$ = WorkflowVersionSummary$;
1103
413
  exports.paginateListTaskInstances = paginateListTaskInstances;
1104
414
  exports.paginateListWorkflowRuns = paginateListWorkflowRuns;
1105
415
  exports.paginateListWorkflowVersions = paginateListWorkflowVersions;
1106
416
  exports.paginateListWorkflows = paginateListWorkflows;
417
+ Object.keys(schemas_0).forEach(function (k) {
418
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
419
+ enumerable: true,
420
+ get: function () { return schemas_0[k]; }
421
+ });
422
+ });
423
+ Object.keys(errors).forEach(function (k) {
424
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
425
+ enumerable: true,
426
+ get: function () { return errors[k]; }
427
+ });
428
+ });