@aws-sdk/client-support 3.716.0 → 3.723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -152,7 +152,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
152
152
  }, "resolveRuntimeExtensions");
153
153
 
154
154
  // src/SupportClient.ts
155
- var _SupportClient = class _SupportClient extends import_smithy_client.Client {
155
+ var SupportClient = class extends import_smithy_client.Client {
156
+ static {
157
+ __name(this, "SupportClient");
158
+ }
159
+ /**
160
+ * The resolved configuration of SupportClient class. This is resolved and normalized from the {@link SupportClientConfig | constructor configuration interface}.
161
+ */
162
+ config;
156
163
  constructor(...[configuration]) {
157
164
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
158
165
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -162,7 +169,7 @@ var _SupportClient = class _SupportClient extends import_smithy_client.Client {
162
169
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
163
170
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
164
171
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
165
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
172
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
166
173
  super(_config_8);
167
174
  this.config = _config_8;
168
175
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -190,8 +197,6 @@ var _SupportClient = class _SupportClient extends import_smithy_client.Client {
190
197
  super.destroy();
191
198
  }
192
199
  };
193
- __name(_SupportClient, "SupportClient");
194
- var SupportClient = _SupportClient;
195
200
 
196
201
  // src/Support.ts
197
202
 
@@ -208,7 +213,10 @@ var import_core2 = require("@aws-sdk/core");
208
213
 
209
214
  // src/models/SupportServiceException.ts
210
215
 
211
- var _SupportServiceException = class _SupportServiceException extends import_smithy_client.ServiceException {
216
+ var SupportServiceException = class _SupportServiceException extends import_smithy_client.ServiceException {
217
+ static {
218
+ __name(this, "SupportServiceException");
219
+ }
212
220
  /**
213
221
  * @internal
214
222
  */
@@ -217,11 +225,14 @@ var _SupportServiceException = class _SupportServiceException extends import_smi
217
225
  Object.setPrototypeOf(this, _SupportServiceException.prototype);
218
226
  }
219
227
  };
220
- __name(_SupportServiceException, "SupportServiceException");
221
- var SupportServiceException = _SupportServiceException;
222
228
 
223
229
  // src/models/models_0.ts
224
- var _AttachmentLimitExceeded = class _AttachmentLimitExceeded extends SupportServiceException {
230
+ var AttachmentLimitExceeded = class _AttachmentLimitExceeded extends SupportServiceException {
231
+ static {
232
+ __name(this, "AttachmentLimitExceeded");
233
+ }
234
+ name = "AttachmentLimitExceeded";
235
+ $fault = "client";
225
236
  /**
226
237
  * @internal
227
238
  */
@@ -231,14 +242,15 @@ var _AttachmentLimitExceeded = class _AttachmentLimitExceeded extends SupportSer
231
242
  $fault: "client",
232
243
  ...opts
233
244
  });
234
- this.name = "AttachmentLimitExceeded";
235
- this.$fault = "client";
236
245
  Object.setPrototypeOf(this, _AttachmentLimitExceeded.prototype);
237
246
  }
238
247
  };
239
- __name(_AttachmentLimitExceeded, "AttachmentLimitExceeded");
240
- var AttachmentLimitExceeded = _AttachmentLimitExceeded;
241
- var _AttachmentSetExpired = class _AttachmentSetExpired extends SupportServiceException {
248
+ var AttachmentSetExpired = class _AttachmentSetExpired extends SupportServiceException {
249
+ static {
250
+ __name(this, "AttachmentSetExpired");
251
+ }
252
+ name = "AttachmentSetExpired";
253
+ $fault = "client";
242
254
  /**
243
255
  * @internal
244
256
  */
@@ -248,14 +260,15 @@ var _AttachmentSetExpired = class _AttachmentSetExpired extends SupportServiceEx
248
260
  $fault: "client",
249
261
  ...opts
250
262
  });
251
- this.name = "AttachmentSetExpired";
252
- this.$fault = "client";
253
263
  Object.setPrototypeOf(this, _AttachmentSetExpired.prototype);
254
264
  }
255
265
  };
