@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,396 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
3
+ import { MWAAServerlessServiceException as __BaseException } from "./MWAAServerlessServiceException";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class InternalServerException extends __BaseException {
13
+ readonly name: "InternalServerException";
14
+ readonly $fault: "server";
15
+ $retryable: {};
16
+ Message: string | undefined;
17
+ RetryAfterSeconds?: number | undefined;
18
+ constructor(
19
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
20
+ );
21
+ }
22
+ export interface ListTagsForResourceRequest {
23
+ ResourceArn: string | undefined;
24
+ }
25
+ export interface ListTagsForResourceResponse {
26
+ Tags?: Record<string, string> | undefined;
27
+ }
28
+ export declare class OperationTimeoutException extends __BaseException {
29
+ readonly name: "OperationTimeoutException";
30
+ readonly $fault: "server";
31
+ Message?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ Message: string | undefined;
40
+ ResourceId: string | undefined;
41
+ ResourceType: string | undefined;
42
+ constructor(
43
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
44
+ );
45
+ }
46
+ export declare class ThrottlingException extends __BaseException {
47
+ readonly name: "ThrottlingException";
48
+ readonly $fault: "client";
49
+ $retryable: {
50
+ throttling: boolean;
51
+ };
52
+ Message: string | undefined;
53
+ ServiceCode: string | undefined;
54
+ QuotaCode: string | undefined;
55
+ RetryAfterSeconds?: number | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
58
+ );
59
+ }
60
+ export interface ValidationExceptionField {
61
+ Name: string | undefined;
62
+ Message: string | undefined;
63
+ }
64
+ export declare const ValidationExceptionReason: {
65
+ readonly CANNOT_PARSE: "cannotParse";
66
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
67
+ readonly OTHER: "other";
68
+ readonly UNKNOWN_OPERATION: "unknownOperation";
69
+ };
70
+ export type ValidationExceptionReason =
71
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
72
+ export declare class ValidationException extends __BaseException {
73
+ readonly name: "ValidationException";
74
+ readonly $fault: "client";
75
+ Message: string | undefined;
76
+ Reason: ValidationExceptionReason | undefined;
77
+ FieldList?: ValidationExceptionField[] | undefined;
78
+ constructor(
79
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
80
+ );
81
+ }
82
+ export interface TagResourceRequest {
83
+ ResourceArn: string | undefined;
84
+ Tags: Record<string, string> | undefined;
85
+ }
86
+ export interface TagResourceResponse {}
87
+ export interface GetTaskInstanceRequest {
88
+ WorkflowArn: string | undefined;
89
+ TaskInstanceId: string | undefined;
90
+ RunId: string | undefined;
91
+ }
92
+ export declare const TaskInstanceStatus: {
93
+ readonly CANCELLED: "CANCELLED";
94
+ readonly DEFERRED: "DEFERRED";
95
+ readonly FAILED: "FAILED";
96
+ readonly NONE: "NONE";
97
+ readonly QUEUED: "QUEUED";
98
+ readonly REMOVED: "REMOVED";
99
+ readonly RESTARTING: "RESTARTING";
100
+ readonly RUNNING: "RUNNING";
101
+ readonly SCHEDULED: "SCHEDULED";
102
+ readonly SUCCESS: "SUCCESS";
103
+ readonly TIMEOUT: "TIMEOUT";
104
+ readonly UPSTREAM_FAILED: "UPSTREAM_FAILED";
105
+ readonly UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE";
106
+ readonly UP_FOR_RETRY: "UP_FOR_RETRY";
107
+ };
108
+ export type TaskInstanceStatus =
109
+ (typeof TaskInstanceStatus)[keyof typeof TaskInstanceStatus];
110
+ export interface GetTaskInstanceResponse {
111
+ WorkflowArn: string | undefined;
112
+ RunId: string | undefined;
113
+ TaskInstanceId: string | undefined;
114
+ WorkflowVersion?: string | undefined;
115
+ Status?: TaskInstanceStatus | undefined;
116
+ DurationInSeconds?: number | undefined;
117
+ OperatorName?: string | undefined;
118
+ ModifiedAt?: Date | undefined;
119
+ EndedAt?: Date | undefined;
120
+ StartedAt?: Date | undefined;
121
+ AttemptNumber?: number | undefined;
122
+ ErrorMessage?: string | undefined;
123
+ TaskId?: string | undefined;
124
+ LogStream?: string | undefined;
125
+ Xcom?: Record<string, string> | undefined;
126
+ }
127
+ export interface ListTaskInstancesRequest {
128
+ WorkflowArn: string | undefined;
129
+ RunId: string | undefined;
130
+ MaxResults?: number | undefined;
131
+ NextToken?: string | undefined;
132
+ }
133
+ export interface TaskInstanceSummary {
134
+ WorkflowArn?: string | undefined;
135
+ WorkflowVersion?: string | undefined;
136
+ RunId?: string | undefined;
137
+ TaskInstanceId?: string | undefined;
138
+ Status?: TaskInstanceStatus | undefined;
139
+ DurationInSeconds?: number | undefined;
140
+ OperatorName?: string | undefined;
141
+ }
142
+ export interface ListTaskInstancesResponse {
143
+ TaskInstances?: TaskInstanceSummary[] | undefined;
144
+ NextToken?: string | undefined;
145
+ }
146
+ export interface UntagResourceRequest {
147
+ ResourceArn: string | undefined;
148
+ TagKeys: string[] | undefined;
149
+ }
150
+ export interface UntagResourceResponse {}
151
+ export declare class ConflictException extends __BaseException {
152
+ readonly name: "ConflictException";
153
+ readonly $fault: "client";
154
+ Message: string | undefined;
155
+ ResourceId: string | undefined;
156
+ ResourceType: string | undefined;
157
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
158
+ }
159
+ export interface DefinitionS3Location {
160
+ Bucket: string | undefined;
161
+ ObjectKey: string | undefined;
162
+ VersionId?: string | undefined;
163
+ }
164
+ export declare const EncryptionType: {
165
+ readonly AWS_MANAGED_KEY: "AWS_MANAGED_KEY";
166
+ readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
167
+ };
168
+ export type EncryptionType =
169
+ (typeof EncryptionType)[keyof typeof EncryptionType];
170
+ export interface EncryptionConfiguration {
171
+ Type: EncryptionType | undefined;
172
+ KmsKeyId?: string | undefined;
173
+ }
174
+ export declare enum EngineVersion {
175
+ ONE = 1,
176
+ }
177
+ export interface LoggingConfiguration {
178
+ LogGroupName: string | undefined;
179
+ }
180
+ export interface NetworkConfiguration {
181
+ SecurityGroupIds?: string[] | undefined;
182
+ SubnetIds?: string[] | undefined;
183
+ }
184
+ export interface CreateWorkflowRequest {
185
+ Name: string | undefined;
186
+ ClientToken?: string | undefined;
187
+ DefinitionS3Location: DefinitionS3Location | undefined;
188
+ RoleArn: string | undefined;
189
+ Description?: string | undefined;
190
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
191
+ LoggingConfiguration?: LoggingConfiguration | undefined;
192
+ EngineVersion?: EngineVersion | undefined;
193
+ NetworkConfiguration?: NetworkConfiguration | undefined;
194
+ Tags?: Record<string, string> | undefined;
195
+ TriggerMode?: string | undefined;
196
+ }
197
+ export declare const WorkflowStatus: {
198
+ readonly DELETING: "DELETING";
199
+ readonly READY: "READY";
200
+ };
201
+ export type WorkflowStatus =
202
+ (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
203
+ export interface CreateWorkflowResponse {
204
+ WorkflowArn: string | undefined;
205
+ CreatedAt?: Date | undefined;
206
+ RevisionId?: string | undefined;
207
+ WorkflowStatus?: WorkflowStatus | undefined;
208
+ WorkflowVersion?: string | undefined;
209
+ IsLatestVersion?: boolean | undefined;
210
+ Warnings?: string[] | undefined;
211
+ }
212
+ export declare class ServiceQuotaExceededException extends __BaseException {
213
+ readonly name: "ServiceQuotaExceededException";
214
+ readonly $fault: "client";
215
+ Message: string | undefined;
216
+ ResourceId: string | undefined;
217
+ ResourceType: string | undefined;
218
+ ServiceCode: string | undefined;
219
+ QuotaCode: string | undefined;
220
+ constructor(
221
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
222
+ );
223
+ }
224
+ export interface DeleteWorkflowRequest {
225
+ WorkflowArn: string | undefined;
226
+ WorkflowVersion?: string | undefined;
227
+ }
228
+ export interface DeleteWorkflowResponse {
229
+ WorkflowArn: string | undefined;
230
+ WorkflowVersion?: string | undefined;
231
+ }
232
+ export interface GetWorkflowRequest {
233
+ WorkflowArn: string | undefined;
234
+ WorkflowVersion?: string | undefined;
235
+ }
236
+ export interface ScheduleConfiguration {
237
+ CronExpression?: string | undefined;
238
+ }
239
+ export interface GetWorkflowResponse {
240
+ WorkflowArn: string | undefined;
241
+ WorkflowVersion?: string | undefined;
242
+ Name?: string | undefined;
243
+ Description?: string | undefined;
244
+ CreatedAt?: Date | undefined;
245
+ ModifiedAt?: Date | undefined;
246
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
247
+ LoggingConfiguration?: LoggingConfiguration | undefined;
248
+ EngineVersion?: EngineVersion | undefined;
249
+ WorkflowStatus?: WorkflowStatus | undefined;
250
+ DefinitionS3Location?: DefinitionS3Location | undefined;
251
+ ScheduleConfiguration?: ScheduleConfiguration | undefined;
252
+ RoleArn?: string | undefined;
253
+ NetworkConfiguration?: NetworkConfiguration | undefined;
254
+ TriggerMode?: string | undefined;
255
+ WorkflowDefinition?: string | undefined;
256
+ }
257
+ export interface ListWorkflowsRequest {
258
+ MaxResults?: number | undefined;
259
+ NextToken?: string | undefined;
260
+ }
261
+ export interface WorkflowSummary {
262
+ WorkflowArn: string | undefined;
263
+ WorkflowVersion?: string | undefined;
264
+ Name?: string | undefined;
265
+ Description?: string | undefined;
266
+ CreatedAt?: Date | undefined;
267
+ ModifiedAt?: Date | undefined;
268
+ WorkflowStatus?: WorkflowStatus | undefined;
269
+ TriggerMode?: string | undefined;
270
+ }
271
+ export interface ListWorkflowsResponse {
272
+ Workflows: WorkflowSummary[] | undefined;
273
+ NextToken?: string | undefined;
274
+ }
275
+ export interface UpdateWorkflowRequest {
276
+ WorkflowArn: string | undefined;
277
+ DefinitionS3Location: DefinitionS3Location | undefined;
278
+ RoleArn: string | undefined;
279
+ Description?: string | undefined;
280
+ LoggingConfiguration?: LoggingConfiguration | undefined;
281
+ EngineVersion?: EngineVersion | undefined;
282
+ NetworkConfiguration?: NetworkConfiguration | undefined;
283
+ TriggerMode?: string | undefined;
284
+ }
285
+ export interface UpdateWorkflowResponse {
286
+ WorkflowArn: string | undefined;
287
+ ModifiedAt?: Date | undefined;
288
+ WorkflowVersion?: string | undefined;
289
+ Warnings?: string[] | undefined;
290
+ }
291
+ export interface GetWorkflowRunRequest {
292
+ WorkflowArn: string | undefined;
293
+ RunId: string | undefined;
294
+ }
295
+ export declare const WorkflowRunStatus: {
296
+ readonly FAILED: "FAILED";
297
+ readonly QUEUED: "QUEUED";
298
+ readonly RUNNING: "RUNNING";
299
+ readonly STARTING: "STARTING";
300
+ readonly STOPPED: "STOPPED";
301
+ readonly STOPPING: "STOPPING";
302
+ readonly SUCCESS: "SUCCESS";
303
+ readonly TIMEOUT: "TIMEOUT";
304
+ };
305
+ export type WorkflowRunStatus =
306
+ (typeof WorkflowRunStatus)[keyof typeof WorkflowRunStatus];
307
+ export declare const RunType: {
308
+ readonly ON_DEMAND: "ON_DEMAND";
309
+ readonly SCHEDULED: "SCHEDULED";
310
+ };
311
+ export type RunType = (typeof RunType)[keyof typeof RunType];
312
+ export interface WorkflowRunDetail {
313
+ WorkflowArn?: string | undefined;
314
+ WorkflowVersion?: string | undefined;
315
+ RunId?: string | undefined;
316
+ RunType?: RunType | undefined;
317
+ StartedOn?: Date | undefined;
318
+ CreatedAt?: Date | undefined;
319
+ CompletedOn?: Date | undefined;
320
+ ModifiedAt?: Date | undefined;
321
+ Duration?: number | undefined;
322
+ ErrorMessage?: string | undefined;
323
+ TaskInstances?: string[] | undefined;
324
+ RunState?: WorkflowRunStatus | undefined;
325
+ }
326
+ export interface GetWorkflowRunResponse {
327
+ WorkflowArn?: string | undefined;
328
+ WorkflowVersion?: string | undefined;
329
+ RunId?: string | undefined;
330
+ RunType?: RunType | undefined;
331
+ OverrideParameters?: Record<string, __DocumentType> | undefined;
332
+ RunDetail?: WorkflowRunDetail | undefined;
333
+ }
334
+ export interface ListWorkflowRunsRequest {
335
+ MaxResults?: number | undefined;
336
+ NextToken?: string | undefined;
337
+ WorkflowArn: string | undefined;
338
+ WorkflowVersion?: string | undefined;
339
+ }
340
+ export interface RunDetailSummary {
341
+ Status?: WorkflowRunStatus | undefined;
342
+ CreatedOn?: Date | undefined;
343
+ StartedAt?: Date | undefined;
344
+ EndedAt?: Date | undefined;
345
+ }
346
+ export interface WorkflowRunSummary {
347
+ RunId?: string | undefined;
348
+ WorkflowArn?: string | undefined;
349
+ WorkflowVersion?: string | undefined;
350
+ RunType?: RunType | undefined;
351
+ RunDetailSummary?: RunDetailSummary | undefined;
352
+ }
353
+ export interface ListWorkflowRunsResponse {
354
+ WorkflowRuns?: WorkflowRunSummary[] | undefined;
355
+ NextToken?: string | undefined;
356
+ }
357
+ export interface StartWorkflowRunRequest {
358
+ WorkflowArn: string | undefined;
359
+ ClientToken?: string | undefined;
360
+ OverrideParameters?: Record<string, __DocumentType> | undefined;
361
+ WorkflowVersion?: string | undefined;
362
+ }
363
+ export interface StartWorkflowRunResponse {
364
+ RunId?: string | undefined;
365
+ Status?: WorkflowRunStatus | undefined;
366
+ StartedAt?: Date | undefined;
367
+ }
368
+ export interface StopWorkflowRunRequest {
369
+ WorkflowArn: string | undefined;
370
+ RunId: string | undefined;
371
+ }
372
+ export interface StopWorkflowRunResponse {
373
+ WorkflowArn?: string | undefined;
374
+ WorkflowVersion?: string | undefined;
375
+ RunId?: string | undefined;
376
+ Status?: WorkflowRunStatus | undefined;
377
+ }
378
+ export interface ListWorkflowVersionsRequest {
379
+ MaxResults?: number | undefined;
380
+ NextToken?: string | undefined;
381
+ WorkflowArn: string | undefined;
382
+ }
383
+ export interface WorkflowVersionSummary {
384
+ WorkflowVersion: string | undefined;
385
+ WorkflowArn: string | undefined;
386
+ IsLatestVersion?: boolean | undefined;
387
+ CreatedAt?: Date | undefined;
388
+ ModifiedAt?: Date | undefined;
389
+ DefinitionS3Location?: DefinitionS3Location | undefined;
390
+ ScheduleConfiguration?: ScheduleConfiguration | undefined;
391
+ TriggerMode?: string | undefined;
392
+ }
393
+ export interface ListWorkflowVersionsResponse {
394
+ WorkflowVersions?: WorkflowVersionSummary[] | undefined;
395
+ NextToken?: string | undefined;
396
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { MWAAServerlessClient } from "../MWAAServerlessClient";
3
+ export interface MWAAServerlessPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: MWAAServerlessClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListTaskInstancesCommandInput,
4
+ ListTaskInstancesCommandOutput,
5
+ } from "../commands/ListTaskInstancesCommand";
6
+ import { MWAAServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListTaskInstances: (
8
+ config: MWAAServerlessPaginationConfiguration,
9
+ input: ListTaskInstancesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListTaskInstancesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWorkflowRunsCommandInput,
4
+ ListWorkflowRunsCommandOutput,
5
+ } from "../commands/ListWorkflowRunsCommand";
6
+ import { MWAAServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWorkflowRuns: (
8
+ config: MWAAServerlessPaginationConfiguration,
9
+ input: ListWorkflowRunsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWorkflowRunsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWorkflowVersionsCommandInput,
4
+ ListWorkflowVersionsCommandOutput,
5
+ } from "../commands/ListWorkflowVersionsCommand";
6
+ import { MWAAServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWorkflowVersions: (
8
+ config: MWAAServerlessPaginationConfiguration,
9
+ input: ListWorkflowVersionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWorkflowVersionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListWorkflowsCommandInput,
4
+ ListWorkflowsCommandOutput,
5
+ } from "../commands/ListWorkflowsCommand";
6
+ import { MWAAServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListWorkflows: (
8
+ config: MWAAServerlessPaginationConfiguration,
9
+ input: ListWorkflowsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListWorkflowsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListTaskInstancesPaginator";
3
+ export * from "./ListWorkflowRunsPaginator";
4
+ export * from "./ListWorkflowVersionsPaginator";
5
+ export * from "./ListWorkflowsPaginator";
@@ -0,0 +1,95 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { MWAAServerlessClientConfig } from "./MWAAServerlessClient";
3
+ export declare const getRuntimeConfig: (config: MWAAServerlessClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
27
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
+ apiVersion: string;
29
+ cacheMiddleware?: boolean | undefined;
30
+ urlParser: import("@smithy/types").UrlParser;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: Uint8Array | string) => string;
33
+ utf8Decoder: import("@smithy/types").Decoder;
34
+ utf8Encoder: (input: Uint8Array | string) => string;
35
+ disableHostPrefix: boolean;
36
+ serviceId: string;
37
+ profile?: string;
38
+ logger: import("@smithy/types").Logger;
39
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
44
+ customUserAgent?: string | import("@smithy/types").UserAgent;
45
+ userAgentAppId?:
46
+ | string
47
+ | undefined
48
+ | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?:
50
+ | import("@smithy/types").RetryStrategy
51
+ | import("@smithy/types").RetryStrategyV2;
52
+ endpoint?:
53
+ | ((
54
+ | string
55
+ | import("@smithy/types").Endpoint
56
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
+ | import("@smithy/types").EndpointV2
58
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
+ ) &
60
+ (
61
+ | string
62
+ | import("@smithy/types").Provider<string>
63
+ | import("@smithy/types").Endpoint
64
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
65
+ | import("@smithy/types").EndpointV2
66
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
67
+ ))
68
+ | undefined;
69
+ endpointProvider: (
70
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
+ context?: {
72
+ logger?: import("@smithy/types").Logger;
73
+ }
74
+ ) => import("@smithy/types").EndpointV2;
75
+ tls?: boolean;
76
+ serviceConfiguredEndpoint?: never;
77
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
78
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MWAAServerlessHttpAuthSchemeProvider;
80
+ credentials?:
81
+ | import("@smithy/types").AwsCredentialIdentity
82
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
+ signer?:
84
+ | import("@smithy/types").RequestSigner
85
+ | ((
86
+ authScheme?: import("@smithy/types").AuthScheme
87
+ ) => Promise<import("@smithy/types").RequestSigner>);
88
+ signingEscapePath?: boolean;
89
+ systemClockOffset?: number;
90
+ signingRegion?: string;
91
+ signerConstructor?: new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner;
95
+ };
@@ -0,0 +1,91 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { MWAAServerlessClientConfig } from "./MWAAServerlessClient";
3
+ export declare const getRuntimeConfig: (config: MWAAServerlessClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider:
11
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
+ | ((
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
+ defaultUserAgentProvider: (
16
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
17
+ ) => Promise<import("@smithy/types").UserAgent>;
18
+ maxAttempts: number | import("@smithy/types").Provider<number>;
19
+ region: string | import("@smithy/types").Provider<string>;
20
+ requestHandler:
21
+ | RequestHandler
22
+ | import("@smithy/protocol-http").HttpHandler<any>;
23
+ retryMode: string | import("@smithy/types").Provider<string>;
24
+ sha256: import("@smithy/types").HashConstructor;
25
+ streamCollector: import("@smithy/types").StreamCollector;
26
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
+ apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
31
+ urlParser: import("@smithy/types").UrlParser;
32
+ base64Decoder: import("@smithy/types").Decoder;
33
+ base64Encoder: (_input: Uint8Array | string) => string;
34
+ utf8Decoder: import("@smithy/types").Decoder;
35
+ utf8Encoder: (input: Uint8Array | string) => string;
36
+ disableHostPrefix: boolean;
37
+ serviceId: string;
38
+ profile?: string;
39
+ logger: import("@smithy/types").Logger;
40
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
+ retryStrategy?:
47
+ | import("@smithy/types").RetryStrategy
48
+ | import("@smithy/types").RetryStrategyV2;
49
+ endpoint?:
50
+ | ((
51
+ | string
52
+ | import("@smithy/types").Endpoint
53
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
+ | import("@smithy/types").EndpointV2
55
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ ) &
57
+ (
58
+ | string
59
+ | import("@smithy/types").Provider<string>
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ))
65
+ | undefined;
66
+ endpointProvider: (
67
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
68
+ context?: {
69
+ logger?: import("@smithy/types").Logger;
70
+ }
71
+ ) => import("@smithy/types").EndpointV2;
72
+ tls?: boolean;
73
+ serviceConfiguredEndpoint?: never;
74
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
75
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MWAAServerlessHttpAuthSchemeProvider;
76
+ credentials?:
77
+ | import("@smithy/types").AwsCredentialIdentity
78
+ | import("@smithy/types").AwsCredentialIdentityProvider;
79
+ signer?:
80
+ | import("@smithy/types").RequestSigner
81
+ | ((
82
+ authScheme?: import("@smithy/types").AuthScheme
83
+ ) => Promise<import("@smithy/types").RequestSigner>);
84
+ signingEscapePath?: boolean;
85
+ systemClockOffset?: number;
86
+ signingRegion?: string;
87
+ signerConstructor?: new (
88
+ options: import("@smithy/signature-v4").SignatureV4Init &
89
+ import("@smithy/signature-v4").SignatureV4CryptoInit
90
+ ) => import("@smithy/types").RequestSigner;
91
+ };