@aws-sdk/client-mwaa-serverless 3.933.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +325 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1324 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +56 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +41 -0
  11. package/dist-es/MWAAServerless.js +37 -0
  12. package/dist-es/MWAAServerlessClient.js +50 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/CreateWorkflowCommand.js +16 -0
  16. package/dist-es/commands/DeleteWorkflowCommand.js +16 -0
  17. package/dist-es/commands/GetTaskInstanceCommand.js +16 -0
  18. package/dist-es/commands/GetWorkflowCommand.js +16 -0
  19. package/dist-es/commands/GetWorkflowRunCommand.js +16 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  21. package/dist-es/commands/ListTaskInstancesCommand.js +16 -0
  22. package/dist-es/commands/ListWorkflowRunsCommand.js +16 -0
  23. package/dist-es/commands/ListWorkflowVersionsCommand.js +16 -0
  24. package/dist-es/commands/ListWorkflowsCommand.js +16 -0
  25. package/dist-es/commands/StartWorkflowRunCommand.js +16 -0
  26. package/dist-es/commands/StopWorkflowRunCommand.js +16 -0
  27. package/dist-es/commands/TagResourceCommand.js +16 -0
  28. package/dist-es/commands/UntagResourceCommand.js +16 -0
  29. package/dist-es/commands/UpdateWorkflowCommand.js +16 -0
  30. package/dist-es/commands/index.js +15 -0
  31. package/dist-es/endpoint/EndpointParameters.js +11 -0
  32. package/dist-es/endpoint/endpointResolver.js +14 -0
  33. package/dist-es/endpoint/ruleset.js +4 -0
  34. package/dist-es/extensionConfiguration.js +1 -0
  35. package/dist-es/index.js +6 -0
  36. package/dist-es/models/MWAAServerlessServiceException.js +8 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +193 -0
  39. package/dist-es/pagination/Interfaces.js +1 -0
  40. package/dist-es/pagination/ListTaskInstancesPaginator.js +4 -0
  41. package/dist-es/pagination/ListWorkflowRunsPaginator.js +4 -0
  42. package/dist-es/pagination/ListWorkflowVersionsPaginator.js +4 -0
  43. package/dist-es/pagination/ListWorkflowsPaginator.js +4 -0
  44. package/dist-es/pagination/index.js +5 -0
  45. package/dist-es/runtimeConfig.browser.js +34 -0
  46. package/dist-es/runtimeConfig.js +51 -0
  47. package/dist-es/runtimeConfig.native.js +11 -0
  48. package/dist-es/runtimeConfig.shared.js +37 -0
  49. package/dist-es/runtimeExtensions.js +9 -0
  50. package/dist-es/schemas/schemas_0.js +771 -0
  51. package/dist-types/MWAAServerless.d.ts +116 -0
  52. package/dist-types/MWAAServerlessClient.d.ts +211 -0
  53. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  54. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  55. package/dist-types/commands/CreateWorkflowCommand.d.ts +131 -0
  56. package/dist-types/commands/DeleteWorkflowCommand.d.ts +94 -0
  57. package/dist-types/commands/GetTaskInstanceCommand.d.ts +110 -0
  58. package/dist-types/commands/GetWorkflowCommand.d.ts +126 -0
  59. package/dist-types/commands/GetWorkflowRunCommand.d.ts +115 -0
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
  61. package/dist-types/commands/ListTaskInstancesCommand.d.ts +103 -0
  62. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +106 -0
  63. package/dist-types/commands/ListWorkflowVersionsCommand.d.ts +109 -0
  64. package/dist-types/commands/ListWorkflowsCommand.d.ts +102 -0
  65. package/dist-types/commands/StartWorkflowRunCommand.d.ts +105 -0
  66. package/dist-types/commands/StopWorkflowRunCommand.d.ts +96 -0
  67. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  68. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  69. package/dist-types/commands/UpdateWorkflowCommand.d.ts +123 -0
  70. package/dist-types/commands/index.d.ts +15 -0
  71. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  72. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  73. package/dist-types/endpoint/ruleset.d.ts +2 -0
  74. package/dist-types/extensionConfiguration.d.ts +9 -0
  75. package/dist-types/index.d.ts +14 -0
  76. package/dist-types/models/MWAAServerlessServiceException.d.ts +14 -0
  77. package/dist-types/models/index.d.ts +1 -0
  78. package/dist-types/models/models_0.d.ts +1363 -0
  79. package/dist-types/pagination/Interfaces.d.ts +8 -0
  80. package/dist-types/pagination/ListTaskInstancesPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListWorkflowVersionsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/index.d.ts +5 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +51 -0
  86. package/dist-types/runtimeConfig.d.ts +51 -0
  87. package/dist-types/runtimeConfig.native.d.ts +50 -0
  88. package/dist-types/runtimeConfig.shared.d.ts +22 -0
  89. package/dist-types/runtimeExtensions.d.ts +17 -0
  90. package/dist-types/schemas/schemas_0.d.ts +81 -0
  91. package/dist-types/ts3.4/MWAAServerless.d.ts +263 -0
  92. package/dist-types/ts3.4/MWAAServerlessClient.d.ts +214 -0
  93. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  94. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  95. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/GetTaskInstanceCommand.d.ts +50 -0
  98. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +47 -0
  99. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +50 -0
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/ListTaskInstancesCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/ListWorkflowVersionsCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +50 -0
  106. package/dist-types/ts3.4/commands/StopWorkflowRunCommand.d.ts +50 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +50 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  115. package/dist-types/ts3.4/index.d.ts +9 -0
  116. package/dist-types/ts3.4/models/MWAAServerlessServiceException.d.ts +9 -0
  117. package/dist-types/ts3.4/models/index.d.ts +1 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +396 -0
  119. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  120. package/dist-types/ts3.4/pagination/ListTaskInstancesPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/ListWorkflowVersionsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +25 -0
  129. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  130. package/dist-types/ts3.4/schemas/schemas_0.d.ts +87 -0
  131. package/package.json +99 -0