256
- __name(_AttachmentSetExpired, "AttachmentSetExpired");
257
- var AttachmentSetExpired = _AttachmentSetExpired;
258
- var _AttachmentSetIdNotFound = class _AttachmentSetIdNotFound extends SupportServiceException {
266
+ var AttachmentSetIdNotFound = class _AttachmentSetIdNotFound extends SupportServiceException {
267
+ static {
268
+ __name(this, "AttachmentSetIdNotFound");
269
+ }
270
+ name = "AttachmentSetIdNotFound";
271
+ $fault = "client";
259
272
  /**
260
273
  * @internal
261
274
  */
@@ -265,14 +278,15 @@ var _AttachmentSetIdNotFound = class _AttachmentSetIdNotFound extends SupportSer
265
278
  $fault: "client",
266
279
  ...opts
267
280
  });
268
- this.name = "AttachmentSetIdNotFound";
269
- this.$fault = "client";
270
281
  Object.setPrototypeOf(this, _AttachmentSetIdNotFound.prototype);
271
282
  }
272
283
  };
273
- __name(_AttachmentSetIdNotFound, "AttachmentSetIdNotFound");
274
- var AttachmentSetIdNotFound = _AttachmentSetIdNotFound;
275
- var _AttachmentSetSizeLimitExceeded = class _AttachmentSetSizeLimitExceeded extends SupportServiceException {
284
+ var AttachmentSetSizeLimitExceeded = class _AttachmentSetSizeLimitExceeded extends SupportServiceException {
285
+ static {
286
+ __name(this, "AttachmentSetSizeLimitExceeded");
287
+ }
288
+ name = "AttachmentSetSizeLimitExceeded";
289
+ $fault = "client";
276
290
  /**
277
291
  * @internal
278
292
  */
@@ -282,14 +296,15 @@ var _AttachmentSetSizeLimitExceeded = class _AttachmentSetSizeLimitExceeded exte
282
296
  $fault: "client",
283
297
  ...opts
284
298
  });
285
- this.name = "AttachmentSetSizeLimitExceeded";
286
- this.$fault = "client";
287
299
  Object.setPrototypeOf(this, _AttachmentSetSizeLimitExceeded.prototype);
288
300
  }
289
301
  };
290
- __name(_AttachmentSetSizeLimitExceeded, "AttachmentSetSizeLimitExceeded");
291
- var AttachmentSetSizeLimitExceeded = _AttachmentSetSizeLimitExceeded;
292
- var _InternalServerError = class _InternalServerError extends SupportServiceException {
302
+ var InternalServerError = class _InternalServerError extends SupportServiceException {
303
+ static {
304
+ __name(this, "InternalServerError");
305
+ }
306
+ name = "InternalServerError";
307
+ $fault = "server";
293
308
  /**
294
309
  * @internal
295
310
  */
@@ -299,14 +314,15 @@ var _InternalServerError = class _InternalServerError extends SupportServiceExce
299
314
  $fault: "server",
300
315
  ...opts
301
316
  });
302
- this.name = "InternalServerError";
303
- this.$fault = "server";
304
317
  Object.setPrototypeOf(this, _InternalServerError.prototype);
305
318
  }
306
319
  };
307
- __name(_InternalServerError, "InternalServerError");
308
- var InternalServerError = _InternalServerError;
309
- var _CaseIdNotFound = class _CaseIdNotFound extends SupportServiceException {
320
+ var CaseIdNotFound = class _CaseIdNotFound extends SupportServiceException {
321
+ static {
322
+ __name(this, "CaseIdNotFound");
323
+ }
324
+ name = "CaseIdNotFound";
325
+ $fault = "client";
310
326
  /**
311
327
  * @internal
312
328
  */
@@ -316,14 +332,15 @@ var _CaseIdNotFound = class _CaseIdNotFound extends SupportServiceException {
316
332
  $fault: "client",
317
333
  ...opts
318
334
  });
319
- this.name = "CaseIdNotFound";
320
- this.$fault = "client";
321
335
  Object.setPrototypeOf(this, _CaseIdNotFound.prototype);
322
336
  }
323
337
  };
