@aws-sdk/client-sfn 3.645.0 → 3.650.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.
Files changed (47) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +37 -111
  3. package/dist-es/commands/CreateActivityCommand.js +1 -3
  4. package/dist-es/commands/CreateStateMachineAliasCommand.js +1 -3
  5. package/dist-es/commands/CreateStateMachineCommand.js +1 -3
  6. package/dist-es/commands/DeleteActivityCommand.js +1 -3
  7. package/dist-es/commands/DeleteStateMachineAliasCommand.js +1 -3
  8. package/dist-es/commands/DeleteStateMachineCommand.js +1 -3
  9. package/dist-es/commands/DeleteStateMachineVersionCommand.js +1 -3
  10. package/dist-es/commands/DescribeActivityCommand.js +1 -3
  11. package/dist-es/commands/DescribeExecutionCommand.js +1 -3
  12. package/dist-es/commands/DescribeMapRunCommand.js +1 -3
  13. package/dist-es/commands/DescribeStateMachineAliasCommand.js +1 -3
  14. package/dist-es/commands/DescribeStateMachineCommand.js +1 -3
  15. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +1 -3
  16. package/dist-es/commands/GetActivityTaskCommand.js +1 -3
  17. package/dist-es/commands/GetExecutionHistoryCommand.js +1 -3
  18. package/dist-es/commands/ListActivitiesCommand.js +1 -3
  19. package/dist-es/commands/ListExecutionsCommand.js +1 -3
  20. package/dist-es/commands/ListMapRunsCommand.js +1 -3
  21. package/dist-es/commands/ListStateMachineAliasesCommand.js +1 -3
  22. package/dist-es/commands/ListStateMachineVersionsCommand.js +1 -3
  23. package/dist-es/commands/ListStateMachinesCommand.js +1 -3
  24. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  25. package/dist-es/commands/PublishStateMachineVersionCommand.js +1 -3
  26. package/dist-es/commands/RedriveExecutionCommand.js +1 -3
  27. package/dist-es/commands/SendTaskFailureCommand.js +1 -3
  28. package/dist-es/commands/SendTaskHeartbeatCommand.js +1 -3
  29. package/dist-es/commands/SendTaskSuccessCommand.js +1 -3
  30. package/dist-es/commands/StartExecutionCommand.js +1 -3
  31. package/dist-es/commands/StartSyncExecutionCommand.js +1 -3
  32. package/dist-es/commands/StopExecutionCommand.js +1 -3
  33. package/dist-es/commands/TagResourceCommand.js +1 -3
  34. package/dist-es/commands/TestStateCommand.js +1 -3
  35. package/dist-es/commands/UntagResourceCommand.js +1 -3
  36. package/dist-es/commands/UpdateMapRunCommand.js +1 -3
  37. package/dist-es/commands/UpdateStateMachineAliasCommand.js +1 -3
  38. package/dist-es/commands/UpdateStateMachineCommand.js +1 -3
  39. package/dist-es/commands/ValidateStateMachineDefinitionCommand.js +1 -3
  40. package/dist-es/endpoint/endpointResolver.js +7 -3
  41. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  42. package/dist-types/runtimeConfig.d.ts +2 -0
  43. package/dist-types/runtimeConfig.native.d.ts +2 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  47. package/package.json +35 -35
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -2888,9 +2888,7 @@ function sharedHeaders(operation) {
2888
2888
  __name(sharedHeaders, "sharedHeaders");
2889
2889
 
2890
2890
  // src/commands/CreateActivityCommand.ts
2891
- var _CreateActivityCommand = class _CreateActivityCommand extends import_smithy_client.Command.classBuilder().ep({
2892
- ...commonParams
2893
- }).m(function(Command, cs, config, o) {
2891
+ var _CreateActivityCommand = class _CreateActivityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2894
2892
  return [
2895
2893
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2896
2894
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2904,9 +2902,7 @@ var CreateActivityCommand = _CreateActivityCommand;
2904
2902
 
2905
2903
 
2906
2904
 
2907
- var _CreateStateMachineAliasCommand = class _CreateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
2908
- ...commonParams
2909
- }).m(function(Command, cs, config, o) {
2905
+ var _CreateStateMachineAliasCommand = class _CreateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2910
2906
  return [
2911
2907
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2912
2908
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2920,9 +2916,7 @@ var CreateStateMachineAliasCommand = _CreateStateMachineAliasCommand;
2920
2916
 
2921
2917
 
2922
2918
 
2923
- var _CreateStateMachineCommand = class _CreateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
2924
- ...commonParams
2925
- }).m(function(Command, cs, config, o) {
2919
+ var _CreateStateMachineCommand = class _CreateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2926
2920
  return [
2927
2921
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2928
2922
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2936,9 +2930,7 @@ var CreateStateMachineCommand = _CreateStateMachineCommand;
2936
2930
 
2937
2931
 
2938
2932
 
2939
- var _DeleteActivityCommand = class _DeleteActivityCommand extends import_smithy_client.Command.classBuilder().ep({
2940
- ...commonParams
2941
- }).m(function(Command, cs, config, o) {
2933
+ var _DeleteActivityCommand = class _DeleteActivityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2942
2934
  return [
2943
2935
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2944
2936
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2952,9 +2944,7 @@ var DeleteActivityCommand = _DeleteActivityCommand;
2952
2944
 
2953
2945
 
2954
2946
 
2955
- var _DeleteStateMachineAliasCommand = class _DeleteStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
2956
- ...commonParams
2957
- }).m(function(Command, cs, config, o) {
2947
+ var _DeleteStateMachineAliasCommand = class _DeleteStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2958
2948
  return [
2959
2949
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2960
2950
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2968,9 +2958,7 @@ var DeleteStateMachineAliasCommand = _DeleteStateMachineAliasCommand;
2968
2958
 
2969
2959
 
2970
2960
 
2971
- var _DeleteStateMachineCommand = class _DeleteStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
2972
- ...commonParams
2973
- }).m(function(Command, cs, config, o) {
2961
+ var _DeleteStateMachineCommand = class _DeleteStateMachineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2974
2962
  return [
2975
2963
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2976
2964
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2984,9 +2972,7 @@ var DeleteStateMachineCommand = _DeleteStateMachineCommand;
2984
2972
 
2985
2973
 
2986
2974
 
2987
- var _DeleteStateMachineVersionCommand = class _DeleteStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep({
2988
- ...commonParams
2989
- }).m(function(Command, cs, config, o) {
2975
+ var _DeleteStateMachineVersionCommand = class _DeleteStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2990
2976
  return [
2991
2977
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2992
2978
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3000,9 +2986,7 @@ var DeleteStateMachineVersionCommand = _DeleteStateMachineVersionCommand;
3000
2986
 
3001
2987
 
3002
2988
 
3003
- var _DescribeActivityCommand = class _DescribeActivityCommand extends import_smithy_client.Command.classBuilder().ep({
3004
- ...commonParams
3005
- }).m(function(Command, cs, config, o) {
2989
+ var _DescribeActivityCommand = class _DescribeActivityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3006
2990
  return [
3007
2991
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3008
2992
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3016,9 +3000,7 @@ var DescribeActivityCommand = _DescribeActivityCommand;
3016
3000
 
3017
3001
 
3018
3002
 
3019
- var _DescribeExecutionCommand = class _DescribeExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3020
- ...commonParams
3021
- }).m(function(Command, cs, config, o) {
3003
+ var _DescribeExecutionCommand = class _DescribeExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3022
3004
  return [
3023
3005
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3024
3006
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3032,9 +3014,7 @@ var DescribeExecutionCommand = _DescribeExecutionCommand;
3032
3014
 
3033
3015
 
3034
3016
 
3035
- var _DescribeMapRunCommand = class _DescribeMapRunCommand extends import_smithy_client.Command.classBuilder().ep({
3036
- ...commonParams
3037
- }).m(function(Command, cs, config, o) {
3017
+ var _DescribeMapRunCommand = class _DescribeMapRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3038
3018
  return [
3039
3019
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3040
3020
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3048,9 +3028,7 @@ var DescribeMapRunCommand = _DescribeMapRunCommand;
3048
3028
 
3049
3029
 
3050
3030
 
3051
- var _DescribeStateMachineAliasCommand = class _DescribeStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
3052
- ...commonParams
3053
- }).m(function(Command, cs, config, o) {
3031
+ var _DescribeStateMachineAliasCommand = class _DescribeStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3054
3032
  return [
3055
3033
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3056
3034
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3064,9 +3042,7 @@ var DescribeStateMachineAliasCommand = _DescribeStateMachineAliasCommand;
3064
3042
 
3065
3043
 
3066
3044
 
3067
- var _DescribeStateMachineCommand = class _DescribeStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
3068
- ...commonParams
3069
- }).m(function(Command, cs, config, o) {
3045
+ var _DescribeStateMachineCommand = class _DescribeStateMachineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3070
3046
  return [
3071
3047
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3072
3048
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3080,9 +3056,7 @@ var DescribeStateMachineCommand = _DescribeStateMachineCommand;
3080
3056
 
3081
3057
 
3082
3058
 
3083
- var _DescribeStateMachineForExecutionCommand = class _DescribeStateMachineForExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3084
- ...commonParams
3085
- }).m(function(Command, cs, config, o) {
3059
+ var _DescribeStateMachineForExecutionCommand = class _DescribeStateMachineForExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3086
3060
  return [
3087
3061
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3088
3062
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3096,9 +3070,7 @@ var DescribeStateMachineForExecutionCommand = _DescribeStateMachineForExecutionC
3096
3070
 
3097
3071
 
3098
3072
 
3099
- var _GetActivityTaskCommand = class _GetActivityTaskCommand extends import_smithy_client.Command.classBuilder().ep({
3100
- ...commonParams
3101
- }).m(function(Command, cs, config, o) {
3073
+ var _GetActivityTaskCommand = class _GetActivityTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3102
3074
  return [
3103
3075
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3104
3076
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3112,9 +3084,7 @@ var GetActivityTaskCommand = _GetActivityTaskCommand;
3112
3084
 
3113
3085
 
3114
3086
 
3115
- var _GetExecutionHistoryCommand = class _GetExecutionHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
3116
- ...commonParams
3117
- }).m(function(Command, cs, config, o) {
3087
+ var _GetExecutionHistoryCommand = class _GetExecutionHistoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3118
3088
  return [
3119
3089
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3120
3090
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3128,9 +3098,7 @@ var GetExecutionHistoryCommand = _GetExecutionHistoryCommand;
3128
3098
 
3129
3099
 
3130
3100
 
3131
- var _ListActivitiesCommand = class _ListActivitiesCommand extends import_smithy_client.Command.classBuilder().ep({
3132
- ...commonParams
3133
- }).m(function(Command, cs, config, o) {
3101
+ var _ListActivitiesCommand = class _ListActivitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3134
3102
  return [
3135
3103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3136
3104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3144,9 +3112,7 @@ var ListActivitiesCommand = _ListActivitiesCommand;
3144
3112
 
3145
3113
 
3146
3114
 
3147
- var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
3148
- ...commonParams
3149
- }).m(function(Command, cs, config, o) {
3115
+ var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3150
3116
  return [
3151
3117
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3152
3118
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3160,9 +3126,7 @@ var ListExecutionsCommand = _ListExecutionsCommand;
3160
3126
 
3161
3127
 
3162
3128
 
3163
- var _ListMapRunsCommand = class _ListMapRunsCommand extends import_smithy_client.Command.classBuilder().ep({
3164
- ...commonParams
3165
- }).m(function(Command, cs, config, o) {
3129
+ var _ListMapRunsCommand = class _ListMapRunsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3166
3130
  return [
3167
3131
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3168
3132
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3176,9 +3140,7 @@ var ListMapRunsCommand = _ListMapRunsCommand;
3176
3140
 
3177
3141
 
3178
3142
 
3179
- var _ListStateMachineAliasesCommand = class _ListStateMachineAliasesCommand extends import_smithy_client.Command.classBuilder().ep({
3180
- ...commonParams
3181
- }).m(function(Command, cs, config, o) {
3143
+ var _ListStateMachineAliasesCommand = class _ListStateMachineAliasesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3182
3144
  return [
3183
3145
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3184
3146
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3192,9 +3154,7 @@ var ListStateMachineAliasesCommand = _ListStateMachineAliasesCommand;
3192
3154
 
3193
3155
 
3194
3156
 
3195
- var _ListStateMachinesCommand = class _ListStateMachinesCommand extends import_smithy_client.Command.classBuilder().ep({
3196
- ...commonParams
3197
- }).m(function(Command, cs, config, o) {
3157
+ var _ListStateMachinesCommand = class _ListStateMachinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3198
3158
  return [
3199
3159
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3200
3160
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3208,9 +3168,7 @@ var ListStateMachinesCommand = _ListStateMachinesCommand;
3208
3168
 
3209
3169
 
3210
3170
 
3211
- var _ListStateMachineVersionsCommand = class _ListStateMachineVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
3212
- ...commonParams
3213
- }).m(function(Command, cs, config, o) {
3171
+ var _ListStateMachineVersionsCommand = class _ListStateMachineVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3214
3172
  return [
3215
3173
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3216
3174
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3224,9 +3182,7 @@ var ListStateMachineVersionsCommand = _ListStateMachineVersionsCommand;
3224
3182
 
3225
3183
 
3226
3184
 
3227
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3228
- ...commonParams
3229
- }).m(function(Command, cs, config, o) {
3185
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3230
3186
  return [
3231
3187
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3232
3188
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3240,9 +3196,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3240
3196
 
3241
3197
 
3242
3198
 
3243
- var _PublishStateMachineVersionCommand = class _PublishStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep({
3244
- ...commonParams
3245
- }).m(function(Command, cs, config, o) {
3199
+ var _PublishStateMachineVersionCommand = class _PublishStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3246
3200
  return [
3247
3201
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3248
3202
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3256,9 +3210,7 @@ var PublishStateMachineVersionCommand = _PublishStateMachineVersionCommand;
3256
3210
 
3257
3211
 
3258
3212
 
3259
- var _RedriveExecutionCommand = class _RedriveExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3260
- ...commonParams
3261
- }).m(function(Command, cs, config, o) {
3213
+ var _RedriveExecutionCommand = class _RedriveExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3262
3214
  return [
3263
3215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3264
3216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3272,9 +3224,7 @@ var RedriveExecutionCommand = _RedriveExecutionCommand;
3272
3224
 
3273
3225
 
3274
3226
 
3275
- var _SendTaskFailureCommand = class _SendTaskFailureCommand extends import_smithy_client.Command.classBuilder().ep({
3276
- ...commonParams
3277
- }).m(function(Command, cs, config, o) {
3227
+ var _SendTaskFailureCommand = class _SendTaskFailureCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3278
3228
  return [
3279
3229
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3280
3230
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3288,9 +3238,7 @@ var SendTaskFailureCommand = _SendTaskFailureCommand;
3288
3238
 
3289
3239
 
3290
3240
 
3291
- var _SendTaskHeartbeatCommand = class _SendTaskHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep({
3292
- ...commonParams
3293
- }).m(function(Command, cs, config, o) {
3241
+ var _SendTaskHeartbeatCommand = class _SendTaskHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3294
3242
  return [
3295
3243
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3296
3244
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3304,9 +3252,7 @@ var SendTaskHeartbeatCommand = _SendTaskHeartbeatCommand;
3304
3252
 
3305
3253
 
3306
3254
 
3307
- var _SendTaskSuccessCommand = class _SendTaskSuccessCommand extends import_smithy_client.Command.classBuilder().ep({
3308
- ...commonParams
3309
- }).m(function(Command, cs, config, o) {
3255
+ var _SendTaskSuccessCommand = class _SendTaskSuccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3310
3256
  return [
3311
3257
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3312
3258
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3320,9 +3266,7 @@ var SendTaskSuccessCommand = _SendTaskSuccessCommand;
3320
3266
 
3321
3267
 
3322
3268
 
3323
- var _StartExecutionCommand = class _StartExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3324
- ...commonParams
3325
- }).m(function(Command, cs, config, o) {
3269
+ var _StartExecutionCommand = class _StartExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3326
3270
  return [
3327
3271
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3328
3272
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3336,9 +3280,7 @@ var StartExecutionCommand = _StartExecutionCommand;
3336
3280
 
3337
3281
 
3338
3282
 
3339
- var _StartSyncExecutionCommand = class _StartSyncExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3340
- ...commonParams
3341
- }).m(function(Command, cs, config, o) {
3283
+ var _StartSyncExecutionCommand = class _StartSyncExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3342
3284
  return [
3343
3285
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3344
3286
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3352,9 +3294,7 @@ var StartSyncExecutionCommand = _StartSyncExecutionCommand;
3352
3294
 
3353
3295
 
3354
3296
 
3355
- var _StopExecutionCommand = class _StopExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
3356
- ...commonParams
3357
- }).m(function(Command, cs, config, o) {
3297
+ var _StopExecutionCommand = class _StopExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3358
3298
  return [
3359
3299
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3360
3300
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3368,9 +3308,7 @@ var StopExecutionCommand = _StopExecutionCommand;
3368
3308
 
3369
3309
 
3370
3310
 
3371
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3372
- ...commonParams
3373
- }).m(function(Command, cs, config, o) {
3311
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3374
3312
  return [
3375
3313
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3376
3314
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3384,9 +3322,7 @@ var TagResourceCommand = _TagResourceCommand;
3384
3322
 
3385
3323
 
3386
3324
 
3387
- var _TestStateCommand = class _TestStateCommand extends import_smithy_client.Command.classBuilder().ep({
3388
- ...commonParams
3389
- }).m(function(Command, cs, config, o) {
3325
+ var _TestStateCommand = class _TestStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3390
3326
  return [
3391
3327
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3392
3328
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3400,9 +3336,7 @@ var TestStateCommand = _TestStateCommand;
3400
3336
 
3401
3337
 
3402
3338
 
3403
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3404
- ...commonParams
3405
- }).m(function(Command, cs, config, o) {
3339
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3406
3340
  return [
3407
3341
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3408
3342
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3416,9 +3350,7 @@ var UntagResourceCommand = _UntagResourceCommand;
3416
3350
 
3417
3351
 
3418
3352
 
3419
- var _UpdateMapRunCommand = class _UpdateMapRunCommand extends import_smithy_client.Command.classBuilder().ep({
3420
- ...commonParams
3421
- }).m(function(Command, cs, config, o) {
3353
+ var _UpdateMapRunCommand = class _UpdateMapRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3422
3354
  return [
3423
3355
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3424
3356
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3432,9 +3364,7 @@ var UpdateMapRunCommand = _UpdateMapRunCommand;
3432
3364
 
3433
3365
 
3434
3366
 
3435
- var _UpdateStateMachineAliasCommand = class _UpdateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
3436
- ...commonParams
3437
- }).m(function(Command, cs, config, o) {
3367
+ var _UpdateStateMachineAliasCommand = class _UpdateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3438
3368
  return [
3439
3369
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3440
3370
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3448,9 +3378,7 @@ var UpdateStateMachineAliasCommand = _UpdateStateMachineAliasCommand;
3448
3378
 
3449
3379
 
3450
3380
 
3451
- var _UpdateStateMachineCommand = class _UpdateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
3452
- ...commonParams
3453
- }).m(function(Command, cs, config, o) {
3381
+ var _UpdateStateMachineCommand = class _UpdateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3454
3382
  return [
3455
3383
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3456
3384
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3464,9 +3392,7 @@ var UpdateStateMachineCommand = _UpdateStateMachineCommand;
3464
3392
 
3465
3393
 
3466
3394
 
3467
- var _ValidateStateMachineDefinitionCommand = class _ValidateStateMachineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
3468
- ...commonParams
3469
- }).m(function(Command, cs, config, o) {
3395
+ var _ValidateStateMachineDefinitionCommand = class _ValidateStateMachineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3470
3396
  return [
3471
3397
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3472
3398
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CreateActivityCommand, se_CreateActivityCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreateActivityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateStateMachineAliasCommand, se_CreateStateMachineAliasCommand }
7
7
  export { $Command };
8
8
  export class CreateStateMachineAliasCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateStateMachineCommand, se_CreateStateMachineCommand } from "../p
7
7
  export { $Command };
8
8
  export class CreateStateMachineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteActivityCommand, se_DeleteActivityCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteActivityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteStateMachineAliasCommand, se_DeleteStateMachineAliasCommand }
6
6
  export { $Command };
7
7
  export class DeleteStateMachineAliasCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteStateMachineCommand, se_DeleteStateMachineCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteStateMachineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteStateMachineVersionCommand, se_DeleteStateMachineVersionComman
6
6
  export { $Command };
7
7
  export class DeleteStateMachineVersionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeActivityCommand, se_DescribeActivityCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DescribeActivityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeExecutionCommand, se_DescribeExecutionCommand } from "../pro
7
7
  export { $Command };
8
8
  export class DescribeExecutionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeMapRunCommand, se_DescribeMapRunCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeMapRunCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeStateMachineAliasCommand, se_DescribeStateMachineAliasComman
7
7
  export { $Command };
8
8
  export class DescribeStateMachineAliasCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeStateMachineCommand, se_DescribeStateMachineCommand } from "
7
7
  export { $Command };
8
8
  export class DescribeStateMachineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_DescribeStateMachineForExecutionCommand, se_DescribeStateMachineForE
7
7
  export { $Command };
8
8
  export class DescribeStateMachineForExecutionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetActivityTaskCommand, se_GetActivityTaskCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class GetActivityTaskCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetExecutionHistoryCommand, se_GetExecutionHistoryCommand } from "..
7
7
  export { $Command };
8
8
  export class GetExecutionHistoryCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListActivitiesCommand, se_ListActivitiesCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListActivitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListExecutionsCommand, se_ListExecutionsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListExecutionsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListMapRunsCommand, se_ListMapRunsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListMapRunsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStateMachineAliasesCommand, se_ListStateMachineAliasesCommand }
6
6
  export { $Command };
7
7
  export class ListStateMachineAliasesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStateMachineVersionsCommand, se_ListStateMachineVersionsCommand
6
6
  export { $Command };
7
7
  export class ListStateMachineVersionsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStateMachinesCommand, se_ListStateMachinesCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListStateMachinesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_PublishStateMachineVersionCommand, se_PublishStateMachineVersionComm
7
7
  export { $Command };
8
8
  export class PublishStateMachineVersionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RedriveExecutionCommand, se_RedriveExecutionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class RedriveExecutionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_SendTaskFailureCommand, se_SendTaskFailureCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class SendTaskFailureCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SendTaskHeartbeatCommand, se_SendTaskHeartbeatCommand } from "../pro
6
6
  export { $Command };
7
7
  export class SendTaskHeartbeatCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_SendTaskSuccessCommand, se_SendTaskSuccessCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class SendTaskSuccessCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartExecutionCommand, se_StartExecutionCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class StartExecutionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartSyncExecutionCommand, se_StartSyncExecutionCommand } from "../p
7
7
  export { $Command };
8
8
  export class StartSyncExecutionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StopExecutionCommand, se_StopExecutionCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class StopExecutionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_TestStateCommand, se_TestStateCommand } from "../protocols/Aws_json1
7
7
  export { $Command };
8
8
  export class TestStateCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateMapRunCommand, se_UpdateMapRunCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class UpdateMapRunCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateStateMachineAliasCommand, se_UpdateStateMachineAliasCommand }
7
7
  export { $Command };
8
8
  export class UpdateStateMachineAliasCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateStateMachineCommand, se_UpdateStateMachineCommand } from "../p
7
7
  export { $Command };
8
8
  export class UpdateStateMachineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ValidateStateMachineDefinitionCommand, se_ValidateStateMachineDefini
7
7
  export { $Command };
8
8
  export class ValidateStateMachineDefinitionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
61
62
  }
62
63
  ) => import("@smithy/types").EndpointV2;
63
64
  tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
64
66
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
67
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
65
66
  }
66
67
  ) => import("@smithy/types").EndpointV2;
67
68
  tls?: boolean | undefined;
69
+ serviceConfiguredEndpoint?: undefined;
68
70
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
71
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
61
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
60
62
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sfn",
3
3
  "description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sfn",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"