@@ -0,0 +1,1324 @@
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
10
+ var middlewareContentLength = require('@smithy/middleware-content-length');
11
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
+ var middlewareRetry = require('@smithy/middleware-retry');
13
+ var smithyClient = require('@smithy/smithy-client');
14
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
+ var runtimeConfig = require('./runtimeConfig');
16
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
+ var protocolHttp = require('@smithy/protocol-http');
18
+
19
+ const resolveClientEndpointParameters = (options) => {
20
+ return Object.assign(options, {
21
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
22
+ defaultSigningName: "airflow-serverless",
23
+ });
24
+ };
25
+ const commonParams = {
26
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
27
+ Endpoint: { type: "builtInParams", name: "endpoint" },
28
+ Region: { type: "builtInParams", name: "region" },
29
+ };
30
+
31
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
32
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
33
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
34
+ let _credentials = runtimeConfig.credentials;
35
+ return {
36
+ setHttpAuthScheme(httpAuthScheme) {
37
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
38
+ if (index === -1) {
39
+ _httpAuthSchemes.push(httpAuthScheme);
40
+ }
41
+ else {
42
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
43
+ }
44
+ },
45
+ httpAuthSchemes() {
46
+ return _httpAuthSchemes;
47
+ },
48
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
49
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
50
+ },
51
+ httpAuthSchemeProvider() {
52
+ return _httpAuthSchemeProvider;
53
+ },
54
+ setCredentials(credentials) {
55
+ _credentials = credentials;
56
+ },
57
+ credentials() {
58
+ return _credentials;
59
+ },
60
+ };
61
+ };
62
+ const resolveHttpAuthRuntimeConfig = (config) => {
63
+ return {
64
+ httpAuthSchemes: config.httpAuthSchemes(),
65
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
66
+ credentials: config.credentials(),
67
+ };
68
+ };
69
+
70
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
+ };
75
+
76
+ class MWAAServerlessClient extends smithyClient.Client {
77
+ config;
78
+ constructor(...[configuration]) {
79
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
80
+ super(_config_0);
81
+ this.initConfig = _config_0;
82
+ const _config_1 = resolveClientEndpointParameters(_config_0);
83
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
84
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
85
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
86
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
87
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
88
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
89
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
+ this.config = _config_8;
91
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
93
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
94
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
95
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
96
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
97
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
98
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
99
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMWAAServerlessHttpAuthSchemeParametersProvider,
100
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
101
+ "aws.auth#sigv4": config.credentials,
102
+ }),
103
+ }));
104
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
105
+ }
106
+ destroy() {
107
+ super.destroy();
108
+ }
109
+ }
110
+
111
+ let MWAAServerlessServiceException$1 = class MWAAServerlessServiceException extends smithyClient.ServiceException {
112
+ constructor(options) {
113
+ super(options);
114
+ Object.setPrototypeOf(this, MWAAServerlessServiceException.prototype);
115
+ }
116
+ };
117
+
118
+ let AccessDeniedException$1 = class AccessDeniedException extends MWAAServerlessServiceException$1 {
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
+ let InternalServerException$1 = class InternalServerException extends MWAAServerlessServiceException$1 {
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
+ let OperationTimeoutException$1 = class OperationTimeoutException extends MWAAServerlessServiceException$1 {
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
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MWAAServerlessServiceException$1 {
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
+ let ThrottlingException$1 = class ThrottlingException extends MWAAServerlessServiceException$1 {
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
+ const ValidationExceptionReason = {
205
+ CANNOT_PARSE: "cannotParse",
206
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
207
+ OTHER: "other",
208
+ UNKNOWN_OPERATION: "unknownOperation",
209
+ };
210
+ let ValidationException$1 = class ValidationException extends MWAAServerlessServiceException$1 {
211
+ name = "ValidationException";
212
+ $fault = "client";
213
+ Message;
214
+ Reason;
215
+ FieldList;
216
+ constructor(opts) {
217
+ super({
218
+ name: "ValidationException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, ValidationException.prototype);
223
+ this.Message = opts.Message;
224
+ this.Reason = opts.Reason;
225
+ this.FieldList = opts.FieldList;
226
+ }
227
+ };
228
+ const TaskInstanceStatus = {
229
+ CANCELLED: "CANCELLED",
230
+ DEFERRED: "DEFERRED",
231
+ FAILED: "FAILED",
232
+ NONE: "NONE",
233
+ QUEUED: "QUEUED",
234
+ REMOVED: "REMOVED",
235
+ RESTARTING: "RESTARTING",
236
+ RUNNING: "RUNNING",
237
+ SCHEDULED: "SCHEDULED",
238
+ SUCCESS: "SUCCESS",
239
+ TIMEOUT: "TIMEOUT",
240
+ UPSTREAM_FAILED: "UPSTREAM_FAILED",
241
+ UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE",
242
+ UP_FOR_RETRY: "UP_FOR_RETRY",
243
+ };
244
+ let ConflictException$1 = class ConflictException extends MWAAServerlessServiceException$1 {
245
+ name = "ConflictException";
246
+ $fault = "client";
247
+ Message;
248
+ ResourceId;
249
+ ResourceType;
250
+ constructor(opts) {
251
+ super({
252
+ name: "ConflictException",
253
+ $fault: "client",
254
+ ...opts,
255
+ });
256
+ Object.setPrototypeOf(this, ConflictException.prototype);
257
+ this.Message = opts.Message;
258
+ this.ResourceId = opts.ResourceId;
259
+ this.ResourceType = opts.ResourceType;
260
+ }
261
+ };
262
+ const EncryptionType = {
263
+ AWS_MANAGED_KEY: "AWS_MANAGED_KEY",
264
+ CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
265
+ };
266
+ exports.EngineVersion = void 0;
267
+ (function (EngineVersion) {
268
+ EngineVersion[EngineVersion["ONE"] = 1] = "ONE";
269
+ })(exports.EngineVersion || (exports.EngineVersion = {}));
270
+ const WorkflowStatus = {
271
+ DELETING: "DELETING",
272
+ READY: "READY",
273
+ };
274
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MWAAServerlessServiceException$1 {
275
+ name = "ServiceQuotaExceededException";
276
+ $fault = "client";
277
+ Message;
278
+ ResourceId;
279
+ ResourceType;
280
+ ServiceCode;
281
+ QuotaCode;
282
+ constructor(opts) {
283
+ super({
284
+ name: "ServiceQuotaExceededException",
285
+ $fault: "client",
286
+ ...opts,
287
+ });
288
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
289
+ this.Message = opts.Message;
290
+ this.ResourceId = opts.ResourceId;
291
+ this.ResourceType = opts.ResourceType;
292
+ this.ServiceCode = opts.ServiceCode;
293
+ this.QuotaCode = opts.QuotaCode;
294
+ }
295
+ };
296
+ const WorkflowRunStatus = {
297
+ FAILED: "FAILED",
298
+ QUEUED: "QUEUED",
299
+ RUNNING: "RUNNING",
300
+ STARTING: "STARTING",
301
+ STOPPED: "STOPPED",
302
+ STOPPING: "STOPPING",
303
+ SUCCESS: "SUCCESS",
304
+ TIMEOUT: "TIMEOUT",
305
+ };
306
+ const RunType = {
307
+ ON_DEMAND: "ON_DEMAND",
308
+ SCHEDULED: "SCHEDULED",
309
+ };
310
+
311
+ const _ADE = "AccessDeniedException";
312
+ const _AN = "AttemptNumber";
313
+ const _B = "Bucket";
314
+ const _CA = "CreatedAt";
315
+ const _CE = "ConflictException";
316
+ const _CEr = "CronExpression";
317
+ const _CO = "CreatedOn";
318
+ const _COo = "CompletedOn";
319
+ const _CT = "ClientToken";
320
+ const _CW = "CreateWorkflow";
321
+ const _CWR = "CreateWorkflowRequest";
322
+ const _CWRr = "CreateWorkflowResponse";
323
+ const _D = "Description";
324
+ const _DIS = "DurationInSeconds";
325
+ const _DSL = "DefinitionS3Location";
326
+ const _DW = "DeleteWorkflow";
327
+ const _DWR = "DeleteWorkflowRequest";
328
+ const _DWRe = "DeleteWorkflowResponse";
329
+ const _Du = "Duration";
330
+ const _EA = "EndedAt";
331
+ const _EC = "EncryptionConfiguration";
332
+ const _EM = "ErrorMessage";
333
+ const _EV = "EngineVersion";
334
+ const _FL = "FieldList";
335
+ const _GTI = "GetTaskInstance";
336
+ const _GTIR = "GetTaskInstanceRequest";
337
+ const _GTIRe = "GetTaskInstanceResponse";
338
+ const _GW = "GetWorkflow";
339
+ const _GWR = "GetWorkflowRequest";
340
+ const _GWRR = "GetWorkflowRunRequest";
341
+ const _GWRRe = "GetWorkflowRunResponse";
342
+ const _GWRe = "GetWorkflowResponse";
343
+ const _GWRet = "GetWorkflowRun";
344
+ const _ILV = "IsLatestVersion";
345
+ const _ISE = "InternalServerException";
346
+ const _KKI = "KmsKeyId";
347
+ const _LC = "LoggingConfiguration";
348
+ const _LGN = "LogGroupName";
349
+ const _LS = "LogStream";
350
+ const _LTFR = "ListTagsForResource";
351
+ const _LTFRR = "ListTagsForResourceRequest";
352
+ const _LTFRRi = "ListTagsForResourceResponse";
353
+ const _LTI = "ListTaskInstances";
354
+ const _LTIR = "ListTaskInstancesRequest";
355
+ const _LTIRi = "ListTaskInstancesResponse";
356
+ const _LW = "ListWorkflows";
357
+ const _LWR = "ListWorkflowsRequest";
358
+ const _LWRR = "ListWorkflowRunsRequest";
359
+ const _LWRRi = "ListWorkflowRunsResponse";
360
+ const _LWRi = "ListWorkflowsResponse";
361
+ const _LWRis = "ListWorkflowRuns";
362
+ const _LWV = "ListWorkflowVersions";
363
+ const _LWVR = "ListWorkflowVersionsRequest";
364
+ const _LWVRi = "ListWorkflowVersionsResponse";
365
+ const _M = "Message";
366
+ const _MA = "ModifiedAt";
367
+ const _MR = "MaxResults";
368
+ const _N = "Name";
369
+ const _NC = "NetworkConfiguration";
370
+ const _NT = "NextToken";
371
+ const _OK = "ObjectKey";
372
+ const _OM = "ObjectMap";
373
+ const _ON = "OperatorName";
374
+ const _OP = "OverrideParameters";
375
+ const _OTE = "OperationTimeoutException";
376
+ const _QC = "QuotaCode";
377
+ const _R = "Reason";
378
+ const _RA = "RoleArn";
379
+ const _RAS = "RetryAfterSeconds";
380
+ const _RA_ = "Retry-After";
381
+ const _RAe = "ResourceArn";
382
+ const _RD = "RunDetail";
383
+ const _RDS = "RunDetailSummary";
384
+ const _RI = "ResourceId";
385
+ const _RIe = "RevisionId";
386
+ const _RIu = "RunId";
387
+ const _RNFE = "ResourceNotFoundException";
388
+ const _RS = "RunState";
389
+ const _RT = "ResourceType";
390
+ const _RTu = "RunType";
391
+ const _S = "Status";
392
+ const _SA = "StartedAt";
393
+ const _SC = "ScheduleConfiguration";
394
+ const _SCe = "ServiceCode";
395
+ const _SGI = "SecurityGroupIds";
396
+ const _SI = "SubnetIds";
397
+ const _SO = "StartedOn";
398
+ const _SQEE = "ServiceQuotaExceededException";
399
+ const _SWR = "StartWorkflowRun";
400
+ const _SWRR = "StartWorkflowRunRequest";
401
+ const _SWRRt = "StartWorkflowRunResponse";
402
+ const _SWRRto = "StopWorkflowRunRequest";
403
+ const _SWRRtop = "StopWorkflowRunResponse";
404
+ const _SWRt = "StopWorkflowRun";
405
+ const _T = "Tags";
406
+ const _TE = "ThrottlingException";
407
+ const _TI = "TaskId";
408
+ const _TII = "TaskInstanceId";
409
+ const _TIS = "TaskInstanceSummary";
410
+ const _TISa = "TaskInstanceSummaries";
411
+ const _TIa = "TaskInstances";
412
+ const _TK = "TagKeys";
413
+ const _TM = "TriggerMode";
414
+ const _TR = "TagResource";
415
+ const _TRR = "TagResourceRequest";
416
+ const _TRRa = "TagResourceResponse";
417
+ const _Ty = "Type";
418
+ const _UR = "UntagResource";
419
+ const _URR = "UntagResourceRequest";
420
+ const _URRn = "UntagResourceResponse";
421
+ const _UW = "UpdateWorkflow";
422
+ const _UWR = "UpdateWorkflowRequest";
423
+ const _UWRp = "UpdateWorkflowResponse";
424
+ const _VE = "ValidationException";
425
+ const _VEF = "ValidationExceptionField";
426
+ const _VEFa = "ValidationExceptionFields";
427
+ const _VI = "VersionId";
428
+ const _W = "Warnings";
429
+ const _WA = "WorkflowArn";
430
+ const _WD = "WorkflowDefinition";
431
+ const _WR = "WorkflowRuns";
432
+ const _WRD = "WorkflowRunDetail";
433
+ const _WRS = "WorkflowRunSummary";
434
+ const _WRSo = "WorkflowRunSummaries";
435
+ const _WS = "WorkflowStatus";
436
+ const _WSo = "WorkflowSummary";
437
+ const _WSor = "WorkflowSummaries";
438
+ const _WV = "WorkflowVersion";
439
+ const _WVS = "WorkflowVersionSummary";
440
+ const _WVSo = "WorkflowVersionSummaries";
441
+ const _WVo = "WorkflowVersions";
442
+ const _Wo = "Workflows";
443
+ const _X = "Xcom";
444
+ const _c = "client";
445
+ const _e = "error";
446
+ const _h = "http";
447
+ const _hE = "httpError";
448
+ const _hH = "httpHeader";
449
+ const _hQ = "httpQuery";
450
+ const _mR = "maxResults";
451
+ const _nT = "nextToken";
452
+ const _s = "server";
453
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mwaaserverless";
454
+ const _tK = "tagKeys";
455
+ const _wV = "workflowVersion";
456
+ const n0 = "com.amazonaws.mwaaserverless";
457
+ var AccessDeniedException = [
458
+ -3,
459
+ n0,
460
+ _ADE,
461
+ {
462
+ [_e]: _c,
463
+ [_hE]: 403,
464
+ },
465
+ [_M],
466
+ [0],
467
+ ];
468
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
469
+ var ConflictException = [
470
+ -3,
471
+ n0,
472
+ _CE,
473
+ {
474
+ [_e]: _c,
475
+ [_hE]: 409,
476
+ },
477
+ [_M, _RI, _RT],
478
+ [0, 0, 0],
479
+ ];
480
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
481
+ var CreateWorkflowRequest = [
482
+ 3,
483
+ n0,
484
+ _CWR,
485
+ 0,
486
+ [_N, _CT, _DSL, _RA, _D, _EC, _LC, _EV, _NC, _T, _TM],
487
+ [
488
+ 0,
489
+ [0, 4],
490
+ () => DefinitionS3Location,
491
+ 0,
492
+ 0,
493
+ () => EncryptionConfiguration,
494
+ () => LoggingConfiguration,
495
+ 1,
496
+ () => NetworkConfiguration,
497
+ 128 | 0,
498
+ 0,
499
+ ],
500
+ ];
501
+ var CreateWorkflowResponse = [
502
+ 3,
503
+ n0,
504
+ _CWRr,
505
+ 0,
506
+ [_WA, _CA, _RIe, _WS, _WV, _ILV, _W],
507
+ [0, 5, 0, 0, 0, 2, 64 | 0],
508
+ ];
509
+ var DefinitionS3Location = [3, n0, _DSL, 0, [_B, _OK, _VI], [0, 0, 0]];
510
+ var DeleteWorkflowRequest = [
511
+ 3,
512
+ n0,
513
+ _DWR,
514
+ 0,
515
+ [_WA, _WV],
516
+ [
517
+ [0, 1],
518
+ [
519
+ 0,
520
+ {
521
+ [_hQ]: _wV,
522
+ },
523
+ ],
524
+ ],
525
+ ];
526
+ var DeleteWorkflowResponse = [3, n0, _DWRe, 0, [_WA, _WV], [0, 0]];
527
+ var EncryptionConfiguration = [3, n0, _EC, 0, [_Ty, _KKI], [0, 0]];
528
+ var GetTaskInstanceRequest = [
529
+ 3,
530
+ n0,
531
+ _GTIR,
532
+ 0,
533
+ [_WA, _TII, _RIu],
534
+ [
535
+ [0, 1],
536
+ [0, 1],
537
+ [0, 1],
538
+ ],
539
+ ];
540
+ var GetTaskInstanceResponse = [
541
+ 3,
542
+ n0,
543
+ _GTIRe,
544
+ 0,
545
+ [_WA, _RIu, _TII, _WV, _S, _DIS, _ON, _MA, _EA, _SA, _AN, _EM, _TI, _LS, _X],
546
+ [0, 0, 0, 0, 0, 1, 0, 5, 5, 5, 1, 0, 0, 0, 128 | 0],
547
+ ];
548
+ var GetWorkflowRequest = [
549
+ 3,
550
+ n0,
551
+ _GWR,
552
+ 0,
553
+ [_WA, _WV],
554
+ [
555
+ [0, 1],
556
+ [
557
+ 0,
558
+ {
559
+ [_hQ]: _wV,
560
+ },
561
+ ],
562
+ ],
563
+ ];
564
+ var GetWorkflowResponse = [
565
+ 3,
566
+ n0,
567
+ _GWRe,
568
+ 0,
569
+ [_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _SC, _RA, _NC, _TM, _WD],
570
+ [
571
+ 0,
572
+ 0,
573
+ 0,
574
+ 0,
575
+ 5,
576
+ 5,
577
+ () => EncryptionConfiguration,
578
+ () => LoggingConfiguration,
579
+ 1,
580
+ 0,
581
+ () => DefinitionS3Location,
582
+ () => ScheduleConfiguration,
583
+ 0,
584
+ () => NetworkConfiguration,
585
+ 0,
586
+ 0,
587
+ ],
588
+ ];
589
+ var GetWorkflowRunRequest = [
590
+ 3,
591
+ n0,
592
+ _GWRR,
593
+ 0,
594
+ [_WA, _RIu],
595
+ [
596
+ [0, 1],
597
+ [0, 1],
598
+ ],
599
+ ];
600
+ var GetWorkflowRunResponse = [
601
+ 3,
602
+ n0,
603
+ _GWRRe,
604
+ 0,
605
+ [_WA, _WV, _RIu, _RTu, _OP, _RD],
606
+ [0, 0, 0, 0, [() => ObjectMap, 0], () => WorkflowRunDetail],
607
+ ];
608
+ var InternalServerException = [
609
+ -3,
610
+ n0,
611
+ _ISE,
612
+ {
613
+ [_e]: _s,
614
+ [_hE]: 500,
615
+ },
616
+ [_M, _RAS],
617
+ [
618
+ 0,
619
+ [
620
+ 1,
621
+ {
622
+ [_hH]: _RA_,
623
+ },
624
+ ],
625
+ ],
626
+ ];
627
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
628
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
629
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
630
+ var ListTaskInstancesRequest = [
631
+ 3,
632
+ n0,
633
+ _LTIR,
634
+ 0,
635
+ [_WA, _RIu, _MR, _NT],
636
+ [
637
+ [0, 1],
638
+ [0, 1],
639
+ [
640
+ 1,
641
+ {
642
+ [_hQ]: _mR,
643
+ },
644
+ ],
645
+ [
646
+ 0,
647
+ {
648
+ [_hQ]: _nT,
649
+ },
650
+ ],
651
+ ],
652
+ ];
653
+ var ListTaskInstancesResponse = [
654
+ 3,
655
+ n0,
656
+ _LTIRi,
657
+ 0,
658
+ [_TIa, _NT],
659
+ [() => TaskInstanceSummaries, 0],
660
+ ];
661
+ var ListWorkflowRunsRequest = [
662
+ 3,
663
+ n0,
664
+ _LWRR,
665
+ 0,
666
+ [_MR, _NT, _WA, _WV],
667
+ [
668
+ [
669
+ 1,
670
+ {
671
+ [_hQ]: _mR,
672
+ },
673
+ ],
674
+ [
675
+ 0,
676
+ {
677
+ [_hQ]: _nT,
678
+ },
679
+ ],
680
+ [0, 1],
681
+ [
682
+ 0,
683
+ {
684
+ [_hQ]: _wV,
685
+ },
686
+ ],
687
+ ],
688
+ ];
689
+ var ListWorkflowRunsResponse = [
690
+ 3,
691
+ n0,
692
+ _LWRRi,
693
+ 0,
694
+ [_WR, _NT],
695
+ [() => WorkflowRunSummaries, 0],
696
+ ];
697
+ var ListWorkflowsRequest = [
698
+ 3,
699
+ n0,
700
+ _LWR,
701
+ 0,
702
+ [_MR, _NT],
703
+ [
704
+ [
705
+ 1,
706
+ {
707
+ [_hQ]: _mR,
708
+ },
709
+ ],
710
+ [
711
+ 0,
712
+ {
713
+ [_hQ]: _nT,
714
+ },
715
+ ],
716
+ ],
717
+ ];
718
+ var ListWorkflowsResponse = [3, n0, _LWRi, 0, [_Wo, _NT], [() => WorkflowSummaries, 0]];
719
+ var ListWorkflowVersionsRequest = [
720
+ 3,
721
+ n0,
722
+ _LWVR,
723
+ 0,
724
+ [_MR, _NT, _WA],
725
+ [
726
+ [
727
+ 1,
728
+ {
729
+ [_hQ]: _mR,
730
+ },
731
+ ],
732
+ [
733
+ 0,
734
+ {
735
+ [_hQ]: _nT,
736
+ },
737
+ ],
738
+ [0, 1],
739
+ ],
740
+ ];
741
+ var ListWorkflowVersionsResponse = [
742
+ 3,
743
+ n0,
744
+ _LWVRi,
745
+ 0,
746
+ [_WVo, _NT],
747
+ [() => WorkflowVersionSummaries, 0],
748
+ ];
749
+ var LoggingConfiguration = [3, n0, _LC, 0, [_LGN], [0]];
750
+ var NetworkConfiguration = [3, n0, _NC, 0, [_SGI, _SI], [64 | 0, 64 | 0]];
751
+ var OperationTimeoutException = [
752
+ -3,
753
+ n0,
754
+ _OTE,
755
+ {
756
+ [_e]: _s,
757
+ [_hE]: 504,
758
+ },
759
+ [_M],
760
+ [0],
761
+ ];
762
+ schema.TypeRegistry.for(n0).registerError(OperationTimeoutException, OperationTimeoutException$1);
763
+ var ResourceNotFoundException = [
764
+ -3,
765
+ n0,
766
+ _RNFE,
767
+ {
768
+ [_e]: _c,
769
+ [_hE]: 404,
770
+ },
771
+ [_M, _RI, _RT],
772
+ [0, 0, 0],
773
+ ];
774
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
775
+ var RunDetailSummary = [3, n0, _RDS, 0, [_S, _CO, _SA, _EA], [0, 5, 5, 5]];
776
+ var ScheduleConfiguration = [3, n0, _SC, 0, [_CEr], [0]];
777
+ var ServiceQuotaExceededException = [
778
+ -3,
779
+ n0,
780
+ _SQEE,
781
+ {
782
+ [_e]: _c,
783
+ [_hE]: 402,
784
+ },
785
+ [_M, _RI, _RT, _SCe, _QC],
786
+ [0, 0, 0, 0, 0],
787
+ ];
788
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
789
+ var StartWorkflowRunRequest = [
790
+ 3,
791
+ n0,
792
+ _SWRR,
793
+ 0,
794
+ [_WA, _CT, _OP, _WV],
795
+ [[0, 1], [0, 4], [() => ObjectMap, 0], 0],
796
+ ];
797
+ var StartWorkflowRunResponse = [3, n0, _SWRRt, 0, [_RIu, _S, _SA], [0, 0, 5]];
798
+ var StopWorkflowRunRequest = [
799
+ 3,
800
+ n0,
801
+ _SWRRto,
802
+ 0,
803
+ [_WA, _RIu],
804
+ [
805
+ [0, 1],
806
+ [0, 1],
807
+ ],
808
+ ];
809
+ var StopWorkflowRunResponse = [3, n0, _SWRRtop, 0, [_WA, _WV, _RIu, _S], [0, 0, 0, 0]];
810
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], 128 | 0]];
811
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
812
+ var TaskInstanceSummary = [
813
+ 3,
814
+ n0,
815
+ _TIS,
816
+ 0,
817
+ [_WA, _WV, _RIu, _TII, _S, _DIS, _ON],
818
+ [0, 0, 0, 0, 0, 1, 0],
819
+ ];
820
+ var ThrottlingException = [
821
+ -3,
822
+ n0,
823
+ _TE,
824
+ {
825
+ [_e]: _c,
826
+ [_hE]: 429,
827
+ },
828
+ [_M, _SCe, _QC, _RAS],
829
+ [
830
+ 0,
831
+ 0,
832
+ 0,
833
+ [
834
+ 1,
835
+ {
836
+ [_hH]: _RA_,
837
+ },
838
+ ],
839
+ ],
840
+ ];
841
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
842
+ var UntagResourceRequest = [
843
+ 3,
844
+ n0,
845
+ _URR,
846
+ 0,
847
+ [_RAe, _TK],
848
+ [
849
+ [0, 1],
850
+ [
851
+ 64 | 0,
852
+ {
853
+ [_hQ]: _tK,
854
+ },
855
+ ],
856
+ ],
857
+ ];
858
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
859
+ var UpdateWorkflowRequest = [
860
+ 3,
861
+ n0,
862
+ _UWR,
863
+ 0,
864
+ [_WA, _DSL, _RA, _D, _LC, _EV, _NC, _TM],
865
+ [[0, 1], () => DefinitionS3Location, 0, 0, () => LoggingConfiguration, 1, () => NetworkConfiguration, 0],
866
+ ];
867
+ var UpdateWorkflowResponse = [3, n0, _UWRp, 0, [_WA, _MA, _WV, _W], [0, 5, 0, 64 | 0]];
868
+ var ValidationException = [
869
+ -3,
870
+ n0,
871
+ _VE,
872
+ {
873
+ [_e]: _c,
874
+ [_hE]: 400,
875
+ },
876
+ [_M, _R, _FL],
877
+ [0, 0, () => ValidationExceptionFields],
878
+ ];
879
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
880
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_N, _M], [0, 0]];
881
+ var WorkflowRunDetail = [
882
+ 3,
883
+ n0,
884
+ _WRD,
885
+ 0,
886
+ [_WA, _WV, _RIu, _RTu, _SO, _CA, _COo, _MA, _Du, _EM, _TIa, _RS],
887
+ [0, 0, 0, 0, 5, 5, 5, 5, 1, 0, 64 | 0, 0],
888
+ ];
889
+ var WorkflowRunSummary = [
890
+ 3,
891
+ n0,
892
+ _WRS,
893
+ 0,
894
+ [_RIu, _WA, _WV, _RTu, _RDS],
895
+ [0, 0, 0, 0, () => RunDetailSummary],
896
+ ];
897
+ var WorkflowSummary = [
898
+ 3,
899
+ n0,
900
+ _WSo,
901
+ 0,
902
+ [_WA, _WV, _N, _D, _CA, _MA, _WS, _TM],
903
+ [0, 0, 0, 0, 5, 5, 0, 0],
904
+ ];
905
+ var WorkflowVersionSummary = [
906
+ 3,
907
+ n0,
908
+ _WVS,
909
+ 0,
910
+ [_WV, _WA, _ILV, _CA, _MA, _DSL, _SC, _TM],
911
+ [0, 0, 2, 5, 5, () => DefinitionS3Location, () => ScheduleConfiguration, 0],
912
+ ];
913
+ var MWAAServerlessServiceException = [-3, _sm, "MWAAServerlessServiceException", 0, [], []];
914
+ schema.TypeRegistry.for(_sm).registerError(MWAAServerlessServiceException, MWAAServerlessServiceException$1);
915
+ var TaskInstanceSummaries = [1, n0, _TISa, 0, () => TaskInstanceSummary];
916
+ var ValidationExceptionFields = [1, n0, _VEFa, 0, () => ValidationExceptionField];
917
+ var WorkflowRunSummaries = [1, n0, _WRSo, 0, () => WorkflowRunSummary];
918
+ var WorkflowSummaries = [1, n0, _WSor, 0, () => WorkflowSummary];
919
+ var WorkflowVersionSummaries = [1, n0, _WVSo, 0, () => WorkflowVersionSummary];
920
+ var ObjectMap = [2, n0, _OM, 8, 0, 15];
921
+ var CreateWorkflow = [
922
+ 9,
923
+ n0,
924
+ _CW,
925
+ {
926
+ [_h]: ["POST", "/workflows", 200],
927
+ },
928
+ () => CreateWorkflowRequest,
929
+ () => CreateWorkflowResponse,
930
+ ];
931
+ var DeleteWorkflow = [
932
+ 9,
933
+ n0,
934
+ _DW,
935
+ {
936
+ [_h]: ["DELETE", "/workflows/{WorkflowArn}", 200],
937
+ },
938
+ () => DeleteWorkflowRequest,
939
+ () => DeleteWorkflowResponse,
940
+ ];
941
+ var GetTaskInstance = [
942
+ 9,
943
+ n0,
944
+ _GTI,
945
+ {
946
+ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks/{TaskInstanceId}", 200],
947
+ },
948
+ () => GetTaskInstanceRequest,
949
+ () => GetTaskInstanceResponse,
950
+ ];
951
+ var GetWorkflow = [
952
+ 9,
953
+ n0,
954
+ _GW,
955
+ {
956
+ [_h]: ["GET", "/workflows/{WorkflowArn}", 200],
957
+ },
958
+ () => GetWorkflowRequest,
959
+ () => GetWorkflowResponse,
960
+ ];
961
+ var GetWorkflowRun = [
962
+ 9,
963
+ n0,
964
+ _GWRet,
965
+ {
966
+ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}", 200],
967
+ },
968
+ () => GetWorkflowRunRequest,
969
+ () => GetWorkflowRunResponse,
970
+ ];
971
+ var ListTagsForResource = [
972
+ 9,
973
+ n0,
974
+ _LTFR,
975
+ {
976
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
977
+ },
978
+ () => ListTagsForResourceRequest,
979
+ () => ListTagsForResourceResponse,
980
+ ];
981
+ var ListTaskInstances = [
982
+ 9,
983
+ n0,
984
+ _LTI,
985
+ {
986
+ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks", 200],
987
+ },
988
+ () => ListTaskInstancesRequest,
989
+ () => ListTaskInstancesResponse,
990
+ ];
991
+ var ListWorkflowRuns = [
992
+ 9,
993
+ n0,
994
+ _LWRis,
995
+ {
996
+ [_h]: ["GET", "/workflows/{WorkflowArn}/runs", 200],
997
+ },
998
+ () => ListWorkflowRunsRequest,
999
+ () => ListWorkflowRunsResponse,
1000
+ ];
1001
+ var ListWorkflows = [
1002
+ 9,
1003
+ n0,
1004
+ _LW,
1005
+ {
1006
+ [_h]: ["GET", "/workflows", 200],
1007
+ },
1008
+ () => ListWorkflowsRequest,
1009
+ () => ListWorkflowsResponse,
1010
+ ];
1011
+ var ListWorkflowVersions = [
1012
+ 9,
1013
+ n0,
1014
+ _LWV,
1015
+ {
1016
+ [_h]: ["GET", "/workflows/{WorkflowArn}/versions", 200],
1017
+ },
1018
+ () => ListWorkflowVersionsRequest,
1019
+ () => ListWorkflowVersionsResponse,
1020
+ ];
1021
+ var StartWorkflowRun = [
1022
+ 9,
1023
+ n0,
1024
+ _SWR,
1025
+ {
1026
+ [_h]: ["POST", "/workflows/{WorkflowArn}/runs", 200],
1027
+ },
1028
+ () => StartWorkflowRunRequest,
1029
+ () => StartWorkflowRunResponse,
1030
+ ];
1031
+ var StopWorkflowRun = [
1032
+ 9,
1033
+ n0,
1034
+ _SWRt,
1035
+ {
1036
+ [_h]: ["DELETE", "/workflows/{WorkflowArn}/runs/{RunId}", 200],
1037
+ },
1038
+ () => StopWorkflowRunRequest,
1039
+ () => StopWorkflowRunResponse,
1040
+ ];
1041
+ var TagResource = [
1042
+ 9,
1043
+ n0,
1044
+ _TR,
1045
+ {
1046
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1047
+ },
1048
+ () => TagResourceRequest,
1049
+ () => TagResourceResponse,
1050
+ ];
1051
+ var UntagResource = [
1052
+ 9,
1053
+ n0,
1054
+ _UR,
1055
+ {
1056
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
1057
+ },
1058
+ () => UntagResourceRequest,
1059
+ () => UntagResourceResponse,
1060
+ ];
1061
+ var UpdateWorkflow = [
1062
+ 9,
1063
+ n0,
1064
+ _UW,
1065
+ {
1066
+ [_h]: ["PUT", "/workflows/{WorkflowArn}", 200],
1067
+ },
1068
+ () => UpdateWorkflowRequest,
1069
+ () => UpdateWorkflowResponse,
1070
+ ];
1071
+
1072
+ class CreateWorkflowCommand extends smithyClient.Command
1073
+ .classBuilder()
1074
+ .ep(commonParams)
1075
+ .m(function (Command, cs, config, o) {
1076
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1077
+ })
1078
+ .s("AmazonMWAAServerless", "CreateWorkflow", {})
1079
+ .n("MWAAServerlessClient", "CreateWorkflowCommand")
1080
+ .sc(CreateWorkflow)
1081
+ .build() {
1082
+ }
1083
+
1084
+ class DeleteWorkflowCommand extends smithyClient.Command
1085
+ .classBuilder()
1086
+ .ep(commonParams)
1087
+ .m(function (Command, cs, config, o) {
1088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1089
+ })
1090
+ .s("AmazonMWAAServerless", "DeleteWorkflow", {})
1091
+ .n("MWAAServerlessClient", "DeleteWorkflowCommand")
1092
+ .sc(DeleteWorkflow)
1093
+ .build() {
1094
+ }
1095
+
1096
+ class GetTaskInstanceCommand extends smithyClient.Command
1097
+ .classBuilder()
1098
+ .ep(commonParams)
1099
+ .m(function (Command, cs, config, o) {
1100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1101
+ })
1102
+ .s("AmazonMWAAServerless", "GetTaskInstance", {})
1103
+ .n("MWAAServerlessClient", "GetTaskInstanceCommand")
1104
+ .sc(GetTaskInstance)
1105
+ .build() {
1106
+ }
1107
+
1108
+ class GetWorkflowCommand extends smithyClient.Command
1109
+ .classBuilder()
1110
+ .ep(commonParams)
1111
+ .m(function (Command, cs, config, o) {
1112
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1113
+ })
1114
+ .s("AmazonMWAAServerless", "GetWorkflow", {})
1115
+ .n("MWAAServerlessClient", "GetWorkflowCommand")
1116
+ .sc(GetWorkflow)
1117
+ .build() {
1118
+ }
1119
+
1120
+ class GetWorkflowRunCommand extends smithyClient.Command
1121
+ .classBuilder()
1122
+ .ep(commonParams)
1123
+ .m(function (Command, cs, config, o) {
1124
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1125
+ })
1126
+ .s("AmazonMWAAServerless", "GetWorkflowRun", {})
1127
+ .n("MWAAServerlessClient", "GetWorkflowRunCommand")
1128
+ .sc(GetWorkflowRun)
1129
+ .build() {
1130
+ }
1131
+
1132
+ class ListTagsForResourceCommand extends smithyClient.Command
1133
+ .classBuilder()
1134
+ .ep(commonParams)
1135
+ .m(function (Command, cs, config, o) {
1136
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1137
+ })
1138
+ .s("AmazonMWAAServerless", "ListTagsForResource", {})
1139
+ .n("MWAAServerlessClient", "ListTagsForResourceCommand")
1140
+ .sc(ListTagsForResource)
1141
+ .build() {
1142
+ }
1143
+
1144
+ class ListTaskInstancesCommand extends smithyClient.Command
1145
+ .classBuilder()
1146
+ .ep(commonParams)
1147
+ .m(function (Command, cs, config, o) {
1148
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1149
+ })
1150
+ .s("AmazonMWAAServerless", "ListTaskInstances", {})
1151
+ .n("MWAAServerlessClient", "ListTaskInstancesCommand")
1152
+ .sc(ListTaskInstances)
1153
+ .build() {
1154
+ }
1155
+
1156
+ class ListWorkflowRunsCommand extends smithyClient.Command
1157
+ .classBuilder()
1158
+ .ep(commonParams)
1159
+ .m(function (Command, cs, config, o) {
1160
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1161
+ })
1162
+ .s("AmazonMWAAServerless", "ListWorkflowRuns", {})
1163
+ .n("MWAAServerlessClient", "ListWorkflowRunsCommand")
1164
+ .sc(ListWorkflowRuns)
1165
+ .build() {
1166
+ }
1167
+
1168
+ class ListWorkflowsCommand extends smithyClient.Command
1169
+ .classBuilder()
1170
+ .ep(commonParams)
1171
+ .m(function (Command, cs, config, o) {
1172
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1173
+ })
1174
+ .s("AmazonMWAAServerless", "ListWorkflows", {})
1175
+ .n("MWAAServerlessClient", "ListWorkflowsCommand")
1176
+ .sc(ListWorkflows)
1177
+ .build() {
1178
+ }
1179
+
1180
+ class ListWorkflowVersionsCommand extends smithyClient.Command
1181
+ .classBuilder()
1182
+ .ep(commonParams)
1183
+ .m(function (Command, cs, config, o) {
1184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1185
+ })
1186
+ .s("AmazonMWAAServerless", "ListWorkflowVersions", {})
1187
+ .n("MWAAServerlessClient", "ListWorkflowVersionsCommand")
1188
+ .sc(ListWorkflowVersions)
1189
+ .build() {
1190
+ }
1191
+
1192
+ class StartWorkflowRunCommand extends smithyClient.Command
1193
+ .classBuilder()
1194
+ .ep(commonParams)
1195
+ .m(function (Command, cs, config, o) {
1196
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1197
+ })
1198
+ .s("AmazonMWAAServerless", "StartWorkflowRun", {})
1199
+ .n("MWAAServerlessClient", "StartWorkflowRunCommand")
1200
+ .sc(StartWorkflowRun)
1201
+ .build() {
1202
+ }
1203
+
1204
+ class StopWorkflowRunCommand extends smithyClient.Command
1205
+ .classBuilder()
1206
+ .ep(commonParams)
1207
+ .m(function (Command, cs, config, o) {
1208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1209
+ })
1210
+ .s("AmazonMWAAServerless", "StopWorkflowRun", {})
1211
+ .n("MWAAServerlessClient", "StopWorkflowRunCommand")
1212
+ .sc(StopWorkflowRun)
1213
+ .build() {
1214
+ }
1215
+
1216
+ class TagResourceCommand extends smithyClient.Command
1217
+ .classBuilder()
1218
+ .ep(commonParams)
1219
+ .m(function (Command, cs, config, o) {
1220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1221
+ })
1222
+ .s("AmazonMWAAServerless", "TagResource", {})
1223
+ .n("MWAAServerlessClient", "TagResourceCommand")
1224
+ .sc(TagResource)
1225
+ .build() {
1226
+ }
1227
+
1228
+ class UntagResourceCommand extends smithyClient.Command
1229
+ .classBuilder()
1230
+ .ep(commonParams)
1231
+ .m(function (Command, cs, config, o) {
1232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
+ })
1234
+ .s("AmazonMWAAServerless", "UntagResource", {})
1235
+ .n("MWAAServerlessClient", "UntagResourceCommand")
1236
+ .sc(UntagResource)
1237
+ .build() {
1238
+ }
1239
+
1240
+ class UpdateWorkflowCommand extends smithyClient.Command
1241
+ .classBuilder()
1242
+ .ep(commonParams)
1243
+ .m(function (Command, cs, config, o) {
1244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
+ })
1246
+ .s("AmazonMWAAServerless", "UpdateWorkflow", {})
1247
+ .n("MWAAServerlessClient", "UpdateWorkflowCommand")
1248
+ .sc(UpdateWorkflow)
1249
+ .build() {
1250
+ }
1251
+
1252
+ const commands = {
1253
+ CreateWorkflowCommand,
1254
+ DeleteWorkflowCommand,
1255
+ GetTaskInstanceCommand,
1256
+ GetWorkflowCommand,
1257
+ GetWorkflowRunCommand,
1258
+ ListTagsForResourceCommand,
1259
+ ListTaskInstancesCommand,
1260
+ ListWorkflowRunsCommand,
1261
+ ListWorkflowsCommand,
1262
+ ListWorkflowVersionsCommand,
1263
+ StartWorkflowRunCommand,
1264
+ StopWorkflowRunCommand,
1265
+ TagResourceCommand,
1266
+ UntagResourceCommand,
1267
+ UpdateWorkflowCommand,
1268
+ };
1269
+ class MWAAServerless extends MWAAServerlessClient {
1270
+ }
1271
+ smithyClient.createAggregatedClient(commands, MWAAServerless);
1272
+
1273
+ const paginateListTaskInstances = core.createPaginator(MWAAServerlessClient, ListTaskInstancesCommand, "NextToken", "NextToken", "MaxResults");
1274
+
1275
+ const paginateListWorkflowRuns = core.createPaginator(MWAAServerlessClient, ListWorkflowRunsCommand, "NextToken", "NextToken", "MaxResults");
1276
+
1277
+ const paginateListWorkflowVersions = core.createPaginator(MWAAServerlessClient, ListWorkflowVersionsCommand, "NextToken", "NextToken", "MaxResults");
1278
+
1279
+ const paginateListWorkflows = core.createPaginator(MWAAServerlessClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
1280
+
1281
+ Object.defineProperty(exports, "$Command", {
1282
+ enumerable: true,
1283
+ get: function () { return smithyClient.Command; }
1284
+ });
1285
+ Object.defineProperty(exports, "__Client", {
1286
+ enumerable: true,
1287
+ get: function () { return smithyClient.Client; }
1288
+ });
1289
+ exports.AccessDeniedException = AccessDeniedException$1;
1290
+ exports.ConflictException = ConflictException$1;
1291
+ exports.CreateWorkflowCommand = CreateWorkflowCommand;
1292
+ exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
1293
+ exports.EncryptionType = EncryptionType;
1294
+ exports.GetTaskInstanceCommand = GetTaskInstanceCommand;
1295
+ exports.GetWorkflowCommand = GetWorkflowCommand;
1296
+ exports.GetWorkflowRunCommand = GetWorkflowRunCommand;
1297
+ exports.InternalServerException = InternalServerException$1;
1298
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1299
+ exports.ListTaskInstancesCommand = ListTaskInstancesCommand;
1300
+ exports.ListWorkflowRunsCommand = ListWorkflowRunsCommand;
1301
+ exports.ListWorkflowVersionsCommand = ListWorkflowVersionsCommand;
1302
+ exports.ListWorkflowsCommand = ListWorkflowsCommand;
1303
+ exports.MWAAServerless = MWAAServerless;
1304
+ exports.MWAAServerlessClient = MWAAServerlessClient;
1305
+ exports.MWAAServerlessServiceException = MWAAServerlessServiceException$1;
1306
+ exports.OperationTimeoutException = OperationTimeoutException$1;
1307
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1308
+ exports.RunType = RunType;
1309
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1310
+ exports.StartWorkflowRunCommand = StartWorkflowRunCommand;
1311
+ exports.StopWorkflowRunCommand = StopWorkflowRunCommand;
1312
+ exports.TagResourceCommand = TagResourceCommand;
1313
+ exports.TaskInstanceStatus = TaskInstanceStatus;
1314
+ exports.ThrottlingException = ThrottlingException$1;
1315
+ exports.UntagResourceCommand = UntagResourceCommand;
1316
+ exports.UpdateWorkflowCommand = UpdateWorkflowCommand;
1317
+ exports.ValidationException = ValidationException$1;
1318
+ exports.ValidationExceptionReason = ValidationExceptionReason;
1319
+ exports.WorkflowRunStatus = WorkflowRunStatus;
1320
+ exports.WorkflowStatus = WorkflowStatus;
1321
+ exports.paginateListTaskInstances = paginateListTaskInstances;
1322
+ exports.paginateListWorkflowRuns = paginateListWorkflowRuns;
1323
+ exports.paginateListWorkflowVersions = paginateListWorkflowVersions;
1324
+ exports.paginateListWorkflows = paginateListWorkflows;