324
- __name(_CaseIdNotFound, "CaseIdNotFound");
325
- var CaseIdNotFound = _CaseIdNotFound;
326
- var _AttachmentIdNotFound = class _AttachmentIdNotFound extends SupportServiceException {
338
+ var AttachmentIdNotFound = class _AttachmentIdNotFound extends SupportServiceException {
339
+ static {
340
+ __name(this, "AttachmentIdNotFound");
341
+ }
342
+ name = "AttachmentIdNotFound";
343
+ $fault = "client";
327
344
  /**
328
345
  * @internal
329
346
  */
@@ -333,14 +350,15 @@ var _AttachmentIdNotFound = class _AttachmentIdNotFound extends SupportServiceEx
333
350
  $fault: "client",
334
351
  ...opts
335
352
  });
336
- this.name = "AttachmentIdNotFound";
337
- this.$fault = "client";
338
353
  Object.setPrototypeOf(this, _AttachmentIdNotFound.prototype);
339
354
  }
340
355
  };
341
- __name(_AttachmentIdNotFound, "AttachmentIdNotFound");
342
- var AttachmentIdNotFound = _AttachmentIdNotFound;
343
- var _CaseCreationLimitExceeded = class _CaseCreationLimitExceeded extends SupportServiceException {
356
+ var CaseCreationLimitExceeded = class _CaseCreationLimitExceeded extends SupportServiceException {
357
+ static {
358
+ __name(this, "CaseCreationLimitExceeded");
359
+ }
360
+ name = "CaseCreationLimitExceeded";
361
+ $fault = "client";
344
362
  /**
345
363
  * @internal
346
364
  */
@@ -350,14 +368,15 @@ var _CaseCreationLimitExceeded = class _CaseCreationLimitExceeded extends Suppor
350
368
  $fault: "client",
351
369
  ...opts
352
370
  });
353
- this.name = "CaseCreationLimitExceeded";
354
- this.$fault = "client";
355
371
  Object.setPrototypeOf(this, _CaseCreationLimitExceeded.prototype);
356
372
  }
357
373
  };
358
- __name(_CaseCreationLimitExceeded, "CaseCreationLimitExceeded");
359
- var CaseCreationLimitExceeded = _CaseCreationLimitExceeded;
360
- var _DescribeAttachmentLimitExceeded = class _DescribeAttachmentLimitExceeded extends SupportServiceException {
374
+ var DescribeAttachmentLimitExceeded = class _DescribeAttachmentLimitExceeded extends SupportServiceException {
375
+ static {
376
+ __name(this, "DescribeAttachmentLimitExceeded");
377
+ }
378
+ name = "DescribeAttachmentLimitExceeded";
379
+ $fault = "client";
361
380
  /**
362
381
  * @internal
363
382
  */
@@ -367,14 +386,15 @@ var _DescribeAttachmentLimitExceeded = class _DescribeAttachmentLimitExceeded ex
367
386
  $fault: "client",
368
387
  ...opts
369
388
  });
370
- this.name = "DescribeAttachmentLimitExceeded";
371
- this.$fault = "client";
372
389
  Object.setPrototypeOf(this, _DescribeAttachmentLimitExceeded.prototype);
373
390
  }
374
391
  };
375
- __name(_DescribeAttachmentLimitExceeded, "DescribeAttachmentLimitExceeded");
376
- var DescribeAttachmentLimitExceeded = _DescribeAttachmentLimitExceeded;
377
- var _ThrottlingException = class _ThrottlingException extends SupportServiceException {
392
+ var ThrottlingException = class _ThrottlingException extends SupportServiceException {
393
+ static {
394
+ __name(this, "ThrottlingException");
395
+ }
396
+ name = "ThrottlingException";
397
+ $fault = "client";
378
398
  /**
379
399
  * @internal
380
400
  */
@@ -384,13 +404,9 @@ var _ThrottlingException = class _ThrottlingException extends SupportServiceExce
384
404
  $fault: "client",
385
405
  ...opts
386
406
  });
387
- this.name = "ThrottlingException";
388
- this.$fault = "client";
389
407
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
390
408
  }
391
409
  };
392
- __name(_ThrottlingException, "ThrottlingException");
393
- var ThrottlingException = _ThrottlingException;
394
410
 
395
411
  // src/protocols/Aws_json1_1.ts
