@aws-sdk/client-sfn 3.42.0 → 3.47.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/CHANGELOG.md +47 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +2 -147
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +0 -96
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/SFNClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -144
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/SFNClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -96
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
export var ActivityDoesNotExist;
|
|
4
|
-
(function (ActivityDoesNotExist) {
|
|
5
|
-
ActivityDoesNotExist.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(ActivityDoesNotExist || (ActivityDoesNotExist = {}));
|
|
7
3
|
export var ActivityFailedEventDetails;
|
|
8
4
|
(function (ActivityFailedEventDetails) {
|
|
9
5
|
ActivityFailedEventDetails.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
|
|
10
6
|
})(ActivityFailedEventDetails || (ActivityFailedEventDetails = {}));
|
|
11
|
-
export var ActivityLimitExceeded;
|
|
12
|
-
(function (ActivityLimitExceeded) {
|
|
13
|
-
ActivityLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
-
})(ActivityLimitExceeded || (ActivityLimitExceeded = {}));
|
|
15
7
|
export var ActivityListItem;
|
|
16
8
|
(function (ActivityListItem) {
|
|
17
9
|
ActivityListItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -40,10 +32,6 @@ export var ActivityTimedOutEventDetails;
|
|
|
40
32
|
(function (ActivityTimedOutEventDetails) {
|
|
41
33
|
ActivityTimedOutEventDetails.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
|
|
42
34
|
})(ActivityTimedOutEventDetails || (ActivityTimedOutEventDetails = {}));
|
|
43
|
-
export var ActivityWorkerLimitExceeded;
|
|
44
|
-
(function (ActivityWorkerLimitExceeded) {
|
|
45
|
-
ActivityWorkerLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(ActivityWorkerLimitExceeded || (ActivityWorkerLimitExceeded = {}));
|
|
47
35
|
export var Tag;
|
|
48
36
|
(function (Tag) {
|
|
49
37
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -56,14 +44,6 @@ export var CreateActivityOutput;
|
|
|
56
44
|
(function (CreateActivityOutput) {
|
|
57
45
|
CreateActivityOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
46
|
})(CreateActivityOutput || (CreateActivityOutput = {}));
|
|
59
|
-
export var InvalidName;
|
|
60
|
-
(function (InvalidName) {
|
|
61
|
-
InvalidName.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
62
|
-
})(InvalidName || (InvalidName = {}));
|
|
63
|
-
export var TooManyTags;
|
|
64
|
-
(function (TooManyTags) {
|
|
65
|
-
TooManyTags.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
|
-
})(TooManyTags || (TooManyTags = {}));
|
|
67
47
|
export var CloudWatchLogsLogGroup;
|
|
68
48
|
(function (CloudWatchLogsLogGroup) {
|
|
69
49
|
CloudWatchLogsLogGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -88,38 +68,6 @@ export var CreateStateMachineOutput;
|
|
|
88
68
|
(function (CreateStateMachineOutput) {
|
|
89
69
|
CreateStateMachineOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
70
|
})(CreateStateMachineOutput || (CreateStateMachineOutput = {}));
|
|
91
|
-
export var InvalidArn;
|
|
92
|
-
(function (InvalidArn) {
|
|
93
|
-
InvalidArn.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
-
})(InvalidArn || (InvalidArn = {}));
|
|
95
|
-
export var InvalidDefinition;
|
|
96
|
-
(function (InvalidDefinition) {
|
|
97
|
-
InvalidDefinition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
-
})(InvalidDefinition || (InvalidDefinition = {}));
|
|
99
|
-
export var InvalidLoggingConfiguration;
|
|
100
|
-
(function (InvalidLoggingConfiguration) {
|
|
101
|
-
InvalidLoggingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
-
})(InvalidLoggingConfiguration || (InvalidLoggingConfiguration = {}));
|
|
103
|
-
export var InvalidTracingConfiguration;
|
|
104
|
-
(function (InvalidTracingConfiguration) {
|
|
105
|
-
InvalidTracingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(InvalidTracingConfiguration || (InvalidTracingConfiguration = {}));
|
|
107
|
-
export var StateMachineAlreadyExists;
|
|
108
|
-
(function (StateMachineAlreadyExists) {
|
|
109
|
-
StateMachineAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(StateMachineAlreadyExists || (StateMachineAlreadyExists = {}));
|
|
111
|
-
export var StateMachineDeleting;
|
|
112
|
-
(function (StateMachineDeleting) {
|
|
113
|
-
StateMachineDeleting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
-
})(StateMachineDeleting || (StateMachineDeleting = {}));
|
|
115
|
-
export var StateMachineLimitExceeded;
|
|
116
|
-
(function (StateMachineLimitExceeded) {
|
|
117
|
-
StateMachineLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
-
})(StateMachineLimitExceeded || (StateMachineLimitExceeded = {}));
|
|
119
|
-
export var StateMachineTypeNotSupported;
|
|
120
|
-
(function (StateMachineTypeNotSupported) {
|
|
121
|
-
StateMachineTypeNotSupported.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
-
})(StateMachineTypeNotSupported || (StateMachineTypeNotSupported = {}));
|
|
123
71
|
export var DeleteActivityInput;
|
|
124
72
|
(function (DeleteActivityInput) {
|
|
125
73
|
DeleteActivityInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -156,10 +104,6 @@ export var DescribeExecutionOutput;
|
|
|
156
104
|
(function (DescribeExecutionOutput) {
|
|
157
105
|
DescribeExecutionOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.input && { input: SENSITIVE_STRING })), (obj.output && { output: SENSITIVE_STRING }))); };
|
|
158
106
|
})(DescribeExecutionOutput || (DescribeExecutionOutput = {}));
|
|
159
|
-
export var ExecutionDoesNotExist;
|
|
160
|
-
(function (ExecutionDoesNotExist) {
|
|
161
|
-
ExecutionDoesNotExist.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
-
})(ExecutionDoesNotExist || (ExecutionDoesNotExist = {}));
|
|
163
107
|
export var DescribeStateMachineInput;
|
|
164
108
|
(function (DescribeStateMachineInput) {
|
|
165
109
|
DescribeStateMachineInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -168,10 +112,6 @@ export var DescribeStateMachineOutput;
|
|
|
168
112
|
(function (DescribeStateMachineOutput) {
|
|
169
113
|
DescribeStateMachineOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.definition && { definition: SENSITIVE_STRING }))); };
|
|
170
114
|
})(DescribeStateMachineOutput || (DescribeStateMachineOutput = {}));
|
|
171
|
-
export var StateMachineDoesNotExist;
|
|
172
|
-
(function (StateMachineDoesNotExist) {
|
|
173
|
-
StateMachineDoesNotExist.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
-
})(StateMachineDoesNotExist || (StateMachineDoesNotExist = {}));
|
|
175
115
|
export var DescribeStateMachineForExecutionInput;
|
|
176
116
|
(function (DescribeStateMachineForExecutionInput) {
|
|
177
117
|
DescribeStateMachineForExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -342,10 +282,6 @@ export var GetExecutionHistoryOutput;
|
|
|
342
282
|
(function (GetExecutionHistoryOutput) {
|
|
343
283
|
GetExecutionHistoryOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.events && { events: obj.events.map(function (item) { return HistoryEvent.filterSensitiveLog(item); }) }))); };
|
|
344
284
|
})(GetExecutionHistoryOutput || (GetExecutionHistoryOutput = {}));
|
|
345
|
-
export var InvalidToken;
|
|
346
|
-
(function (InvalidToken) {
|
|
347
|
-
InvalidToken.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
|
-
})(InvalidToken || (InvalidToken = {}));
|
|
349
285
|
export var ListActivitiesInput;
|
|
350
286
|
(function (ListActivitiesInput) {
|
|
351
287
|
ListActivitiesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -386,10 +322,6 @@ export var ListTagsForResourceOutput;
|
|
|
386
322
|
(function (ListTagsForResourceOutput) {
|
|
387
323
|
ListTagsForResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
388
324
|
})(ListTagsForResourceOutput || (ListTagsForResourceOutput = {}));
|
|
389
|
-
export var ResourceNotFound;
|
|
390
|
-
(function (ResourceNotFound) {
|
|
391
|
-
ResourceNotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
392
|
-
})(ResourceNotFound || (ResourceNotFound = {}));
|
|
393
325
|
export var SendTaskFailureInput;
|
|
394
326
|
(function (SendTaskFailureInput) {
|
|
395
327
|
SendTaskFailureInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.error && { error: SENSITIVE_STRING })), (obj.cause && { cause: SENSITIVE_STRING }))); };
|
|
@@ -398,14 +330,6 @@ export var SendTaskFailureOutput;
|
|
|
398
330
|
(function (SendTaskFailureOutput) {
|
|
399
331
|
SendTaskFailureOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
400
332
|
})(SendTaskFailureOutput || (SendTaskFailureOutput = {}));
|
|
401
|
-
export var TaskDoesNotExist;
|
|
402
|
-
(function (TaskDoesNotExist) {
|
|
403
|
-
TaskDoesNotExist.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
404
|
-
})(TaskDoesNotExist || (TaskDoesNotExist = {}));
|
|
405
|
-
export var TaskTimedOut;
|
|
406
|
-
(function (TaskTimedOut) {
|
|
407
|
-
TaskTimedOut.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
408
|
-
})(TaskTimedOut || (TaskTimedOut = {}));
|
|
409
333
|
export var SendTaskHeartbeatInput;
|
|
410
334
|
(function (SendTaskHeartbeatInput) {
|
|
411
335
|
SendTaskHeartbeatInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -414,10 +338,6 @@ export var SendTaskHeartbeatOutput;
|
|
|
414
338
|
(function (SendTaskHeartbeatOutput) {
|
|
415
339
|
SendTaskHeartbeatOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
416
340
|
})(SendTaskHeartbeatOutput || (SendTaskHeartbeatOutput = {}));
|
|
417
|
-
export var InvalidOutput;
|
|
418
|
-
(function (InvalidOutput) {
|
|
419
|
-
InvalidOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
420
|
-
})(InvalidOutput || (InvalidOutput = {}));
|
|
421
341
|
export var SendTaskSuccessInput;
|
|
422
342
|
(function (SendTaskSuccessInput) {
|
|
423
343
|
SendTaskSuccessInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.output && { output: SENSITIVE_STRING }))); };
|
|
@@ -426,18 +346,6 @@ export var SendTaskSuccessOutput;
|
|
|
426
346
|
(function (SendTaskSuccessOutput) {
|
|
427
347
|
SendTaskSuccessOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
428
348
|
})(SendTaskSuccessOutput || (SendTaskSuccessOutput = {}));
|
|
429
|
-
export var ExecutionAlreadyExists;
|
|
430
|
-
(function (ExecutionAlreadyExists) {
|
|
431
|
-
ExecutionAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
432
|
-
})(ExecutionAlreadyExists || (ExecutionAlreadyExists = {}));
|
|
433
|
-
export var ExecutionLimitExceeded;
|
|
434
|
-
(function (ExecutionLimitExceeded) {
|
|
435
|
-
ExecutionLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
436
|
-
})(ExecutionLimitExceeded || (ExecutionLimitExceeded = {}));
|
|
437
|
-
export var InvalidExecutionInput;
|
|
438
|
-
(function (InvalidExecutionInput) {
|
|
439
|
-
InvalidExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
440
|
-
})(InvalidExecutionInput || (InvalidExecutionInput = {}));
|
|
441
349
|
export var StartExecutionInput;
|
|
442
350
|
(function (StartExecutionInput) {
|
|
443
351
|
StartExecutionInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.input && { input: SENSITIVE_STRING }))); };
|
|
@@ -482,10 +390,6 @@ export var UntagResourceOutput;
|
|
|
482
390
|
(function (UntagResourceOutput) {
|
|
483
391
|
UntagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
484
392
|
})(UntagResourceOutput || (UntagResourceOutput = {}));
|
|
485
|
-
export var MissingRequiredParameter;
|
|
486
|
-
(function (MissingRequiredParameter) {
|
|
487
|
-
MissingRequiredParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
488
|
-
})(MissingRequiredParameter || (MissingRequiredParameter = {}));
|
|
489
393
|
export var UpdateStateMachineInput;
|
|
490
394
|
(function (UpdateStateMachineInput) {
|
|
491
395
|
UpdateStateMachineInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.definition && { definition: SENSITIVE_STRING }))); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateActivityCommandInput, CreateActivityCommandOutput } from "./commands/CreateActivityCommand";
|
|
10
10
|
import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "./commands/CreateStateMachineCommand";
|
|
@@ -131,6 +131,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
131
131
|
* @internal
|
|
132
132
|
*/
|
|
133
133
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
134
|
+
/**
|
|
135
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
136
|
+
*/
|
|
137
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
134
138
|
}
|
|
135
139
|
declare type SFNClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
136
140
|
/**
|
|
@@ -7,12 +7,6 @@ export interface ActivityDoesNotExist extends __SmithyException, $MetadataBearer
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace ActivityDoesNotExist {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: ActivityDoesNotExist) => any;
|
|
15
|
-
}
|
|
16
10
|
/**
|
|
17
11
|
* <p>Contains details about an activity that failed during an execution.</p>
|
|
18
12
|
*/
|
|
@@ -41,12 +35,6 @@ export interface ActivityLimitExceeded extends __SmithyException, $MetadataBeare
|
|
|
41
35
|
$fault: "client";
|
|
42
36
|
message?: string;
|
|
43
37
|
}
|
|
44
|
-
export declare namespace ActivityLimitExceeded {
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
const filterSensitiveLog: (obj: ActivityLimitExceeded) => any;
|
|
49
|
-
}
|
|
50
38
|
/**
|
|
51
39
|
* <p>Contains details about an activity.</p>
|
|
52
40
|
*/
|
|
@@ -223,12 +211,6 @@ export interface ActivityWorkerLimitExceeded extends __SmithyException, $Metadat
|
|
|
223
211
|
$fault: "client";
|
|
224
212
|
message?: string;
|
|
225
213
|
}
|
|
226
|
-
export declare namespace ActivityWorkerLimitExceeded {
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
|
-
const filterSensitiveLog: (obj: ActivityWorkerLimitExceeded) => any;
|
|
231
|
-
}
|
|
232
214
|
/**
|
|
233
215
|
* <p>Tags are key-value pairs that can be associated with Step Functions state machines and
|
|
234
216
|
* activities.</p>
|
|
@@ -323,12 +305,6 @@ export interface InvalidName extends __SmithyException, $MetadataBearer {
|
|
|
323
305
|
$fault: "client";
|
|
324
306
|
message?: string;
|
|
325
307
|
}
|
|
326
|
-
export declare namespace InvalidName {
|
|
327
|
-
/**
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
|
-
const filterSensitiveLog: (obj: InvalidName) => any;
|
|
331
|
-
}
|
|
332
308
|
/**
|
|
333
309
|
* <p>You've exceeded the number of tags allowed for a resource. See the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html"> Limits Topic</a> in the
|
|
334
310
|
* AWS Step Functions Developer Guide.</p>
|
|
@@ -339,12 +315,6 @@ export interface TooManyTags extends __SmithyException, $MetadataBearer {
|
|
|
339
315
|
message?: string;
|
|
340
316
|
resourceName?: string;
|
|
341
317
|
}
|
|
342
|
-
export declare namespace TooManyTags {
|
|
343
|
-
/**
|
|
344
|
-
* @internal
|
|
345
|
-
*/
|
|
346
|
-
const filterSensitiveLog: (obj: TooManyTags) => any;
|
|
347
|
-
}
|
|
348
318
|
/**
|
|
349
319
|
* <p></p>
|
|
350
320
|
*/
|
|
@@ -515,12 +485,6 @@ export interface InvalidArn extends __SmithyException, $MetadataBearer {
|
|
|
515
485
|
$fault: "client";
|
|
516
486
|
message?: string;
|
|
517
487
|
}
|
|
518
|
-
export declare namespace InvalidArn {
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
*/
|
|
522
|
-
const filterSensitiveLog: (obj: InvalidArn) => any;
|
|
523
|
-
}
|
|
524
488
|
/**
|
|
525
489
|
* <p>The provided Amazon States Language definition is invalid.</p>
|
|
526
490
|
*/
|
|
@@ -529,12 +493,6 @@ export interface InvalidDefinition extends __SmithyException, $MetadataBearer {
|
|
|
529
493
|
$fault: "client";
|
|
530
494
|
message?: string;
|
|
531
495
|
}
|
|
532
|
-
export declare namespace InvalidDefinition {
|
|
533
|
-
/**
|
|
534
|
-
* @internal
|
|
535
|
-
*/
|
|
536
|
-
const filterSensitiveLog: (obj: InvalidDefinition) => any;
|
|
537
|
-
}
|
|
538
496
|
/**
|
|
539
497
|
* <p></p>
|
|
540
498
|
*/
|
|
@@ -543,12 +501,6 @@ export interface InvalidLoggingConfiguration extends __SmithyException, $Metadat
|
|
|
543
501
|
$fault: "client";
|
|
544
502
|
message?: string;
|
|
545
503
|
}
|
|
546
|
-
export declare namespace InvalidLoggingConfiguration {
|
|
547
|
-
/**
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
550
|
-
const filterSensitiveLog: (obj: InvalidLoggingConfiguration) => any;
|
|
551
|
-
}
|
|
552
504
|
/**
|
|
553
505
|
* <p>Your <code>tracingConfiguration</code> key does not match, or <code>enabled</code> has not been set to <code>true</code> or <code>false</code>.</p>
|
|
554
506
|
*/
|
|
@@ -557,12 +509,6 @@ export interface InvalidTracingConfiguration extends __SmithyException, $Metadat
|
|
|
557
509
|
$fault: "client";
|
|
558
510
|
message?: string;
|
|
559
511
|
}
|
|
560
|
-
export declare namespace InvalidTracingConfiguration {
|
|
561
|
-
/**
|
|
562
|
-
* @internal
|
|
563
|
-
*/
|
|
564
|
-
const filterSensitiveLog: (obj: InvalidTracingConfiguration) => any;
|
|
565
|
-
}
|
|
566
512
|
/**
|
|
567
513
|
* <p>A state machine with the same name but a different definition or role ARN already
|
|
568
514
|
* exists.</p>
|
|
@@ -572,12 +518,6 @@ export interface StateMachineAlreadyExists extends __SmithyException, $MetadataB
|
|
|
572
518
|
$fault: "client";
|
|
573
519
|
message?: string;
|
|
574
520
|
}
|
|
575
|
-
export declare namespace StateMachineAlreadyExists {
|
|
576
|
-
/**
|
|
577
|
-
* @internal
|
|
578
|
-
*/
|
|
579
|
-
const filterSensitiveLog: (obj: StateMachineAlreadyExists) => any;
|
|
580
|
-
}
|
|
581
521
|
/**
|
|
582
522
|
* <p>The specified state machine is being deleted.</p>
|
|
583
523
|
*/
|
|
@@ -586,12 +526,6 @@ export interface StateMachineDeleting extends __SmithyException, $MetadataBearer
|
|
|
586
526
|
$fault: "client";
|
|
587
527
|
message?: string;
|
|
588
528
|
}
|
|
589
|
-
export declare namespace StateMachineDeleting {
|
|
590
|
-
/**
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
593
|
-
const filterSensitiveLog: (obj: StateMachineDeleting) => any;
|
|
594
|
-
}
|
|
595
529
|
/**
|
|
596
530
|
* <p>The maximum number of state machines has been reached. Existing state machines must be
|
|
597
531
|
* deleted before a new state machine can be created.</p>
|
|
@@ -601,12 +535,6 @@ export interface StateMachineLimitExceeded extends __SmithyException, $MetadataB
|
|
|
601
535
|
$fault: "client";
|
|
602
536
|
message?: string;
|
|
603
537
|
}
|
|
604
|
-
export declare namespace StateMachineLimitExceeded {
|
|
605
|
-
/**
|
|
606
|
-
* @internal
|
|
607
|
-
*/
|
|
608
|
-
const filterSensitiveLog: (obj: StateMachineLimitExceeded) => any;
|
|
609
|
-
}
|
|
610
538
|
/**
|
|
611
539
|
* <p></p>
|
|
612
540
|
*/
|
|
@@ -615,12 +543,6 @@ export interface StateMachineTypeNotSupported extends __SmithyException, $Metada
|
|
|
615
543
|
$fault: "client";
|
|
616
544
|
message?: string;
|
|
617
545
|
}
|
|
618
|
-
export declare namespace StateMachineTypeNotSupported {
|
|
619
|
-
/**
|
|
620
|
-
* @internal
|
|
621
|
-
*/
|
|
622
|
-
const filterSensitiveLog: (obj: StateMachineTypeNotSupported) => any;
|
|
623
|
-
}
|
|
624
546
|
export interface DeleteActivityInput {
|
|
625
547
|
/**
|
|
626
548
|
* <p>The Amazon Resource Name (ARN) of the activity to delete.</p>
|
|
@@ -830,12 +752,6 @@ export interface ExecutionDoesNotExist extends __SmithyException, $MetadataBeare
|
|
|
830
752
|
$fault: "client";
|
|
831
753
|
message?: string;
|
|
832
754
|
}
|
|
833
|
-
export declare namespace ExecutionDoesNotExist {
|
|
834
|
-
/**
|
|
835
|
-
* @internal
|
|
836
|
-
*/
|
|
837
|
-
const filterSensitiveLog: (obj: ExecutionDoesNotExist) => any;
|
|
838
|
-
}
|
|
839
755
|
export interface DescribeStateMachineInput {
|
|
840
756
|
/**
|
|
841
757
|
* <p>The Amazon Resource Name (ARN) of the state machine to describe.</p>
|
|
@@ -926,12 +842,6 @@ export interface StateMachineDoesNotExist extends __SmithyException, $MetadataBe
|
|
|
926
842
|
$fault: "client";
|
|
927
843
|
message?: string;
|
|
928
844
|
}
|
|
929
|
-
export declare namespace StateMachineDoesNotExist {
|
|
930
|
-
/**
|
|
931
|
-
* @internal
|
|
932
|
-
*/
|
|
933
|
-
const filterSensitiveLog: (obj: StateMachineDoesNotExist) => any;
|
|
934
|
-
}
|
|
935
845
|
export interface DescribeStateMachineForExecutionInput {
|
|
936
846
|
/**
|
|
937
847
|
* <p>The Amazon Resource Name (ARN) of the execution you want state machine information for.</p>
|
|
@@ -1778,12 +1688,6 @@ export interface InvalidToken extends __SmithyException, $MetadataBearer {
|
|
|
1778
1688
|
$fault: "client";
|
|
1779
1689
|
message?: string;
|
|
1780
1690
|
}
|
|
1781
|
-
export declare namespace InvalidToken {
|
|
1782
|
-
/**
|
|
1783
|
-
* @internal
|
|
1784
|
-
*/
|
|
1785
|
-
const filterSensitiveLog: (obj: InvalidToken) => any;
|
|
1786
|
-
}
|
|
1787
1691
|
export interface ListActivitiesInput {
|
|
1788
1692
|
/**
|
|
1789
1693
|
* <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
|
|
@@ -2038,12 +1942,6 @@ export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
|
|
|
2038
1942
|
message?: string;
|
|
2039
1943
|
resourceName?: string;
|
|
2040
1944
|
}
|
|
2041
|
-
export declare namespace ResourceNotFound {
|
|
2042
|
-
/**
|
|
2043
|
-
* @internal
|
|
2044
|
-
*/
|
|
2045
|
-
const filterSensitiveLog: (obj: ResourceNotFound) => any;
|
|
2046
|
-
}
|
|
2047
1945
|
export interface SendTaskFailureInput {
|
|
2048
1946
|
/**
|
|
2049
1947
|
* <p>The token that represents this task. Task tokens are generated by Step Functions when
|
|
@@ -2079,23 +1977,11 @@ export interface TaskDoesNotExist extends __SmithyException, $MetadataBearer {
|
|
|
2079
1977
|
$fault: "client";
|
|
2080
1978
|
message?: string;
|
|
2081
1979
|
}
|
|
2082
|
-
export declare namespace TaskDoesNotExist {
|
|
2083
|
-
/**
|
|
2084
|
-
* @internal
|
|
2085
|
-
*/
|
|
2086
|
-
const filterSensitiveLog: (obj: TaskDoesNotExist) => any;
|
|
2087
|
-
}
|
|
2088
1980
|
export interface TaskTimedOut extends __SmithyException, $MetadataBearer {
|
|
2089
1981
|
name: "TaskTimedOut";
|
|
2090
1982
|
$fault: "client";
|
|
2091
1983
|
message?: string;
|
|
2092
1984
|
}
|
|
2093
|
-
export declare namespace TaskTimedOut {
|
|
2094
|
-
/**
|
|
2095
|
-
* @internal
|
|
2096
|
-
*/
|
|
2097
|
-
const filterSensitiveLog: (obj: TaskTimedOut) => any;
|
|
2098
|
-
}
|
|
2099
1985
|
export interface SendTaskHeartbeatInput {
|
|
2100
1986
|
/**
|
|
2101
1987
|
* <p>The token that represents this task. Task tokens are generated by Step Functions when
|
|
@@ -2126,12 +2012,6 @@ export interface InvalidOutput extends __SmithyException, $MetadataBearer {
|
|
|
2126
2012
|
$fault: "client";
|
|
2127
2013
|
message?: string;
|
|
2128
2014
|
}
|
|
2129
|
-
export declare namespace InvalidOutput {
|
|
2130
|
-
/**
|
|
2131
|
-
* @internal
|
|
2132
|
-
*/
|
|
2133
|
-
const filterSensitiveLog: (obj: InvalidOutput) => any;
|
|
2134
|
-
}
|
|
2135
2015
|
export interface SendTaskSuccessInput {
|
|
2136
2016
|
/**
|
|
2137
2017
|
* <p>The token that represents this task. Task tokens are generated by Step Functions when
|
|
@@ -2171,12 +2051,6 @@ export interface ExecutionAlreadyExists extends __SmithyException, $MetadataBear
|
|
|
2171
2051
|
$fault: "client";
|
|
2172
2052
|
message?: string;
|
|
2173
2053
|
}
|
|
2174
|
-
export declare namespace ExecutionAlreadyExists {
|
|
2175
|
-
/**
|
|
2176
|
-
* @internal
|
|
2177
|
-
*/
|
|
2178
|
-
const filterSensitiveLog: (obj: ExecutionAlreadyExists) => any;
|
|
2179
|
-
}
|
|
2180
2054
|
/**
|
|
2181
2055
|
* <p>The maximum number of running executions has been reached. Running executions must end or
|
|
2182
2056
|
* be stopped before a new execution can be started.</p>
|
|
@@ -2186,12 +2060,6 @@ export interface ExecutionLimitExceeded extends __SmithyException, $MetadataBear
|
|
|
2186
2060
|
$fault: "client";
|
|
2187
2061
|
message?: string;
|
|
2188
2062
|
}
|
|
2189
|
-
export declare namespace ExecutionLimitExceeded {
|
|
2190
|
-
/**
|
|
2191
|
-
* @internal
|
|
2192
|
-
*/
|
|
2193
|
-
const filterSensitiveLog: (obj: ExecutionLimitExceeded) => any;
|
|
2194
|
-
}
|
|
2195
2063
|
/**
|
|
2196
2064
|
* <p>The provided JSON input data is invalid.</p>
|
|
2197
2065
|
*/
|
|
@@ -2200,12 +2068,6 @@ export interface InvalidExecutionInput extends __SmithyException, $MetadataBeare
|
|
|
2200
2068
|
$fault: "client";
|
|
2201
2069
|
message?: string;
|
|
2202
2070
|
}
|
|
2203
|
-
export declare namespace InvalidExecutionInput {
|
|
2204
|
-
/**
|
|
2205
|
-
* @internal
|
|
2206
|
-
*/
|
|
2207
|
-
const filterSensitiveLog: (obj: InvalidExecutionInput) => any;
|
|
2208
|
-
}
|
|
2209
2071
|
export interface StartExecutionInput {
|
|
2210
2072
|
/**
|
|
2211
2073
|
* <p>The Amazon Resource Name (ARN) of the state machine to execute.</p>
|
|
@@ -2491,12 +2353,6 @@ export interface MissingRequiredParameter extends __SmithyException, $MetadataBe
|
|
|
2491
2353
|
$fault: "client";
|
|
2492
2354
|
message?: string;
|
|
2493
2355
|
}
|
|
2494
|
-
export declare namespace MissingRequiredParameter {
|
|
2495
|
-
/**
|
|
2496
|
-
* @internal
|
|
2497
|
-
*/
|
|
2498
|
-
const filterSensitiveLog: (obj: MissingRequiredParameter) => any;
|
|
2499
|
-
}
|
|
2500
2356
|
export interface UpdateStateMachineInput {
|
|
2501
2357
|
/**
|
|
2502
2358
|
* <p>The Amazon Resource Name (ARN) of the state machine.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { SFNClientConfig } from "./SFNClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SFNClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { SFNClientConfig } from "./SFNClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SFNClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|