@aws-sdk/client-mwaa-serverless 3.1167.0 → 3.1169.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/README.md +7 -0
- package/dist-cjs/index.js +61 -27
- package/dist-es/MWAAServerless.js +2 -0
- package/dist-es/commands/CreateAirflowUiUrlCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/errors.js +24 -24
- package/dist-es/schemas/schemas_0.js +28 -2
- package/dist-types/MWAAServerless.d.ts +8 -0
- package/dist-types/MWAAServerlessClient.d.ts +3 -2
- package/dist-types/commands/CreateAirflowUiUrlCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/errors.d.ts +28 -28
- package/dist-types/models/models_0.d.ts +49 -9
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/MWAAServerless.d.ts +18 -0
- package/dist-types/ts3.4/MWAAServerlessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateAirflowUiUrlCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +12 -12
- package/dist-types/ts3.4/models/models_0.d.ts +14 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -179,6 +179,13 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
CreateAirflowUiUrl
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa-serverless/command/CreateAirflowUiUrlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa-serverless/Interface/CreateAirflowUiUrlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa-serverless/Interface/CreateAirflowUiUrlCommandOutput/)
|
|
188
|
+
</details>
|
|
182
189
|
<details>
|
|
183
190
|
<summary>
|
|
184
191
|
CreateWorkflow
|
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1168.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -135,6 +135,25 @@ class AccessDeniedException extends MWAAServerlessServiceException {
|
|
|
135
135
|
this.Message = opts.Message;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
+
class ConflictException extends MWAAServerlessServiceException {
|
|
139
|
+
static shapeId = "com.amazonaws.mwaaserverless#ConflictException";
|
|
140
|
+
name = "ConflictException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
Message;
|
|
143
|
+
ResourceId;
|
|
144
|
+
ResourceType;
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "ConflictException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
152
|
+
this.Message = opts.Message;
|
|
153
|
+
this.ResourceId = opts.ResourceId;
|
|
154
|
+
this.ResourceType = opts.ResourceType;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
138
157
|
class InternalServerException extends MWAAServerlessServiceException {
|
|
139
158
|
static shapeId = "com.amazonaws.mwaaserverless#InternalServerException";
|
|
140
159
|
name = "InternalServerException";
|
|
@@ -168,25 +187,6 @@ class OperationTimeoutException extends MWAAServerlessServiceException {
|
|
|
168
187
|
this.Message = opts.Message;
|
|
169
188
|
}
|
|
170
189
|
}
|
|
171
|
-
class ResourceNotFoundException extends MWAAServerlessServiceException {
|
|
172
|
-
static shapeId = "com.amazonaws.mwaaserverless#ResourceNotFoundException";
|
|
173
|
-
name = "ResourceNotFoundException";
|
|
174
|
-
$fault = "client";
|
|
175
|
-
Message;
|
|
176
|
-
ResourceId;
|
|
177
|
-
ResourceType;
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "ResourceNotFoundException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
185
|
-
this.Message = opts.Message;
|
|
186
|
-
this.ResourceId = opts.ResourceId;
|
|
187
|
-
this.ResourceType = opts.ResourceType;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
190
|
class ThrottlingException extends MWAAServerlessServiceException {
|
|
191
191
|
static shapeId = "com.amazonaws.mwaaserverless#ThrottlingException";
|
|
192
192
|
name = "ThrottlingException";
|
|
@@ -230,20 +230,20 @@ class ValidationException extends MWAAServerlessServiceException {
|
|
|
230
230
|
this.FieldList = opts.FieldList;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
class
|
|
234
|
-
static shapeId = "com.amazonaws.mwaaserverless#
|
|
235
|
-
name = "
|
|
233
|
+
class ResourceNotFoundException extends MWAAServerlessServiceException {
|
|
234
|
+
static shapeId = "com.amazonaws.mwaaserverless#ResourceNotFoundException";
|
|
235
|
+
name = "ResourceNotFoundException";
|
|
236
236
|
$fault = "client";
|
|
237
237
|
Message;
|
|
238
238
|
ResourceId;
|
|
239
239
|
ResourceType;
|
|
240
240
|
constructor(opts) {
|
|
241
241
|
super({
|
|
242
|
-
name: "
|
|
242
|
+
name: "ResourceNotFoundException",
|
|
243
243
|
$fault: "client",
|
|
244
244
|
...opts,
|
|
245
245
|
});
|
|
246
|
-
Object.setPrototypeOf(this,
|
|
246
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
247
247
|
this.Message = opts.Message;
|
|
248
248
|
this.ResourceId = opts.ResourceId;
|
|
249
249
|
this.ResourceType = opts.ResourceType;
|
|
@@ -275,9 +275,14 @@ class ServiceQuotaExceededException extends MWAAServerlessServiceException {
|
|
|
275
275
|
|
|
276
276
|
const _ADE = "AccessDeniedException";
|
|
277
277
|
const _AN = "AttemptNumber";
|
|
278
|
+
const _AU = "AuthorizedUrl";
|
|
279
|
+
const _AUS = "AuthorizedUrlString";
|
|
278
280
|
const _B = "Bucket";
|
|
279
281
|
const _C = "Code";
|
|
280
282
|
const _CA = "CreatedAt";
|
|
283
|
+
const _CAUU = "CreateAirflowUiUrl";
|
|
284
|
+
const _CAUUR = "CreateAirflowUiUrlRequest";
|
|
285
|
+
const _CAUURr = "CreateAirflowUiUrlResponse";
|
|
281
286
|
const _CE = "ConflictException";
|
|
282
287
|
const _CEr = "CronExpression";
|
|
283
288
|
const _CO = "CreatedOn";
|
|
@@ -297,6 +302,7 @@ const _Du = "Duration";
|
|
|
297
302
|
const _E = "Environment";
|
|
298
303
|
const _EA = "EndedAt";
|
|
299
304
|
const _EC = "EncryptionConfiguration";
|
|
305
|
+
const _EIS = "ExpiresInSeconds";
|
|
300
306
|
const _EM = "ErrorMessage";
|
|
301
307
|
const _EV = "EngineVersion";
|
|
302
308
|
const _EVM = "EnvironmentVariablesMap";
|
|
@@ -362,8 +368,12 @@ const _S = "Status";
|
|
|
362
368
|
const _SA = "StartedAt";
|
|
363
369
|
const _SC = "ServiceCode";
|
|
364
370
|
const _SCc = "ScheduleConfiguration";
|
|
371
|
+
const _SDIS = "SessionDurationInSeconds";
|
|
372
|
+
const _SEA = "SessionExpiresAt";
|
|
365
373
|
const _SGI = "SecurityGroupIds";
|
|
366
|
-
const _SI = "
|
|
374
|
+
const _SI = "SessionId";
|
|
375
|
+
const _SIS = "SessionIdString";
|
|
376
|
+
const _SIu = "SubnetIds";
|
|
367
377
|
const _SL = "S3Location";
|
|
368
378
|
const _SO = "StartedOn";
|
|
369
379
|
const _SQEE = "ServiceQuotaExceededException";
|
|
@@ -386,6 +396,7 @@ const _TR = "TagResource";
|
|
|
386
396
|
const _TRR = "TagResourceRequest";
|
|
387
397
|
const _TRRa = "TagResourceResponse";
|
|
388
398
|
const _Ty = "Type";
|
|
399
|
+
const _UEA = "UrlExpiresAt";
|
|
389
400
|
const _UR = "UntagResource";
|
|
390
401
|
const _URR = "UntagResourceRequest";
|
|
391
402
|
const _URRn = "UntagResourceResponse";
|
|
@@ -482,7 +493,19 @@ const errorTypeRegistries = [
|
|
|
482
493
|
_s_registry,
|
|
483
494
|
n0_registry,
|
|
484
495
|
];
|
|
496
|
+
var AuthorizedUrlString = [0, n0, _AUS, 8, 0];
|
|
485
497
|
var EnvironmentVariableValue = [0, n0, _EVV, 8, 0];
|
|
498
|
+
var SessionIdString = [0, n0, _SIS, 8, 0];
|
|
499
|
+
var CreateAirflowUiUrlRequest$ = [3, n0, _CAUUR,
|
|
500
|
+
0,
|
|
501
|
+
[_EIS, _SDIS],
|
|
502
|
+
[1, 1]
|
|
503
|
+
];
|
|
504
|
+
var CreateAirflowUiUrlResponse$ = [3, n0, _CAUURr,
|
|
505
|
+
0,
|
|
506
|
+
[_AU, _SI, _UEA, _SEA],
|
|
507
|
+
[[() => AuthorizedUrlString, 0], [() => SessionIdString, 0], 5, 5], 4
|
|
508
|
+
];
|
|
486
509
|
var CreateWorkflowRequest$ = [3, n0, _CWR,
|
|
487
510
|
0,
|
|
488
511
|
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _E, _T, _TM],
|
|
@@ -605,7 +628,7 @@ var LoggingConfiguration$ = [3, n0, _LC,
|
|
|
605
628
|
];
|
|
606
629
|
var NetworkConfiguration$ = [3, n0, _NC,
|
|
607
630
|
0,
|
|
608
|
-
[_SGI,
|
|
631
|
+
[_SGI, _SIu],
|
|
609
632
|
[64 | 0, 64 | 0]
|
|
610
633
|
];
|
|
611
634
|
var RunDetailSummary$ = [3, n0, _RDS,
|
|
@@ -732,6 +755,9 @@ var Code$ = [4, n0, _C,
|
|
|
732
755
|
[_SL],
|
|
733
756
|
[() => S3Location$]
|
|
734
757
|
];
|
|
758
|
+
var CreateAirflowUiUrl$ = [9, n0, _CAUU,
|
|
759
|
+
{ [_h]: ["POST", "/airflow-ui-url", 200] }, () => CreateAirflowUiUrlRequest$, () => CreateAirflowUiUrlResponse$
|
|
760
|
+
];
|
|
735
761
|
var CreateWorkflow$ = [9, n0, _CW,
|
|
736
762
|
{ [_h]: ["POST", "/workflows", 200] }, () => CreateWorkflowRequest$, () => CreateWorkflowResponse$
|
|
737
763
|
];
|
|
@@ -929,6 +955,9 @@ const command = makeBuilder(commonParams, "AmazonMWAAServerless", "MWAAServerles
|
|
|
929
955
|
const _ep0 = {};
|
|
930
956
|
const _mw0 = (Command, cs, config, o) => [];
|
|
931
957
|
|
|
958
|
+
class CreateAirflowUiUrlCommand extends command(_ep0, _mw0, "CreateAirflowUiUrl", CreateAirflowUiUrl$) {
|
|
959
|
+
}
|
|
960
|
+
|
|
932
961
|
class CreateWorkflowCommand extends command(_ep0, _mw0, "CreateWorkflow", CreateWorkflow$) {
|
|
933
962
|
}
|
|
934
963
|
|
|
@@ -983,6 +1012,7 @@ const paginateListWorkflows = createPaginator(MWAAServerlessClient, ListWorkflow
|
|
|
983
1012
|
const paginateListWorkflowVersions = createPaginator(MWAAServerlessClient, ListWorkflowVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
984
1013
|
|
|
985
1014
|
const commands = {
|
|
1015
|
+
CreateAirflowUiUrlCommand,
|
|
986
1016
|
CreateWorkflowCommand,
|
|
987
1017
|
DeleteWorkflowCommand,
|
|
988
1018
|
GetTaskInstanceCommand,
|
|
@@ -1063,6 +1093,10 @@ exports.AccessDeniedException$ = AccessDeniedException$;
|
|
|
1063
1093
|
exports.Code$ = Code$;
|
|
1064
1094
|
exports.ConflictException = ConflictException;
|
|
1065
1095
|
exports.ConflictException$ = ConflictException$;
|
|
1096
|
+
exports.CreateAirflowUiUrl$ = CreateAirflowUiUrl$;
|
|
1097
|
+
exports.CreateAirflowUiUrlCommand = CreateAirflowUiUrlCommand;
|
|
1098
|
+
exports.CreateAirflowUiUrlRequest$ = CreateAirflowUiUrlRequest$;
|
|
1099
|
+
exports.CreateAirflowUiUrlResponse$ = CreateAirflowUiUrlResponse$;
|
|
1066
1100
|
exports.CreateWorkflow$ = CreateWorkflow$;
|
|
1067
1101
|
exports.CreateWorkflowCommand = CreateWorkflowCommand;
|
|
1068
1102
|
exports.CreateWorkflowRequest$ = CreateWorkflowRequest$;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { CreateAirflowUiUrlCommand, } from "./commands/CreateAirflowUiUrlCommand";
|
|
2
3
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
3
4
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
4
5
|
import { GetTaskInstanceCommand, } from "./commands/GetTaskInstanceCommand";
|
|
@@ -20,6 +21,7 @@ import { paginateListWorkflowRuns } from "./pagination/ListWorkflowRunsPaginator
|
|
|
20
21
|
import { paginateListWorkflows } from "./pagination/ListWorkflowsPaginator";
|
|
21
22
|
import { paginateListWorkflowVersions } from "./pagination/ListWorkflowVersionsPaginator";
|
|
22
23
|
const commands = {
|
|
24
|
+
CreateAirflowUiUrlCommand,
|
|
23
25
|
CreateWorkflowCommand,
|
|
24
26
|
DeleteWorkflowCommand,
|
|
25
27
|
GetTaskInstanceCommand,
|
package/dist-es/models/errors.js
CHANGED
|
@@ -14,6 +14,25 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
this.Message = opts.Message;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.mwaaserverless#ConflictException";
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
22
|
+
ResourceId;
|
|
23
|
+
ResourceType;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
this.ResourceId = opts.ResourceId;
|
|
33
|
+
this.ResourceType = opts.ResourceType;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
17
36
|
export class InternalServerException extends __BaseException {
|
|
18
37
|
static shapeId = "com.amazonaws.mwaaserverless#InternalServerException";
|
|
19
38
|
name = "InternalServerException";
|
|
@@ -47,25 +66,6 @@ export class OperationTimeoutException extends __BaseException {
|
|
|
47
66
|
this.Message = opts.Message;
|
|
48
67
|
}
|
|
49
68
|
}
|
|
50
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
-
static shapeId = "com.amazonaws.mwaaserverless#ResourceNotFoundException";
|
|
52
|
-
name = "ResourceNotFoundException";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
Message;
|
|
55
|
-
ResourceId;
|
|
56
|
-
ResourceType;
|
|
57
|
-
constructor(opts) {
|
|
58
|
-
super({
|
|
59
|
-
name: "ResourceNotFoundException",
|
|
60
|
-
$fault: "client",
|
|
61
|
-
...opts,
|
|
62
|
-
});
|
|
63
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
64
|
-
this.Message = opts.Message;
|
|
65
|
-
this.ResourceId = opts.ResourceId;
|
|
66
|
-
this.ResourceType = opts.ResourceType;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
69
|
export class ThrottlingException extends __BaseException {
|
|
70
70
|
static shapeId = "com.amazonaws.mwaaserverless#ThrottlingException";
|
|
71
71
|
name = "ThrottlingException";
|
|
@@ -109,20 +109,20 @@ export class ValidationException extends __BaseException {
|
|
|
109
109
|
this.FieldList = opts.FieldList;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
export class
|
|
113
|
-
static shapeId = "com.amazonaws.mwaaserverless#
|
|
114
|
-
name = "
|
|
112
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
113
|
+
static shapeId = "com.amazonaws.mwaaserverless#ResourceNotFoundException";
|
|
114
|
+
name = "ResourceNotFoundException";
|
|
115
115
|
$fault = "client";
|
|
116
116
|
Message;
|
|
117
117
|
ResourceId;
|
|
118
118
|
ResourceType;
|
|
119
119
|
constructor(opts) {
|
|
120
120
|
super({
|
|
121
|
-
name: "
|
|
121
|
+
name: "ResourceNotFoundException",
|
|
122
122
|
$fault: "client",
|
|
123
123
|
...opts,
|
|
124
124
|
});
|
|
125
|
-
Object.setPrototypeOf(this,
|
|
125
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
126
126
|
this.Message = opts.Message;
|
|
127
127
|
this.ResourceId = opts.ResourceId;
|
|
128
128
|
this.ResourceType = opts.ResourceType;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
const _ADE = "AccessDeniedException";
|
|
2
2
|
const _AN = "AttemptNumber";
|
|
3
|
+
const _AU = "AuthorizedUrl";
|
|
4
|
+
const _AUS = "AuthorizedUrlString";
|
|
3
5
|
const _B = "Bucket";
|
|
4
6
|
const _C = "Code";
|
|
5
7
|
const _CA = "CreatedAt";
|
|
8
|
+
const _CAUU = "CreateAirflowUiUrl";
|
|
9
|
+
const _CAUUR = "CreateAirflowUiUrlRequest";
|
|
10
|
+
const _CAUURr = "CreateAirflowUiUrlResponse";
|
|
6
11
|
const _CE = "ConflictException";
|
|
7
12
|
const _CEr = "CronExpression";
|
|
8
13
|
const _CO = "CreatedOn";
|
|
@@ -22,6 +27,7 @@ const _Du = "Duration";
|
|
|
22
27
|
const _E = "Environment";
|
|
23
28
|
const _EA = "EndedAt";
|
|
24
29
|
const _EC = "EncryptionConfiguration";
|
|
30
|
+
const _EIS = "ExpiresInSeconds";
|
|
25
31
|
const _EM = "ErrorMessage";
|
|
26
32
|
const _EV = "EngineVersion";
|
|
27
33
|
const _EVM = "EnvironmentVariablesMap";
|
|
@@ -87,8 +93,12 @@ const _S = "Status";
|
|
|
87
93
|
const _SA = "StartedAt";
|
|
88
94
|
const _SC = "ServiceCode";
|
|
89
95
|
const _SCc = "ScheduleConfiguration";
|
|
96
|
+
const _SDIS = "SessionDurationInSeconds";
|
|
97
|
+
const _SEA = "SessionExpiresAt";
|
|
90
98
|
const _SGI = "SecurityGroupIds";
|
|
91
|
-
const _SI = "
|
|
99
|
+
const _SI = "SessionId";
|
|
100
|
+
const _SIS = "SessionIdString";
|
|
101
|
+
const _SIu = "SubnetIds";
|
|
92
102
|
const _SL = "S3Location";
|
|
93
103
|
const _SO = "StartedOn";
|
|
94
104
|
const _SQEE = "ServiceQuotaExceededException";
|
|
@@ -111,6 +121,7 @@ const _TR = "TagResource";
|
|
|
111
121
|
const _TRR = "TagResourceRequest";
|
|
112
122
|
const _TRRa = "TagResourceResponse";
|
|
113
123
|
const _Ty = "Type";
|
|
124
|
+
const _UEA = "UrlExpiresAt";
|
|
114
125
|
const _UR = "UntagResource";
|
|
115
126
|
const _URR = "UntagResourceRequest";
|
|
116
127
|
const _URRn = "UntagResourceResponse";
|
|
@@ -210,7 +221,19 @@ export const errorTypeRegistries = [
|
|
|
210
221
|
_s_registry,
|
|
211
222
|
n0_registry,
|
|
212
223
|
];
|
|
224
|
+
var AuthorizedUrlString = [0, n0, _AUS, 8, 0];
|
|
213
225
|
var EnvironmentVariableValue = [0, n0, _EVV, 8, 0];
|
|
226
|
+
var SessionIdString = [0, n0, _SIS, 8, 0];
|
|
227
|
+
export var CreateAirflowUiUrlRequest$ = [3, n0, _CAUUR,
|
|
228
|
+
0,
|
|
229
|
+
[_EIS, _SDIS],
|
|
230
|
+
[1, 1]
|
|
231
|
+
];
|
|
232
|
+
export var CreateAirflowUiUrlResponse$ = [3, n0, _CAUURr,
|
|
233
|
+
0,
|
|
234
|
+
[_AU, _SI, _UEA, _SEA],
|
|
235
|
+
[[() => AuthorizedUrlString, 0], [() => SessionIdString, 0], 5, 5], 4
|
|
236
|
+
];
|
|
214
237
|
export var CreateWorkflowRequest$ = [3, n0, _CWR,
|
|
215
238
|
0,
|
|
216
239
|
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _E, _T, _TM],
|
|
@@ -333,7 +356,7 @@ export var LoggingConfiguration$ = [3, n0, _LC,
|
|
|
333
356
|
];
|
|
334
357
|
export var NetworkConfiguration$ = [3, n0, _NC,
|
|
335
358
|
0,
|
|
336
|
-
[_SGI,
|
|
359
|
+
[_SGI, _SIu],
|
|
337
360
|
[64 | 0, 64 | 0]
|
|
338
361
|
];
|
|
339
362
|
export var RunDetailSummary$ = [3, n0, _RDS,
|
|
@@ -467,6 +490,9 @@ export var Code$ = [4, n0, _C,
|
|
|
467
490
|
[_SL],
|
|
468
491
|
[() => S3Location$]
|
|
469
492
|
];
|
|
493
|
+
export var CreateAirflowUiUrl$ = [9, n0, _CAUU,
|
|
494
|
+
{ [_h]: ["POST", "/airflow-ui-url", 200] }, () => CreateAirflowUiUrlRequest$, () => CreateAirflowUiUrlResponse$
|
|
495
|
+
];
|
|
470
496
|
export var CreateWorkflow$ = [9, n0, _CW,
|
|
471
497
|
{ [_h]: ["POST", "/workflows", 200] }, () => CreateWorkflowRequest$, () => CreateWorkflowResponse$
|
|
472
498
|
];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type CreateAirflowUiUrlCommandInput, type CreateAirflowUiUrlCommandOutput } from "./commands/CreateAirflowUiUrlCommand";
|
|
2
3
|
import { type CreateWorkflowCommandInput, type CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
3
4
|
import { type DeleteWorkflowCommandInput, type DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
4
5
|
import { type GetTaskInstanceCommandInput, type GetTaskInstanceCommandOutput } from "./commands/GetTaskInstanceCommand";
|
|
@@ -22,6 +23,13 @@ export interface MWAAServerlessRequestOptions extends __HttpHandlerOptions {
|
|
|
22
23
|
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
23
24
|
}
|
|
24
25
|
export interface MWAAServerless {
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link CreateAirflowUiUrlCommand}
|
|
28
|
+
*/
|
|
29
|
+
createAirflowUiUrl(): Promise<CreateAirflowUiUrlCommandOutput>;
|
|
30
|
+
createAirflowUiUrl(args: CreateAirflowUiUrlCommandInput, options?: MWAAServerlessRequestOptions): Promise<CreateAirflowUiUrlCommandOutput>;
|
|
31
|
+
createAirflowUiUrl(args: CreateAirflowUiUrlCommandInput, cb: (err: any, data?: CreateAirflowUiUrlCommandOutput) => void): void;
|
|
32
|
+
createAirflowUiUrl(args: CreateAirflowUiUrlCommandInput, options: MWAAServerlessRequestOptions, cb: (err: any, data?: CreateAirflowUiUrlCommandOutput) => void): void;
|
|
25
33
|
/**
|
|
26
34
|
* @see {@link CreateWorkflowCommand}
|
|
27
35
|
*/
|
|
@@ -6,6 +6,7 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateAirflowUiUrlCommandInput, CreateAirflowUiUrlCommandOutput } from "./commands/CreateAirflowUiUrlCommand";
|
|
9
10
|
import type { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
10
11
|
import type { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
11
12
|
import type { GetTaskInstanceCommandInput, GetTaskInstanceCommandOutput } from "./commands/GetTaskInstanceCommand";
|
|
@@ -27,11 +28,11 @@ export { __Client };
|
|
|
27
28
|
/**
|
|
28
29
|
* @public
|
|
29
30
|
*/
|
|
30
|
-
export type ServiceInputTypes = CreateWorkflowCommandInput | DeleteWorkflowCommandInput | GetTaskInstanceCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | ListTagsForResourceCommandInput | ListTaskInstancesCommandInput | ListWorkflowRunsCommandInput | ListWorkflowVersionsCommandInput | ListWorkflowsCommandInput | StartWorkflowRunCommandInput | StopWorkflowRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkflowCommandInput;
|
|
31
|
+
export type ServiceInputTypes = CreateAirflowUiUrlCommandInput | CreateWorkflowCommandInput | DeleteWorkflowCommandInput | GetTaskInstanceCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | ListTagsForResourceCommandInput | ListTaskInstancesCommandInput | ListWorkflowRunsCommandInput | ListWorkflowVersionsCommandInput | ListWorkflowsCommandInput | StartWorkflowRunCommandInput | StopWorkflowRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkflowCommandInput;
|
|
31
32
|
/**
|
|
32
33
|
* @public
|
|
33
34
|
*/
|
|
34
|
-
export type ServiceOutputTypes = CreateWorkflowCommandOutput | DeleteWorkflowCommandOutput | GetTaskInstanceCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | ListTagsForResourceCommandOutput | ListTaskInstancesCommandOutput | ListWorkflowRunsCommandOutput | ListWorkflowVersionsCommandOutput | ListWorkflowsCommandOutput | StartWorkflowRunCommandOutput | StopWorkflowRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkflowCommandOutput;
|
|
35
|
+
export type ServiceOutputTypes = CreateAirflowUiUrlCommandOutput | CreateWorkflowCommandOutput | DeleteWorkflowCommandOutput | GetTaskInstanceCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | ListTagsForResourceCommandOutput | ListTaskInstancesCommandOutput | ListWorkflowRunsCommandOutput | ListWorkflowVersionsCommandOutput | ListWorkflowsCommandOutput | StartWorkflowRunCommandOutput | StopWorkflowRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkflowCommandOutput;
|
|
35
36
|
/**
|
|
36
37
|
* @public
|
|
37
38
|
*/
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateAirflowUiUrlRequest, CreateAirflowUiUrlResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateAirflowUiUrlCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateAirflowUiUrlCommandInput extends CreateAirflowUiUrlRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateAirflowUiUrlCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAirflowUiUrlCommandOutput extends CreateAirflowUiUrlResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateAirflowUiUrlCommand_base: {
|
|
22
|
+
new (input: CreateAirflowUiUrlCommandInput): import("@smithy/core/client").CommandImpl<CreateAirflowUiUrlCommandInput, CreateAirflowUiUrlCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [CreateAirflowUiUrlCommandInput]): import("@smithy/core/client").CommandImpl<CreateAirflowUiUrlCommandInput, CreateAirflowUiUrlCommandOutput, import("..").MWAAServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a launch URL that opens the Apache Airflow UI for your workflows in Amazon Managed Workflows for Apache Airflow Serverless. The UI shows the workflows in your account in the current AWS Region. To start a UI session, open the URL in a browser before it expires.</p> <p>The UI runs with the permissions of the IAM identity that you use to call this operation. You see only the workflows, workflow runs, and logs that the identity can read, and you can start a workflow run only if the identity has permission to start one.</p> <p>The UI session uses the caller's permissions. The session works only from the network address that opened the URL. It ends at <code>SessionExpiresAt</code> or when you sign out from the UI.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { MWAAServerlessClient, CreateAirflowUiUrlCommand } from "@aws-sdk/client-mwaa-serverless"; // ES Modules import
|
|
32
|
+
* // const { MWAAServerlessClient, CreateAirflowUiUrlCommand } = require("@aws-sdk/client-mwaa-serverless"); // CommonJS import
|
|
33
|
+
* // import type { MWAAServerlessClientConfig } from "@aws-sdk/client-mwaa-serverless";
|
|
34
|
+
* const config = {}; // type is MWAAServerlessClientConfig
|
|
35
|
+
* const client = new MWAAServerlessClient(config);
|
|
36
|
+
* const input = { // CreateAirflowUiUrlRequest
|
|
37
|
+
* ExpiresInSeconds: Number("int"),
|
|
38
|
+
* SessionDurationInSeconds: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateAirflowUiUrlCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // CreateAirflowUiUrlResponse
|
|
43
|
+
* // AuthorizedUrl: "STRING_VALUE", // required
|
|
44
|
+
* // SessionId: "STRING_VALUE", // required
|
|
45
|
+
* // UrlExpiresAt: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // SessionExpiresAt: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param CreateAirflowUiUrlCommandInput - {@link CreateAirflowUiUrlCommandInput}
|
|
52
|
+
* @returns {@link CreateAirflowUiUrlCommandOutput}
|
|
53
|
+
* @see {@link CreateAirflowUiUrlCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link CreateAirflowUiUrlCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link MWAAServerlessClientResolvedConfig | config} for MWAAServerlessClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>You cannot create a resource that already exists, or the resource is in a state that prevents the requested operation.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link OperationTimeoutException} (server fault)
|
|
67
|
+
* <p>The operation timed out.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The specified request parameters are invalid, missing, or inconsistent with Amazon Managed Workflows for Apache Airflow Serverless service requirements. This can occur when workflow definitions contain unsupported operators, when required IAM permissions are missing, when S3 locations are inaccessible, or when network configurations are invalid. The service validates workflow definitions, execution roles, and resource configurations to ensure compatibility with the managed Airflow environment and security requirements.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link MWAAServerlessServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from MWAAServerless service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class CreateAirflowUiUrlCommand extends CreateAirflowUiUrlCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: CreateAirflowUiUrlRequest;
|
|
86
|
+
output: CreateAirflowUiUrlResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: CreateAirflowUiUrlCommandInput;
|
|
90
|
+
output: CreateAirflowUiUrlCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -16,6 +16,30 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
16
16
|
*/
|
|
17
17
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>You cannot create a resource that already exists, or the resource is in a state that prevents the requested operation.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare class ConflictException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
25
|
+
readonly name: "ConflictException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
Message: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The unique identifier of the resource.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
ResourceId: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The type of the resource.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
ResourceType: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
42
|
+
}
|
|
19
43
|
/**
|
|
20
44
|
* <p>An unexpected server-side error occurred during request processing.</p>
|
|
21
45
|
* @public
|
|
@@ -50,30 +74,6 @@ export declare class OperationTimeoutException extends __BaseException {
|
|
|
50
74
|
*/
|
|
51
75
|
constructor(opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>);
|
|
52
76
|
}
|
|
53
|
-
/**
|
|
54
|
-
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
55
|
-
* @public
|
|
56
|
-
*/
|
|
57
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
|
-
static readonly shapeId: string;
|
|
59
|
-
readonly name: "ResourceNotFoundException";
|
|
60
|
-
readonly $fault: "client";
|
|
61
|
-
Message: string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* <p>The unique identifier of the resource.</p>
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
ResourceId: string | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* <p>The type of the resource.</p>
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
ResourceType: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
76
|
-
}
|
|
77
77
|
/**
|
|
78
78
|
* <p>The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.</p>
|
|
79
79
|
* @public
|
|
@@ -131,12 +131,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
131
131
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
* <p>
|
|
134
|
+
* <p>The specified resource was not found. You can only access or modify a resource that already exists.</p>
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
|
-
export declare class
|
|
137
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
138
138
|
static readonly shapeId: string;
|
|
139
|
-
readonly name: "
|
|
139
|
+
readonly name: "ResourceNotFoundException";
|
|
140
140
|
readonly $fault: "client";
|
|
141
141
|
Message: string | undefined;
|
|
142
142
|
/**
|
|
@@ -152,7 +152,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
152
152
|
/**
|
|
153
153
|
* @internal
|
|
154
154
|
*/
|
|
155
|
-
constructor(opts: __ExceptionOptionType<
|
|
155
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* <p>The request exceeds the service quota for Amazon Managed Workflows for Apache Airflow Serverless resources. This can occur when you attempt to create more workflows than allowed, exceed concurrent workflow run limits, or surpass task execution limits. Amazon Managed Workflows for Apache Airflow Serverless implements admission control using DynamoDB-based counters to manage resource utilization across the multi-tenant environment. Contact Amazon Web Services Support to request quota increases if you need higher limits for your use case.</p>
|
|
@@ -3,22 +3,42 @@ import type { EncryptionType, EngineVersion, RunType, TaskInstanceStatus, Workfl
|
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface CreateAirflowUiUrlRequest {
|
|
7
7
|
/**
|
|
8
|
-
* <p>
|
|
8
|
+
* <p>Specifies the number of seconds that the launch URL stays valid. This value limits only the time to open the URL, not the length of the UI session. The default is 300.</p>
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
ExpiresInSeconds?: number | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>Specifies the number of seconds that the UI session lasts, starting from when you call this operation. The default is 43200 (12 hours).</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
SessionDurationInSeconds?: number | undefined;
|
|
12
17
|
}
|
|
13
18
|
/**
|
|
14
19
|
* @public
|
|
15
20
|
*/
|
|
16
|
-
export interface
|
|
21
|
+
export interface CreateAirflowUiUrlResponse {
|
|
17
22
|
/**
|
|
18
|
-
* <p>
|
|
23
|
+
* <p>The launch URL that opens the Airflow UI. Open it in a browser before <code>UrlExpiresAt</code>. The UI session uses the permissions of the identity that called this operation.</p>
|
|
19
24
|
* @public
|
|
20
25
|
*/
|
|
21
|
-
|
|
26
|
+
AuthorizedUrl: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The URL starts a UI session that has this identifier.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
SessionId: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The launch URL stops being valid at this time. The value is in ISO 8601 date-time format.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
UrlExpiresAt: Date | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The UI session ends at this time. The value is in ISO 8601 date-time format. After this time, create a new URL to open the UI again.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
SessionExpiresAt: Date | undefined;
|
|
22
42
|
}
|
|
23
43
|
/**
|
|
24
44
|
* <p>Contains information about a field that failed validation, including the field name and a descriptive error message.</p>
|
|
@@ -36,6 +56,26 @@ export interface ValidationExceptionField {
|
|
|
36
56
|
*/
|
|
37
57
|
Message: string | undefined;
|
|
38
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export interface ListTagsForResourceRequest {
|
|
63
|
+
/**
|
|
64
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to list tags.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
ResourceArn: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export interface ListTagsForResourceResponse {
|
|
73
|
+
/**
|
|
74
|
+
* <p>A map of tags that are associated with the resource, where each tag consists of a key-value pair.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
Tags?: Record<string, string> | undefined;
|
|
78
|
+
}
|
|
39
79
|
/**
|
|
40
80
|
* @public
|
|
41
81
|
*/
|
|
@@ -542,12 +582,12 @@ export interface GetWorkflowRequest {
|
|
|
542
582
|
WorkflowVersion?: string | undefined;
|
|
543
583
|
}
|
|
544
584
|
/**
|
|
545
|
-
* <p>
|
|
585
|
+
* <p>Contains the configuration used to schedule automated workflow execution. Only one version of a workflow can have an active schedule at any time.</p>
|
|
546
586
|
* @public
|
|
547
587
|
*/
|
|
548
588
|
export interface ScheduleConfiguration {
|
|
549
589
|
/**
|
|
550
|
-
* <p>
|
|
590
|
+
* <p>The schedule expression that determines when the workflow runs, as specified in the <code>schedule</code> parameter of the workflow's YAML definition. You can specify one of the following types of schedule expressions:</p> <ul> <li> <p>Apache Airflow cron expression – Five fields, such as <code>0 12 1 * *</code>.</p> </li> <li> <p>Apache Airflow schedule preset – <code>@hourly</code>, <code>@daily</code>, <code>@weekly</code>, <code>@monthly</code>, <code>@yearly</code>, or <code>@annually</code>.</p> </li> <li> <p>EventBridge Scheduler rate expression – For example, <code>rate(5 minutes)</code>. Supported units are minutes, hours, and days.</p> </li> <li> <p>EventBridge Scheduler cron expression – Six fields, such as <code>cron(0 12 * * ? *)</code>.</p> </li> </ul> <p>In a cron expression, specify either a day-of-month or a day-of-week, not both.</p>
|
|
551
591
|
* @public
|
|
552
592
|
*/
|
|
553
593
|
CronExpression?: string | undefined;
|
|
@@ -622,7 +662,7 @@ export interface GetWorkflowResponse {
|
|
|
622
662
|
*/
|
|
623
663
|
CodeSnapshottedAt?: Date | undefined;
|
|
624
664
|
/**
|
|
625
|
-
* <p>The schedule configuration for the workflow
|
|
665
|
+
* <p>The schedule configuration for the workflow. Only one version of a workflow can have an active schedule at any given time.</p>
|
|
626
666
|
* @public
|
|
627
667
|
*/
|
|
628
668
|
ScheduleConfiguration?: ScheduleConfiguration | undefined;
|
|
@@ -15,6 +15,8 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
18
|
+
export declare var CreateAirflowUiUrlRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var CreateAirflowUiUrlResponse$: StaticStructureSchema;
|
|
18
20
|
export declare var CreateWorkflowRequest$: StaticStructureSchema;
|
|
19
21
|
export declare var CreateWorkflowResponse$: StaticStructureSchema;
|
|
20
22
|
export declare var DefinitionS3Location$: StaticStructureSchema;
|
|
@@ -60,6 +62,7 @@ export declare var WorkflowRunSummary$: StaticStructureSchema;
|
|
|
60
62
|
export declare var WorkflowSummary$: StaticStructureSchema;
|
|
61
63
|
export declare var WorkflowVersionSummary$: StaticStructureSchema;
|
|
62
64
|
export declare var Code$: StaticUnionSchema;
|
|
65
|
+
export declare var CreateAirflowUiUrl$: StaticOperationSchema;
|
|
63
66
|
export declare var CreateWorkflow$: StaticOperationSchema;
|
|
64
67
|
export declare var DeleteWorkflow$: StaticOperationSchema;
|
|
65
68
|
export declare var GetTaskInstance$: StaticOperationSchema;
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
PaginationConfiguration,
|
|
5
5
|
Paginator,
|
|
6
6
|
} from "@smithy/types";
|
|
7
|
+
import {
|
|
8
|
+
CreateAirflowUiUrlCommandInput,
|
|
9
|
+
CreateAirflowUiUrlCommandOutput,
|
|
10
|
+
} from "./commands/CreateAirflowUiUrlCommand";
|
|
7
11
|
import {
|
|
8
12
|
CreateWorkflowCommandInput,
|
|
9
13
|
CreateWorkflowCommandOutput,
|
|
@@ -63,6 +67,20 @@ export interface MWAAServerlessRequestOptions extends __HttpHandlerOptions {
|
|
|
63
67
|
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
64
68
|
}
|
|
65
69
|
export interface MWAAServerless {
|
|
70
|
+
createAirflowUiUrl(): Promise<CreateAirflowUiUrlCommandOutput>;
|
|
71
|
+
createAirflowUiUrl(
|
|
72
|
+
args: CreateAirflowUiUrlCommandInput,
|
|
73
|
+
options?: MWAAServerlessRequestOptions,
|
|
74
|
+
): Promise<CreateAirflowUiUrlCommandOutput>;
|
|
75
|
+
createAirflowUiUrl(
|
|
76
|
+
args: CreateAirflowUiUrlCommandInput,
|
|
77
|
+
cb: (err: any, data?: CreateAirflowUiUrlCommandOutput) => void,
|
|
78
|
+
): void;
|
|
79
|
+
createAirflowUiUrl(
|
|
80
|
+
args: CreateAirflowUiUrlCommandInput,
|
|
81
|
+
options: MWAAServerlessRequestOptions,
|
|
82
|
+
cb: (err: any, data?: CreateAirflowUiUrlCommandOutput) => void,
|
|
83
|
+
): void;
|
|
66
84
|
createWorkflow(
|
|
67
85
|
args: CreateWorkflowCommandInput,
|
|
68
86
|
options?: MWAAServerlessRequestOptions,
|
|
@@ -33,6 +33,10 @@ import {
|
|
|
33
33
|
HttpAuthSchemeInputConfig,
|
|
34
34
|
HttpAuthSchemeResolvedConfig,
|
|
35
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
36
|
+
import {
|
|
37
|
+
CreateAirflowUiUrlCommandInput,
|
|
38
|
+
CreateAirflowUiUrlCommandOutput,
|
|
39
|
+
} from "./commands/CreateAirflowUiUrlCommand";
|
|
36
40
|
import {
|
|
37
41
|
CreateWorkflowCommandInput,
|
|
38
42
|
CreateWorkflowCommandOutput,
|
|
@@ -95,6 +99,7 @@ import {
|
|
|
95
99
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
96
100
|
export { __Client };
|
|
97
101
|
export type ServiceInputTypes =
|
|
102
|
+
| CreateAirflowUiUrlCommandInput
|
|
98
103
|
| CreateWorkflowCommandInput
|
|
99
104
|
| DeleteWorkflowCommandInput
|
|
100
105
|
| GetTaskInstanceCommandInput
|
|
@@ -111,6 +116,7 @@ export type ServiceInputTypes =
|
|
|
111
116
|
| UntagResourceCommandInput
|
|
112
117
|
| UpdateWorkflowCommandInput;
|
|
113
118
|
export type ServiceOutputTypes =
|
|
119
|
+
| CreateAirflowUiUrlCommandOutput
|
|
114
120
|
| CreateWorkflowCommandOutput
|
|
115
121
|
| DeleteWorkflowCommandOutput
|
|
116
122
|
| GetTaskInstanceCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { CreateAirflowUiUrlRequest, CreateAirflowUiUrlResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface CreateAirflowUiUrlCommandInput extends CreateAirflowUiUrlRequest {}
|
|
5
|
+
export interface CreateAirflowUiUrlCommandOutput
|
|
6
|
+
extends CreateAirflowUiUrlResponse, __MetadataBearer {}
|
|
7
|
+
declare const CreateAirflowUiUrlCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: CreateAirflowUiUrlCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
CreateAirflowUiUrlCommandInput,
|
|
12
|
+
CreateAirflowUiUrlCommandOutput,
|
|
13
|
+
import("..").MWAAServerlessClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
...[input]: [] | [CreateAirflowUiUrlCommandInput]
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
CreateAirflowUiUrlCommandInput,
|
|
21
|
+
CreateAirflowUiUrlCommandOutput,
|
|
22
|
+
import("..").MWAAServerlessClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class CreateAirflowUiUrlCommand extends CreateAirflowUiUrlCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: CreateAirflowUiUrlRequest;
|
|
32
|
+
output: CreateAirflowUiUrlResponse;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: CreateAirflowUiUrlCommandInput;
|
|
36
|
+
output: CreateAirflowUiUrlCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -9,6 +9,15 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
9
9
|
Message: string | undefined;
|
|
10
10
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
11
|
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
static readonly shapeId: string;
|
|
14
|
+
readonly name: "ConflictException";
|
|
15
|
+
readonly $fault: "client";
|
|
16
|
+
Message: string | undefined;
|
|
17
|
+
ResourceId: string | undefined;
|
|
18
|
+
ResourceType: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
12
21
|
export declare class InternalServerException extends __BaseException {
|
|
13
22
|
static readonly shapeId: string;
|
|
14
23
|
readonly name: "InternalServerException";
|
|
@@ -25,15 +34,6 @@ export declare class OperationTimeoutException extends __BaseException {
|
|
|
25
34
|
Message?: string | undefined;
|
|
26
35
|
constructor(opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>);
|
|
27
36
|
}
|
|
28
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
29
|
-
static readonly shapeId: string;
|
|
30
|
-
readonly name: "ResourceNotFoundException";
|
|
31
|
-
readonly $fault: "client";
|
|
32
|
-
Message: string | undefined;
|
|
33
|
-
ResourceId: string | undefined;
|
|
34
|
-
ResourceType: string | undefined;
|
|
35
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
36
|
-
}
|
|
37
37
|
export declare class ThrottlingException extends __BaseException {
|
|
38
38
|
static readonly shapeId: string;
|
|
39
39
|
readonly name: "ThrottlingException";
|
|
@@ -56,14 +56,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
56
56
|
FieldList?: ValidationExceptionField[] | undefined;
|
|
57
57
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
58
58
|
}
|
|
59
|
-
export declare class
|
|
59
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
60
60
|
static readonly shapeId: string;
|
|
61
|
-
readonly name: "
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
62
|
readonly $fault: "client";
|
|
63
63
|
Message: string | undefined;
|
|
64
64
|
ResourceId: string | undefined;
|
|
65
65
|
ResourceType: string | undefined;
|
|
66
|
-
constructor(opts: __ExceptionOptionType<
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
67
67
|
}
|
|
68
68
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
69
69
|
static readonly shapeId: string;
|
|
@@ -7,16 +7,26 @@ import {
|
|
|
7
7
|
WorkflowRunStatus,
|
|
8
8
|
WorkflowStatus,
|
|
9
9
|
} from "./enums";
|
|
10
|
-
export interface
|
|
11
|
-
|
|
10
|
+
export interface CreateAirflowUiUrlRequest {
|
|
11
|
+
ExpiresInSeconds?: number | undefined;
|
|
12
|
+
SessionDurationInSeconds?: number | undefined;
|
|
12
13
|
}
|
|
13
|
-
export interface
|
|
14
|
-
|
|
14
|
+
export interface CreateAirflowUiUrlResponse {
|
|
15
|
+
AuthorizedUrl: string | undefined;
|
|
16
|
+
SessionId: string | undefined;
|
|
17
|
+
UrlExpiresAt: Date | undefined;
|
|
18
|
+
SessionExpiresAt: Date | undefined;
|
|
15
19
|
}
|
|
16
20
|
export interface ValidationExceptionField {
|
|
17
21
|
Name: string | undefined;
|
|
18
22
|
Message: string | undefined;
|
|
19
23
|
}
|
|
24
|
+
export interface ListTagsForResourceRequest {
|
|
25
|
+
ResourceArn: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface ListTagsForResourceResponse {
|
|
28
|
+
Tags?: Record<string, string> | undefined;
|
|
29
|
+
}
|
|
20
30
|
export interface TagResourceRequest {
|
|
21
31
|
ResourceArn: string | undefined;
|
|
22
32
|
Tags: Record<string, string> | undefined;
|
|
@@ -15,6 +15,8 @@ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
|
15
15
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
16
16
|
export declare var ValidationException$: StaticErrorSchema;
|
|
17
17
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
18
|
+
export declare var CreateAirflowUiUrlRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var CreateAirflowUiUrlResponse$: StaticStructureSchema;
|
|
18
20
|
export declare var CreateWorkflowRequest$: StaticStructureSchema;
|
|
19
21
|
export declare var CreateWorkflowResponse$: StaticStructureSchema;
|
|
20
22
|
export declare var DefinitionS3Location$: StaticStructureSchema;
|
|
@@ -60,6 +62,7 @@ export declare var WorkflowRunSummary$: StaticStructureSchema;
|
|
|
60
62
|
export declare var WorkflowSummary$: StaticStructureSchema;
|
|
61
63
|
export declare var WorkflowVersionSummary$: StaticStructureSchema;
|
|
62
64
|
export declare var Code$: StaticUnionSchema;
|
|
65
|
+
export declare var CreateAirflowUiUrl$: StaticOperationSchema;
|
|
63
66
|
export declare var CreateWorkflow$: StaticOperationSchema;
|
|
64
67
|
export declare var DeleteWorkflow$: StaticOperationSchema;
|
|
65
68
|
export declare var GetTaskInstance$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa-serverless",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1169.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mwaa Serverless Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mwaa-serverless",
|
|
6
6
|
"license": "Apache-2.0",
|