396
412
  var se_AddAttachmentsToSetCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -999,225 +1015,241 @@ function sharedHeaders(operation) {
999
1015
  __name(sharedHeaders, "sharedHeaders");
1000
1016
 
1001
1017
  // src/commands/AddAttachmentsToSetCommand.ts
1002
- var _AddAttachmentsToSetCommand = class _AddAttachmentsToSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1018
+ var AddAttachmentsToSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1003
1019
  return [
1004
1020
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1005
1021
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1006
1022
  ];
1007
1023
  }).s("AWSSupport_20130415", "AddAttachmentsToSet", {}).n("SupportClient", "AddAttachmentsToSetCommand").f(void 0, void 0).ser(se_AddAttachmentsToSetCommand).de(de_AddAttachmentsToSetCommand).build() {
1024
+ static {
1025
+ __name(this, "AddAttachmentsToSetCommand");
1026
+ }
1008
1027
  };
1009
- __name(_AddAttachmentsToSetCommand, "AddAttachmentsToSetCommand");
1010
- var AddAttachmentsToSetCommand = _AddAttachmentsToSetCommand;
1011
1028
 
1012
1029
  // src/commands/AddCommunicationToCaseCommand.ts
1013
1030
 
1014
1031
 
1015
1032
 
1016
- var _AddCommunicationToCaseCommand = class _AddCommunicationToCaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1033
+ var AddCommunicationToCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1017
1034
  return [
1018
1035
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1019
1036
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1020
1037
  ];
1021
1038
  }).s("AWSSupport_20130415", "AddCommunicationToCase", {}).n("SupportClient", "AddCommunicationToCaseCommand").f(void 0, void 0).ser(se_AddCommunicationToCaseCommand).de(de_AddCommunicationToCaseCommand).build() {
1039
+ static {
1040
+ __name(this, "AddCommunicationToCaseCommand");
1041
+ }
1022
1042
  };
1023
- __name(_AddCommunicationToCaseCommand, "AddCommunicationToCaseCommand");
1024
- var AddCommunicationToCaseCommand = _AddCommunicationToCaseCommand;
1025
1043
 
1026
1044
  // src/commands/CreateCaseCommand.ts
1027
1045
 
1028
1046
 
1029
1047
 
1030
- var _CreateCaseCommand = class _CreateCaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1048
+ var CreateCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1031
1049
  return [
1032
1050
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1033
1051
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1034
1052
  ];
1035
1053
  }).s("AWSSupport_20130415", "CreateCase", {}).n("SupportClient", "CreateCaseCommand").f(void 0, void 0).ser(se_CreateCaseCommand).de(de_CreateCaseCommand).build() {
1054
+ static {
1055
+ __name(this, "CreateCaseCommand");
1056
+ }
1036
1057
  };
1037
- __name(_CreateCaseCommand, "CreateCaseCommand");
1038
- var CreateCaseCommand = _CreateCaseCommand;
1039
1058
 
1040
1059
  // src/commands/DescribeAttachmentCommand.ts
1041
1060
 
1042
1061
 
1043
1062
 
1044
- var _DescribeAttachmentCommand = class _DescribeAttachmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1063
+ var DescribeAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1045
1064
  return [
1046
1065
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1047
1066
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1048
1067
  ];
1049
1068
  }).s("AWSSupport_20130415", "DescribeAttachment", {}).n("SupportClient", "DescribeAttachmentCommand").f(void 0, void 0).ser(se_DescribeAttachmentCommand).de(de_DescribeAttachmentCommand).build() {
1069
+ static {
1070
+ __name(this, "DescribeAttachmentCommand");
1071
+ }
1050
1072
  };
1051
- __name(_DescribeAttachmentCommand, "DescribeAttachmentCommand");
1052
- var DescribeAttachmentCommand = _DescribeAttachmentCommand;
1053
1073
 
1054
1074
  // src/commands/DescribeCasesCommand.ts
1055
1075
 
1056
1076
 
1057
1077
 
1058
- var _DescribeCasesCommand = class _DescribeCasesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1078
+ var DescribeCasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1059
1079
  return [
1060
1080
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1061
1081
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1062
1082
  ];
