@aws-sdk/client-sfn 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +31 -30
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +92 -93
- package/dist-cjs/models/SFNServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/SFN.js +1 -1
- package/dist-es/SFNClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateActivityCommand.js +2 -2
- package/dist-es/commands/CreateStateMachineAliasCommand.js +2 -2
- package/dist-es/commands/CreateStateMachineCommand.js +2 -2
- package/dist-es/commands/DeleteActivityCommand.js +2 -2
- package/dist-es/commands/DeleteStateMachineAliasCommand.js +2 -2
- package/dist-es/commands/DeleteStateMachineCommand.js +2 -2
- package/dist-es/commands/DeleteStateMachineVersionCommand.js +2 -2
- package/dist-es/commands/DescribeActivityCommand.js +2 -2
- package/dist-es/commands/DescribeExecutionCommand.js +2 -2
- package/dist-es/commands/DescribeMapRunCommand.js +2 -2
- package/dist-es/commands/DescribeStateMachineAliasCommand.js +2 -2
- package/dist-es/commands/DescribeStateMachineCommand.js +2 -2
- package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +2 -2
- package/dist-es/commands/GetActivityTaskCommand.js +2 -2
- package/dist-es/commands/GetExecutionHistoryCommand.js +2 -2
- package/dist-es/commands/ListActivitiesCommand.js +2 -2
- package/dist-es/commands/ListExecutionsCommand.js +2 -2
- package/dist-es/commands/ListMapRunsCommand.js +2 -2
- package/dist-es/commands/ListStateMachineAliasesCommand.js +2 -2
- package/dist-es/commands/ListStateMachineVersionsCommand.js +2 -2
- package/dist-es/commands/ListStateMachinesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PublishStateMachineVersionCommand.js +2 -2
- package/dist-es/commands/RedriveExecutionCommand.js +2 -2
- package/dist-es/commands/SendTaskFailureCommand.js +2 -2
- package/dist-es/commands/SendTaskHeartbeatCommand.js +2 -2
- package/dist-es/commands/SendTaskSuccessCommand.js +2 -2
- package/dist-es/commands/StartExecutionCommand.js +2 -2
- package/dist-es/commands/StartSyncExecutionCommand.js +2 -2
- package/dist-es/commands/StopExecutionCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestStateCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateMapRunCommand.js +2 -2
- package/dist-es/commands/UpdateStateMachineAliasCommand.js +2 -2
- package/dist-es/commands/UpdateStateMachineCommand.js +2 -2
- package/dist-es/commands/ValidateStateMachineDefinitionCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +30 -29
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SFNServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/SFNClient.d.ts +5 -5
- package/dist-types/commands/CreateActivityCommand.d.ts +6 -4
- package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/commands/CreateStateMachineCommand.d.ts +6 -4
- package/dist-types/commands/DeleteActivityCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeActivityCommand.d.ts +6 -4
- package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeMapRunCommand.d.ts +6 -4
- package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +6 -4
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +6 -4
- package/dist-types/commands/GetActivityTaskCommand.d.ts +6 -4
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +6 -4
- package/dist-types/commands/ListActivitiesCommand.d.ts +6 -4
- package/dist-types/commands/ListExecutionsCommand.d.ts +6 -4
- package/dist-types/commands/ListMapRunsCommand.d.ts +6 -4
- package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +6 -4
- package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +6 -4
- package/dist-types/commands/ListStateMachinesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +6 -4
- package/dist-types/commands/RedriveExecutionCommand.d.ts +6 -4
- package/dist-types/commands/SendTaskFailureCommand.d.ts +6 -4
- package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +6 -4
- package/dist-types/commands/SendTaskSuccessCommand.d.ts +6 -4
- package/dist-types/commands/StartExecutionCommand.d.ts +6 -4
- package/dist-types/commands/StartSyncExecutionCommand.d.ts +6 -4
- package/dist-types/commands/StopExecutionCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/TestStateCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateMapRunCommand.d.ts +6 -4
- package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -4
- package/dist-types/commands/ValidateStateMachineDefinitionCommand.d.ts +6 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SFNServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/SFNClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TestStateCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ValidateStateMachineDefinitionCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SFNServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
package/dist-cjs/index.js
CHANGED
|
@@ -4,19 +4,18 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
4
4
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
-
var configResolver = require('@smithy/config-resolver');
|
|
8
7
|
var core = require('@smithy/core');
|
|
8
|
+
var client = require('@smithy/core/client');
|
|
9
|
+
var config = require('@smithy/core/config');
|
|
10
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
11
|
+
var protocols = require('@smithy/core/protocols');
|
|
12
|
+
var retry = require('@smithy/core/retry');
|
|
9
13
|
var schema = require('@smithy/core/schema');
|
|
10
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
17
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
-
var client = require('@aws-sdk/core/client');
|
|
18
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
20
19
|
var errors = require('./models/errors');
|
|
21
20
|
var SFNServiceException = require('./models/SFNServiceException');
|
|
22
21
|
|
|
@@ -74,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
74
73
|
};
|
|
75
74
|
|
|
76
75
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
77
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
76
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
78
77
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
79
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
78
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
80
79
|
};
|
|
81
80
|
|
|
82
|
-
class SFNClient extends
|
|
81
|
+
class SFNClient extends client.Client {
|
|
83
82
|
config;
|
|
84
83
|
constructor(...[configuration]) {
|
|
85
84
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -87,17 +86,17 @@ class SFNClient extends smithyClient.Client {
|
|
|
87
86
|
this.initConfig = _config_0;
|
|
88
87
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
89
88
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
90
|
-
const _config_3 =
|
|
91
|
-
const _config_4 =
|
|
89
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
90
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
92
91
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
93
|
-
const _config_6 =
|
|
92
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
94
93
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
95
94
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
96
95
|
this.config = _config_8;
|
|
97
96
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
98
97
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
98
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
101
100
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
102
101
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
103
102
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -114,11 +113,11 @@ class SFNClient extends smithyClient.Client {
|
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
|
|
117
|
-
class CreateActivityCommand extends
|
|
116
|
+
class CreateActivityCommand extends client.Command
|
|
118
117
|
.classBuilder()
|
|
119
118
|
.ep(commonParams)
|
|
120
119
|
.m(function (Command, cs, config, o) {
|
|
121
|
-
return [
|
|
120
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
122
121
|
})
|
|
123
122
|
.s("AWSStepFunctions", "CreateActivity", {})
|
|
124
123
|
.n("SFNClient", "CreateActivityCommand")
|
|
@@ -126,11 +125,11 @@ class CreateActivityCommand extends smithyClient.Command
|
|
|
126
125
|
.build() {
|
|
127
126
|
}
|
|
128
127
|
|
|
129
|
-
class CreateStateMachineAliasCommand extends
|
|
128
|
+
class CreateStateMachineAliasCommand extends client.Command
|
|
130
129
|
.classBuilder()
|
|
131
130
|
.ep(commonParams)
|
|
132
131
|
.m(function (Command, cs, config, o) {
|
|
133
|
-
return [
|
|
132
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
133
|
})
|
|
135
134
|
.s("AWSStepFunctions", "CreateStateMachineAlias", {})
|
|
136
135
|
.n("SFNClient", "CreateStateMachineAliasCommand")
|
|
@@ -138,11 +137,11 @@ class CreateStateMachineAliasCommand extends smithyClient.Command
|
|
|
138
137
|
.build() {
|
|
139
138
|
}
|
|
140
139
|
|
|
141
|
-
class CreateStateMachineCommand extends
|
|
140
|
+
class CreateStateMachineCommand extends client.Command
|
|
142
141
|
.classBuilder()
|
|
143
142
|
.ep(commonParams)
|
|
144
143
|
.m(function (Command, cs, config, o) {
|
|
145
|
-
return [
|
|
144
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
146
145
|
})
|
|
147
146
|
.s("AWSStepFunctions", "CreateStateMachine", {})
|
|
148
147
|
.n("SFNClient", "CreateStateMachineCommand")
|
|
@@ -150,11 +149,11 @@ class CreateStateMachineCommand extends smithyClient.Command
|
|
|
150
149
|
.build() {
|
|
151
150
|
}
|
|
152
151
|
|
|
153
|
-
class DeleteActivityCommand extends
|
|
152
|
+
class DeleteActivityCommand extends client.Command
|
|
154
153
|
.classBuilder()
|
|
155
154
|
.ep(commonParams)
|
|
156
155
|
.m(function (Command, cs, config, o) {
|
|
157
|
-
return [
|
|
156
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
158
157
|
})
|
|
159
158
|
.s("AWSStepFunctions", "DeleteActivity", {})
|
|
160
159
|
.n("SFNClient", "DeleteActivityCommand")
|
|
@@ -162,11 +161,11 @@ class DeleteActivityCommand extends smithyClient.Command
|
|
|
162
161
|
.build() {
|
|
163
162
|
}
|
|
164
163
|
|
|
165
|
-
class DeleteStateMachineAliasCommand extends
|
|
164
|
+
class DeleteStateMachineAliasCommand extends client.Command
|
|
166
165
|
.classBuilder()
|
|
167
166
|
.ep(commonParams)
|
|
168
167
|
.m(function (Command, cs, config, o) {
|
|
169
|
-
return [
|
|
168
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
170
169
|
})
|
|
171
170
|
.s("AWSStepFunctions", "DeleteStateMachineAlias", {})
|
|
172
171
|
.n("SFNClient", "DeleteStateMachineAliasCommand")
|
|
@@ -174,11 +173,11 @@ class DeleteStateMachineAliasCommand extends smithyClient.Command
|
|
|
174
173
|
.build() {
|
|
175
174
|
}
|
|
176
175
|
|
|
177
|
-
class DeleteStateMachineCommand extends
|
|
176
|
+
class DeleteStateMachineCommand extends client.Command
|
|
178
177
|
.classBuilder()
|
|
179
178
|
.ep(commonParams)
|
|
180
179
|
.m(function (Command, cs, config, o) {
|
|
181
|
-
return [
|
|
180
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
182
181
|
})
|
|
183
182
|
.s("AWSStepFunctions", "DeleteStateMachine", {})
|
|
184
183
|
.n("SFNClient", "DeleteStateMachineCommand")
|
|
@@ -186,11 +185,11 @@ class DeleteStateMachineCommand extends smithyClient.Command
|
|
|
186
185
|
.build() {
|
|
187
186
|
}
|
|
188
187
|
|
|
189
|
-
class DeleteStateMachineVersionCommand extends
|
|
188
|
+
class DeleteStateMachineVersionCommand extends client.Command
|
|
190
189
|
.classBuilder()
|
|
191
190
|
.ep(commonParams)
|
|
192
191
|
.m(function (Command, cs, config, o) {
|
|
193
|
-
return [
|
|
192
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
194
193
|
})
|
|
195
194
|
.s("AWSStepFunctions", "DeleteStateMachineVersion", {})
|
|
196
195
|
.n("SFNClient", "DeleteStateMachineVersionCommand")
|
|
@@ -198,11 +197,11 @@ class DeleteStateMachineVersionCommand extends smithyClient.Command
|
|
|
198
197
|
.build() {
|
|
199
198
|
}
|
|
200
199
|
|
|
201
|
-
class DescribeActivityCommand extends
|
|
200
|
+
class DescribeActivityCommand extends client.Command
|
|
202
201
|
.classBuilder()
|
|
203
202
|
.ep(commonParams)
|
|
204
203
|
.m(function (Command, cs, config, o) {
|
|
205
|
-
return [
|
|
204
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
206
205
|
})
|
|
207
206
|
.s("AWSStepFunctions", "DescribeActivity", {})
|
|
208
207
|
.n("SFNClient", "DescribeActivityCommand")
|
|
@@ -210,11 +209,11 @@ class DescribeActivityCommand extends smithyClient.Command
|
|
|
210
209
|
.build() {
|
|
211
210
|
}
|
|
212
211
|
|
|
213
|
-
class DescribeExecutionCommand extends
|
|
212
|
+
class DescribeExecutionCommand extends client.Command
|
|
214
213
|
.classBuilder()
|
|
215
214
|
.ep(commonParams)
|
|
216
215
|
.m(function (Command, cs, config, o) {
|
|
217
|
-
return [
|
|
216
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
218
217
|
})
|
|
219
218
|
.s("AWSStepFunctions", "DescribeExecution", {})
|
|
220
219
|
.n("SFNClient", "DescribeExecutionCommand")
|
|
@@ -222,11 +221,11 @@ class DescribeExecutionCommand extends smithyClient.Command
|
|
|
222
221
|
.build() {
|
|
223
222
|
}
|
|
224
223
|
|
|
225
|
-
class DescribeMapRunCommand extends
|
|
224
|
+
class DescribeMapRunCommand extends client.Command
|
|
226
225
|
.classBuilder()
|
|
227
226
|
.ep(commonParams)
|
|
228
227
|
.m(function (Command, cs, config, o) {
|
|
229
|
-
return [
|
|
228
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
230
229
|
})
|
|
231
230
|
.s("AWSStepFunctions", "DescribeMapRun", {})
|
|
232
231
|
.n("SFNClient", "DescribeMapRunCommand")
|
|
@@ -234,11 +233,11 @@ class DescribeMapRunCommand extends smithyClient.Command
|
|
|
234
233
|
.build() {
|
|
235
234
|
}
|
|
236
235
|
|
|
237
|
-
class DescribeStateMachineAliasCommand extends
|
|
236
|
+
class DescribeStateMachineAliasCommand extends client.Command
|
|
238
237
|
.classBuilder()
|
|
239
238
|
.ep(commonParams)
|
|
240
239
|
.m(function (Command, cs, config, o) {
|
|
241
|
-
return [
|
|
240
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
242
241
|
})
|
|
243
242
|
.s("AWSStepFunctions", "DescribeStateMachineAlias", {})
|
|
244
243
|
.n("SFNClient", "DescribeStateMachineAliasCommand")
|
|
@@ -246,11 +245,11 @@ class DescribeStateMachineAliasCommand extends smithyClient.Command
|
|
|
246
245
|
.build() {
|
|
247
246
|
}
|
|
248
247
|
|
|
249
|
-
class DescribeStateMachineCommand extends
|
|
248
|
+
class DescribeStateMachineCommand extends client.Command
|
|
250
249
|
.classBuilder()
|
|
251
250
|
.ep(commonParams)
|
|
252
251
|
.m(function (Command, cs, config, o) {
|
|
253
|
-
return [
|
|
252
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
254
253
|
})
|
|
255
254
|
.s("AWSStepFunctions", "DescribeStateMachine", {})
|
|
256
255
|
.n("SFNClient", "DescribeStateMachineCommand")
|
|
@@ -258,11 +257,11 @@ class DescribeStateMachineCommand extends smithyClient.Command
|
|
|
258
257
|
.build() {
|
|
259
258
|
}
|
|
260
259
|
|
|
261
|
-
class DescribeStateMachineForExecutionCommand extends
|
|
260
|
+
class DescribeStateMachineForExecutionCommand extends client.Command
|
|
262
261
|
.classBuilder()
|
|
263
262
|
.ep(commonParams)
|
|
264
263
|
.m(function (Command, cs, config, o) {
|
|
265
|
-
return [
|
|
264
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
266
265
|
})
|
|
267
266
|
.s("AWSStepFunctions", "DescribeStateMachineForExecution", {})
|
|
268
267
|
.n("SFNClient", "DescribeStateMachineForExecutionCommand")
|
|
@@ -270,13 +269,13 @@ class DescribeStateMachineForExecutionCommand extends smithyClient.Command
|
|
|
270
269
|
.build() {
|
|
271
270
|
}
|
|
272
271
|
|
|
273
|
-
class GetActivityTaskCommand extends
|
|
272
|
+
class GetActivityTaskCommand extends client.Command
|
|
274
273
|
.classBuilder()
|
|
275
274
|
.ep(commonParams)
|
|
276
275
|
.m(function (Command, cs, config, o) {
|
|
277
276
|
return [
|
|
278
|
-
|
|
279
|
-
client.getLongPollPlugin(config),
|
|
277
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
278
|
+
client$1.getLongPollPlugin(config),
|
|
280
279
|
];
|
|
281
280
|
})
|
|
282
281
|
.s("AWSStepFunctions", "GetActivityTask", {})
|
|
@@ -285,11 +284,11 @@ class GetActivityTaskCommand extends smithyClient.Command
|
|
|
285
284
|
.build() {
|
|
286
285
|
}
|
|
287
286
|
|
|
288
|
-
class GetExecutionHistoryCommand extends
|
|
287
|
+
class GetExecutionHistoryCommand extends client.Command
|
|
289
288
|
.classBuilder()
|
|
290
289
|
.ep(commonParams)
|
|
291
290
|
.m(function (Command, cs, config, o) {
|
|
292
|
-
return [
|
|
291
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
293
292
|
})
|
|
294
293
|
.s("AWSStepFunctions", "GetExecutionHistory", {})
|
|
295
294
|
.n("SFNClient", "GetExecutionHistoryCommand")
|
|
@@ -297,11 +296,11 @@ class GetExecutionHistoryCommand extends smithyClient.Command
|
|
|
297
296
|
.build() {
|
|
298
297
|
}
|
|
299
298
|
|
|
300
|
-
class ListActivitiesCommand extends
|
|
299
|
+
class ListActivitiesCommand extends client.Command
|
|
301
300
|
.classBuilder()
|
|
302
301
|
.ep(commonParams)
|
|
303
302
|
.m(function (Command, cs, config, o) {
|
|
304
|
-
return [
|
|
303
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
305
304
|
})
|
|
306
305
|
.s("AWSStepFunctions", "ListActivities", {})
|
|
307
306
|
.n("SFNClient", "ListActivitiesCommand")
|
|
@@ -309,11 +308,11 @@ class ListActivitiesCommand extends smithyClient.Command
|
|
|
309
308
|
.build() {
|
|
310
309
|
}
|
|
311
310
|
|
|
312
|
-
class ListExecutionsCommand extends
|
|
311
|
+
class ListExecutionsCommand extends client.Command
|
|
313
312
|
.classBuilder()
|
|
314
313
|
.ep(commonParams)
|
|
315
314
|
.m(function (Command, cs, config, o) {
|
|
316
|
-
return [
|
|
315
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
317
316
|
})
|
|
318
317
|
.s("AWSStepFunctions", "ListExecutions", {})
|
|
319
318
|
.n("SFNClient", "ListExecutionsCommand")
|
|
@@ -321,11 +320,11 @@ class ListExecutionsCommand extends smithyClient.Command
|
|
|
321
320
|
.build() {
|
|
322
321
|
}
|
|
323
322
|
|
|
324
|
-
class ListMapRunsCommand extends
|
|
323
|
+
class ListMapRunsCommand extends client.Command
|
|
325
324
|
.classBuilder()
|
|
326
325
|
.ep(commonParams)
|
|
327
326
|
.m(function (Command, cs, config, o) {
|
|
328
|
-
return [
|
|
327
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
329
328
|
})
|
|
330
329
|
.s("AWSStepFunctions", "ListMapRuns", {})
|
|
331
330
|
.n("SFNClient", "ListMapRunsCommand")
|
|
@@ -333,11 +332,11 @@ class ListMapRunsCommand extends smithyClient.Command
|
|
|
333
332
|
.build() {
|
|
334
333
|
}
|
|
335
334
|
|
|
336
|
-
class ListStateMachineAliasesCommand extends
|
|
335
|
+
class ListStateMachineAliasesCommand extends client.Command
|
|
337
336
|
.classBuilder()
|
|
338
337
|
.ep(commonParams)
|
|
339
338
|
.m(function (Command, cs, config, o) {
|
|
340
|
-
return [
|
|
339
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
341
340
|
})
|
|
342
341
|
.s("AWSStepFunctions", "ListStateMachineAliases", {})
|
|
343
342
|
.n("SFNClient", "ListStateMachineAliasesCommand")
|
|
@@ -345,11 +344,11 @@ class ListStateMachineAliasesCommand extends smithyClient.Command
|
|
|
345
344
|
.build() {
|
|
346
345
|
}
|
|
347
346
|
|
|
348
|
-
class ListStateMachinesCommand extends
|
|
347
|
+
class ListStateMachinesCommand extends client.Command
|
|
349
348
|
.classBuilder()
|
|
350
349
|
.ep(commonParams)
|
|
351
350
|
.m(function (Command, cs, config, o) {
|
|
352
|
-
return [
|
|
351
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
353
352
|
})
|
|
354
353
|
.s("AWSStepFunctions", "ListStateMachines", {})
|
|
355
354
|
.n("SFNClient", "ListStateMachinesCommand")
|
|
@@ -357,11 +356,11 @@ class ListStateMachinesCommand extends smithyClient.Command
|
|
|
357
356
|
.build() {
|
|
358
357
|
}
|
|
359
358
|
|
|
360
|
-
class ListStateMachineVersionsCommand extends
|
|
359
|
+
class ListStateMachineVersionsCommand extends client.Command
|
|
361
360
|
.classBuilder()
|
|
362
361
|
.ep(commonParams)
|
|
363
362
|
.m(function (Command, cs, config, o) {
|
|
364
|
-
return [
|
|
363
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
365
364
|
})
|
|
366
365
|
.s("AWSStepFunctions", "ListStateMachineVersions", {})
|
|
367
366
|
.n("SFNClient", "ListStateMachineVersionsCommand")
|
|
@@ -369,11 +368,11 @@ class ListStateMachineVersionsCommand extends smithyClient.Command
|
|
|
369
368
|
.build() {
|
|
370
369
|
}
|
|
371
370
|
|
|
372
|
-
class ListTagsForResourceCommand extends
|
|
371
|
+
class ListTagsForResourceCommand extends client.Command
|
|
373
372
|
.classBuilder()
|
|
374
373
|
.ep(commonParams)
|
|
375
374
|
.m(function (Command, cs, config, o) {
|
|
376
|
-
return [
|
|
375
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
377
376
|
})
|
|
378
377
|
.s("AWSStepFunctions", "ListTagsForResource", {})
|
|
379
378
|
.n("SFNClient", "ListTagsForResourceCommand")
|
|
@@ -381,11 +380,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
381
380
|
.build() {
|
|
382
381
|
}
|
|
383
382
|
|
|
384
|
-
class PublishStateMachineVersionCommand extends
|
|
383
|
+
class PublishStateMachineVersionCommand extends client.Command
|
|
385
384
|
.classBuilder()
|
|
386
385
|
.ep(commonParams)
|
|
387
386
|
.m(function (Command, cs, config, o) {
|
|
388
|
-
return [
|
|
387
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
389
388
|
})
|
|
390
389
|
.s("AWSStepFunctions", "PublishStateMachineVersion", {})
|
|
391
390
|
.n("SFNClient", "PublishStateMachineVersionCommand")
|
|
@@ -393,11 +392,11 @@ class PublishStateMachineVersionCommand extends smithyClient.Command
|
|
|
393
392
|
.build() {
|
|
394
393
|
}
|
|
395
394
|
|
|
396
|
-
class RedriveExecutionCommand extends
|
|
395
|
+
class RedriveExecutionCommand extends client.Command
|
|
397
396
|
.classBuilder()
|
|
398
397
|
.ep(commonParams)
|
|
399
398
|
.m(function (Command, cs, config, o) {
|
|
400
|
-
return [
|
|
399
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
401
400
|
})
|
|
402
401
|
.s("AWSStepFunctions", "RedriveExecution", {})
|
|
403
402
|
.n("SFNClient", "RedriveExecutionCommand")
|
|
@@ -405,11 +404,11 @@ class RedriveExecutionCommand extends smithyClient.Command
|
|
|
405
404
|
.build() {
|
|
406
405
|
}
|
|
407
406
|
|
|
408
|
-
class SendTaskFailureCommand extends
|
|
407
|
+
class SendTaskFailureCommand extends client.Command
|
|
409
408
|
.classBuilder()
|
|
410
409
|
.ep(commonParams)
|
|
411
410
|
.m(function (Command, cs, config, o) {
|
|
412
|
-
return [
|
|
411
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
413
412
|
})
|
|
414
413
|
.s("AWSStepFunctions", "SendTaskFailure", {})
|
|
415
414
|
.n("SFNClient", "SendTaskFailureCommand")
|
|
@@ -417,11 +416,11 @@ class SendTaskFailureCommand extends smithyClient.Command
|
|
|
417
416
|
.build() {
|
|
418
417
|
}
|
|
419
418
|
|
|
420
|
-
class SendTaskHeartbeatCommand extends
|
|
419
|
+
class SendTaskHeartbeatCommand extends client.Command
|
|
421
420
|
.classBuilder()
|
|
422
421
|
.ep(commonParams)
|
|
423
422
|
.m(function (Command, cs, config, o) {
|
|
424
|
-
return [
|
|
423
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
425
424
|
})
|
|
426
425
|
.s("AWSStepFunctions", "SendTaskHeartbeat", {})
|
|
427
426
|
.n("SFNClient", "SendTaskHeartbeatCommand")
|
|
@@ -429,11 +428,11 @@ class SendTaskHeartbeatCommand extends smithyClient.Command
|
|
|
429
428
|
.build() {
|
|
430
429
|
}
|
|
431
430
|
|
|
432
|
-
class SendTaskSuccessCommand extends
|
|
431
|
+
class SendTaskSuccessCommand extends client.Command
|
|
433
432
|
.classBuilder()
|
|
434
433
|
.ep(commonParams)
|
|
435
434
|
.m(function (Command, cs, config, o) {
|
|
436
|
-
return [
|
|
435
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
437
436
|
})
|
|
438
437
|
.s("AWSStepFunctions", "SendTaskSuccess", {})
|
|
439
438
|
.n("SFNClient", "SendTaskSuccessCommand")
|
|
@@ -441,11 +440,11 @@ class SendTaskSuccessCommand extends smithyClient.Command
|
|
|
441
440
|
.build() {
|
|
442
441
|
}
|
|
443
442
|
|
|
444
|
-
class StartExecutionCommand extends
|
|
443
|
+
class StartExecutionCommand extends client.Command
|
|
445
444
|
.classBuilder()
|
|
446
445
|
.ep(commonParams)
|
|
447
446
|
.m(function (Command, cs, config, o) {
|
|
448
|
-
return [
|
|
447
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
449
448
|
})
|
|
450
449
|
.s("AWSStepFunctions", "StartExecution", {})
|
|
451
450
|
.n("SFNClient", "StartExecutionCommand")
|
|
@@ -453,11 +452,11 @@ class StartExecutionCommand extends smithyClient.Command
|
|
|
453
452
|
.build() {
|
|
454
453
|
}
|
|
455
454
|
|
|
456
|
-
class StartSyncExecutionCommand extends
|
|
455
|
+
class StartSyncExecutionCommand extends client.Command
|
|
457
456
|
.classBuilder()
|
|
458
457
|
.ep(commonParams)
|
|
459
458
|
.m(function (Command, cs, config, o) {
|
|
460
|
-
return [
|
|
459
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
461
460
|
})
|
|
462
461
|
.s("AWSStepFunctions", "StartSyncExecution", {})
|
|
463
462
|
.n("SFNClient", "StartSyncExecutionCommand")
|
|
@@ -465,11 +464,11 @@ class StartSyncExecutionCommand extends smithyClient.Command
|
|
|
465
464
|
.build() {
|
|
466
465
|
}
|
|
467
466
|
|
|
468
|
-
class StopExecutionCommand extends
|
|
467
|
+
class StopExecutionCommand extends client.Command
|
|
469
468
|
.classBuilder()
|
|
470
469
|
.ep(commonParams)
|
|
471
470
|
.m(function (Command, cs, config, o) {
|
|
472
|
-
return [
|
|
471
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
473
472
|
})
|
|
474
473
|
.s("AWSStepFunctions", "StopExecution", {})
|
|
475
474
|
.n("SFNClient", "StopExecutionCommand")
|
|
@@ -477,11 +476,11 @@ class StopExecutionCommand extends smithyClient.Command
|
|
|
477
476
|
.build() {
|
|
478
477
|
}
|
|
479
478
|
|
|
480
|
-
class TagResourceCommand extends
|
|
479
|
+
class TagResourceCommand extends client.Command
|
|
481
480
|
.classBuilder()
|
|
482
481
|
.ep(commonParams)
|
|
483
482
|
.m(function (Command, cs, config, o) {
|
|
484
|
-
return [
|
|
483
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
485
484
|
})
|
|
486
485
|
.s("AWSStepFunctions", "TagResource", {})
|
|
487
486
|
.n("SFNClient", "TagResourceCommand")
|
|
@@ -489,11 +488,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
489
488
|
.build() {
|
|
490
489
|
}
|
|
491
490
|
|
|
492
|
-
class TestStateCommand extends
|
|
491
|
+
class TestStateCommand extends client.Command
|
|
493
492
|
.classBuilder()
|
|
494
493
|
.ep(commonParams)
|
|
495
494
|
.m(function (Command, cs, config, o) {
|
|
496
|
-
return [
|
|
495
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
497
496
|
})
|
|
498
497
|
.s("AWSStepFunctions", "TestState", {})
|
|
499
498
|
.n("SFNClient", "TestStateCommand")
|
|
@@ -501,11 +500,11 @@ class TestStateCommand extends smithyClient.Command
|
|
|
501
500
|
.build() {
|
|
502
501
|
}
|
|
503
502
|
|
|
504
|
-
class UntagResourceCommand extends
|
|
503
|
+
class UntagResourceCommand extends client.Command
|
|
505
504
|
.classBuilder()
|
|
506
505
|
.ep(commonParams)
|
|
507
506
|
.m(function (Command, cs, config, o) {
|
|
508
|
-
return [
|
|
507
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
509
508
|
})
|
|
510
509
|
.s("AWSStepFunctions", "UntagResource", {})
|
|
511
510
|
.n("SFNClient", "UntagResourceCommand")
|
|
@@ -513,11 +512,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
513
512
|
.build() {
|
|
514
513
|
}
|
|
515
514
|
|
|
516
|
-
class UpdateMapRunCommand extends
|
|
515
|
+
class UpdateMapRunCommand extends client.Command
|
|
517
516
|
.classBuilder()
|
|
518
517
|
.ep(commonParams)
|
|
519
518
|
.m(function (Command, cs, config, o) {
|
|
520
|
-
return [
|
|
519
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
521
520
|
})
|
|
522
521
|
.s("AWSStepFunctions", "UpdateMapRun", {})
|
|
523
522
|
.n("SFNClient", "UpdateMapRunCommand")
|
|
@@ -525,11 +524,11 @@ class UpdateMapRunCommand extends smithyClient.Command
|
|
|
525
524
|
.build() {
|
|
526
525
|
}
|
|
527
526
|
|
|
528
|
-
class UpdateStateMachineAliasCommand extends
|
|
527
|
+
class UpdateStateMachineAliasCommand extends client.Command
|
|
529
528
|
.classBuilder()
|
|
530
529
|
.ep(commonParams)
|
|
531
530
|
.m(function (Command, cs, config, o) {
|
|
532
|
-
return [
|
|
531
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
533
532
|
})
|
|
534
533
|
.s("AWSStepFunctions", "UpdateStateMachineAlias", {})
|
|
535
534
|
.n("SFNClient", "UpdateStateMachineAliasCommand")
|
|
@@ -537,11 +536,11 @@ class UpdateStateMachineAliasCommand extends smithyClient.Command
|
|
|
537
536
|
.build() {
|
|
538
537
|
}
|
|
539
538
|
|
|
540
|
-
class UpdateStateMachineCommand extends
|
|
539
|
+
class UpdateStateMachineCommand extends client.Command
|
|
541
540
|
.classBuilder()
|
|
542
541
|
.ep(commonParams)
|
|
543
542
|
.m(function (Command, cs, config, o) {
|
|
544
|
-
return [
|
|
543
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
545
544
|
})
|
|
546
545
|
.s("AWSStepFunctions", "UpdateStateMachine", {})
|
|
547
546
|
.n("SFNClient", "UpdateStateMachineCommand")
|
|
@@ -549,11 +548,11 @@ class UpdateStateMachineCommand extends smithyClient.Command
|
|
|
549
548
|
.build() {
|
|
550
549
|
}
|
|
551
550
|
|
|
552
|
-
class ValidateStateMachineDefinitionCommand extends
|
|
551
|
+
class ValidateStateMachineDefinitionCommand extends client.Command
|
|
553
552
|
.classBuilder()
|
|
554
553
|
.ep(commonParams)
|
|
555
554
|
.m(function (Command, cs, config, o) {
|
|
556
|
-
return [
|
|
555
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
557
556
|
})
|
|
558
557
|
.s("AWSStepFunctions", "ValidateStateMachineDefinition", {})
|
|
559
558
|
.n("SFNClient", "ValidateStateMachineDefinitionCommand")
|
|
@@ -619,7 +618,7 @@ const paginators = {
|
|
|
619
618
|
};
|
|
620
619
|
class SFN extends SFNClient {
|
|
621
620
|
}
|
|
622
|
-
|
|
621
|
+
client.createAggregatedClient(commands, SFN, { paginators });
|
|
623
622
|
|
|
624
623
|
const EncryptionType = {
|
|
625
624
|
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
|
@@ -773,8 +772,8 @@ const ValidateStateMachineDefinitionResultCode = {
|
|
|
773
772
|
OK: "OK",
|
|
774
773
|
};
|
|
775
774
|
|
|
776
|
-
exports.$Command =
|
|
777
|
-
exports.__Client =
|
|
775
|
+
exports.$Command = client.Command;
|
|
776
|
+
exports.__Client = client.Client;
|
|
778
777
|
exports.SFNServiceException = SFNServiceException.SFNServiceException;
|
|
779
778
|
exports.CreateActivityCommand = CreateActivityCommand;
|
|
780
779
|
exports.CreateStateMachineAliasCommand = CreateStateMachineAliasCommand;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SFNServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class SFNServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class SFNServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, SFNServiceException.prototype);
|
|
@@ -5,34 +5,32 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
-
const
|
|
8
|
+
const client_1 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const serde_1 = require("@smithy/core/serde");
|
|
9
12
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
14
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
15
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
14
|
const getRuntimeConfig = (config) => {
|
|
17
|
-
const defaultsMode = (0,
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
15
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
19
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
18
|
return {
|
|
21
19
|
...clientSharedValues,
|
|
22
20
|
...config,
|
|
23
21
|
runtime: "browser",
|
|
24
22
|
defaultsMode,
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
23
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
26
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
25
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
|
-
maxAttempts: config?.maxAttempts ??
|
|
29
|
-
region: config?.region ?? (0,
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
30
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
31
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
32
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
33
31
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
34
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
35
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
34
|
};
|
|
37
35
|
};
|
|
38
36
|
exports.getRuntimeConfig = getRuntimeConfig;
|