@aws-sdk/client-mwaa-serverless 3.1161.0 → 3.1162.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 +26 -8
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +22 -6
- package/dist-types/commands/CreateWorkflowCommand.d.ts +5 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +5 -0
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +29 -3
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
3
|
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
@@ -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.1161.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -294,10 +294,13 @@ const _DW = "DeleteWorkflow";
|
|
|
294
294
|
const _DWR = "DeleteWorkflowRequest";
|
|
295
295
|
const _DWRe = "DeleteWorkflowResponse";
|
|
296
296
|
const _Du = "Duration";
|
|
297
|
+
const _E = "Environment";
|
|
297
298
|
const _EA = "EndedAt";
|
|
298
299
|
const _EC = "EncryptionConfiguration";
|
|
299
300
|
const _EM = "ErrorMessage";
|
|
300
301
|
const _EV = "EngineVersion";
|
|
302
|
+
const _EVM = "EnvironmentVariablesMap";
|
|
303
|
+
const _EVV = "EnvironmentVariableValue";
|
|
301
304
|
const _FL = "FieldList";
|
|
302
305
|
const _GTI = "GetTaskInstance";
|
|
303
306
|
const _GTIR = "GetTaskInstanceRequest";
|
|
@@ -389,6 +392,7 @@ const _URRn = "UntagResourceResponse";
|
|
|
389
392
|
const _UW = "UpdateWorkflow";
|
|
390
393
|
const _UWR = "UpdateWorkflowRequest";
|
|
391
394
|
const _UWRp = "UpdateWorkflowResponse";
|
|
395
|
+
const _V = "Variables";
|
|
392
396
|
const _VE = "ValidationException";
|
|
393
397
|
const _VEF = "ValidationExceptionField";
|
|
394
398
|
const _VEFa = "ValidationExceptionFields";
|
|
@@ -478,10 +482,11 @@ const errorTypeRegistries = [
|
|
|
478
482
|
_s_registry,
|
|
479
483
|
n0_registry,
|
|
480
484
|
];
|
|
485
|
+
var EnvironmentVariableValue = [0, n0, _EVV, 8, 0];
|
|
481
486
|
var CreateWorkflowRequest$ = [3, n0, _CWR,
|
|
482
487
|
0,
|
|
483
|
-
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _T, _TM],
|
|
484
|
-
[0, () => DefinitionS3Location$, 0, [0, 4], () => Code$, 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 128 | 0, 0], 3
|
|
488
|
+
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _E, _T, _TM],
|
|
489
|
+
[0, () => DefinitionS3Location$, 0, [0, 4], () => Code$, 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, [() => Environment$, 0], 128 | 0, 0], 3
|
|
485
490
|
];
|
|
486
491
|
var CreateWorkflowResponse$ = [3, n0, _CWRr,
|
|
487
492
|
0,
|
|
@@ -508,6 +513,11 @@ var EncryptionConfiguration$ = [3, n0, _EC,
|
|
|
508
513
|
[_Ty, _KKI],
|
|
509
514
|
[0, 0], 1
|
|
510
515
|
];
|
|
516
|
+
var Environment$ = [3, n0, _E,
|
|
517
|
+
0,
|
|
518
|
+
[_V],
|
|
519
|
+
[[() => EnvironmentVariablesMap, 0]]
|
|
520
|
+
];
|
|
511
521
|
var GetTaskInstanceRequest$ = [3, n0, _GTIR,
|
|
512
522
|
0,
|
|
513
523
|
[_WA, _TII, _RIu],
|
|
@@ -525,8 +535,8 @@ var GetWorkflowRequest$ = [3, n0, _GWR,
|
|
|
525
535
|
];
|
|
526
536
|
var GetWorkflowResponse$ = [3, n0, _GWRe,
|
|
527
537
|
0,
|
|
528
|
-
[_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _C, _CSA, _SCc, _RAo, _NC, _TM, _WD],
|
|
529
|
-
[0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => Code$, 5, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, 0, 0], 1
|
|
538
|
+
[_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _C, _CSA, _SCc, _RAo, _NC, _E, _TM, _WD],
|
|
539
|
+
[0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => Code$, 5, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, [() => Environment$, 0], 0, 0], 1
|
|
530
540
|
];
|
|
531
541
|
var GetWorkflowRunRequest$ = [3, n0, _GWRR,
|
|
532
542
|
0,
|
|
@@ -660,8 +670,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
660
670
|
];
|
|
661
671
|
var UpdateWorkflowRequest$ = [3, n0, _UWR,
|
|
662
672
|
0,
|
|
663
|
-
[_WA, _DSL, _RAo, _C, _D, _LC, _EV, _NC, _TM],
|
|
664
|
-
[[0, 1], () => DefinitionS3Location$, 0, () => Code$, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 0], 3
|
|
673
|
+
[_WA, _DSL, _RAo, _C, _D, _LC, _EV, _NC, _E, _TM],
|
|
674
|
+
[[0, 1], () => DefinitionS3Location$, 0, () => Code$, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, [() => Environment$, 0], 0], 3
|
|
665
675
|
];
|
|
666
676
|
var UpdateWorkflowResponse$ = [3, n0, _UWRp,
|
|
667
677
|
0,
|
|
@@ -708,6 +718,12 @@ var WorkflowSummaries = [1, n0, _WSor,
|
|
|
708
718
|
var WorkflowVersionSummaries = [1, n0, _WVSo,
|
|
709
719
|
0, () => WorkflowVersionSummary$
|
|
710
720
|
];
|
|
721
|
+
var EnvironmentVariablesMap = [2, n0, _EVM,
|
|
722
|
+
0, [0,
|
|
723
|
+
0],
|
|
724
|
+
[() => EnvironmentVariableValue,
|
|
725
|
+
0]
|
|
726
|
+
];
|
|
711
727
|
var ObjectMap = [2, n0, _OM,
|
|
712
728
|
8, 0, 15
|
|
713
729
|
];
|
|
@@ -812,6 +828,7 @@ const getRuntimeConfig = (config) => {
|
|
|
812
828
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
813
829
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
814
830
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
831
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
815
832
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
816
833
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
817
834
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -1058,6 +1075,7 @@ exports.DeleteWorkflowResponse$ = DeleteWorkflowResponse$;
|
|
|
1058
1075
|
exports.EncryptionConfiguration$ = EncryptionConfiguration$;
|
|
1059
1076
|
exports.EncryptionType = EncryptionType;
|
|
1060
1077
|
exports.EngineVersion = EngineVersion;
|
|
1078
|
+
exports.Environment$ = Environment$;
|
|
1061
1079
|
exports.GetTaskInstance$ = GetTaskInstance$;
|
|
1062
1080
|
exports.GetTaskInstanceCommand = GetTaskInstanceCommand;
|
|
1063
1081
|
exports.GetTaskInstanceRequest$ = GetTaskInstanceRequest$;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -19,10 +19,13 @@ const _DW = "DeleteWorkflow";
|
|
|
19
19
|
const _DWR = "DeleteWorkflowRequest";
|
|
20
20
|
const _DWRe = "DeleteWorkflowResponse";
|
|
21
21
|
const _Du = "Duration";
|
|
22
|
+
const _E = "Environment";
|
|
22
23
|
const _EA = "EndedAt";
|
|
23
24
|
const _EC = "EncryptionConfiguration";
|
|
24
25
|
const _EM = "ErrorMessage";
|
|
25
26
|
const _EV = "EngineVersion";
|
|
27
|
+
const _EVM = "EnvironmentVariablesMap";
|
|
28
|
+
const _EVV = "EnvironmentVariableValue";
|
|
26
29
|
const _FL = "FieldList";
|
|
27
30
|
const _GTI = "GetTaskInstance";
|
|
28
31
|
const _GTIR = "GetTaskInstanceRequest";
|
|
@@ -114,6 +117,7 @@ const _URRn = "UntagResourceResponse";
|
|
|
114
117
|
const _UW = "UpdateWorkflow";
|
|
115
118
|
const _UWR = "UpdateWorkflowRequest";
|
|
116
119
|
const _UWRp = "UpdateWorkflowResponse";
|
|
120
|
+
const _V = "Variables";
|
|
117
121
|
const _VE = "ValidationException";
|
|
118
122
|
const _VEF = "ValidationExceptionField";
|
|
119
123
|
const _VEFa = "ValidationExceptionFields";
|
|
@@ -206,10 +210,11 @@ export const errorTypeRegistries = [
|
|
|
206
210
|
_s_registry,
|
|
207
211
|
n0_registry,
|
|
208
212
|
];
|
|
213
|
+
var EnvironmentVariableValue = [0, n0, _EVV, 8, 0];
|
|
209
214
|
export var CreateWorkflowRequest$ = [3, n0, _CWR,
|
|
210
215
|
0,
|
|
211
|
-
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _T, _TM],
|
|
212
|
-
[0, () => DefinitionS3Location$, 0, [0, 4], () => Code$, 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 128 | 0, 0], 3
|
|
216
|
+
[_N, _DSL, _RAo, _CT, _C, _D, _EC, _LC, _EV, _NC, _E, _T, _TM],
|
|
217
|
+
[0, () => DefinitionS3Location$, 0, [0, 4], () => Code$, 0, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, [() => Environment$, 0], 128 | 0, 0], 3
|
|
213
218
|
];
|
|
214
219
|
export var CreateWorkflowResponse$ = [3, n0, _CWRr,
|
|
215
220
|
0,
|
|
@@ -236,6 +241,11 @@ export var EncryptionConfiguration$ = [3, n0, _EC,
|
|
|
236
241
|
[_Ty, _KKI],
|
|
237
242
|
[0, 0], 1
|
|
238
243
|
];
|
|
244
|
+
export var Environment$ = [3, n0, _E,
|
|
245
|
+
0,
|
|
246
|
+
[_V],
|
|
247
|
+
[[() => EnvironmentVariablesMap, 0]]
|
|
248
|
+
];
|
|
239
249
|
export var GetTaskInstanceRequest$ = [3, n0, _GTIR,
|
|
240
250
|
0,
|
|
241
251
|
[_WA, _TII, _RIu],
|
|
@@ -253,8 +263,8 @@ export var GetWorkflowRequest$ = [3, n0, _GWR,
|
|
|
253
263
|
];
|
|
254
264
|
export var GetWorkflowResponse$ = [3, n0, _GWRe,
|
|
255
265
|
0,
|
|
256
|
-
[_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _C, _CSA, _SCc, _RAo, _NC, _TM, _WD],
|
|
257
|
-
[0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => Code$, 5, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, 0, 0], 1
|
|
266
|
+
[_WA, _WV, _N, _D, _CA, _MA, _EC, _LC, _EV, _WS, _DSL, _C, _CSA, _SCc, _RAo, _NC, _E, _TM, _WD],
|
|
267
|
+
[0, 0, 0, 0, 5, 5, () => EncryptionConfiguration$, () => LoggingConfiguration$, 1, 0, () => DefinitionS3Location$, () => Code$, 5, () => ScheduleConfiguration$, 0, () => NetworkConfiguration$, [() => Environment$, 0], 0, 0], 1
|
|
258
268
|
];
|
|
259
269
|
export var GetWorkflowRunRequest$ = [3, n0, _GWRR,
|
|
260
270
|
0,
|
|
@@ -388,8 +398,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
388
398
|
];
|
|
389
399
|
export var UpdateWorkflowRequest$ = [3, n0, _UWR,
|
|
390
400
|
0,
|
|
391
|
-
[_WA, _DSL, _RAo, _C, _D, _LC, _EV, _NC, _TM],
|
|
392
|
-
[[0, 1], () => DefinitionS3Location$, 0, () => Code$, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, 0], 3
|
|
401
|
+
[_WA, _DSL, _RAo, _C, _D, _LC, _EV, _NC, _E, _TM],
|
|
402
|
+
[[0, 1], () => DefinitionS3Location$, 0, () => Code$, 0, () => LoggingConfiguration$, 1, () => NetworkConfiguration$, [() => Environment$, 0], 0], 3
|
|
393
403
|
];
|
|
394
404
|
export var UpdateWorkflowResponse$ = [3, n0, _UWRp,
|
|
395
405
|
0,
|
|
@@ -441,6 +451,12 @@ var WorkflowSummaries = [1, n0, _WSor,
|
|
|
441
451
|
var WorkflowVersionSummaries = [1, n0, _WVSo,
|
|
442
452
|
0, () => WorkflowVersionSummary$
|
|
443
453
|
];
|
|
454
|
+
var EnvironmentVariablesMap = [2, n0, _EVM,
|
|
455
|
+
0, [0,
|
|
456
|
+
0],
|
|
457
|
+
[() => EnvironmentVariableValue,
|
|
458
|
+
0]
|
|
459
|
+
];
|
|
444
460
|
var GenericMap = 128 | 0;
|
|
445
461
|
var ObjectMap = [2, n0, _OM,
|
|
446
462
|
8, 0, 15
|
|
@@ -66,6 +66,11 @@ declare const CreateWorkflowCommand_base: {
|
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
68
|
* },
|
|
69
|
+
* Environment: { // Environment
|
|
70
|
+
* Variables: { // EnvironmentVariablesMap
|
|
71
|
+
* "<keys>": "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
69
74
|
* Tags: { // Tags
|
|
70
75
|
* "<keys>": "STRING_VALUE",
|
|
71
76
|
* },
|
|
@@ -80,6 +80,11 @@ declare const GetWorkflowCommand_base: {
|
|
|
80
80
|
* // "STRING_VALUE",
|
|
81
81
|
* // ],
|
|
82
82
|
* // },
|
|
83
|
+
* // Environment: { // Environment
|
|
84
|
+
* // Variables: { // EnvironmentVariablesMap
|
|
85
|
+
* // "<keys>": "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
83
88
|
* // TriggerMode: "STRING_VALUE",
|
|
84
89
|
* // WorkflowDefinition: "STRING_VALUE",
|
|
85
90
|
* // };
|
|
@@ -61,6 +61,11 @@ declare const UpdateWorkflowCommand_base: {
|
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
63
|
* },
|
|
64
|
+
* Environment: { // Environment
|
|
65
|
+
* Variables: { // EnvironmentVariablesMap
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
64
69
|
* TriggerMode: "STRING_VALUE",
|
|
65
70
|
* };
|
|
66
71
|
* const command = new UpdateWorkflowCommand(input);
|
|
@@ -273,7 +273,7 @@ export interface S3Location {
|
|
|
273
273
|
*/
|
|
274
274
|
ObjectKey: string | undefined;
|
|
275
275
|
/**
|
|
276
|
-
* <p>
|
|
276
|
+
* <p>Specifies the version ID of the object in Amazon S3. If you don't specify a version, we use the latest version.</p>
|
|
277
277
|
* @public
|
|
278
278
|
*/
|
|
279
279
|
VersionId?: string | undefined;
|
|
@@ -327,7 +327,7 @@ export interface DefinitionS3Location {
|
|
|
327
327
|
*/
|
|
328
328
|
ObjectKey: string | undefined;
|
|
329
329
|
/**
|
|
330
|
-
* <p>Optional. The version ID of the workflow definition file in Amazon S3. If
|
|
330
|
+
* <p>Optional. The version ID of the workflow definition file in Amazon S3. If you don't specify a version, we use the latest version.</p>
|
|
331
331
|
* @public
|
|
332
332
|
*/
|
|
333
333
|
VersionId?: string | undefined;
|
|
@@ -348,6 +348,17 @@ export interface EncryptionConfiguration {
|
|
|
348
348
|
*/
|
|
349
349
|
KmsKeyId?: string | undefined;
|
|
350
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* <p>Contains the environment variables that tasks in a workflow use during execution.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export interface Environment {
|
|
356
|
+
/**
|
|
357
|
+
* <p>A map of environment variable names to values. Your workflow tasks use these variables while they run. You can specify up to 50 environment variables. Each name must be between 1 and 128 characters, start with a letter, and contain only letters, numbers, and underscores. Each value can be up to 255 characters.</p> <p>Names that start with <code>AWS_</code> or <code>AIRFLOW__</code> are reserved. You can use the following Apache Airflow secrets backend settings, which are exceptions:</p> <ul> <li> <p> <code>AIRFLOW__WORKERS__SECRETS_BACKEND</code> – The secrets backend class that workers use.</p> </li> <li> <p> <code>AIRFLOW__WORKERS__SECRETS_BACKEND_KWARGS</code> – The keyword arguments for the secrets backend, as a JSON string.</p> </li> <li> <p> <code>AIRFLOW__WORKERS__SECRETS_BACKEND_KWARG__*</code> – Names with this prefix, for additional secrets backend configuration.</p> </li> </ul> <p>If you set <code>EncryptionConfiguration</code> to use a customer managed AWS KMS key, we encrypt the environment variables with that key. Otherwise, we store them with default encryption at rest.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
Variables?: Record<string, string> | undefined;
|
|
361
|
+
}
|
|
351
362
|
/**
|
|
352
363
|
* <p>Configuration for workflow logging that specifies where you should store your workflow execution logs. Amazon Managed Workflows for Apache Airflow Serverless provides comprehensive logging capabilities that capture workflow execution details, task-level information, and system events. Logs are automatically exported to your specified CloudWatch log group using remote logging functionality, providing centralized observability across the distributed, multi-tenant execution environment. This enables effective debugging, monitoring, and compliance auditing of workflow executions.</p>
|
|
353
364
|
* @public
|
|
@@ -429,6 +440,11 @@ export interface CreateWorkflowRequest {
|
|
|
429
440
|
* @public
|
|
430
441
|
*/
|
|
431
442
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>The environment variables to set for tasks in the workflow. If you don't specify this parameter, the workflow has no environment variables.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
Environment?: Environment | undefined;
|
|
432
448
|
/**
|
|
433
449
|
* <p>A map of tags to assign to the workflow resource. Tags are key-value pairs that are used for resource organization and cost allocation.</p>
|
|
434
450
|
* @public
|
|
@@ -620,6 +636,11 @@ export interface GetWorkflowResponse {
|
|
|
620
636
|
* @public
|
|
621
637
|
*/
|
|
622
638
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
639
|
+
/**
|
|
640
|
+
* <p>The environment variables that tasks in the workflow use during execution.</p>
|
|
641
|
+
* @public
|
|
642
|
+
*/
|
|
643
|
+
Environment?: Environment | undefined;
|
|
623
644
|
/**
|
|
624
645
|
* <p>The trigger mode for the workflow execution.</p>
|
|
625
646
|
* @public
|
|
@@ -751,6 +772,11 @@ export interface UpdateWorkflowRequest {
|
|
|
751
772
|
* @public
|
|
752
773
|
*/
|
|
753
774
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The environment variables to set for tasks in the workflow.</p> <important> <p>The variables that you specify replace all existing environment variables for the workflow. If you don't specify this parameter, the workflow has no environment variables. To keep existing environment variables, include them in the request.</p> </important>
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
Environment?: Environment | undefined;
|
|
754
780
|
/**
|
|
755
781
|
* <p>The trigger mode for the workflow execution.</p>
|
|
756
782
|
* @public
|
|
@@ -1015,7 +1041,7 @@ export interface StartWorkflowRunRequest {
|
|
|
1015
1041
|
*/
|
|
1016
1042
|
OverrideParameters?: Record<string, __DocumentType> | undefined;
|
|
1017
1043
|
/**
|
|
1018
|
-
* <p>Optional. The specific version of the workflow to execute. If
|
|
1044
|
+
* <p>Optional. The specific version of the workflow to execute. If you don't specify a version, we use the latest version.</p>
|
|
1019
1045
|
* @public
|
|
1020
1046
|
*/
|
|
1021
1047
|
WorkflowVersion?: string | undefined;
|
|
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: MWAAServerlessClientConfig) => {
|
|
|
44
44
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
46
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
47
48
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
49
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
50
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -21,6 +21,7 @@ export declare var DefinitionS3Location$: StaticStructureSchema;
|
|
|
21
21
|
export declare var DeleteWorkflowRequest$: StaticStructureSchema;
|
|
22
22
|
export declare var DeleteWorkflowResponse$: StaticStructureSchema;
|
|
23
23
|
export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
24
|
+
export declare var Environment$: StaticStructureSchema;
|
|
24
25
|
export declare var GetTaskInstanceRequest$: StaticStructureSchema;
|
|
25
26
|
export declare var GetTaskInstanceResponse$: StaticStructureSchema;
|
|
26
27
|
export declare var GetWorkflowRequest$: StaticStructureSchema;
|
|
@@ -97,6 +97,9 @@ export interface EncryptionConfiguration {
|
|
|
97
97
|
Type: EncryptionType | undefined;
|
|
98
98
|
KmsKeyId?: string | undefined;
|
|
99
99
|
}
|
|
100
|
+
export interface Environment {
|
|
101
|
+
Variables?: Record<string, string> | undefined;
|
|
102
|
+
}
|
|
100
103
|
export interface LoggingConfiguration {
|
|
101
104
|
LogGroupName: string | undefined;
|
|
102
105
|
}
|
|
@@ -115,6 +118,7 @@ export interface CreateWorkflowRequest {
|
|
|
115
118
|
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
116
119
|
EngineVersion?: EngineVersion | undefined;
|
|
117
120
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
121
|
+
Environment?: Environment | undefined;
|
|
118
122
|
Tags?: Record<string, string> | undefined;
|
|
119
123
|
TriggerMode?: string | undefined;
|
|
120
124
|
}
|
|
@@ -159,6 +163,7 @@ export interface GetWorkflowResponse {
|
|
|
159
163
|
ScheduleConfiguration?: ScheduleConfiguration | undefined;
|
|
160
164
|
RoleArn?: string | undefined;
|
|
161
165
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
166
|
+
Environment?: Environment | undefined;
|
|
162
167
|
TriggerMode?: string | undefined;
|
|
163
168
|
WorkflowDefinition?: string | undefined;
|
|
164
169
|
}
|
|
@@ -189,6 +194,7 @@ export interface UpdateWorkflowRequest {
|
|
|
189
194
|
LoggingConfiguration?: LoggingConfiguration | undefined;
|
|
190
195
|
EngineVersion?: EngineVersion | undefined;
|
|
191
196
|
NetworkConfiguration?: NetworkConfiguration | undefined;
|
|
197
|
+
Environment?: Environment | undefined;
|
|
192
198
|
TriggerMode?: string | undefined;
|
|
193
199
|
}
|
|
194
200
|
export interface UpdateWorkflowResponse {
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: MWAAServerlessClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -21,6 +21,7 @@ export declare var DefinitionS3Location$: StaticStructureSchema;
|
|
|
21
21
|
export declare var DeleteWorkflowRequest$: StaticStructureSchema;
|
|
22
22
|
export declare var DeleteWorkflowResponse$: StaticStructureSchema;
|
|
23
23
|
export declare var EncryptionConfiguration$: StaticStructureSchema;
|
|
24
|
+
export declare var Environment$: StaticStructureSchema;
|
|
24
25
|
export declare var GetTaskInstanceRequest$: StaticStructureSchema;
|
|
25
26
|
export declare var GetTaskInstanceResponse$: StaticStructureSchema;
|
|
26
27
|
export declare var GetWorkflowRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa-serverless",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1162.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",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|