1063
1083
  }).s("AWSSupport_20130415", "DescribeCases", {}).n("SupportClient", "DescribeCasesCommand").f(void 0, void 0).ser(se_DescribeCasesCommand).de(de_DescribeCasesCommand).build() {
1084
+ static {
1085
+ __name(this, "DescribeCasesCommand");
1086
+ }
1064
1087
  };
1065
- __name(_DescribeCasesCommand, "DescribeCasesCommand");
1066
- var DescribeCasesCommand = _DescribeCasesCommand;
1067
1088
 
1068
1089
  // src/commands/DescribeCommunicationsCommand.ts
1069
1090
 
1070
1091
 
1071
1092
 
1072
- var _DescribeCommunicationsCommand = class _DescribeCommunicationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1093
+ var DescribeCommunicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1073
1094
  return [
1074
1095
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1075
1096
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1076
1097
  ];
1077
1098
  }).s("AWSSupport_20130415", "DescribeCommunications", {}).n("SupportClient", "DescribeCommunicationsCommand").f(void 0, void 0).ser(se_DescribeCommunicationsCommand).de(de_DescribeCommunicationsCommand).build() {
1099
+ static {
1100
+ __name(this, "DescribeCommunicationsCommand");
1101
+ }
1078
1102
  };
1079
- __name(_DescribeCommunicationsCommand, "DescribeCommunicationsCommand");
1080
- var DescribeCommunicationsCommand = _DescribeCommunicationsCommand;
1081
1103
 
1082
1104
  // src/commands/DescribeCreateCaseOptionsCommand.ts
1083
1105
 
1084
1106
 
1085
1107
 
1086
- var _DescribeCreateCaseOptionsCommand = class _DescribeCreateCaseOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1108
+ var DescribeCreateCaseOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1087
1109
  return [
1088
1110
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1089
1111
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1090
1112
  ];
1091
1113
  }).s("AWSSupport_20130415", "DescribeCreateCaseOptions", {}).n("SupportClient", "DescribeCreateCaseOptionsCommand").f(void 0, void 0).ser(se_DescribeCreateCaseOptionsCommand).de(de_DescribeCreateCaseOptionsCommand).build() {
1114
+ static {
1115
+ __name(this, "DescribeCreateCaseOptionsCommand");
1116
+ }
1092
1117
  };
1093
- __name(_DescribeCreateCaseOptionsCommand, "DescribeCreateCaseOptionsCommand");
1094
- var DescribeCreateCaseOptionsCommand = _DescribeCreateCaseOptionsCommand;
1095
1118
 
1096
1119
  // src/commands/DescribeServicesCommand.ts
1097
1120
 
1098
1121
 
1099
1122
 
1100
- var _DescribeServicesCommand = class _DescribeServicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1123
+ var DescribeServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1101
1124
  return [
1102
1125
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1103
1126
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1104
1127
  ];
1105
1128
  }).s("AWSSupport_20130415", "DescribeServices", {}).n("SupportClient", "DescribeServicesCommand").f(void 0, void 0).ser(se_DescribeServicesCommand).de(de_DescribeServicesCommand).build() {
1129
+ static {
1130
+ __name(this, "DescribeServicesCommand");
1131
+ }
1106
1132
  };
1107
- __name(_DescribeServicesCommand, "DescribeServicesCommand");
1108
- var DescribeServicesCommand = _DescribeServicesCommand;
1109
1133
 
1110
1134
  // src/commands/DescribeSeverityLevelsCommand.ts
1111
1135
 
1112
1136
 
1113
1137
 
1114
- var _DescribeSeverityLevelsCommand = class _DescribeSeverityLevelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1138
+ var DescribeSeverityLevelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1115
1139
  return [
1116
1140
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1117
1141
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1118
1142
  ];
1119
1143
  }).s("AWSSupport_20130415", "DescribeSeverityLevels", {}).n("SupportClient", "DescribeSeverityLevelsCommand").f(void 0, void 0).ser(se_DescribeSeverityLevelsCommand).de(de_DescribeSeverityLevelsCommand).build() {
1144
+ static {
1145
+ __name(this, "DescribeSeverityLevelsCommand");
1146
+ }
1120
1147
  };
1121
- __name(_DescribeSeverityLevelsCommand, "DescribeSeverityLevelsCommand");
1122
- var DescribeSeverityLevelsCommand = _DescribeSeverityLevelsCommand;
1123
1148
 
