@aws-sdk/client-mwaa-serverless 3.1074.0 → 3.1076.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +866 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -29
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/MWAAServerlessServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -145
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -536
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultMWAAServerlessHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "airflow-serverless",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultMWAAServerlessHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -29,6 +65,745 @@ const commonParams = {
|
|
|
29
65
|
Region: { type: "builtInParams", name: "region" },
|
|
30
66
|
};
|
|
31
67
|
|
|
68
|
+
var version = "3.1075.0";
|
|
69
|
+
var packageInfo = {
|
|
70
|
+
version: version};
|
|
71
|
+
|
|
72
|
+
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
73
|
+
const _data = {
|
|
74
|
+
conditions: [
|
|
75
|
+
[a, [b]],
|
|
76
|
+
[a, c],
|
|
77
|
+
["aws.partition", c, "PartitionResult"],
|
|
78
|
+
["booleanEquals", [{ ref: "UseFIPS" }, true]]
|
|
79
|
+
],
|
|
80
|
+
results: [
|
|
81
|
+
[-1],
|
|
82
|
+
[-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
83
|
+
[b, {}],
|
|
84
|
+
["https://airflow-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
85
|
+
["https://airflow-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
|
|
86
|
+
[-1, "Invalid Configuration: Missing Region"]
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
const root = 2;
|
|
90
|
+
const r = 100_000_000;
|
|
91
|
+
const nodes = new Int32Array([
|
|
92
|
+
-1, 1, -1,
|
|
93
|
+
0, 6, 3,
|
|
94
|
+
1, 4, r + 5,
|
|
95
|
+
2, 5, r + 5,
|
|
96
|
+
3, r + 3, r + 4,
|
|
97
|
+
3, r + 1, r + 2,
|
|
98
|
+
]);
|
|
99
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
100
|
+
|
|
101
|
+
const cache = new EndpointCache({
|
|
102
|
+
size: 50,
|
|
103
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
104
|
+
});
|
|
105
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
106
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
107
|
+
endpointParams: endpointParams,
|
|
108
|
+
logger: context.logger,
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
111
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
112
|
+
|
|
113
|
+
class MWAAServerlessServiceException extends ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, MWAAServerlessServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends MWAAServerlessServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class InternalServerException extends MWAAServerlessServiceException {
|
|
135
|
+
name = "InternalServerException";
|
|
136
|
+
$fault = "server";
|
|
137
|
+
$retryable = {};
|
|
138
|
+
Message;
|
|
139
|
+
RetryAfterSeconds;
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "InternalServerException",
|
|
143
|
+
$fault: "server",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
147
|
+
this.Message = opts.Message;
|
|
148
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class OperationTimeoutException extends MWAAServerlessServiceException {
|
|
152
|
+
name = "OperationTimeoutException";
|
|
153
|
+
$fault = "server";
|
|
154
|
+
Message;
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "OperationTimeoutException",
|
|
158
|
+
$fault: "server",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, OperationTimeoutException.prototype);
|
|
162
|
+
this.Message = opts.Message;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
class ResourceNotFoundException extends MWAAServerlessServiceException {
|
|
166
|
+
name = "ResourceNotFoundException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
Message;
|
|
169
|
+
ResourceId;
|
|
170
|
+
ResourceType;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "ResourceNotFoundException",
|
|
174
|
+
$fault: "client",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
178
|
+
this.Message = opts.Message;
|
|
179
|
+
this.ResourceId = opts.ResourceId;
|
|
180
|
+
this.ResourceType = opts.ResourceType;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class ThrottlingException extends MWAAServerlessServiceException {
|
|
184
|
+
name = "ThrottlingException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
$retryable = {
|
|
187
|
+
throttling: true,
|
|
188
|
+
};
|
|
189
|
+
Message;
|
|
190
|
+
ServiceCode;
|
|
191
|
+
QuotaCode;
|
|
192
|
+
RetryAfterSeconds;
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ThrottlingException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
200
|
+
this.Message = opts.Message;
|
|
201
|
+
this.ServiceCode = opts.ServiceCode;
|
|
202
|
+
this.QuotaCode = opts.QuotaCode;
|
|
203
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
class ValidationException extends MWAAServerlessServiceException {
|
|
207
|
+
name = "ValidationException";
|
|
208
|
+
$fault = "client";
|
|
209
|
+
Message;
|
|
210
|
+
Reason;
|
|
211
|
+
FieldList;
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "ValidationException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
219
|
+
this.Message = opts.Message;
|
|
220
|
+
this.Reason = opts.Reason;
|
|
221
|
+
this.FieldList = opts.FieldList;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
class ConflictException extends MWAAServerlessServiceException {
|
|
225
|
+
name = "ConflictException";
|
|
226
|
+
$fault = "client";
|
|
227
|
+
Message;
|
|
228
|
+
ResourceId;
|
|
229
|
+
ResourceType;
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "ConflictException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
this.ResourceId = opts.ResourceId;
|
|
239
|
+
this.ResourceType = opts.ResourceType;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
class ServiceQuotaExceededException extends MWAAServerlessServiceException {
|
|
243
|
+
name = "ServiceQuotaExceededException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
Message;
|
|
246
|
+
ResourceId;
|
|
247
|
+
ResourceType;
|
|
248
|
+
ServiceCode;
|
|
249
|
+
QuotaCode;
|
|
250
|
+
constructor(opts) {
|
|
251
|
+
super({
|
|
252
|
+
name: "ServiceQuotaExceededException",
|
|
253
|
+
$fault: "client",
|
|
254
|
+
...opts,
|
|
255
|
+
});
|
|
256
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
257
|
+
this.Message = opts.Message;
|
|
258
|
+
this.ResourceId = opts.ResourceId;
|
|
259
|
+
this.ResourceType = opts.ResourceType;
|
|
260
|
+
this.ServiceCode = opts.ServiceCode;
|
|
261
|
+
this.QuotaCode = opts.QuotaCode;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
const _ADE = "AccessDeniedException";
|
|
266
|
+
const _AN = "AttemptNumber";
|
|
267
|
+
const _B = "Bucket";
|
|
268
|
+
const _CA = "CreatedAt";
|
|
269
|
+
const _CE = "ConflictException";
|
|
270
|
+
const _CEr = "CronExpression";
|
|
271
|
+
const _CO = "CreatedOn";
|
|
272
|
+
const _COo = "CompletedOn";
|
|
273
|
+
const _CT = "ClientToken";
|
|
274
|
+
const _CW = "CreateWorkflow";
|
|
275
|
+
const _CWR = "CreateWorkflowRequest";
|
|
276
|
+
const _CWRr = "CreateWorkflowResponse";
|
|
277
|
+
const _D = "Description";
|
|
278
|
+
const _DIS = "DurationInSeconds";
|
|
279
|
+
const _DSL = "DefinitionS3Location";
|
|
280
|
+
const _DW = "DeleteWorkflow";
|
|
281
|
+
const _DWR = "DeleteWorkflowRequest";
|
|
282
|
+
const _DWRe = "DeleteWorkflowResponse";
|
|
283
|
+
const _Du = "Duration";
|
|
284
|
+
const _EA = "EndedAt";
|
|
285
|
+
const _EC = "EncryptionConfiguration";
|
|
286
|
+
const _EM = "ErrorMessage";
|
|
287
|
+
const _EV = "EngineVersion";
|
|
288
|
+
const _FL = "FieldList";
|
|
289
|
+
const _GTI = "GetTaskInstance";
|
|
290
|
+
const _GTIR = "GetTaskInstanceRequest";
|
|
291
|
+
const _GTIRe = "GetTaskInstanceResponse";
|
|
292
|
+
const _GW = "GetWorkflow";
|
|
293
|
+
const _GWR = "GetWorkflowRequest";
|
|
294
|
+
const _GWRR = "GetWorkflowRunRequest";
|
|
295
|
+
const _GWRRe = "GetWorkflowRunResponse";
|
|
296
|
+
const _GWRe = "GetWorkflowResponse";
|
|
297
|
+
const _GWRet = "GetWorkflowRun";
|
|
298
|
+
const _ILV = "IsLatestVersion";
|
|
299
|
+
const _ISE = "InternalServerException";
|
|
300
|
+
const _KKI = "KmsKeyId";
|
|
301
|
+
const _LC = "LoggingConfiguration";
|
|
302
|
+
const _LGN = "LogGroupName";
|
|
303
|
+
const _LS = "LogStream";
|
|
304
|
+
const _LTFR = "ListTagsForResource";
|
|
305
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
306
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
307
|
+
const _LTI = "ListTaskInstances";
|
|
308
|
+
const _LTIR = "ListTaskInstancesRequest";
|
|
309
|
+
const _LTIRi = "ListTaskInstancesResponse";
|
|
310
|
+
const _LW = "ListWorkflows";
|
|
311
|
+
const _LWR = "ListWorkflowsRequest";
|
|
312
|
+
const _LWRR = "ListWorkflowRunsRequest";
|
|
313
|
+
const _LWRRi = "ListWorkflowRunsResponse";
|
|
314
|
+
const _LWRi = "ListWorkflowsResponse";
|
|
315
|
+
const _LWRis = "ListWorkflowRuns";
|
|
316
|
+
const _LWV = "ListWorkflowVersions";
|
|
317
|
+
const _LWVR = "ListWorkflowVersionsRequest";
|
|
318
|
+
const _LWVRi = "ListWorkflowVersionsResponse";
|
|
319
|
+
const _M = "Message";
|
|
320
|
+
const _MA = "ModifiedAt";
|
|
321
|
+
const _MR = "MaxResults";
|
|
322
|
+
const _N = "Name";
|
|
323
|
+
const _NC = "NetworkConfiguration";
|
|
324
|
+
const _NT = "NextToken";
|
|
325
|
+
const _OK = "ObjectKey";
|
|
326
|
+
const _OM = "ObjectMap";
|
|
327
|
+
const _ON = "OperatorName";
|
|
328
|
+
const _OP = "OverrideParameters";
|
|
329
|
+
const _OTE = "OperationTimeoutException";
|
|
330
|
+
const _QC = "QuotaCode";
|
|
331
|
+
const _R = "Reason";
|
|
332
|
+
const _RA = "Retry-After";
|
|
333
|
+
const _RAS = "RetryAfterSeconds";
|
|
334
|
+
const _RAe = "ResourceArn";
|
|
335
|
+
const _RAo = "RoleArn";
|
|
336
|
+
const _RD = "RunDetail";
|
|
337
|
+
const _RDS = "RunDetailSummary";
|
|
338
|
+
const _RI = "ResourceId";
|
|
339
|
+
const _RIe = "RevisionId";
|
|
340
|
+
const _RIu = "RunId";
|
|
341
|
+
const _RNFE = "ResourceNotFoundException";
|
|
342
|
+
const _RS = "RunState";
|
|
343
|
+
const _RT = "ResourceType";
|
|
344
|
+
const _RTu = "RunType";
|
|
345
|
+
const _S = "Status";
|
|
346
|
+
const _SA = "StartedAt";
|
|
347
|
+
const _SC = "ServiceCode";
|
|
348
|
+
const _SCc = "ScheduleConfiguration";
|
|
349
|
+
const _SGI = "SecurityGroupIds";
|
|
350
|
+
const _SI = "SubnetIds";
|
|
351
|
+
const _SO = "StartedOn";
|
|
352
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
353
|
+
const _SWR = "StartWorkflowRun";
|
|
354
|
+
const _SWRR = "StartWorkflowRunRequest";
|
|
355
|
+
const _SWRRt = "StartWorkflowRunResponse";
|
|
356
|
+
const _SWRRto = "StopWorkflowRunRequest";
|
|
357
|
+
const _SWRRtop = "StopWorkflowRunResponse";
|
|
358
|
+
const _SWRt = "StopWorkflowRun";
|
|
359
|
+
const _T = "Tags";
|
|
360
|
+
const _TE = "ThrottlingException";
|
|
361
|
+
const _TI = "TaskId";
|
|
362
|
+
const _TII = "TaskInstanceId";
|
|
363
|
+
const _TIS = "TaskInstanceSummary";
|
|
364
|
+
const _TISa = "TaskInstanceSummaries";
|
|
365
|
+
const _TIa = "TaskInstances";
|
|
366
|
+
const _TK = "TagKeys";
|
|
367
|
+
const _TM = "TriggerMode";
|
|
368
|
+
const _TR = "TagResource";
|
|
369
|
+
const _TRR = "TagResourceRequest";
|
|
370
|
+
const _TRRa = "TagResourceResponse";
|
|
371
|
+
const _Ty = "Type";
|
|
372
|
+
const _UR = "UntagResource";
|
|
373
|
+
const _URR = "UntagResourceRequest";
|
|
374
|
+
const _URRn = "UntagResourceResponse";
|
|
375
|
+
const _UW = "UpdateWorkflow";
|
|
376
|
+
const _UWR = "UpdateWorkflowRequest";
|
|
377
|
+
const _UWRp = "UpdateWorkflowResponse";
|
|
378
|
+
const _VE = "ValidationException";
|
|
379
|
+
const _VEF = "ValidationExceptionField";
|
|
380
|
+
const _VEFa = "ValidationExceptionFields";
|
|
381
|
+
const _VI = "VersionId";
|
|
382
|
+
const _W = "Warnings";
|
|
383
|
+
const _WA = "WorkflowArn";
|
|
384
|
+
const _WD = "WorkflowDefinition";
|
|
385
|
+
const _WR = "WorkflowRuns";
|
|
386
|
+
const _WRD = "WorkflowRunDetail";
|
|
387
|
+
const _WRS = "WorkflowRunSummary";
|
|
388
|
+
const _WRSo = "WorkflowRunSummaries";
|
|
389
|
+
const _WS = "WorkflowStatus";
|
|
390
|
+
const _WSo = "WorkflowSummary";
|
|
391
|
+
const _WSor = "WorkflowSummaries";
|
|
392
|
+
const _WV = "WorkflowVersion";
|
|
393
|
+
const _WVS = "WorkflowVersionSummary";
|
|
394
|
+
const _WVSo = "WorkflowVersionSummaries";
|
|
395
|
+
const _WVo = "WorkflowVersions";
|
|
396
|
+
const _Wo = "Workflows";
|
|
397
|
+
const _X = "Xcom";
|
|
398
|
+
const _c = "client";
|
|
399
|
+
const _e = "error";
|
|
400
|
+
const _h = "http";
|
|
401
|
+
const _hE = "httpError";
|
|
402
|
+
const _hH = "httpHeader";
|
|
403
|
+
const _hQ = "httpQuery";
|
|
404
|
+
const _mR = "maxResults";
|
|
405
|
+
const _nT = "nextToken";
|
|
406
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mwaaserverless";
|
|
407
|
+
const _se = "server";
|
|
408
|
+
const _tK = "tagKeys";
|
|
409
|
+
const _wV = "workflowVersion";
|
|
410
|
+
const n0 = "com.amazonaws.mwaaserverless";
|
|
411
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
412
|
+
var MWAAServerlessServiceException$ = [-3, _s, "MWAAServerlessServiceException", 0, [], []];
|
|
413
|
+
_s_registry.registerError(MWAAServerlessServiceException$, MWAAServerlessServiceException);
|
|
414
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
415
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
416
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
417
|
+
[_M],
|
|
418
|
+
[0], 1
|
|
419
|
+
];
|
|
420
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
421
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
422
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
423
|
+
[_M, _RI, _RT],
|
|
424
|
+
[0, 0, 0], 3
|
|
425
|
+
];
|
|
426
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
427
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
428
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
429
|
+
[_M, _RAS],
|
|
430
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
431
|
+
];
|
|
432
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
433
|
+
var OperationTimeoutException$ = [-3, n0, _OTE,
|
|
434
|
+
{ [_e]: _se, [_hE]: 504 },
|
|
435
|
+
[_M],
|
|
436
|
+
[0]
|
|
437
|
+
];
|
|
438
|
+
n0_registry.registerError(OperationTimeoutException$, OperationTimeoutException);
|
|
439
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
440
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
441
|
+
[_M, _RI, _RT],
|
|
442
|
+
[0, 0, 0], 3
|
|
443
|
+
];
|
|
444
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
445
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
446
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
447
|
+
[_M, _RI, _RT, _SC, _QC],
|
|
448
|
+
[0, 0, 0, 0, 0], 5
|
|
449
|
+
];
|
|
450
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
451
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
452
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
453
|
+
[_M, _SC, _QC, _RAS],
|
|
454
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 3
|
|
455
|
+
];
|
|
456
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
457
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
458
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
459
|
+
[_M, _R, _FL],
|
|
460
|
+
[0, 0, () => ValidationExceptionFields], 2
|
|
461
|
+
];
|
|
462
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
463
|
+
const errorTypeRegistries = [
|
|
464
|
+
_s_registry,
|
|
465
|
+
n0_registry,
|
|
466
|
+
];
|
|
467
|
+
var CreateWorkflowRequest$ = [3, n0, _CWR,
|
|
468
|
+
0,
|
|
469
|
+
[_N, _DSL, _RAo, _CT, _D, _EC, _LC, _EV, _NC, _T, _TM],
|
|
470
|
+
[0, () => DefinitionS3Location$, 0, [0, 4], 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 128 | 0, 0], 3
|
|
471
|
+
];
|
|
472
|
+
var CreateWorkflowResponse$ = [3, n0, _CWRr,
|
|
473
|
+
0,
|
|
474
|
+
[_WA, _CA, _RIe, _WS, _WV, _ILV, _W],
|
|
475
|
+
[0, 5, 0, 0, 0, 2, 64 | 0], 1
|
|
476
|
+
];
|
|
477
|
+
var DefinitionS3Location$ = [3, n0, _DSL,
|
|
478
|
+
0,
|
|
479
|
+
[_B, _OK, _VI],
|
|
480
|
+
[0, 0, 0], 2
|
|
481
|
+
];
|
|
482
|
+
var DeleteWorkflowRequest$ = [3, n0, _DWR,
|
|
483
|
+
0,
|
|
484
|
+
[_WA, _WV],
|
|
485
|
+
[[0, 1], [0, { [_hQ]: _wV }]], 1
|
|
486
|
+
];
|
|
487
|
+
var DeleteWorkflowResponse$ = [3, n0, _DWRe,
|
|
488
|
+
0,
|
|
489
|
+
[_WA, _WV],
|
|
490
|
+
[0, 0], 1
|
|
491
|
+
];
|
|
492
|
+
var EncryptionConfiguration$ = [3, n0, _EC,
|
|
493
|
+
0,
|
|
494
|
+
[_Ty, _KKI],
|
|
495
|
+
[0, 0], 1
|
|
496
|
+
];
|
|
497
|
+
var GetTaskInstanceRequest$ = [3, n0, _GTIR,
|
|
498
|
+
0,
|
|
499
|
+
[_WA, _TII, _RIu],
|
|
500
|
+
[[0, 1], [0, 1], [0, 1]], 3
|
|
501
|
+
];
|
|
502
|
+
var GetTaskInstanceResponse$ = [3, n0, _GTIRe,
|
|
503
|
+
0,
|
|
504
|
+
[_WA, _RIu, _TII, _WV, _S, _DIS, _ON, _MA, _EA, _SA, _AN, _EM, _TI, _LS, _X],
|
|
505
|
+
[0, 0, 0, 0, 0, 1, 0, 5, 5, 5, 1, 0, 0, 0, 128 | 0], 3
|
|
506
|
+
];
|
|
507
|
+
var GetWorkflowRequest$ = [3, n0, _GWR,
|
|
508
|
+
0,
|
|
509
|
+
[_WA, _WV],
|
|
510
|
+
[[0, 1], [0, { [_hQ]: _wV }]], 1
|
|
511
|
+
];
|
|
512
|
+
var GetWorkflowResponse$ = [3, n0, _GWRe,
|
|
513
|
+
0,
|
|
514
|
+
[_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _SCc, _RAo, _NC, _TM, _WD],
|
|
515
|
+
[0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, 0, 0], 1
|
|
516
|
+
];
|
|
517
|
+
var GetWorkflowRunRequest$ = [3, n0, _GWRR,
|
|
518
|
+
0,
|
|
519
|
+
[_WA, _RIu],
|
|
520
|
+
[[0, 1], [0, 1]], 2
|
|
521
|
+
];
|
|
522
|
+
var GetWorkflowRunResponse$ = [3, n0, _GWRRe,
|
|
523
|
+
0,
|
|
524
|
+
[_WA, _WV, _RIu, _RTu, _OP, _RD],
|
|
525
|
+
[0, 0, 0, 0, [() => ObjectMap, 0], () => WorkflowRunDetail$]
|
|
526
|
+
];
|
|
527
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
528
|
+
0,
|
|
529
|
+
[_RAe],
|
|
530
|
+
[[0, 1]], 1
|
|
531
|
+
];
|
|
532
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
533
|
+
0,
|
|
534
|
+
[_T],
|
|
535
|
+
[128 | 0]
|
|
536
|
+
];
|
|
537
|
+
var ListTaskInstancesRequest$ = [3, n0, _LTIR,
|
|
538
|
+
0,
|
|
539
|
+
[_WA, _RIu, _MR, _NT],
|
|
540
|
+
[[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
|
|
541
|
+
];
|
|
542
|
+
var ListTaskInstancesResponse$ = [3, n0, _LTIRi,
|
|
543
|
+
0,
|
|
544
|
+
[_TIa, _NT],
|
|
545
|
+
[() => TaskInstanceSummaries, 0]
|
|
546
|
+
];
|
|
547
|
+
var ListWorkflowRunsRequest$ = [3, n0, _LWRR,
|
|
548
|
+
0,
|
|
549
|
+
[_WA, _MR, _NT, _WV],
|
|
550
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _wV }]], 1
|
|
551
|
+
];
|
|
552
|
+
var ListWorkflowRunsResponse$ = [3, n0, _LWRRi,
|
|
553
|
+
0,
|
|
554
|
+
[_WR, _NT],
|
|
555
|
+
[() => WorkflowRunSummaries, 0]
|
|
556
|
+
];
|
|
557
|
+
var ListWorkflowsRequest$ = [3, n0, _LWR,
|
|
558
|
+
0,
|
|
559
|
+
[_MR, _NT],
|
|
560
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
561
|
+
];
|
|
562
|
+
var ListWorkflowsResponse$ = [3, n0, _LWRi,
|
|
563
|
+
0,
|
|
564
|
+
[_Wo, _NT],
|
|
565
|
+
[() => WorkflowSummaries, 0], 1
|
|
566
|
+
];
|
|
567
|
+
var ListWorkflowVersionsRequest$ = [3, n0, _LWVR,
|
|
568
|
+
0,
|
|
569
|
+
[_WA, _MR, _NT],
|
|
570
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
571
|
+
];
|
|
572
|
+
var ListWorkflowVersionsResponse$ = [3, n0, _LWVRi,
|
|
573
|
+
0,
|
|
574
|
+
[_WVo, _NT],
|
|
575
|
+
[() => WorkflowVersionSummaries, 0]
|
|
576
|
+
];
|
|
577
|
+
var LoggingConfiguration$ = [3, n0, _LC,
|
|
578
|
+
0,
|
|
579
|
+
[_LGN],
|
|
580
|
+
[0], 1
|
|
581
|
+
];
|
|
582
|
+
var NetworkConfiguration$ = [3, n0, _NC,
|
|
583
|
+
0,
|
|
584
|
+
[_SGI, _SI],
|
|
585
|
+
[64 | 0, 64 | 0]
|
|
586
|
+
];
|
|
587
|
+
var RunDetailSummary$ = [3, n0, _RDS,
|
|
588
|
+
0,
|
|
589
|
+
[_S, _CO, _SA, _EA],
|
|
590
|
+
[0, 5, 5, 5]
|
|
591
|
+
];
|
|
592
|
+
var ScheduleConfiguration$ = [3, n0, _SCc,
|
|
593
|
+
0,
|
|
594
|
+
[_CEr],
|
|
595
|
+
[0]
|
|
596
|
+
];
|
|
597
|
+
var StartWorkflowRunRequest$ = [3, n0, _SWRR,
|
|
598
|
+
0,
|
|
599
|
+
[_WA, _CT, _OP, _WV],
|
|
600
|
+
[[0, 1], [0, 4], [() => ObjectMap, 0], 0], 1
|
|
601
|
+
];
|
|
602
|
+
var StartWorkflowRunResponse$ = [3, n0, _SWRRt,
|
|
603
|
+
0,
|
|
604
|
+
[_RIu, _S, _SA],
|
|
605
|
+
[0, 0, 5]
|
|
606
|
+
];
|
|
607
|
+
var StopWorkflowRunRequest$ = [3, n0, _SWRRto,
|
|
608
|
+
0,
|
|
609
|
+
[_WA, _RIu],
|
|
610
|
+
[[0, 1], [0, 1]], 2
|
|
611
|
+
];
|
|
612
|
+
var StopWorkflowRunResponse$ = [3, n0, _SWRRtop,
|
|
613
|
+
0,
|
|
614
|
+
[_WA, _WV, _RIu, _S],
|
|
615
|
+
[0, 0, 0, 0]
|
|
616
|
+
];
|
|
617
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
618
|
+
0,
|
|
619
|
+
[_RAe, _T],
|
|
620
|
+
[[0, 1], 128 | 0], 2
|
|
621
|
+
];
|
|
622
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
623
|
+
0,
|
|
624
|
+
[],
|
|
625
|
+
[]
|
|
626
|
+
];
|
|
627
|
+
var TaskInstanceSummary$ = [3, n0, _TIS,
|
|
628
|
+
0,
|
|
629
|
+
[_WA, _WV, _RIu, _TII, _S, _DIS, _ON],
|
|
630
|
+
[0, 0, 0, 0, 0, 1, 0]
|
|
631
|
+
];
|
|
632
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
633
|
+
0,
|
|
634
|
+
[_RAe, _TK],
|
|
635
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
636
|
+
];
|
|
637
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
638
|
+
0,
|
|
639
|
+
[],
|
|
640
|
+
[]
|
|
641
|
+
];
|
|
642
|
+
var UpdateWorkflowRequest$ = [3, n0, _UWR,
|
|
643
|
+
0,
|
|
644
|
+
[_WA, _DSL, _RAo, _D, _LC, _EV, _NC, _TM],
|
|
645
|
+
[[0, 1], () => DefinitionS3Location$, 0, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 0], 3
|
|
646
|
+
];
|
|
647
|
+
var UpdateWorkflowResponse$ = [3, n0, _UWRp,
|
|
648
|
+
0,
|
|
649
|
+
[_WA, _MA, _WV, _W],
|
|
650
|
+
[0, 5, 0, 64 | 0], 1
|
|
651
|
+
];
|
|
652
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
653
|
+
0,
|
|
654
|
+
[_N, _M],
|
|
655
|
+
[0, 0], 2
|
|
656
|
+
];
|
|
657
|
+
var WorkflowRunDetail$ = [3, n0, _WRD,
|
|
658
|
+
0,
|
|
659
|
+
[_WA, _WV, _RIu, _RTu, _SO, _CA, _COo, _MA, _Du, _EM, _TIa, _RS],
|
|
660
|
+
[0, 0, 0, 0, 5, 5, 5, 5, 1, 0, 64 | 0, 0]
|
|
661
|
+
];
|
|
662
|
+
var WorkflowRunSummary$ = [3, n0, _WRS,
|
|
663
|
+
0,
|
|
664
|
+
[_RIu, _WA, _WV, _RTu, _RDS],
|
|
665
|
+
[0, 0, 0, 0, () => RunDetailSummary$]
|
|
666
|
+
];
|
|
667
|
+
var WorkflowSummary$ = [3, n0, _WSo,
|
|
668
|
+
0,
|
|
669
|
+
[_WA, _WV, _N, _D, _CA, _MA, _WS, _TM],
|
|
670
|
+
[0, 0, 0, 0, 5, 5, 0, 0], 1
|
|
671
|
+
];
|
|
672
|
+
var WorkflowVersionSummary$ = [3, n0, _WVS,
|
|
673
|
+
0,
|
|
674
|
+
[_WV, _WA, _ILV, _CA, _MA, _DSL, _SCc, _TM],
|
|
675
|
+
[0, 0, 2, 5, 5, () => DefinitionS3Location$, () => ScheduleConfiguration$, 0], 2
|
|
676
|
+
];
|
|
677
|
+
var TaskInstanceSummaries = [1, n0, _TISa,
|
|
678
|
+
0, () => TaskInstanceSummary$
|
|
679
|
+
];
|
|
680
|
+
var ValidationExceptionFields = [1, n0, _VEFa,
|
|
681
|
+
0, () => ValidationExceptionField$
|
|
682
|
+
];
|
|
683
|
+
var WorkflowRunSummaries = [1, n0, _WRSo,
|
|
684
|
+
0, () => WorkflowRunSummary$
|
|
685
|
+
];
|
|
686
|
+
var WorkflowSummaries = [1, n0, _WSor,
|
|
687
|
+
0, () => WorkflowSummary$
|
|
688
|
+
];
|
|
689
|
+
var WorkflowVersionSummaries = [1, n0, _WVSo,
|
|
690
|
+
0, () => WorkflowVersionSummary$
|
|
691
|
+
];
|
|
692
|
+
var ObjectMap = [2, n0, _OM,
|
|
693
|
+
8, 0, 15
|
|
694
|
+
];
|
|
695
|
+
var CreateWorkflow$ = [9, n0, _CW,
|
|
696
|
+
{ [_h]: ["POST", "/workflows", 200] }, () => CreateWorkflowRequest$, () => CreateWorkflowResponse$
|
|
697
|
+
];
|
|
698
|
+
var DeleteWorkflow$ = [9, n0, _DW,
|
|
699
|
+
{ [_h]: ["DELETE", "/workflows/{WorkflowArn}", 200] }, () => DeleteWorkflowRequest$, () => DeleteWorkflowResponse$
|
|
700
|
+
];
|
|
701
|
+
var GetTaskInstance$ = [9, n0, _GTI,
|
|
702
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks/{TaskInstanceId}", 200] }, () => GetTaskInstanceRequest$, () => GetTaskInstanceResponse$
|
|
703
|
+
];
|
|
704
|
+
var GetWorkflow$ = [9, n0, _GW,
|
|
705
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}", 200] }, () => GetWorkflowRequest$, () => GetWorkflowResponse$
|
|
706
|
+
];
|
|
707
|
+
var GetWorkflowRun$ = [9, n0, _GWRet,
|
|
708
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => GetWorkflowRunRequest$, () => GetWorkflowRunResponse$
|
|
709
|
+
];
|
|
710
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
711
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
712
|
+
];
|
|
713
|
+
var ListTaskInstances$ = [9, n0, _LTI,
|
|
714
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}/runs/{RunId}/tasks", 200] }, () => ListTaskInstancesRequest$, () => ListTaskInstancesResponse$
|
|
715
|
+
];
|
|
716
|
+
var ListWorkflowRuns$ = [9, n0, _LWRis,
|
|
717
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}/runs", 200] }, () => ListWorkflowRunsRequest$, () => ListWorkflowRunsResponse$
|
|
718
|
+
];
|
|
719
|
+
var ListWorkflows$ = [9, n0, _LW,
|
|
720
|
+
{ [_h]: ["GET", "/workflows", 200] }, () => ListWorkflowsRequest$, () => ListWorkflowsResponse$
|
|
721
|
+
];
|
|
722
|
+
var ListWorkflowVersions$ = [9, n0, _LWV,
|
|
723
|
+
{ [_h]: ["GET", "/workflows/{WorkflowArn}/versions", 200] }, () => ListWorkflowVersionsRequest$, () => ListWorkflowVersionsResponse$
|
|
724
|
+
];
|
|
725
|
+
var StartWorkflowRun$ = [9, n0, _SWR,
|
|
726
|
+
{ [_h]: ["POST", "/workflows/{WorkflowArn}/runs", 200] }, () => StartWorkflowRunRequest$, () => StartWorkflowRunResponse$
|
|
727
|
+
];
|
|
728
|
+
var StopWorkflowRun$ = [9, n0, _SWRt,
|
|
729
|
+
{ [_h]: ["DELETE", "/workflows/{WorkflowArn}/runs/{RunId}", 200] }, () => StopWorkflowRunRequest$, () => StopWorkflowRunResponse$
|
|
730
|
+
];
|
|
731
|
+
var TagResource$ = [9, n0, _TR,
|
|
732
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
733
|
+
];
|
|
734
|
+
var UntagResource$ = [9, n0, _UR,
|
|
735
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
736
|
+
];
|
|
737
|
+
var UpdateWorkflow$ = [9, n0, _UW,
|
|
738
|
+
{ [_h]: ["PUT", "/workflows/{WorkflowArn}", 200] }, () => UpdateWorkflowRequest$, () => UpdateWorkflowResponse$
|
|
739
|
+
];
|
|
740
|
+
|
|
741
|
+
const getRuntimeConfig$1 = (config) => {
|
|
742
|
+
return {
|
|
743
|
+
apiVersion: "2024-07-26",
|
|
744
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
745
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
746
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
747
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
748
|
+
extensions: config?.extensions ?? [],
|
|
749
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMWAAServerlessHttpAuthSchemeProvider,
|
|
750
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
751
|
+
{
|
|
752
|
+
schemeId: "aws.auth#sigv4",
|
|
753
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
754
|
+
signer: new AwsSdkSigV4Signer(),
|
|
755
|
+
},
|
|
756
|
+
],
|
|
757
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
758
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
759
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
760
|
+
defaultNamespace: "com.amazonaws.mwaaserverless",
|
|
761
|
+
errorTypeRegistries,
|
|
762
|
+
version: "2024-07-26",
|
|
763
|
+
serviceTarget: "AmazonMWAAServerless",
|
|
764
|
+
},
|
|
765
|
+
serviceId: config?.serviceId ?? "MWAA Serverless",
|
|
766
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
767
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
768
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
const getRuntimeConfig = (config) => {
|
|
773
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
774
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
775
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
776
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
777
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
778
|
+
const loaderConfig = {
|
|
779
|
+
profile: config?.profile,
|
|
780
|
+
logger: clientSharedValues.logger,
|
|
781
|
+
};
|
|
782
|
+
return {
|
|
783
|
+
...clientSharedValues,
|
|
784
|
+
...config,
|
|
785
|
+
runtime: "node",
|
|
786
|
+
defaultsMode,
|
|
787
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
788
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
789
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
790
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
791
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
792
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
793
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
794
|
+
retryMode: config?.retryMode ??
|
|
795
|
+
loadConfig({
|
|
796
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
797
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
798
|
+
}, config),
|
|
799
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
800
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
801
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
802
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
803
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
|
|
32
807
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
808
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
809
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -373,30 +1148,106 @@ const RunType = {
|
|
|
373
1148
|
SCHEDULED: "SCHEDULED",
|
|
374
1149
|
};
|
|
375
1150
|
|
|
1151
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1152
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1153
|
+
exports.ConflictException = ConflictException;
|
|
1154
|
+
exports.ConflictException$ = ConflictException$;
|
|
1155
|
+
exports.CreateWorkflow$ = CreateWorkflow$;
|
|
376
1156
|
exports.CreateWorkflowCommand = CreateWorkflowCommand;
|
|
1157
|
+
exports.CreateWorkflowRequest$ = CreateWorkflowRequest$;
|
|
1158
|
+
exports.CreateWorkflowResponse$ = CreateWorkflowResponse$;
|
|
1159
|
+
exports.DefinitionS3Location$ = DefinitionS3Location$;
|
|
1160
|
+
exports.DeleteWorkflow$ = DeleteWorkflow$;
|
|
377
1161
|
exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
|
|
1162
|
+
exports.DeleteWorkflowRequest$ = DeleteWorkflowRequest$;
|
|
1163
|
+
exports.DeleteWorkflowResponse$ = DeleteWorkflowResponse$;
|
|
1164
|
+
exports.EncryptionConfiguration$ = EncryptionConfiguration$;
|
|
378
1165
|
exports.EncryptionType = EncryptionType;
|
|
379
1166
|
exports.EngineVersion = EngineVersion;
|
|
1167
|
+
exports.GetTaskInstance$ = GetTaskInstance$;
|
|
380
1168
|
exports.GetTaskInstanceCommand = GetTaskInstanceCommand;
|
|
1169
|
+
exports.GetTaskInstanceRequest$ = GetTaskInstanceRequest$;
|
|
1170
|
+
exports.GetTaskInstanceResponse$ = GetTaskInstanceResponse$;
|
|
1171
|
+
exports.GetWorkflow$ = GetWorkflow$;
|
|
381
1172
|
exports.GetWorkflowCommand = GetWorkflowCommand;
|
|
1173
|
+
exports.GetWorkflowRequest$ = GetWorkflowRequest$;
|
|
1174
|
+
exports.GetWorkflowResponse$ = GetWorkflowResponse$;
|
|
1175
|
+
exports.GetWorkflowRun$ = GetWorkflowRun$;
|
|
382
1176
|
exports.GetWorkflowRunCommand = GetWorkflowRunCommand;
|
|
1177
|
+
exports.GetWorkflowRunRequest$ = GetWorkflowRunRequest$;
|
|
1178
|
+
exports.GetWorkflowRunResponse$ = GetWorkflowRunResponse$;
|
|
1179
|
+
exports.InternalServerException = InternalServerException;
|
|
1180
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1181
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
383
1182
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1183
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1184
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1185
|
+
exports.ListTaskInstances$ = ListTaskInstances$;
|
|
384
1186
|
exports.ListTaskInstancesCommand = ListTaskInstancesCommand;
|
|
1187
|
+
exports.ListTaskInstancesRequest$ = ListTaskInstancesRequest$;
|
|
1188
|
+
exports.ListTaskInstancesResponse$ = ListTaskInstancesResponse$;
|
|
1189
|
+
exports.ListWorkflowRuns$ = ListWorkflowRuns$;
|
|
385
1190
|
exports.ListWorkflowRunsCommand = ListWorkflowRunsCommand;
|
|
1191
|
+
exports.ListWorkflowRunsRequest$ = ListWorkflowRunsRequest$;
|
|
1192
|
+
exports.ListWorkflowRunsResponse$ = ListWorkflowRunsResponse$;
|
|
1193
|
+
exports.ListWorkflowVersions$ = ListWorkflowVersions$;
|
|
386
1194
|
exports.ListWorkflowVersionsCommand = ListWorkflowVersionsCommand;
|
|
1195
|
+
exports.ListWorkflowVersionsRequest$ = ListWorkflowVersionsRequest$;
|
|
1196
|
+
exports.ListWorkflowVersionsResponse$ = ListWorkflowVersionsResponse$;
|
|
1197
|
+
exports.ListWorkflows$ = ListWorkflows$;
|
|
387
1198
|
exports.ListWorkflowsCommand = ListWorkflowsCommand;
|
|
1199
|
+
exports.ListWorkflowsRequest$ = ListWorkflowsRequest$;
|
|
1200
|
+
exports.ListWorkflowsResponse$ = ListWorkflowsResponse$;
|
|
1201
|
+
exports.LoggingConfiguration$ = LoggingConfiguration$;
|
|
388
1202
|
exports.MWAAServerless = MWAAServerless;
|
|
389
1203
|
exports.MWAAServerlessClient = MWAAServerlessClient;
|
|
1204
|
+
exports.MWAAServerlessServiceException = MWAAServerlessServiceException;
|
|
1205
|
+
exports.MWAAServerlessServiceException$ = MWAAServerlessServiceException$;
|
|
1206
|
+
exports.NetworkConfiguration$ = NetworkConfiguration$;
|
|
1207
|
+
exports.OperationTimeoutException = OperationTimeoutException;
|
|
1208
|
+
exports.OperationTimeoutException$ = OperationTimeoutException$;
|
|
1209
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1210
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1211
|
+
exports.RunDetailSummary$ = RunDetailSummary$;
|
|
390
1212
|
exports.RunType = RunType;
|
|
1213
|
+
exports.ScheduleConfiguration$ = ScheduleConfiguration$;
|
|
1214
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1215
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1216
|
+
exports.StartWorkflowRun$ = StartWorkflowRun$;
|
|
391
1217
|
exports.StartWorkflowRunCommand = StartWorkflowRunCommand;
|
|
1218
|
+
exports.StartWorkflowRunRequest$ = StartWorkflowRunRequest$;
|
|
1219
|
+
exports.StartWorkflowRunResponse$ = StartWorkflowRunResponse$;
|
|
1220
|
+
exports.StopWorkflowRun$ = StopWorkflowRun$;
|
|
392
1221
|
exports.StopWorkflowRunCommand = StopWorkflowRunCommand;
|
|
1222
|
+
exports.StopWorkflowRunRequest$ = StopWorkflowRunRequest$;
|
|
1223
|
+
exports.StopWorkflowRunResponse$ = StopWorkflowRunResponse$;
|
|
1224
|
+
exports.TagResource$ = TagResource$;
|
|
393
1225
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1226
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1227
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
394
1228
|
exports.TaskInstanceStatus = TaskInstanceStatus;
|
|
1229
|
+
exports.TaskInstanceSummary$ = TaskInstanceSummary$;
|
|
1230
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1231
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1232
|
+
exports.UntagResource$ = UntagResource$;
|
|
395
1233
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1234
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1235
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1236
|
+
exports.UpdateWorkflow$ = UpdateWorkflow$;
|
|
396
1237
|
exports.UpdateWorkflowCommand = UpdateWorkflowCommand;
|
|
1238
|
+
exports.UpdateWorkflowRequest$ = UpdateWorkflowRequest$;
|
|
1239
|
+
exports.UpdateWorkflowResponse$ = UpdateWorkflowResponse$;
|
|
1240
|
+
exports.ValidationException = ValidationException;
|
|
1241
|
+
exports.ValidationException$ = ValidationException$;
|
|
1242
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
397
1243
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1244
|
+
exports.WorkflowRunDetail$ = WorkflowRunDetail$;
|
|
398
1245
|
exports.WorkflowRunStatus = WorkflowRunStatus;
|
|
1246
|
+
exports.WorkflowRunSummary$ = WorkflowRunSummary$;
|
|
399
1247
|
exports.WorkflowStatus = WorkflowStatus;
|
|
1248
|
+
exports.WorkflowSummary$ = WorkflowSummary$;
|
|
1249
|
+
exports.WorkflowVersionSummary$ = WorkflowVersionSummary$;
|
|
1250
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
400
1251
|
exports.paginateListTaskInstances = paginateListTaskInstances;
|
|
401
1252
|
exports.paginateListWorkflowRuns = paginateListWorkflowRuns;
|
|
402
1253
|
exports.paginateListWorkflowVersions = paginateListWorkflowVersions;
|