@aws-sdk/client-sfn 3.46.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 +11 -0
- package/dist-cjs/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +2 -147
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +0 -96
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- 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 +34 -34
|
@@ -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,19 +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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
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 });
|
|
19
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;
|
|
@@ -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";
|
|
@@ -74,6 +74,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
74
74
|
regionInfoProvider?: RegionInfoProvider;
|
|
75
75
|
|
|
76
76
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
77
|
+
|
|
78
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
77
79
|
}
|
|
78
80
|
declare type SFNClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
79
81
|
|