1124
1149
  // src/commands/DescribeSupportedLanguagesCommand.ts
1125
1150
 
1126
1151
 
1127
1152
 
1128
- var _DescribeSupportedLanguagesCommand = class _DescribeSupportedLanguagesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1153
+ var DescribeSupportedLanguagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1129
1154
  return [
1130
1155
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1131
1156
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1132
1157
  ];
1133
1158
  }).s("AWSSupport_20130415", "DescribeSupportedLanguages", {}).n("SupportClient", "DescribeSupportedLanguagesCommand").f(void 0, void 0).ser(se_DescribeSupportedLanguagesCommand).de(de_DescribeSupportedLanguagesCommand).build() {
1159
+ static {
1160
+ __name(this, "DescribeSupportedLanguagesCommand");
1161
+ }
1134
1162
  };
1135
- __name(_DescribeSupportedLanguagesCommand, "DescribeSupportedLanguagesCommand");
1136
- var DescribeSupportedLanguagesCommand = _DescribeSupportedLanguagesCommand;
1137
1163
 
1138
1164
  // src/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts
1139
1165
 
1140
1166
 
1141
1167
 
1142
- var _DescribeTrustedAdvisorCheckRefreshStatusesCommand = class _DescribeTrustedAdvisorCheckRefreshStatusesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1168
+ var DescribeTrustedAdvisorCheckRefreshStatusesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1143
1169
  return [
1144
1170
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1145
1171
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1146
1172
  ];
1147
1173
  }).s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {}).n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand).de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand).build() {
1174
+ static {
1175
+ __name(this, "DescribeTrustedAdvisorCheckRefreshStatusesCommand");
1176
+ }
1148
1177
  };
1149
- __name(_DescribeTrustedAdvisorCheckRefreshStatusesCommand, "DescribeTrustedAdvisorCheckRefreshStatusesCommand");
1150
- var DescribeTrustedAdvisorCheckRefreshStatusesCommand = _DescribeTrustedAdvisorCheckRefreshStatusesCommand;
1151
1178
 
1152
1179
  // src/commands/DescribeTrustedAdvisorCheckResultCommand.ts
1153
1180
 
1154
1181
 
1155
1182
 
1156
- var _DescribeTrustedAdvisorCheckResultCommand = class _DescribeTrustedAdvisorCheckResultCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1183
+ var DescribeTrustedAdvisorCheckResultCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1157
1184
  return [
1158
1185
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1159
1186
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1160
1187
  ];
1161
1188
  }).s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {}).n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckResultCommand).de(de_DescribeTrustedAdvisorCheckResultCommand).build() {
1189
+ static {
1190
+ __name(this, "DescribeTrustedAdvisorCheckResultCommand");
1191
+ }
1162
1192
  };
1163
- __name(_DescribeTrustedAdvisorCheckResultCommand, "DescribeTrustedAdvisorCheckResultCommand");
1164
- var DescribeTrustedAdvisorCheckResultCommand = _DescribeTrustedAdvisorCheckResultCommand;
1165
1193
 
1166
1194
  // src/commands/DescribeTrustedAdvisorChecksCommand.ts
1167
1195
 
1168
1196
 
1169
1197
 
1170
- var _DescribeTrustedAdvisorChecksCommand = class _DescribeTrustedAdvisorChecksCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1198
+ var DescribeTrustedAdvisorChecksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1171
1199
  return [
1172
1200
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1173
1201
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1174
1202
  ];
1175
1203
  }).s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {}).n("SupportClient", "DescribeTrustedAdvisorChecksCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorChecksCommand).de(de_DescribeTrustedAdvisorChecksCommand).build() {
1204
+ static {
1205
+ __name(this, "DescribeTrustedAdvisorChecksCommand");
1206
+ }
1176
1207
  };
1177
- __name(_DescribeTrustedAdvisorChecksCommand, "DescribeTrustedAdvisorChecksCommand");
1178
- var DescribeTrustedAdvisorChecksCommand = _DescribeTrustedAdvisorChecksCommand;
1179
1208
 
1180
1209
  // src/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts
1181
1210
 
1182
1211
 
1183
1212
 
