@aws-sdk/client-memorydb 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 (48) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +38 -114
  3. package/dist-es/commands/BatchUpdateClusterCommand.js +1 -3
  4. package/dist-es/commands/CopySnapshotCommand.js +1 -3
  5. package/dist-es/commands/CreateACLCommand.js +1 -3
  6. package/dist-es/commands/CreateClusterCommand.js +1 -3
  7. package/dist-es/commands/CreateParameterGroupCommand.js +1 -3
  8. package/dist-es/commands/CreateSnapshotCommand.js +1 -3
  9. package/dist-es/commands/CreateSubnetGroupCommand.js +1 -3
  10. package/dist-es/commands/CreateUserCommand.js +1 -3
  11. package/dist-es/commands/DeleteACLCommand.js +1 -3
  12. package/dist-es/commands/DeleteClusterCommand.js +1 -3
  13. package/dist-es/commands/DeleteParameterGroupCommand.js +1 -3
  14. package/dist-es/commands/DeleteSnapshotCommand.js +1 -3
  15. package/dist-es/commands/DeleteSubnetGroupCommand.js +1 -3
  16. package/dist-es/commands/DeleteUserCommand.js +1 -3
  17. package/dist-es/commands/DescribeACLsCommand.js +1 -3
  18. package/dist-es/commands/DescribeClustersCommand.js +1 -3
  19. package/dist-es/commands/DescribeEngineVersionsCommand.js +1 -3
  20. package/dist-es/commands/DescribeEventsCommand.js +1 -3
  21. package/dist-es/commands/DescribeParameterGroupsCommand.js +1 -3
  22. package/dist-es/commands/DescribeParametersCommand.js +1 -3
  23. package/dist-es/commands/DescribeReservedNodesCommand.js +1 -3
  24. package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +1 -3
  25. package/dist-es/commands/DescribeServiceUpdatesCommand.js +1 -3
  26. package/dist-es/commands/DescribeSnapshotsCommand.js +1 -3
  27. package/dist-es/commands/DescribeSubnetGroupsCommand.js +1 -3
  28. package/dist-es/commands/DescribeUsersCommand.js +1 -3
  29. package/dist-es/commands/FailoverShardCommand.js +1 -3
  30. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +1 -3
  31. package/dist-es/commands/ListTagsCommand.js +1 -3
  32. package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +1 -3
  33. package/dist-es/commands/ResetParameterGroupCommand.js +1 -3
  34. package/dist-es/commands/TagResourceCommand.js +1 -3
  35. package/dist-es/commands/UntagResourceCommand.js +1 -3
  36. package/dist-es/commands/UpdateACLCommand.js +1 -3
  37. package/dist-es/commands/UpdateClusterCommand.js +1 -3
  38. package/dist-es/commands/UpdateParameterGroupCommand.js +1 -3
  39. package/dist-es/commands/UpdateSubnetGroupCommand.js +1 -3
  40. package/dist-es/commands/UpdateUserCommand.js +1 -3
  41. package/dist-es/endpoint/endpointResolver.js +7 -3
  42. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  43. package/dist-types/runtimeConfig.d.ts +2 -0
  44. package/dist-types/runtimeConfig.native.d.ts +2 -0
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  48. 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
@@ -2954,9 +2954,7 @@ function sharedHeaders(operation) {
2954
2954
  __name(sharedHeaders, "sharedHeaders");
2955
2955
 
2956
2956
  // src/commands/BatchUpdateClusterCommand.ts
2957
- var _BatchUpdateClusterCommand = class _BatchUpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
2958
- ...commonParams
2959
- }).m(function(Command, cs, config, o) {
2957
+ var _BatchUpdateClusterCommand = class _BatchUpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2960
2958
  return [
2961
2959
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2962
2960
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2970,9 +2968,7 @@ var BatchUpdateClusterCommand = _BatchUpdateClusterCommand;
2970
2968
 
2971
2969
 
2972
2970
 
2973
- var _CopySnapshotCommand = class _CopySnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
2974
- ...commonParams
2975
- }).m(function(Command, cs, config, o) {
2971
+ var _CopySnapshotCommand = class _CopySnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2976
2972
  return [
2977
2973
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2978
2974
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2986,9 +2982,7 @@ var CopySnapshotCommand = _CopySnapshotCommand;
2986
2982
 
2987
2983
 
2988
2984
 
2989
- var _CreateACLCommand = class _CreateACLCommand extends import_smithy_client.Command.classBuilder().ep({
2990
- ...commonParams
2991
- }).m(function(Command, cs, config, o) {
2985
+ var _CreateACLCommand = class _CreateACLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2992
2986
  return [
2993
2987
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2994
2988
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3002,9 +2996,7 @@ var CreateACLCommand = _CreateACLCommand;
3002
2996
 
3003
2997
 
3004
2998
 
3005
- var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
3006
- ...commonParams
3007
- }).m(function(Command, cs, config, o) {
2999
+ var _CreateClusterCommand = class _CreateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3008
3000
  return [
3009
3001
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3010
3002
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3018,9 +3010,7 @@ var CreateClusterCommand = _CreateClusterCommand;
3018
3010
 
3019
3011
 
3020
3012
 
3021
- var _CreateParameterGroupCommand = class _CreateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3022
- ...commonParams
3023
- }).m(function(Command, cs, config, o) {
3013
+ var _CreateParameterGroupCommand = class _CreateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3024
3014
  return [
3025
3015
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3026
3016
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3034,9 +3024,7 @@ var CreateParameterGroupCommand = _CreateParameterGroupCommand;
3034
3024
 
3035
3025
 
3036
3026
 
3037
- var _CreateSnapshotCommand = class _CreateSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
3038
- ...commonParams
3039
- }).m(function(Command, cs, config, o) {
3027
+ var _CreateSnapshotCommand = class _CreateSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3040
3028
  return [
3041
3029
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3042
3030
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3050,9 +3038,7 @@ var CreateSnapshotCommand = _CreateSnapshotCommand;
3050
3038
 
3051
3039
 
3052
3040
 
3053
- var _CreateSubnetGroupCommand = class _CreateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3054
- ...commonParams
3055
- }).m(function(Command, cs, config, o) {
3041
+ var _CreateSubnetGroupCommand = class _CreateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3056
3042
  return [
3057
3043
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3058
3044
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3066,9 +3052,7 @@ var CreateSubnetGroupCommand = _CreateSubnetGroupCommand;
3066
3052
 
3067
3053
 
3068
3054
 
3069
- var _CreateUserCommand = class _CreateUserCommand extends import_smithy_client.Command.classBuilder().ep({
3070
- ...commonParams
3071
- }).m(function(Command, cs, config, o) {
3055
+ var _CreateUserCommand = class _CreateUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3072
3056
  return [
3073
3057
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3074
3058
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3082,9 +3066,7 @@ var CreateUserCommand = _CreateUserCommand;
3082
3066
 
3083
3067
 
3084
3068
 
3085
- var _DeleteACLCommand = class _DeleteACLCommand extends import_smithy_client.Command.classBuilder().ep({
3086
- ...commonParams
3087
- }).m(function(Command, cs, config, o) {
3069
+ var _DeleteACLCommand = class _DeleteACLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3088
3070
  return [
3089
3071
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3090
3072
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3098,9 +3080,7 @@ var DeleteACLCommand = _DeleteACLCommand;
3098
3080
 
3099
3081
 
3100
3082
 
3101
- var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep({
3102
- ...commonParams
3103
- }).m(function(Command, cs, config, o) {
3083
+ var _DeleteClusterCommand = class _DeleteClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3104
3084
  return [
3105
3085
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3106
3086
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3114,9 +3094,7 @@ var DeleteClusterCommand = _DeleteClusterCommand;
3114
3094
 
3115
3095
 
3116
3096
 
3117
- var _DeleteParameterGroupCommand = class _DeleteParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3118
- ...commonParams
3119
- }).m(function(Command, cs, config, o) {
3097
+ var _DeleteParameterGroupCommand = class _DeleteParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3120
3098
  return [
3121
3099
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3122
3100
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3130,9 +3108,7 @@ var DeleteParameterGroupCommand = _DeleteParameterGroupCommand;
3130
3108
 
3131
3109
 
3132
3110
 
3133
- var _DeleteSnapshotCommand = class _DeleteSnapshotCommand extends import_smithy_client.Command.classBuilder().ep({
3134
- ...commonParams
3135
- }).m(function(Command, cs, config, o) {
3111
+ var _DeleteSnapshotCommand = class _DeleteSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3136
3112
  return [
3137
3113
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3138
3114
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3146,9 +3122,7 @@ var DeleteSnapshotCommand = _DeleteSnapshotCommand;
3146
3122
 
3147
3123
 
3148
3124
 
3149
- var _DeleteSubnetGroupCommand = class _DeleteSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3150
- ...commonParams
3151
- }).m(function(Command, cs, config, o) {
3125
+ var _DeleteSubnetGroupCommand = class _DeleteSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3152
3126
  return [
3153
3127
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3154
3128
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3162,9 +3136,7 @@ var DeleteSubnetGroupCommand = _DeleteSubnetGroupCommand;
3162
3136
 
3163
3137
 
3164
3138
 
3165
- var _DeleteUserCommand = class _DeleteUserCommand extends import_smithy_client.Command.classBuilder().ep({
3166
- ...commonParams
3167
- }).m(function(Command, cs, config, o) {
3139
+ var _DeleteUserCommand = class _DeleteUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3168
3140
  return [
3169
3141
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3170
3142
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3178,9 +3150,7 @@ var DeleteUserCommand = _DeleteUserCommand;
3178
3150
 
3179
3151
 
3180
3152
 
3181
- var _DescribeACLsCommand = class _DescribeACLsCommand extends import_smithy_client.Command.classBuilder().ep({
3182
- ...commonParams
3183
- }).m(function(Command, cs, config, o) {
3153
+ var _DescribeACLsCommand = class _DescribeACLsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3184
3154
  return [
3185
3155
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3186
3156
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3194,9 +3164,7 @@ var DescribeACLsCommand = _DescribeACLsCommand;
3194
3164
 
3195
3165
 
3196
3166
 
3197
- var _DescribeClustersCommand = class _DescribeClustersCommand extends import_smithy_client.Command.classBuilder().ep({
3198
- ...commonParams
3199
- }).m(function(Command, cs, config, o) {
3167
+ var _DescribeClustersCommand = class _DescribeClustersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3200
3168
  return [
3201
3169
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3202
3170
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3210,9 +3178,7 @@ var DescribeClustersCommand = _DescribeClustersCommand;
3210
3178
 
3211
3179
 
3212
3180
 
3213
- var _DescribeEngineVersionsCommand = class _DescribeEngineVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
3214
- ...commonParams
3215
- }).m(function(Command, cs, config, o) {
3181
+ var _DescribeEngineVersionsCommand = class _DescribeEngineVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3216
3182
  return [
3217
3183
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3218
3184
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3226,9 +3192,7 @@ var DescribeEngineVersionsCommand = _DescribeEngineVersionsCommand;
3226
3192
 
3227
3193
 
3228
3194
 
3229
- var _DescribeEventsCommand = class _DescribeEventsCommand extends import_smithy_client.Command.classBuilder().ep({
3230
- ...commonParams
3231
- }).m(function(Command, cs, config, o) {
3195
+ var _DescribeEventsCommand = class _DescribeEventsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3232
3196
  return [
3233
3197
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3234
3198
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3242,9 +3206,7 @@ var DescribeEventsCommand = _DescribeEventsCommand;
3242
3206
 
3243
3207
 
3244
3208
 
3245
- var _DescribeParameterGroupsCommand = class _DescribeParameterGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
3246
- ...commonParams
3247
- }).m(function(Command, cs, config, o) {
3209
+ var _DescribeParameterGroupsCommand = class _DescribeParameterGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3248
3210
  return [
3249
3211
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3250
3212
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3258,9 +3220,7 @@ var DescribeParameterGroupsCommand = _DescribeParameterGroupsCommand;
3258
3220
 
3259
3221
 
3260
3222
 
3261
- var _DescribeParametersCommand = class _DescribeParametersCommand extends import_smithy_client.Command.classBuilder().ep({
3262
- ...commonParams
3263
- }).m(function(Command, cs, config, o) {
3223
+ var _DescribeParametersCommand = class _DescribeParametersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3264
3224
  return [
3265
3225
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3266
3226
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3274,9 +3234,7 @@ var DescribeParametersCommand = _DescribeParametersCommand;
3274
3234
 
3275
3235
 
3276
3236
 
3277
- var _DescribeReservedNodesCommand = class _DescribeReservedNodesCommand extends import_smithy_client.Command.classBuilder().ep({
3278
- ...commonParams
3279
- }).m(function(Command, cs, config, o) {
3237
+ var _DescribeReservedNodesCommand = class _DescribeReservedNodesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3280
3238
  return [
3281
3239
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3282
3240
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3290,9 +3248,7 @@ var DescribeReservedNodesCommand = _DescribeReservedNodesCommand;
3290
3248
 
3291
3249
 
3292
3250
 
3293
- var _DescribeReservedNodesOfferingsCommand = class _DescribeReservedNodesOfferingsCommand extends import_smithy_client.Command.classBuilder().ep({
3294
- ...commonParams
3295
- }).m(function(Command, cs, config, o) {
3251
+ var _DescribeReservedNodesOfferingsCommand = class _DescribeReservedNodesOfferingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3296
3252
  return [
3297
3253
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3298
3254
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3306,9 +3262,7 @@ var DescribeReservedNodesOfferingsCommand = _DescribeReservedNodesOfferingsComma
3306
3262
 
3307
3263
 
3308
3264
 
3309
- var _DescribeServiceUpdatesCommand = class _DescribeServiceUpdatesCommand extends import_smithy_client.Command.classBuilder().ep({
3310
- ...commonParams
3311
- }).m(function(Command, cs, config, o) {
3265
+ var _DescribeServiceUpdatesCommand = class _DescribeServiceUpdatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3312
3266
  return [
3313
3267
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3314
3268
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3322,9 +3276,7 @@ var DescribeServiceUpdatesCommand = _DescribeServiceUpdatesCommand;
3322
3276
 
3323
3277
 
3324
3278
 
3325
- var _DescribeSnapshotsCommand = class _DescribeSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep({
3326
- ...commonParams
3327
- }).m(function(Command, cs, config, o) {
3279
+ var _DescribeSnapshotsCommand = class _DescribeSnapshotsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3328
3280
  return [
3329
3281
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3330
3282
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3338,9 +3290,7 @@ var DescribeSnapshotsCommand = _DescribeSnapshotsCommand;
3338
3290
 
3339
3291
 
3340
3292
 
3341
- var _DescribeSubnetGroupsCommand = class _DescribeSubnetGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
3342
- ...commonParams
3343
- }).m(function(Command, cs, config, o) {
3293
+ var _DescribeSubnetGroupsCommand = class _DescribeSubnetGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3344
3294
  return [
3345
3295
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3346
3296
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3354,9 +3304,7 @@ var DescribeSubnetGroupsCommand = _DescribeSubnetGroupsCommand;
3354
3304
 
3355
3305
 
3356
3306
 
3357
- var _DescribeUsersCommand = class _DescribeUsersCommand extends import_smithy_client.Command.classBuilder().ep({
3358
- ...commonParams
3359
- }).m(function(Command, cs, config, o) {
3307
+ var _DescribeUsersCommand = class _DescribeUsersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3360
3308
  return [
3361
3309
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3362
3310
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3370,9 +3318,7 @@ var DescribeUsersCommand = _DescribeUsersCommand;
3370
3318
 
3371
3319
 
3372
3320
 
3373
- var _FailoverShardCommand = class _FailoverShardCommand extends import_smithy_client.Command.classBuilder().ep({
3374
- ...commonParams
3375
- }).m(function(Command, cs, config, o) {
3321
+ var _FailoverShardCommand = class _FailoverShardCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3376
3322
  return [
3377
3323
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3378
3324
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3386,9 +3332,7 @@ var FailoverShardCommand = _FailoverShardCommand;
3386
3332
 
3387
3333
 
3388
3334
 
3389
- var _ListAllowedNodeTypeUpdatesCommand = class _ListAllowedNodeTypeUpdatesCommand extends import_smithy_client.Command.classBuilder().ep({
3390
- ...commonParams
3391
- }).m(function(Command, cs, config, o) {
3335
+ var _ListAllowedNodeTypeUpdatesCommand = class _ListAllowedNodeTypeUpdatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3392
3336
  return [
3393
3337
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3394
3338
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3402,9 +3346,7 @@ var ListAllowedNodeTypeUpdatesCommand = _ListAllowedNodeTypeUpdatesCommand;
3402
3346
 
3403
3347
 
3404
3348
 
3405
- var _ListTagsCommand = class _ListTagsCommand extends import_smithy_client.Command.classBuilder().ep({
3406
- ...commonParams
3407
- }).m(function(Command, cs, config, o) {
3349
+ var _ListTagsCommand = class _ListTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3408
3350
  return [
3409
3351
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3410
3352
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3418,9 +3360,7 @@ var ListTagsCommand = _ListTagsCommand;
3418
3360
 
3419
3361
 
3420
3362
 
3421
- var _PurchaseReservedNodesOfferingCommand = class _PurchaseReservedNodesOfferingCommand extends import_smithy_client.Command.classBuilder().ep({
3422
- ...commonParams
3423
- }).m(function(Command, cs, config, o) {
3363
+ var _PurchaseReservedNodesOfferingCommand = class _PurchaseReservedNodesOfferingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3424
3364
  return [
3425
3365
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3426
3366
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3434,9 +3374,7 @@ var PurchaseReservedNodesOfferingCommand = _PurchaseReservedNodesOfferingCommand
3434
3374
 
3435
3375
 
3436
3376
 
3437
- var _ResetParameterGroupCommand = class _ResetParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3438
- ...commonParams
3439
- }).m(function(Command, cs, config, o) {
3377
+ var _ResetParameterGroupCommand = class _ResetParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3440
3378
  return [
3441
3379
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3442
3380
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3450,9 +3388,7 @@ var ResetParameterGroupCommand = _ResetParameterGroupCommand;
3450
3388
 
3451
3389
 
3452
3390
 
3453
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3454
- ...commonParams
3455
- }).m(function(Command, cs, config, o) {
3391
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3456
3392
  return [
3457
3393
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3458
3394
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3466,9 +3402,7 @@ var TagResourceCommand = _TagResourceCommand;
3466
3402
 
3467
3403
 
3468
3404
 
3469
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3470
- ...commonParams
3471
- }).m(function(Command, cs, config, o) {
3405
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3472
3406
  return [
3473
3407
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3474
3408
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3482,9 +3416,7 @@ var UntagResourceCommand = _UntagResourceCommand;
3482
3416
 
3483
3417
 
3484
3418
 
3485
- var _UpdateACLCommand = class _UpdateACLCommand extends import_smithy_client.Command.classBuilder().ep({
3486
- ...commonParams
3487
- }).m(function(Command, cs, config, o) {
3419
+ var _UpdateACLCommand = class _UpdateACLCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3488
3420
  return [
3489
3421
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3490
3422
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3498,9 +3430,7 @@ var UpdateACLCommand = _UpdateACLCommand;
3498
3430
 
3499
3431
 
3500
3432
 
3501
- var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
3502
- ...commonParams
3503
- }).m(function(Command, cs, config, o) {
3433
+ var _UpdateClusterCommand = class _UpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3504
3434
  return [
3505
3435
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3506
3436
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3514,9 +3444,7 @@ var UpdateClusterCommand = _UpdateClusterCommand;
3514
3444
 
3515
3445
 
3516
3446
 
3517
- var _UpdateParameterGroupCommand = class _UpdateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3518
- ...commonParams
3519
- }).m(function(Command, cs, config, o) {
3447
+ var _UpdateParameterGroupCommand = class _UpdateParameterGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3520
3448
  return [
3521
3449
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3522
3450
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3530,9 +3458,7 @@ var UpdateParameterGroupCommand = _UpdateParameterGroupCommand;
3530
3458
 
3531
3459
 
3532
3460
 
3533
- var _UpdateSubnetGroupCommand = class _UpdateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep({
3534
- ...commonParams
3535
- }).m(function(Command, cs, config, o) {
3461
+ var _UpdateSubnetGroupCommand = class _UpdateSubnetGroupCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3536
3462
  return [
3537
3463
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3538
3464
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3546,9 +3472,7 @@ var UpdateSubnetGroupCommand = _UpdateSubnetGroupCommand;
3546
3472
 
3547
3473
 
3548
3474
 
3549
- var _UpdateUserCommand = class _UpdateUserCommand extends import_smithy_client.Command.classBuilder().ep({
3550
- ...commonParams
3551
- }).m(function(Command, cs, config, o) {
3475
+ var _UpdateUserCommand = class _UpdateUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3552
3476
  return [
3553
3477
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3554
3478
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_BatchUpdateClusterCommand, se_BatchUpdateClusterCommand } from "../p
6
6
  export { $Command };
7
7
  export class BatchUpdateClusterCommand 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_CopySnapshotCommand, se_CopySnapshotCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class CopySnapshotCommand 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_CreateACLCommand, se_CreateACLCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class CreateACLCommand 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_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class CreateClusterCommand 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_CreateParameterGroupCommand, se_CreateParameterGroupCommand } from "
6
6
  export { $Command };
7
7
  export class CreateParameterGroupCommand 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_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreateSnapshotCommand 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_CreateSubnetGroupCommand, se_CreateSubnetGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateSubnetGroupCommand 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_CreateUserCommand, se_CreateUserCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class CreateUserCommand 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_DeleteACLCommand, se_DeleteACLCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class DeleteACLCommand 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_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DeleteClusterCommand 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_DeleteParameterGroupCommand, se_DeleteParameterGroupCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteParameterGroupCommand 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_DeleteSnapshotCommand, se_DeleteSnapshotCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteSnapshotCommand 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_DeleteSubnetGroupCommand, se_DeleteSubnetGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteSubnetGroupCommand 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_DeleteUserCommand, se_DeleteUserCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class DeleteUserCommand 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_DescribeACLsCommand, se_DescribeACLsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DescribeACLsCommand 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_DescribeClustersCommand, se_DescribeClustersCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DescribeClustersCommand 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_DescribeEngineVersionsCommand, se_DescribeEngineVersionsCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeEngineVersionsCommand 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_DescribeEventsCommand, se_DescribeEventsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeEventsCommand 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_DescribeParameterGroupsCommand, se_DescribeParameterGroupsCommand }
6
6
  export { $Command };
7
7
  export class DescribeParameterGroupsCommand 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_DescribeParametersCommand, se_DescribeParametersCommand } from "../p
6
6
  export { $Command };
7
7
  export class DescribeParametersCommand 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_DescribeReservedNodesCommand, se_DescribeReservedNodesCommand } from
6
6
  export { $Command };
7
7
  export class DescribeReservedNodesCommand 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_DescribeReservedNodesOfferingsCommand, se_DescribeReservedNodesOffer
6
6
  export { $Command };
7
7
  export class DescribeReservedNodesOfferingsCommand 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_DescribeServiceUpdatesCommand, se_DescribeServiceUpdatesCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeServiceUpdatesCommand 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_DescribeSnapshotsCommand, se_DescribeSnapshotsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribeSnapshotsCommand 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_DescribeSubnetGroupsCommand, se_DescribeSubnetGroupsCommand } from "
6
6
  export { $Command };
7
7
  export class DescribeSubnetGroupsCommand 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_DescribeUsersCommand, se_DescribeUsersCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DescribeUsersCommand 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_FailoverShardCommand, se_FailoverShardCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class FailoverShardCommand 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_ListAllowedNodeTypeUpdatesCommand, se_ListAllowedNodeTypeUpdatesComm
6
6
  export { $Command };
7
7
  export class ListAllowedNodeTypeUpdatesCommand 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_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1
6
6
  export { $Command };
7
7
  export class ListTagsCommand 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_PurchaseReservedNodesOfferingCommand, se_PurchaseReservedNodesOfferi
6
6
  export { $Command };
7
7
  export class PurchaseReservedNodesOfferingCommand 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_ResetParameterGroupCommand, se_ResetParameterGroupCommand } from "..
6
6
  export { $Command };
7
7
  export class ResetParameterGroupCommand 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_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),
@@ -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_UpdateACLCommand, se_UpdateACLCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class UpdateACLCommand 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_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateClusterCommand 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_UpdateParameterGroupCommand, se_UpdateParameterGroupCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateParameterGroupCommand 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_UpdateSubnetGroupCommand, se_UpdateSubnetGroupCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateSubnetGroupCommand 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_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class UpdateUserCommand 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),
@@ -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: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: MemoryDBClientConfig) => {
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: MemoryDBClientConfig) => {
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").MemoryDBHttpAuthSchemeProvider;
60
62
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-memorydb",
3
3
  "description": "AWS SDK for JavaScript Memorydb 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-memorydb",
@@ -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
  },