1184
- var _DescribeTrustedAdvisorCheckSummariesCommand = class _DescribeTrustedAdvisorCheckSummariesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1213
+ var DescribeTrustedAdvisorCheckSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1185
1214
  return [
1186
1215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1187
1216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1188
1217
  ];
1189
1218
  }).s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {}).n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand").f(void 0, void 0).ser(se_DescribeTrustedAdvisorCheckSummariesCommand).de(de_DescribeTrustedAdvisorCheckSummariesCommand).build() {
1219
+ static {
1220
+ __name(this, "DescribeTrustedAdvisorCheckSummariesCommand");
1221
+ }
1190
1222
  };
1191
- __name(_DescribeTrustedAdvisorCheckSummariesCommand, "DescribeTrustedAdvisorCheckSummariesCommand");
1192
- var DescribeTrustedAdvisorCheckSummariesCommand = _DescribeTrustedAdvisorCheckSummariesCommand;
1193
1223
 
1194
1224
  // src/commands/RefreshTrustedAdvisorCheckCommand.ts
1195
1225
 
1196
1226
 
1197
1227
 
1198
- var _RefreshTrustedAdvisorCheckCommand = class _RefreshTrustedAdvisorCheckCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1228
+ var RefreshTrustedAdvisorCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1199
1229
  return [
1200
1230
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1201
1231
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1202
1232
  ];
1203
1233
  }).s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {}).n("SupportClient", "RefreshTrustedAdvisorCheckCommand").f(void 0, void 0).ser(se_RefreshTrustedAdvisorCheckCommand).de(de_RefreshTrustedAdvisorCheckCommand).build() {
1234
+ static {
1235
+ __name(this, "RefreshTrustedAdvisorCheckCommand");
1236
+ }
1204
1237
  };
1205
- __name(_RefreshTrustedAdvisorCheckCommand, "RefreshTrustedAdvisorCheckCommand");
1206
- var RefreshTrustedAdvisorCheckCommand = _RefreshTrustedAdvisorCheckCommand;
1207
1238
 
1208
1239
  // src/commands/ResolveCaseCommand.ts
1209
1240
 
1210
1241
 
1211
1242
 
1212
- var _ResolveCaseCommand = class _ResolveCaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1243
+ var ResolveCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1213
1244
  return [
1214
1245
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1215
1246
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1216
1247
  ];
1217
1248
  }).s("AWSSupport_20130415", "ResolveCase", {}).n("SupportClient", "ResolveCaseCommand").f(void 0, void 0).ser(se_ResolveCaseCommand).de(de_ResolveCaseCommand).build() {
1249
+ static {
1250
+ __name(this, "ResolveCaseCommand");
1251
+ }
1218
1252
  };
1219
- __name(_ResolveCaseCommand, "ResolveCaseCommand");
1220
- var ResolveCaseCommand = _ResolveCaseCommand;
1221
1253
 
1222
1254
  // src/Support.ts
1223
1255
  var commands = {
@@ -1238,10 +1270,11 @@ var commands = {
1238
1270
  RefreshTrustedAdvisorCheckCommand,
1239
1271
  ResolveCaseCommand
1240
1272
  };
1241
- var _Support = class _Support extends SupportClient {
1273
+ var Support = class extends SupportClient {
1274
+ static {
1275
+ __name(this, "Support");
1276
+ }
1242
1277
  };
1243
- __name(_Support, "Support");
1244
- var Support = _Support;
1245
1278
  (0, import_smithy_client.createAggregatedClient)(commands, Support);
1246
1279
 
1247
1280
  // src/pagination/DescribeCasesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class SupportClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,121 +1,121 @@
1
1
  import { SupportServiceException as __BaseException } from "./SupportServiceException";
2
2
  export class AttachmentLimitExceeded extends __BaseException {
3
+ name = "AttachmentLimitExceeded";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "AttachmentLimitExceeded",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "AttachmentLimitExceeded";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
12
12
  }
13
13
  }
14
14
  export class AttachmentSetExpired extends __BaseException {
15
+ name = "AttachmentSetExpired";
16
+ $fault = "client";
15
17
  constructor(opts) {
16
18
  super({
17
19
  name: "AttachmentSetExpired",
18
20
  $fault: "client",
19
21
  ...opts,
20
22
  });
21
- this.name = "AttachmentSetExpired";
22
- this.$fault = "client";
23
23
  Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
24
24
  }
25
25
  }
26
26
  export class AttachmentSetIdNotFound extends __BaseException {
27
+ name = "AttachmentSetIdNotFound";
28
+ $fault = "client";
27
29
  constructor(opts) {
28
30
  super({
29
31
  name: "AttachmentSetIdNotFound",
30
32
  $fault: "client",
31
33
  ...opts,
32
34
  });
33
- this.name = "AttachmentSetIdNotFound";
34
- this.$fault = "client";
35
35
  Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
36
36
  }
37
37
  }
38
38
  export class AttachmentSetSizeLimitExceeded extends __BaseException {
39
+ name = "AttachmentSetSizeLimitExceeded";
40
+ $fault = "client";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "AttachmentSetSizeLimitExceeded",
42
44
  $fault: "client",
43
45
  ...opts,
44
46
  });
45
- this.name = "AttachmentSetSizeLimitExceeded";
46
- this.$fault = "client";
47
47
  Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
48
48
  }
49
49
  }
50
50
  export class InternalServerError extends __BaseException {
51
+ name = "InternalServerError";
52
+ $fault = "server";
51
53
  constructor(opts) {
52
54
  super({
53
55
  name: "InternalServerError",
54
56
  $fault: "server",
55
57
  ...opts,
56
58
  });
57
- this.name = "InternalServerError";
58
- this.$fault = "server";
59
59
  Object.setPrototypeOf(this, InternalServerError.prototype);
60
60
  }
61
61
  }
62
62
  export class CaseIdNotFound extends __BaseException {
63
+ name = "CaseIdNotFound";
64
+ $fault = "client";
63
65
  constructor(opts) {
64
66
  super({
65
67
  name: "CaseIdNotFound",
66
68
  $fault: "client",
67
69
  ...opts,
68
70
  });
69
- this.name = "CaseIdNotFound";
70
- this.$fault = "client";
71
71
  Object.setPrototypeOf(this, CaseIdNotFound.prototype);
72
72
  }
73
73
  }
74
74
  export class AttachmentIdNotFound extends __BaseException {
75
+ name = "AttachmentIdNotFound";
76
+ $fault = "client";
75
77
  constructor(opts) {
76
78
  super({
77
79
  name: "AttachmentIdNotFound",
78
80
  $fault: "client",
79
81
  ...opts,
80
82
  });
81
- this.name = "AttachmentIdNotFound";
82
- this.$fault = "client";
83
83
  Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
84
84
  }
85
85
  }
86
86
  export class CaseCreationLimitExceeded extends __BaseException {
87
+ name = "CaseCreationLimitExceeded";
88
+ $fault = "client";
87
89
  constructor(opts) {
88
90
  super({
89
91
  name: "CaseCreationLimitExceeded",
90
92
  $fault: "client",
91
93
  ...opts,
92
94
  });
93
- this.name = "CaseCreationLimitExceeded";
94
- this.$fault = "client";
95
95
  Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
96
96
  }
97
97
  }
98
98
  export class DescribeAttachmentLimitExceeded extends __BaseException {
99
+ name = "DescribeAttachmentLimitExceeded";
100
+ $fault = "client";
99
101
  constructor(opts) {
100
102
  super({
101
103
  name: "DescribeAttachmentLimitExceeded",
102
104
  $fault: "client",
103
105
  ...opts,
104
106
  });
105
- this.name = "DescribeAttachmentLimitExceeded";
106
- this.$fault = "client";
107
107
  Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
108
108
  }
109
109
  }
110
110
  export class ThrottlingException extends __BaseException {
111
+ name = "ThrottlingException";
112
+ $fault = "client";
111
113
  constructor(opts) {
112
114
  super({
113
115
  name: "ThrottlingException",
114
116
  $fault: "client",
115
117
  ...opts,
116
118
  });
117
- this.name = "ThrottlingException";
118
- this.$fault = "client";
119
119
  Object.setPrototypeOf(this, ThrottlingException.prototype);
120
120
  }
121
121
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: SupportClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-support",
3
3
  "description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.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-support",
@@ -20,56 +20,56 @@
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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {