@aws-sdk/client-support 3.927.0 → 3.929.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 (37) hide show
  1. package/dist-cjs/index.js +752 -755
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SupportClient.js +2 -0
  4. package/dist-es/commands/AddAttachmentsToSetCommand.js +3 -9
  5. package/dist-es/commands/AddCommunicationToCaseCommand.js +3 -9
  6. package/dist-es/commands/CreateCaseCommand.js +3 -9
  7. package/dist-es/commands/DescribeAttachmentCommand.js +3 -9
  8. package/dist-es/commands/DescribeCasesCommand.js +3 -9
  9. package/dist-es/commands/DescribeCommunicationsCommand.js +3 -9
  10. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +3 -9
  11. package/dist-es/commands/DescribeServicesCommand.js +3 -9
  12. package/dist-es/commands/DescribeSeverityLevelsCommand.js +3 -9
  13. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +3 -9
  14. package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +3 -9
  15. package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +3 -9
  16. package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +3 -9
  17. package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +3 -9
  18. package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +3 -9
  19. package/dist-es/commands/ResolveCaseCommand.js +3 -9
  20. package/dist-es/runtimeConfig.shared.js +7 -0
  21. package/dist-es/schemas/schemas_0.js +691 -0
  22. package/dist-types/SupportClient.d.ts +10 -1
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  24. package/dist-types/runtimeConfig.d.ts +1 -0
  25. package/dist-types/runtimeConfig.native.d.ts +1 -0
  26. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +99 -0
  28. package/dist-types/ts3.4/SupportClient.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
  34. package/package.json +5 -5
  35. package/dist-es/protocols/Aws_json1_1.js +0 -617
  36. package/dist-types/protocols/Aws_json1_1.d.ts +0 -146
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -197
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class SupportClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class SupportClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class SupportServiceException extends smithyClient.ServiceException {
113
+ let SupportServiceException$1 = class SupportServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SupportServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AttachmentLimitExceeded extends SupportServiceException {
120
+ let AttachmentLimitExceeded$1 = class AttachmentLimitExceeded extends SupportServiceException$1 {
121
121
  name = "AttachmentLimitExceeded";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class AttachmentLimitExceeded extends SupportServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
130
130
  }
131
- }
132
- class AttachmentSetExpired extends SupportServiceException {
131
+ };
132
+ let AttachmentSetExpired$1 = class AttachmentSetExpired extends SupportServiceException$1 {
133
133
  name = "AttachmentSetExpired";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class AttachmentSetExpired extends SupportServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
142
142
  }
143
- }
144
- class AttachmentSetIdNotFound extends SupportServiceException {
143
+ };
144
+ let AttachmentSetIdNotFound$1 = class AttachmentSetIdNotFound extends SupportServiceException$1 {
145
145
  name = "AttachmentSetIdNotFound";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class AttachmentSetIdNotFound extends SupportServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
154
154
  }
155
- }
156
- class AttachmentSetSizeLimitExceeded extends SupportServiceException {
155
+ };
156
+ let AttachmentSetSizeLimitExceeded$1 = class AttachmentSetSizeLimitExceeded extends SupportServiceException$1 {
157
157
  name = "AttachmentSetSizeLimitExceeded";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class AttachmentSetSizeLimitExceeded extends SupportServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
166
166
  }
167
- }
168
- class InternalServerError extends SupportServiceException {
167
+ };
168
+ let InternalServerError$1 = class InternalServerError extends SupportServiceException$1 {
169
169
  name = "InternalServerError";
170
170
  $fault = "server";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ class InternalServerError extends SupportServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, InternalServerError.prototype);
178
178
  }
179
- }
180
- class CaseIdNotFound extends SupportServiceException {
179
+ };
180
+ let CaseIdNotFound$1 = class CaseIdNotFound extends SupportServiceException$1 {
181
181
  name = "CaseIdNotFound";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ class CaseIdNotFound extends SupportServiceException {
188
188
  });
189
189
  Object.setPrototypeOf(this, CaseIdNotFound.prototype);
190
190
  }
191
- }
192
- class AttachmentIdNotFound extends SupportServiceException {
191
+ };
192
+ let AttachmentIdNotFound$1 = class AttachmentIdNotFound extends SupportServiceException$1 {
193
193
  name = "AttachmentIdNotFound";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ class AttachmentIdNotFound extends SupportServiceException {
200
200
  });
201
201
  Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
202
202
  }
203
- }
204
- class CaseCreationLimitExceeded extends SupportServiceException {
203
+ };
204
+ let CaseCreationLimitExceeded$1 = class CaseCreationLimitExceeded extends SupportServiceException$1 {
205
205
  name = "CaseCreationLimitExceeded";
206
206
  $fault = "client";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ class CaseCreationLimitExceeded extends SupportServiceException {
212
212
  });
213
213
  Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
214
214
  }
215
- }
216
- class DescribeAttachmentLimitExceeded extends SupportServiceException {
215
+ };
216
+ let DescribeAttachmentLimitExceeded$1 = class DescribeAttachmentLimitExceeded extends SupportServiceException$1 {
217
217
  name = "DescribeAttachmentLimitExceeded";
218
218
  $fault = "client";
219
219
  constructor(opts) {
@@ -224,8 +224,8 @@ class DescribeAttachmentLimitExceeded extends SupportServiceException {
224
224
  });
225
225
  Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
226
226
  }
227
- }
228
- class ThrottlingException extends SupportServiceException {
227
+ };
228
+ let ThrottlingException$1 = class ThrottlingException extends SupportServiceException$1 {
229
229
  name = "ThrottlingException";
230
230
  $fault = "client";
231
231
  constructor(opts) {
@@ -236,631 +236,703 @@ class ThrottlingException extends SupportServiceException {
236
236
  });
237
237
  Object.setPrototypeOf(this, ThrottlingException.prototype);
238
238
  }
239
- }
240
-
241
- const se_AddAttachmentsToSetCommand = async (input, context) => {
242
- const headers = sharedHeaders("AddAttachmentsToSet");
243
- let body;
244
- body = JSON.stringify(se_AddAttachmentsToSetRequest(input, context));
245
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
- };
247
- const se_AddCommunicationToCaseCommand = async (input, context) => {
248
- const headers = sharedHeaders("AddCommunicationToCase");
249
- let body;
250
- body = JSON.stringify(smithyClient._json(input));
251
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
252
- };
253
- const se_CreateCaseCommand = async (input, context) => {
254
- const headers = sharedHeaders("CreateCase");
255
- let body;
256
- body = JSON.stringify(smithyClient._json(input));
257
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
- };
259
- const se_DescribeAttachmentCommand = async (input, context) => {
260
- const headers = sharedHeaders("DescribeAttachment");
261
- let body;
262
- body = JSON.stringify(smithyClient._json(input));
263
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
264
- };
265
- const se_DescribeCasesCommand = async (input, context) => {
266
- const headers = sharedHeaders("DescribeCases");
267
- let body;
268
- body = JSON.stringify(smithyClient._json(input));
269
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
270
- };
271
- const se_DescribeCommunicationsCommand = async (input, context) => {
272
- const headers = sharedHeaders("DescribeCommunications");
273
- let body;
274
- body = JSON.stringify(smithyClient._json(input));
275
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
276
- };
277
- const se_DescribeCreateCaseOptionsCommand = async (input, context) => {
278
- const headers = sharedHeaders("DescribeCreateCaseOptions");
279
- let body;
280
- body = JSON.stringify(smithyClient._json(input));
281
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
282
- };
283
- const se_DescribeServicesCommand = async (input, context) => {
284
- const headers = sharedHeaders("DescribeServices");
285
- let body;
286
- body = JSON.stringify(smithyClient._json(input));
287
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
288
- };
289
- const se_DescribeSeverityLevelsCommand = async (input, context) => {
290
- const headers = sharedHeaders("DescribeSeverityLevels");
291
- let body;
292
- body = JSON.stringify(smithyClient._json(input));
293
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
- };
295
- const se_DescribeSupportedLanguagesCommand = async (input, context) => {
296
- const headers = sharedHeaders("DescribeSupportedLanguages");
297
- let body;
298
- body = JSON.stringify(smithyClient._json(input));
299
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
300
- };
301
- const se_DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (input, context) => {
302
- const headers = sharedHeaders("DescribeTrustedAdvisorCheckRefreshStatuses");
303
- let body;
304
- body = JSON.stringify(se_DescribeTrustedAdvisorCheckRefreshStatusesRequest(input));
305
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
- };
307
- const se_DescribeTrustedAdvisorCheckResultCommand = async (input, context) => {
308
- const headers = sharedHeaders("DescribeTrustedAdvisorCheckResult");
309
- let body;
310
- body = JSON.stringify(smithyClient._json(input));
311
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
312
- };
313
- const se_DescribeTrustedAdvisorChecksCommand = async (input, context) => {
314
- const headers = sharedHeaders("DescribeTrustedAdvisorChecks");
315
- let body;
316
- body = JSON.stringify(smithyClient._json(input));
317
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
318
- };
319
- const se_DescribeTrustedAdvisorCheckSummariesCommand = async (input, context) => {
320
- const headers = sharedHeaders("DescribeTrustedAdvisorCheckSummaries");
321
- let body;
322
- body = JSON.stringify(se_DescribeTrustedAdvisorCheckSummariesRequest(input));
323
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
324
- };
325
- const se_RefreshTrustedAdvisorCheckCommand = async (input, context) => {
326
- const headers = sharedHeaders("RefreshTrustedAdvisorCheck");
327
- let body;
328
- body = JSON.stringify(smithyClient._json(input));
329
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
- };
331
- const se_ResolveCaseCommand = async (input, context) => {
332
- const headers = sharedHeaders("ResolveCase");
333
- let body;
334
- body = JSON.stringify(smithyClient._json(input));
335
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
336
- };
337
- const de_AddAttachmentsToSetCommand = async (output, context) => {
338
- if (output.statusCode >= 300) {
339
- return de_CommandError(output, context);
340
- }
341
- const data = await core$1.parseJsonBody(output.body, context);
342
- let contents = {};
343
- contents = smithyClient._json(data);
344
- const response = {
345
- $metadata: deserializeMetadata(output),
346
- ...contents,
347
- };
348
- return response;
349
- };
350
- const de_AddCommunicationToCaseCommand = async (output, context) => {
351
- if (output.statusCode >= 300) {
352
- return de_CommandError(output, context);
353
- }
354
- const data = await core$1.parseJsonBody(output.body, context);
355
- let contents = {};
356
- contents = smithyClient._json(data);
357
- const response = {
358
- $metadata: deserializeMetadata(output),
359
- ...contents,
360
- };
361
- return response;
362
- };
363
- const de_CreateCaseCommand = async (output, context) => {
364
- if (output.statusCode >= 300) {
365
- return de_CommandError(output, context);
366
- }
367
- const data = await core$1.parseJsonBody(output.body, context);
368
- let contents = {};
369
- contents = smithyClient._json(data);
370
- const response = {
371
- $metadata: deserializeMetadata(output),
372
- ...contents,
373
- };
374
- return response;
375
- };
376
- const de_DescribeAttachmentCommand = async (output, context) => {
377
- if (output.statusCode >= 300) {
378
- return de_CommandError(output, context);
379
- }
380
- const data = await core$1.parseJsonBody(output.body, context);
381
- let contents = {};
382
- contents = de_DescribeAttachmentResponse(data, context);
383
- const response = {
384
- $metadata: deserializeMetadata(output),
385
- ...contents,
386
- };
387
- return response;
388
- };
389
- const de_DescribeCasesCommand = async (output, context) => {
390
- if (output.statusCode >= 300) {
391
- return de_CommandError(output, context);
392
- }
393
- const data = await core$1.parseJsonBody(output.body, context);
394
- let contents = {};
395
- contents = smithyClient._json(data);
396
- const response = {
397
- $metadata: deserializeMetadata(output),
398
- ...contents,
399
- };
400
- return response;
401
- };
402
- const de_DescribeCommunicationsCommand = async (output, context) => {
403
- if (output.statusCode >= 300) {
404
- return de_CommandError(output, context);
405
- }
406
- const data = await core$1.parseJsonBody(output.body, context);
407
- let contents = {};
408
- contents = smithyClient._json(data);
409
- const response = {
410
- $metadata: deserializeMetadata(output),
411
- ...contents,
412
- };
413
- return response;
414
- };
415
- const de_DescribeCreateCaseOptionsCommand = async (output, context) => {
416
- if (output.statusCode >= 300) {
417
- return de_CommandError(output, context);
418
- }
419
- const data = await core$1.parseJsonBody(output.body, context);
420
- let contents = {};
421
- contents = smithyClient._json(data);
422
- const response = {
423
- $metadata: deserializeMetadata(output),
424
- ...contents,
425
- };
426
- return response;
427
- };
428
- const de_DescribeServicesCommand = async (output, context) => {
429
- if (output.statusCode >= 300) {
430
- return de_CommandError(output, context);
431
- }
432
- const data = await core$1.parseJsonBody(output.body, context);
433
- let contents = {};
434
- contents = smithyClient._json(data);
435
- const response = {
436
- $metadata: deserializeMetadata(output),
437
- ...contents,
438
- };
439
- return response;
440
- };
441
- const de_DescribeSeverityLevelsCommand = async (output, context) => {
442
- if (output.statusCode >= 300) {
443
- return de_CommandError(output, context);
444
- }
445
- const data = await core$1.parseJsonBody(output.body, context);
446
- let contents = {};
447
- contents = smithyClient._json(data);
448
- const response = {
449
- $metadata: deserializeMetadata(output),
450
- ...contents,
451
- };
452
- return response;
453
- };
454
- const de_DescribeSupportedLanguagesCommand = async (output, context) => {
455
- if (output.statusCode >= 300) {
456
- return de_CommandError(output, context);
457
- }
458
- const data = await core$1.parseJsonBody(output.body, context);
459
- let contents = {};
460
- contents = smithyClient._json(data);
461
- const response = {
462
- $metadata: deserializeMetadata(output),
463
- ...contents,
464
- };
465
- return response;
466
- };
467
- const de_DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (output, context) => {
468
- if (output.statusCode >= 300) {
469
- return de_CommandError(output, context);
470
- }
471
- const data = await core$1.parseJsonBody(output.body, context);
472
- let contents = {};
473
- contents = smithyClient._json(data);
474
- const response = {
475
- $metadata: deserializeMetadata(output),
476
- ...contents,
477
- };
478
- return response;
479
- };
480
- const de_DescribeTrustedAdvisorCheckResultCommand = async (output, context) => {
481
- if (output.statusCode >= 300) {
482
- return de_CommandError(output, context);
483
- }
484
- const data = await core$1.parseJsonBody(output.body, context);
485
- let contents = {};
486
- contents = de_DescribeTrustedAdvisorCheckResultResponse(data);
487
- const response = {
488
- $metadata: deserializeMetadata(output),
489
- ...contents,
490
- };
491
- return response;
492
- };
493
- const de_DescribeTrustedAdvisorChecksCommand = async (output, context) => {
494
- if (output.statusCode >= 300) {
495
- return de_CommandError(output, context);
496
- }
497
- const data = await core$1.parseJsonBody(output.body, context);
498
- let contents = {};
499
- contents = de_DescribeTrustedAdvisorChecksResponse(data);
500
- const response = {
501
- $metadata: deserializeMetadata(output),
502
- ...contents,
503
- };
504
- return response;
505
- };
506
- const de_DescribeTrustedAdvisorCheckSummariesCommand = async (output, context) => {
507
- if (output.statusCode >= 300) {
508
- return de_CommandError(output, context);
509
- }
510
- const data = await core$1.parseJsonBody(output.body, context);
511
- let contents = {};
512
- contents = de_DescribeTrustedAdvisorCheckSummariesResponse(data);
513
- const response = {
514
- $metadata: deserializeMetadata(output),
515
- ...contents,
516
- };
517
- return response;
518
239
  };
519
- const de_RefreshTrustedAdvisorCheckCommand = async (output, context) => {
520
- if (output.statusCode >= 300) {
521
- return de_CommandError(output, context);
522
- }
523
- const data = await core$1.parseJsonBody(output.body, context);
524
- let contents = {};
525
- contents = smithyClient._json(data);
526
- const response = {
527
- $metadata: deserializeMetadata(output),
528
- ...contents,
529
- };
530
- return response;
531
- };
532
- const de_ResolveCaseCommand = async (output, context) => {
533
- if (output.statusCode >= 300) {
534
- return de_CommandError(output, context);
535
- }
536
- const data = await core$1.parseJsonBody(output.body, context);
537
- let contents = {};
538
- contents = smithyClient._json(data);
539
- const response = {
540
- $metadata: deserializeMetadata(output),
541
- ...contents,
542
- };
543
- return response;
544
- };
545
- const de_CommandError = async (output, context) => {
546
- const parsedOutput = {
547
- ...output,
548
- body: await core$1.parseJsonErrorBody(output.body, context),
549
- };
550
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
551
- switch (errorCode) {
552
- case "AttachmentLimitExceeded":
553
- case "com.amazonaws.support#AttachmentLimitExceeded":
554
- throw await de_AttachmentLimitExceededRes(parsedOutput);
555
- case "AttachmentSetExpired":
556
- case "com.amazonaws.support#AttachmentSetExpired":
557
- throw await de_AttachmentSetExpiredRes(parsedOutput);
558
- case "AttachmentSetIdNotFound":
559
- case "com.amazonaws.support#AttachmentSetIdNotFound":
560
- throw await de_AttachmentSetIdNotFoundRes(parsedOutput);
561
- case "AttachmentSetSizeLimitExceeded":
562
- case "com.amazonaws.support#AttachmentSetSizeLimitExceeded":
563
- throw await de_AttachmentSetSizeLimitExceededRes(parsedOutput);
564
- case "InternalServerError":
565
- case "com.amazonaws.support#InternalServerError":
566
- throw await de_InternalServerErrorRes(parsedOutput);
567
- case "CaseIdNotFound":
568
- case "com.amazonaws.support#CaseIdNotFound":
569
- throw await de_CaseIdNotFoundRes(parsedOutput);
570
- case "CaseCreationLimitExceeded":
571
- case "com.amazonaws.support#CaseCreationLimitExceeded":
572
- throw await de_CaseCreationLimitExceededRes(parsedOutput);
573
- case "AttachmentIdNotFound":
574
- case "com.amazonaws.support#AttachmentIdNotFound":
575
- throw await de_AttachmentIdNotFoundRes(parsedOutput);
576
- case "DescribeAttachmentLimitExceeded":
577
- case "com.amazonaws.support#DescribeAttachmentLimitExceeded":
578
- throw await de_DescribeAttachmentLimitExceededRes(parsedOutput);
579
- case "ThrottlingException":
580
- case "com.amazonaws.support#ThrottlingException":
581
- throw await de_ThrottlingExceptionRes(parsedOutput);
582
- default:
583
- const parsedBody = parsedOutput.body;
584
- return throwDefaultError({
585
- output,
586
- parsedBody,
587
- errorCode,
588
- });
589
- }
590
- };
591
- const de_AttachmentIdNotFoundRes = async (parsedOutput, context) => {
592
- const body = parsedOutput.body;
593
- const deserialized = smithyClient._json(body);
594
- const exception = new AttachmentIdNotFound({
595
- $metadata: deserializeMetadata(parsedOutput),
596
- ...deserialized,
597
- });
598
- return smithyClient.decorateServiceException(exception, body);
599
- };
600
- const de_AttachmentLimitExceededRes = async (parsedOutput, context) => {
601
- const body = parsedOutput.body;
602
- const deserialized = smithyClient._json(body);
603
- const exception = new AttachmentLimitExceeded({
604
- $metadata: deserializeMetadata(parsedOutput),
605
- ...deserialized,
606
- });
607
- return smithyClient.decorateServiceException(exception, body);
608
- };
609
- const de_AttachmentSetExpiredRes = async (parsedOutput, context) => {
610
- const body = parsedOutput.body;
611
- const deserialized = smithyClient._json(body);
612
- const exception = new AttachmentSetExpired({
613
- $metadata: deserializeMetadata(parsedOutput),
614
- ...deserialized,
615
- });
616
- return smithyClient.decorateServiceException(exception, body);
617
- };
618
- const de_AttachmentSetIdNotFoundRes = async (parsedOutput, context) => {
619
- const body = parsedOutput.body;
620
- const deserialized = smithyClient._json(body);
621
- const exception = new AttachmentSetIdNotFound({
622
- $metadata: deserializeMetadata(parsedOutput),
623
- ...deserialized,
624
- });
625
- return smithyClient.decorateServiceException(exception, body);
626
- };
627
- const de_AttachmentSetSizeLimitExceededRes = async (parsedOutput, context) => {
628
- const body = parsedOutput.body;
629
- const deserialized = smithyClient._json(body);
630
- const exception = new AttachmentSetSizeLimitExceeded({
631
- $metadata: deserializeMetadata(parsedOutput),
632
- ...deserialized,
633
- });
634
- return smithyClient.decorateServiceException(exception, body);
635
- };
636
- const de_CaseCreationLimitExceededRes = async (parsedOutput, context) => {
637
- const body = parsedOutput.body;
638
- const deserialized = smithyClient._json(body);
639
- const exception = new CaseCreationLimitExceeded({
640
- $metadata: deserializeMetadata(parsedOutput),
641
- ...deserialized,
642
- });
643
- return smithyClient.decorateServiceException(exception, body);
644
- };
645
- const de_CaseIdNotFoundRes = async (parsedOutput, context) => {
646
- const body = parsedOutput.body;
647
- const deserialized = smithyClient._json(body);
648
- const exception = new CaseIdNotFound({
649
- $metadata: deserializeMetadata(parsedOutput),
650
- ...deserialized,
651
- });
652
- return smithyClient.decorateServiceException(exception, body);
653
- };
654
- const de_DescribeAttachmentLimitExceededRes = async (parsedOutput, context) => {
655
- const body = parsedOutput.body;
656
- const deserialized = smithyClient._json(body);
657
- const exception = new DescribeAttachmentLimitExceeded({
658
- $metadata: deserializeMetadata(parsedOutput),
659
- ...deserialized,
660
- });
661
- return smithyClient.decorateServiceException(exception, body);
662
- };
663
- const de_InternalServerErrorRes = async (parsedOutput, context) => {
664
- const body = parsedOutput.body;
665
- const deserialized = smithyClient._json(body);
666
- const exception = new InternalServerError({
667
- $metadata: deserializeMetadata(parsedOutput),
668
- ...deserialized,
669
- });
670
- return smithyClient.decorateServiceException(exception, body);
671
- };
672
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
673
- const body = parsedOutput.body;
674
- const deserialized = smithyClient._json(body);
675
- const exception = new ThrottlingException({
676
- $metadata: deserializeMetadata(parsedOutput),
677
- ...deserialized,
678
- });
679
- return smithyClient.decorateServiceException(exception, body);
680
- };
681
- const se_AddAttachmentsToSetRequest = (input, context) => {
682
- return smithyClient.take(input, {
683
- attachmentSetId: [],
684
- attachments: (_) => se_Attachments(_, context),
685
- });
686
- };
687
- const se_Attachment = (input, context) => {
688
- return smithyClient.take(input, {
689
- data: context.base64Encoder,
690
- fileName: [],
691
- });
692
- };
693
- const se_Attachments = (input, context) => {
694
- return input
695
- .filter((e) => e != null)
696
- .map((entry) => {
697
- return se_Attachment(entry, context);
698
- });
699
- };
700
- const se_DescribeTrustedAdvisorCheckRefreshStatusesRequest = (input, context) => {
701
- return smithyClient.take(input, {
702
- checkIds: (_) => se_StringList(_),
703
- });
704
- };
705
- const se_DescribeTrustedAdvisorCheckSummariesRequest = (input, context) => {
706
- return smithyClient.take(input, {
707
- checkIds: (_) => se_StringList(_),
708
- });
709
- };
710
- const se_StringList = (input, context) => {
711
- return input;
712
- };
713
- const de_Attachment = (output, context) => {
714
- return smithyClient.take(output, {
715
- data: context.base64Decoder,
716
- fileName: smithyClient.expectString,
717
- });
718
- };
719
- const de_DescribeAttachmentResponse = (output, context) => {
720
- return smithyClient.take(output, {
721
- attachment: (_) => de_Attachment(_, context),
722
- });
723
- };
724
- const de_DescribeTrustedAdvisorCheckResultResponse = (output, context) => {
725
- return smithyClient.take(output, {
726
- result: (_) => de_TrustedAdvisorCheckResult(_),
727
- });
728
- };
729
- const de_DescribeTrustedAdvisorChecksResponse = (output, context) => {
730
- return smithyClient.take(output, {
731
- checks: (_) => de_TrustedAdvisorCheckList(_),
732
- });
733
- };
734
- const de_DescribeTrustedAdvisorCheckSummariesResponse = (output, context) => {
735
- return smithyClient.take(output, {
736
- summaries: (_) => de_TrustedAdvisorCheckSummaryList(_),
737
- });
738
- };
739
- const de_StringList = (output, context) => {
740
- const retVal = (output || []).map((entry) => {
741
- if (entry === null) {
742
- return null;
743
- }
744
- return smithyClient.expectString(entry);
745
- });
746
- return retVal;
747
- };
748
- const de_TrustedAdvisorCategorySpecificSummary = (output, context) => {
749
- return smithyClient.take(output, {
750
- costOptimizing: (_) => de_TrustedAdvisorCostOptimizingSummary(_),
751
- });
752
- };
753
- const de_TrustedAdvisorCheckDescription = (output, context) => {
754
- return smithyClient.take(output, {
755
- category: smithyClient.expectString,
756
- description: smithyClient.expectString,
757
- id: smithyClient.expectString,
758
- metadata: (_) => de_StringList(_),
759
- name: smithyClient.expectString,
760
- });
761
- };
762
- const de_TrustedAdvisorCheckList = (output, context) => {
763
- const retVal = (output || [])
764
- .filter((e) => e != null)
765
- .map((entry) => {
766
- return de_TrustedAdvisorCheckDescription(entry);
767
- });
768
- return retVal;
769
- };
770
- const de_TrustedAdvisorCheckResult = (output, context) => {
771
- return smithyClient.take(output, {
772
- categorySpecificSummary: (_) => de_TrustedAdvisorCategorySpecificSummary(_),
773
- checkId: smithyClient.expectString,
774
- flaggedResources: (_) => de_TrustedAdvisorResourceDetailList(_),
775
- resourcesSummary: smithyClient._json,
776
- status: smithyClient.expectString,
777
- timestamp: smithyClient.expectString,
778
- });
779
- };
780
- const de_TrustedAdvisorCheckSummary = (output, context) => {
781
- return smithyClient.take(output, {
782
- categorySpecificSummary: (_) => de_TrustedAdvisorCategorySpecificSummary(_),
783
- checkId: smithyClient.expectString,
784
- hasFlaggedResources: smithyClient.expectBoolean,
785
- resourcesSummary: smithyClient._json,
786
- status: smithyClient.expectString,
787
- timestamp: smithyClient.expectString,
788
- });
789
- };
790
- const de_TrustedAdvisorCheckSummaryList = (output, context) => {
791
- const retVal = (output || [])
792
- .filter((e) => e != null)
793
- .map((entry) => {
794
- return de_TrustedAdvisorCheckSummary(entry);
795
- });
796
- return retVal;
797
- };
798
- const de_TrustedAdvisorCostOptimizingSummary = (output, context) => {
799
- return smithyClient.take(output, {
800
- estimatedMonthlySavings: smithyClient.limitedParseDouble,
801
- estimatedPercentMonthlySavings: smithyClient.limitedParseDouble,
802
- });
803
- };
804
- const de_TrustedAdvisorResourceDetail = (output, context) => {
805
- return smithyClient.take(output, {
806
- isSuppressed: smithyClient.expectBoolean,
807
- metadata: (_) => de_StringList(_),
808
- region: smithyClient.expectString,
809
- resourceId: smithyClient.expectString,
810
- status: smithyClient.expectString,
811
- });
812
- };
813
- const de_TrustedAdvisorResourceDetailList = (output, context) => {
814
- const retVal = (output || [])
815
- .filter((e) => e != null)
816
- .map((entry) => {
817
- return de_TrustedAdvisorResourceDetail(entry);
818
- });
819
- return retVal;
820
- };
821
- const deserializeMetadata = (output) => ({
822
- httpStatusCode: output.statusCode,
823
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
824
- extendedRequestId: output.headers["x-amz-id-2"],
825
- cfId: output.headers["x-amz-cf-id"],
826
- });
827
- const throwDefaultError = smithyClient.withBaseException(SupportServiceException);
828
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
829
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
830
- const contents = {
831
- protocol,
832
- hostname,
833
- port,
834
- method: "POST",
835
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
836
- headers,
837
- };
838
- if (body !== undefined) {
839
- contents.body = body;
840
- }
841
- return new protocolHttp.HttpRequest(contents);
842
- };
843
- function sharedHeaders(operation) {
844
- return {
845
- "content-type": "application/x-amz-json-1.1",
846
- "x-amz-target": `AWSSupport_20130415.${operation}`,
847
- };
848
- }
240
+
241
+ const _A = "Attachment";
242
+ const _AATS = "AddAttachmentsToSet";
243
+ const _AATSR = "AddAttachmentsToSetRequest";
244
+ const _AATSRd = "AddAttachmentsToSetResponse";
245
+ const _ACTC = "AddCommunicationToCase";
246
+ const _ACTCR = "AddCommunicationToCaseRequest";
247
+ const _ACTCRd = "AddCommunicationToCaseResponse";
248
+ const _AD = "AttachmentDetails";
249
+ const _AINF = "AttachmentIdNotFound";
250
+ const _ALE = "AttachmentLimitExceeded";
251
+ const _AS = "AttachmentSet";
252
+ const _ASE = "AttachmentSetExpired";
253
+ const _ASINF = "AttachmentSetIdNotFound";
254
+ const _ASSLE = "AttachmentSetSizeLimitExceeded";
255
+ const _At = "Attachments";
256
+ const _C = "Category";
257
+ const _CC = "CreateCase";
258
+ const _CCLE = "CaseCreationLimitExceeded";
259
+ const _CCR = "CreateCaseRequest";
260
+ const _CCRr = "CreateCaseResponse";
261
+ const _CD = "CaseDetails";
262
+ const _CINF = "CaseIdNotFound";
263
+ const _CL = "CaseList";
264
+ const _CLa = "CategoryList";
265
+ const _CLo = "CommunicationList";
266
+ const _CTO = "CommunicationTypeOptions";
267
+ const _CTOL = "CommunicationTypeOptionsList";
268
+ const _Co = "Communication";
269
+ const _DA = "DescribeAttachment";
270
+ const _DALE = "DescribeAttachmentLimitExceeded";
271
+ const _DAR = "DescribeAttachmentRequest";
272
+ const _DARe = "DescribeAttachmentResponse";
273
+ const _DC = "DescribeCases";
274
+ const _DCCO = "DescribeCreateCaseOptions";
275
+ const _DCCOR = "DescribeCreateCaseOptionsRequest";
276
+ const _DCCORe = "DescribeCreateCaseOptionsResponse";
277
+ const _DCR = "DescribeCasesRequest";
278
+ const _DCRe = "DescribeCasesResponse";
279
+ const _DCRes = "DescribeCommunicationsRequest";
280
+ const _DCResc = "DescribeCommunicationsResponse";
281
+ const _DCe = "DescribeCommunications";
282
+ const _DI = "DateInterval";
283
+ const _DS = "DescribeServices";
284
+ const _DSL = "DescribeSeverityLevels";
285
+ const _DSLR = "DescribeSeverityLevelsRequest";
286
+ const _DSLRe = "DescribeSeverityLevelsResponse";
287
+ const _DSLRes = "DescribeSupportedLanguagesRequest";
288
+ const _DSLResc = "DescribeSupportedLanguagesResponse";
289
+ const _DSLe = "DescribeSupportedLanguages";
290
+ const _DSR = "DescribeServicesRequest";
291
+ const _DSRe = "DescribeServicesResponse";
292
+ const _DTAC = "DescribeTrustedAdvisorChecks";
293
+ const _DTACR = "DescribeTrustedAdvisorChecksRequest";
294
+ const _DTACRR = "DescribeTrustedAdvisorCheckResultRequest";
295
+ const _DTACRRe = "DescribeTrustedAdvisorCheckResultResponse";
296
+ const _DTACRS = "DescribeTrustedAdvisorCheckRefreshStatuses";
297
+ const _DTACRSR = "DescribeTrustedAdvisorCheckRefreshStatusesRequest";
298
+ const _DTACRSRe = "DescribeTrustedAdvisorCheckRefreshStatusesResponse";
299
+ const _DTACRe = "DescribeTrustedAdvisorChecksResponse";
300
+ const _DTACRes = "DescribeTrustedAdvisorCheckResult";
301
+ const _DTACS = "DescribeTrustedAdvisorCheckSummaries";
302
+ const _DTACSR = "DescribeTrustedAdvisorCheckSummariesRequest";
303
+ const _DTACSRe = "DescribeTrustedAdvisorCheckSummariesResponse";
304
+ const _DWSL = "DatesWithoutSupportList";
305
+ const _ISE = "InternalServerError";
306
+ const _RC = "ResolveCase";
307
+ const _RCC = "RecentCaseCommunications";
308
+ const _RCR = "ResolveCaseRequest";
309
+ const _RCRe = "ResolveCaseResponse";
310
+ const _RTAC = "RefreshTrustedAdvisorCheck";
311
+ const _RTACR = "RefreshTrustedAdvisorCheckRequest";
312
+ const _RTACRe = "RefreshTrustedAdvisorCheckResponse";
313
+ const _S = "Service";
314
+ const _SH = "SupportedHour";
315
+ const _SHL = "SupportedHoursList";
316
+ const _SL = "SeverityLevel";
317
+ const _SLL = "SeverityLevelsList";
318
+ const _SLLu = "SupportedLanguagesList";
319
+ const _SLe = "ServiceList";
320
+ const _SLt = "StringList";
321
+ const _SLu = "SupportedLanguage";
322
+ const _TACD = "TrustedAdvisorCheckDescription";
323
+ const _TACL = "TrustedAdvisorCheckList";
324
+ const _TACOS = "TrustedAdvisorCostOptimizingSummary";
325
+ const _TACR = "TrustedAdvisorCheckResult";
326
+ const _TACRS = "TrustedAdvisorCheckRefreshStatus";
327
+ const _TACRSL = "TrustedAdvisorCheckRefreshStatusList";
328
+ const _TACS = "TrustedAdvisorCheckSummary";
329
+ const _TACSL = "TrustedAdvisorCheckSummaryList";
330
+ const _TACSS = "TrustedAdvisorCategorySpecificSummary";
331
+ const _TARD = "TrustedAdvisorResourceDetail";
332
+ const _TARDL = "TrustedAdvisorResourceDetailList";
333
+ const _TARS = "TrustedAdvisorResourcesSummary";
334
+ const _TE = "ThrottlingException";
335
+ const _a = "attachments";
336
+ const _aI = "attachmentId";
337
+ const _aQE = "awsQueryError";
338
+ const _aS = "attachmentSet";
339
+ const _aSI = "attachmentSetId";
340
+ const _aT = "afterTime";
341
+ const _at = "attachment";
342
+ const _b = "body";
343
+ const _bT = "beforeTime";
344
+ const _c = "client";
345
+ const _cB = "communicationBody";
346
+ const _cC = "categoryCode";
347
+ const _cEA = "ccEmailAddresses";
348
+ const _cI = "caseId";
349
+ const _cIL = "caseIdList";
350
+ const _cIh = "checkIds";
351
+ const _cIhe = "checkId";
352
+ const _cO = "costOptimizing";
353
+ const _cSS = "categorySpecificSummary";
354
+ const _cT = "communicationTypes";
355
+ const _ca = "cases";
356
+ const _cat = "categories";
357
+ const _cate = "category";
358
+ const _ch = "checks";
359
+ const _co = "code";
360
+ const _com = "communications";
361
+ const _d = "data";
362
+ const _dI = "displayId";
363
+ const _dWS = "datesWithoutSupport";
364
+ const _de = "description";
365
+ const _di = "display";
366
+ const _e = "error";
367
+ const _eDT = "endDateTime";
368
+ const _eMS = "estimatedMonthlySavings";
369
+ const _ePMS = "estimatedPercentMonthlySavings";
370
+ const _eT = "expiryTime";
371
+ const _eTn = "endTime";
372
+ const _fCS = "finalCaseStatus";
373
+ const _fN = "fileName";
374
+ const _fR = "flaggedResources";
375
+ const _hE = "httpError";
376
+ const _hFR = "hasFlaggedResources";
377
+ const _i = "id";
378
+ const _iC = "includeCommunications";
379
+ const _iCS = "initialCaseStatus";
380
+ const _iRC = "includeResolvedCases";
381
+ const _iS = "isSuppressed";
382
+ const _iT = "issueType";
383
+ const _l = "language";
384
+ const _lA = "languageAvailability";
385
+ const _m = "message";
386
+ const _mR = "maxResults";
387
+ const _mUNR = "millisUntilNextRefreshable";
388
+ const _me = "metadata";
389
+ const _n = "name";
390
+ const _nT = "nextToken";
391
+ const _r = "result";
392
+ const _rC = "recentCommunications";
393
+ const _rF = "resourcesFlagged";
394
+ const _rI = "resourceId";
395
+ const _rIe = "resourcesIgnored";
396
+ const _rP = "resourcesProcessed";
397
+ const _rS = "resourcesSummary";
398
+ const _rSe = "resourcesSuppressed";
399
+ const _re = "region";
400
+ const _s = "subject";
401
+ const _sB = "submittedBy";
402
+ const _sC = "serviceCode";
403
+ const _sCL = "serviceCodeList";
404
+ const _sCe = "severityCode";
405
+ const _sDT = "startDateTime";
406
+ const _sH = "supportedHours";
407
+ const _sL = "severityLevels";
408
+ const _sLu = "supportedLanguages";
409
+ const _sT = "startTime";
410
+ const _se = "services";
411
+ const _ser = "server";
412
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.support";
413
+ const _sp = "sparse";
414
+ const _st = "status";
415
+ const _sta = "statuses";
416
+ const _su = "summaries";
417
+ const _t = "type";
418
+ const _tC = "timeCreated";
419
+ const _ti = "timestamp";
420
+ const n0 = "com.amazonaws.support";
421
+ var AddAttachmentsToSetRequest = [3, n0, _AATSR, 0, [_aSI, _a], [0, () => Attachments]];
422
+ var AddAttachmentsToSetResponse = [3, n0, _AATSRd, 0, [_aSI, _eT], [0, 0]];
423
+ var AddCommunicationToCaseRequest = [
424
+ 3,
425
+ n0,
426
+ _ACTCR,
427
+ 0,
428
+ [_cI, _cB, _cEA, _aSI],
429
+ [0, 0, 64 | 0, 0],
430
+ ];
431
+ var AddCommunicationToCaseResponse = [3, n0, _ACTCRd, 0, [_r], [2]];
432
+ var Attachment = [3, n0, _A, 0, [_fN, _d], [0, 21]];
433
+ var AttachmentDetails = [3, n0, _AD, 0, [_aI, _fN], [0, 0]];
434
+ var AttachmentIdNotFound = [
435
+ -3,
436
+ n0,
437
+ _AINF,
438
+ {
439
+ [_e]: _c,
440
+ },
441
+ [_m],
442
+ [0],
443
+ ];
444
+ schema.TypeRegistry.for(n0).registerError(AttachmentIdNotFound, AttachmentIdNotFound$1);
445
+ var AttachmentLimitExceeded = [
446
+ -3,
447
+ n0,
448
+ _ALE,
449
+ {
450
+ [_e]: _c,
451
+ },
452
+ [_m],
453
+ [0],
454
+ ];
455
+ schema.TypeRegistry.for(n0).registerError(AttachmentLimitExceeded, AttachmentLimitExceeded$1);
456
+ var AttachmentSetExpired = [
457
+ -3,
458
+ n0,
459
+ _ASE,
460
+ {
461
+ [_e]: _c,
462
+ },
463
+ [_m],
464
+ [0],
465
+ ];
466
+ schema.TypeRegistry.for(n0).registerError(AttachmentSetExpired, AttachmentSetExpired$1);
467
+ var AttachmentSetIdNotFound = [
468
+ -3,
469
+ n0,
470
+ _ASINF,
471
+ {
472
+ [_e]: _c,
473
+ },
474
+ [_m],
475
+ [0],
476
+ ];
477
+ schema.TypeRegistry.for(n0).registerError(AttachmentSetIdNotFound, AttachmentSetIdNotFound$1);
478
+ var AttachmentSetSizeLimitExceeded = [
479
+ -3,
480
+ n0,
481
+ _ASSLE,
482
+ {
483
+ [_e]: _c,
484
+ },
485
+ [_m],
486
+ [0],
487
+ ];
488
+ schema.TypeRegistry.for(n0).registerError(AttachmentSetSizeLimitExceeded, AttachmentSetSizeLimitExceeded$1);
489
+ var CaseCreationLimitExceeded = [
490
+ -3,
491
+ n0,
492
+ _CCLE,
493
+ {
494
+ [_e]: _c,
495
+ },
496
+ [_m],
497
+ [0],
498
+ ];
499
+ schema.TypeRegistry.for(n0).registerError(CaseCreationLimitExceeded, CaseCreationLimitExceeded$1);
500
+ var CaseDetails = [
501
+ 3,
502
+ n0,
503
+ _CD,
504
+ 0,
505
+ [_cI, _dI, _s, _st, _sC, _cC, _sCe, _sB, _tC, _rC, _cEA, _l],
506
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => RecentCaseCommunications, 64 | 0, 0],
507
+ ];
508
+ var CaseIdNotFound = [
509
+ -3,
510
+ n0,
511
+ _CINF,
512
+ {
513
+ [_e]: _c,
514
+ },
515
+ [_m],
516
+ [0],
517
+ ];
518
+ schema.TypeRegistry.for(n0).registerError(CaseIdNotFound, CaseIdNotFound$1);
519
+ var Category = [3, n0, _C, 0, [_co, _n], [0, 0]];
520
+ var Communication = [
521
+ 3,
522
+ n0,
523
+ _Co,
524
+ 0,
525
+ [_cI, _b, _sB, _tC, _aS],
526
+ [0, 0, 0, 0, () => AttachmentSet],
527
+ ];
528
+ var CommunicationTypeOptions = [
529
+ 3,
530
+ n0,
531
+ _CTO,
532
+ 0,
533
+ [_t, _sH, _dWS],
534
+ [0, () => SupportedHoursList, () => DatesWithoutSupportList],
535
+ ];
536
+ var CreateCaseRequest = [
537
+ 3,
538
+ n0,
539
+ _CCR,
540
+ 0,
541
+ [_s, _sC, _sCe, _cC, _cB, _cEA, _l, _iT, _aSI],
542
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 0],
543
+ ];
544
+ var CreateCaseResponse = [3, n0, _CCRr, 0, [_cI], [0]];
545
+ var DateInterval = [3, n0, _DI, 0, [_sDT, _eDT], [0, 0]];
546
+ var DescribeAttachmentLimitExceeded = [
547
+ -3,
548
+ n0,
549
+ _DALE,
550
+ {
551
+ [_e]: _c,
552
+ },
553
+ [_m],
554
+ [0],
555
+ ];
556
+ schema.TypeRegistry.for(n0).registerError(DescribeAttachmentLimitExceeded, DescribeAttachmentLimitExceeded$1);
557
+ var DescribeAttachmentRequest = [3, n0, _DAR, 0, [_aI], [0]];
558
+ var DescribeAttachmentResponse = [3, n0, _DARe, 0, [_at], [() => Attachment]];
559
+ var DescribeCasesRequest = [
560
+ 3,
561
+ n0,
562
+ _DCR,
563
+ 0,
564
+ [_cIL, _dI, _aT, _bT, _iRC, _nT, _mR, _l, _iC],
565
+ [64 | 0, 0, 0, 0, 2, 0, 1, 0, 2],
566
+ ];
567
+ var DescribeCasesResponse = [3, n0, _DCRe, 0, [_ca, _nT], [() => CaseList, 0]];
568
+ var DescribeCommunicationsRequest = [
569
+ 3,
570
+ n0,
571
+ _DCRes,
572
+ 0,
573
+ [_cI, _bT, _aT, _nT, _mR],
574
+ [0, 0, 0, 0, 1],
575
+ ];
576
+ var DescribeCommunicationsResponse = [
577
+ 3,
578
+ n0,
579
+ _DCResc,
580
+ 0,
581
+ [_com, _nT],
582
+ [() => CommunicationList, 0],
583
+ ];
584
+ var DescribeCreateCaseOptionsRequest = [
585
+ 3,
586
+ n0,
587
+ _DCCOR,
588
+ 0,
589
+ [_iT, _sC, _l, _cC],
590
+ [0, 0, 0, 0],
591
+ ];
592
+ var DescribeCreateCaseOptionsResponse = [
593
+ 3,
594
+ n0,
595
+ _DCCORe,
596
+ 0,
597
+ [_lA, _cT],
598
+ [0, () => CommunicationTypeOptionsList],
599
+ ];
600
+ var DescribeServicesRequest = [3, n0, _DSR, 0, [_sCL, _l], [64 | 0, 0]];
601
+ var DescribeServicesResponse = [3, n0, _DSRe, 0, [_se], [() => ServiceList]];
602
+ var DescribeSeverityLevelsRequest = [3, n0, _DSLR, 0, [_l], [0]];
603
+ var DescribeSeverityLevelsResponse = [
604
+ 3,
605
+ n0,
606
+ _DSLRe,
607
+ 0,
608
+ [_sL],
609
+ [() => SeverityLevelsList],
610
+ ];
611
+ var DescribeSupportedLanguagesRequest = [3, n0, _DSLRes, 0, [_iT, _sC, _cC], [0, 0, 0]];
612
+ var DescribeSupportedLanguagesResponse = [
613
+ 3,
614
+ n0,
615
+ _DSLResc,
616
+ 0,
617
+ [_sLu],
618
+ [() => SupportedLanguagesList],
619
+ ];
620
+ var DescribeTrustedAdvisorCheckRefreshStatusesRequest = [
621
+ 3,
622
+ n0,
623
+ _DTACRSR,
624
+ 0,
625
+ [_cIh],
626
+ [[() => StringList, 0]],
627
+ ];
628
+ var DescribeTrustedAdvisorCheckRefreshStatusesResponse = [
629
+ 3,
630
+ n0,
631
+ _DTACRSRe,
632
+ 0,
633
+ [_sta],
634
+ [() => TrustedAdvisorCheckRefreshStatusList],
635
+ ];
636
+ var DescribeTrustedAdvisorCheckResultRequest = [3, n0, _DTACRR, 0, [_cIhe, _l], [0, 0]];
637
+ var DescribeTrustedAdvisorCheckResultResponse = [
638
+ 3,
639
+ n0,
640
+ _DTACRRe,
641
+ 0,
642
+ [_r],
643
+ [[() => TrustedAdvisorCheckResult, 0]],
644
+ ];
645
+ var DescribeTrustedAdvisorChecksRequest = [3, n0, _DTACR, 0, [_l], [0]];
646
+ var DescribeTrustedAdvisorChecksResponse = [
647
+ 3,
648
+ n0,
649
+ _DTACRe,
650
+ 0,
651
+ [_ch],
652
+ [[() => TrustedAdvisorCheckList, 0]],
653
+ ];
654
+ var DescribeTrustedAdvisorCheckSummariesRequest = [
655
+ 3,
656
+ n0,
657
+ _DTACSR,
658
+ 0,
659
+ [_cIh],
660
+ [[() => StringList, 0]],
661
+ ];
662
+ var DescribeTrustedAdvisorCheckSummariesResponse = [
663
+ 3,
664
+ n0,
665
+ _DTACSRe,
666
+ 0,
667
+ [_su],
668
+ [() => TrustedAdvisorCheckSummaryList],
669
+ ];
670
+ var InternalServerError = [
671
+ -3,
672
+ n0,
673
+ _ISE,
674
+ {
675
+ [_e]: _ser,
676
+ },
677
+ [_m],
678
+ [0],
679
+ ];
680
+ schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
681
+ var RecentCaseCommunications = [
682
+ 3,
683
+ n0,
684
+ _RCC,
685
+ 0,
686
+ [_com, _nT],
687
+ [() => CommunicationList, 0],
688
+ ];
689
+ var RefreshTrustedAdvisorCheckRequest = [3, n0, _RTACR, 0, [_cIhe], [0]];
690
+ var RefreshTrustedAdvisorCheckResponse = [
691
+ 3,
692
+ n0,
693
+ _RTACRe,
694
+ 0,
695
+ [_st],
696
+ [() => TrustedAdvisorCheckRefreshStatus],
697
+ ];
698
+ var ResolveCaseRequest = [3, n0, _RCR, 0, [_cI], [0]];
699
+ var ResolveCaseResponse = [3, n0, _RCRe, 0, [_iCS, _fCS], [0, 0]];
700
+ var Service = [3, n0, _S, 0, [_co, _n, _cat], [0, 0, () => CategoryList]];
701
+ var SeverityLevel = [3, n0, _SL, 0, [_co, _n], [0, 0]];
702
+ var SupportedHour = [3, n0, _SH, 0, [_sT, _eTn], [0, 0]];
703
+ var SupportedLanguage = [3, n0, _SLu, 0, [_co, _l, _di], [0, 0, 0]];
704
+ var ThrottlingException = [
705
+ -3,
706
+ n0,
707
+ _TE,
708
+ {
709
+ [_e]: _c,
710
+ [_hE]: 400,
711
+ [_aQE]: [`Throttling`, 400],
712
+ },
713
+ [_m],
714
+ [0],
715
+ ];
716
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
717
+ var TrustedAdvisorCategorySpecificSummary = [
718
+ 3,
719
+ n0,
720
+ _TACSS,
721
+ 0,
722
+ [_cO],
723
+ [() => TrustedAdvisorCostOptimizingSummary],
724
+ ];
725
+ var TrustedAdvisorCheckDescription = [
726
+ 3,
727
+ n0,
728
+ _TACD,
729
+ 0,
730
+ [_i, _n, _de, _cate, _me],
731
+ [0, 0, 0, 0, [() => StringList, 0]],
732
+ ];
733
+ var TrustedAdvisorCheckRefreshStatus = [3, n0, _TACRS, 0, [_cIhe, _st, _mUNR], [0, 0, 1]];
734
+ var TrustedAdvisorCheckResult = [
735
+ 3,
736
+ n0,
737
+ _TACR,
738
+ 0,
739
+ [_cIhe, _ti, _st, _rS, _cSS, _fR],
740
+ [
741
+ 0,
742
+ 0,
743
+ 0,
744
+ () => TrustedAdvisorResourcesSummary,
745
+ () => TrustedAdvisorCategorySpecificSummary,
746
+ [() => TrustedAdvisorResourceDetailList, 0],
747
+ ],
748
+ ];
749
+ var TrustedAdvisorCheckSummary = [
750
+ 3,
751
+ n0,
752
+ _TACS,
753
+ 0,
754
+ [_cIhe, _ti, _st, _hFR, _rS, _cSS],
755
+ [0, 0, 0, 2, () => TrustedAdvisorResourcesSummary, () => TrustedAdvisorCategorySpecificSummary],
756
+ ];
757
+ var TrustedAdvisorCostOptimizingSummary = [3, n0, _TACOS, 0, [_eMS, _ePMS], [1, 1]];
758
+ var TrustedAdvisorResourceDetail = [
759
+ 3,
760
+ n0,
761
+ _TARD,
762
+ 0,
763
+ [_st, _re, _rI, _iS, _me],
764
+ [0, 0, 0, 2, [() => StringList, 0]],
765
+ ];
766
+ var TrustedAdvisorResourcesSummary = [
767
+ 3,
768
+ n0,
769
+ _TARS,
770
+ 0,
771
+ [_rP, _rF, _rIe, _rSe],
772
+ [1, 1, 1, 1],
773
+ ];
774
+ var SupportServiceException = [-3, _sm, "SupportServiceException", 0, [], []];
775
+ schema.TypeRegistry.for(_sm).registerError(SupportServiceException, SupportServiceException$1);
776
+ var Attachments = [1, n0, _At, 0, () => Attachment];
777
+ var AttachmentSet = [1, n0, _AS, 0, () => AttachmentDetails];
778
+ var CaseList = [1, n0, _CL, 0, () => CaseDetails];
779
+ var CategoryList = [1, n0, _CLa, 0, () => Category];
780
+ var CommunicationList = [1, n0, _CLo, 0, () => Communication];
781
+ var CommunicationTypeOptionsList = [1, n0, _CTOL, 0, () => CommunicationTypeOptions];
782
+ var DatesWithoutSupportList = [1, n0, _DWSL, 0, () => DateInterval];
783
+ var ServiceList = [1, n0, _SLe, 0, () => Service];
784
+ var SeverityLevelsList = [1, n0, _SLL, 0, () => SeverityLevel];
785
+ var StringList = [
786
+ 1,
787
+ n0,
788
+ _SLt,
789
+ {
790
+ [_sp]: 1,
791
+ },
792
+ 0,
793
+ ];
794
+ var SupportedHoursList = [1, n0, _SHL, 0, () => SupportedHour];
795
+ var SupportedLanguagesList = [1, n0, _SLLu, 0, () => SupportedLanguage];
796
+ var TrustedAdvisorCheckList = [1, n0, _TACL, 0, [() => TrustedAdvisorCheckDescription, 0]];
797
+ var TrustedAdvisorCheckRefreshStatusList = [
798
+ 1,
799
+ n0,
800
+ _TACRSL,
801
+ 0,
802
+ () => TrustedAdvisorCheckRefreshStatus,
803
+ ];
804
+ var TrustedAdvisorCheckSummaryList = [1, n0, _TACSL, 0, () => TrustedAdvisorCheckSummary];
805
+ var TrustedAdvisorResourceDetailList = [
806
+ 1,
807
+ n0,
808
+ _TARDL,
809
+ 0,
810
+ [() => TrustedAdvisorResourceDetail, 0],
811
+ ];
812
+ var AddAttachmentsToSet = [
813
+ 9,
814
+ n0,
815
+ _AATS,
816
+ 0,
817
+ () => AddAttachmentsToSetRequest,
818
+ () => AddAttachmentsToSetResponse,
819
+ ];
820
+ var AddCommunicationToCase = [
821
+ 9,
822
+ n0,
823
+ _ACTC,
824
+ 0,
825
+ () => AddCommunicationToCaseRequest,
826
+ () => AddCommunicationToCaseResponse,
827
+ ];
828
+ var CreateCase = [9, n0, _CC, 0, () => CreateCaseRequest, () => CreateCaseResponse];
829
+ var DescribeAttachment = [
830
+ 9,
831
+ n0,
832
+ _DA,
833
+ 0,
834
+ () => DescribeAttachmentRequest,
835
+ () => DescribeAttachmentResponse,
836
+ ];
837
+ var DescribeCases = [
838
+ 9,
839
+ n0,
840
+ _DC,
841
+ 0,
842
+ () => DescribeCasesRequest,
843
+ () => DescribeCasesResponse,
844
+ ];
845
+ var DescribeCommunications = [
846
+ 9,
847
+ n0,
848
+ _DCe,
849
+ 0,
850
+ () => DescribeCommunicationsRequest,
851
+ () => DescribeCommunicationsResponse,
852
+ ];
853
+ var DescribeCreateCaseOptions = [
854
+ 9,
855
+ n0,
856
+ _DCCO,
857
+ 0,
858
+ () => DescribeCreateCaseOptionsRequest,
859
+ () => DescribeCreateCaseOptionsResponse,
860
+ ];
861
+ var DescribeServices = [
862
+ 9,
863
+ n0,
864
+ _DS,
865
+ 0,
866
+ () => DescribeServicesRequest,
867
+ () => DescribeServicesResponse,
868
+ ];
869
+ var DescribeSeverityLevels = [
870
+ 9,
871
+ n0,
872
+ _DSL,
873
+ 0,
874
+ () => DescribeSeverityLevelsRequest,
875
+ () => DescribeSeverityLevelsResponse,
876
+ ];
877
+ var DescribeSupportedLanguages = [
878
+ 9,
879
+ n0,
880
+ _DSLe,
881
+ 0,
882
+ () => DescribeSupportedLanguagesRequest,
883
+ () => DescribeSupportedLanguagesResponse,
884
+ ];
885
+ var DescribeTrustedAdvisorCheckRefreshStatuses = [
886
+ 9,
887
+ n0,
888
+ _DTACRS,
889
+ 0,
890
+ () => DescribeTrustedAdvisorCheckRefreshStatusesRequest,
891
+ () => DescribeTrustedAdvisorCheckRefreshStatusesResponse,
892
+ ];
893
+ var DescribeTrustedAdvisorCheckResult = [
894
+ 9,
895
+ n0,
896
+ _DTACRes,
897
+ 0,
898
+ () => DescribeTrustedAdvisorCheckResultRequest,
899
+ () => DescribeTrustedAdvisorCheckResultResponse,
900
+ ];
901
+ var DescribeTrustedAdvisorChecks = [
902
+ 9,
903
+ n0,
904
+ _DTAC,
905
+ 0,
906
+ () => DescribeTrustedAdvisorChecksRequest,
907
+ () => DescribeTrustedAdvisorChecksResponse,
908
+ ];
909
+ var DescribeTrustedAdvisorCheckSummaries = [
910
+ 9,
911
+ n0,
912
+ _DTACS,
913
+ 0,
914
+ () => DescribeTrustedAdvisorCheckSummariesRequest,
915
+ () => DescribeTrustedAdvisorCheckSummariesResponse,
916
+ ];
917
+ var RefreshTrustedAdvisorCheck = [
918
+ 9,
919
+ n0,
920
+ _RTAC,
921
+ 0,
922
+ () => RefreshTrustedAdvisorCheckRequest,
923
+ () => RefreshTrustedAdvisorCheckResponse,
924
+ ];
925
+ var ResolveCase = [9, n0, _RC, 0, () => ResolveCaseRequest, () => ResolveCaseResponse];
849
926
 
850
927
  class AddAttachmentsToSetCommand extends smithyClient.Command
851
928
  .classBuilder()
852
929
  .ep(commonParams)
853
930
  .m(function (Command, cs, config, o) {
854
- return [
855
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
856
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
857
- ];
931
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
858
932
  })
859
933
  .s("AWSSupport_20130415", "AddAttachmentsToSet", {})
860
934
  .n("SupportClient", "AddAttachmentsToSetCommand")
861
- .f(void 0, void 0)
862
- .ser(se_AddAttachmentsToSetCommand)
863
- .de(de_AddAttachmentsToSetCommand)
935
+ .sc(AddAttachmentsToSet)
864
936
  .build() {
865
937
  }
866
938
 
@@ -868,16 +940,11 @@ class AddCommunicationToCaseCommand extends smithyClient.Command
868
940
  .classBuilder()
869
941
  .ep(commonParams)
870
942
  .m(function (Command, cs, config, o) {
871
- return [
872
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
873
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
874
- ];
943
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
944
  })
876
945
  .s("AWSSupport_20130415", "AddCommunicationToCase", {})
877
946
  .n("SupportClient", "AddCommunicationToCaseCommand")
878
- .f(void 0, void 0)
879
- .ser(se_AddCommunicationToCaseCommand)
880
- .de(de_AddCommunicationToCaseCommand)
947
+ .sc(AddCommunicationToCase)
881
948
  .build() {
882
949
  }
883
950
 
@@ -885,16 +952,11 @@ class CreateCaseCommand extends smithyClient.Command
885
952
  .classBuilder()
886
953
  .ep(commonParams)
887
954
  .m(function (Command, cs, config, o) {
888
- return [
889
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
890
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
891
- ];
955
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
892
956
  })
893
957
  .s("AWSSupport_20130415", "CreateCase", {})
894
958
  .n("SupportClient", "CreateCaseCommand")
895
- .f(void 0, void 0)
896
- .ser(se_CreateCaseCommand)
897
- .de(de_CreateCaseCommand)
959
+ .sc(CreateCase)
898
960
  .build() {
899
961
  }
900
962
 
@@ -902,16 +964,11 @@ class DescribeAttachmentCommand extends smithyClient.Command
902
964
  .classBuilder()
903
965
  .ep(commonParams)
904
966
  .m(function (Command, cs, config, o) {
905
- return [
906
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
907
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
908
- ];
967
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
909
968
  })
910
969
  .s("AWSSupport_20130415", "DescribeAttachment", {})
911
970
  .n("SupportClient", "DescribeAttachmentCommand")
912
- .f(void 0, void 0)
913
- .ser(se_DescribeAttachmentCommand)
914
- .de(de_DescribeAttachmentCommand)
971
+ .sc(DescribeAttachment)
915
972
  .build() {
916
973
  }
917
974
 
@@ -919,16 +976,11 @@ class DescribeCasesCommand extends smithyClient.Command
919
976
  .classBuilder()
920
977
  .ep(commonParams)
921
978
  .m(function (Command, cs, config, o) {
922
- return [
923
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
924
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
925
- ];
979
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
926
980
  })
927
981
  .s("AWSSupport_20130415", "DescribeCases", {})
928
982
  .n("SupportClient", "DescribeCasesCommand")
929
- .f(void 0, void 0)
930
- .ser(se_DescribeCasesCommand)
931
- .de(de_DescribeCasesCommand)
983
+ .sc(DescribeCases)
932
984
  .build() {
933
985
  }
934
986
 
@@ -936,16 +988,11 @@ class DescribeCommunicationsCommand extends smithyClient.Command
936
988
  .classBuilder()
937
989
  .ep(commonParams)
938
990
  .m(function (Command, cs, config, o) {
939
- return [
940
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
941
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
942
- ];
991
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
943
992
  })
944
993
  .s("AWSSupport_20130415", "DescribeCommunications", {})
945
994
  .n("SupportClient", "DescribeCommunicationsCommand")
946
- .f(void 0, void 0)
947
- .ser(se_DescribeCommunicationsCommand)
948
- .de(de_DescribeCommunicationsCommand)
995
+ .sc(DescribeCommunications)
949
996
  .build() {
950
997
  }
951
998
 
@@ -953,16 +1000,11 @@ class DescribeCreateCaseOptionsCommand extends smithyClient.Command
953
1000
  .classBuilder()
954
1001
  .ep(commonParams)
955
1002
  .m(function (Command, cs, config, o) {
956
- return [
957
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
958
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
959
- ];
1003
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
960
1004
  })
961
1005
  .s("AWSSupport_20130415", "DescribeCreateCaseOptions", {})
962
1006
  .n("SupportClient", "DescribeCreateCaseOptionsCommand")
963
- .f(void 0, void 0)
964
- .ser(se_DescribeCreateCaseOptionsCommand)
965
- .de(de_DescribeCreateCaseOptionsCommand)
1007
+ .sc(DescribeCreateCaseOptions)
966
1008
  .build() {
967
1009
  }
968
1010
 
@@ -970,16 +1012,11 @@ class DescribeServicesCommand extends smithyClient.Command
970
1012
  .classBuilder()
971
1013
  .ep(commonParams)
972
1014
  .m(function (Command, cs, config, o) {
973
- return [
974
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
975
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
976
- ];
1015
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
977
1016
  })
978
1017
  .s("AWSSupport_20130415", "DescribeServices", {})
979
1018
  .n("SupportClient", "DescribeServicesCommand")
980
- .f(void 0, void 0)
981
- .ser(se_DescribeServicesCommand)
982
- .de(de_DescribeServicesCommand)
1019
+ .sc(DescribeServices)
983
1020
  .build() {
984
1021
  }
985
1022
 
@@ -987,16 +1024,11 @@ class DescribeSeverityLevelsCommand extends smithyClient.Command
987
1024
  .classBuilder()
988
1025
  .ep(commonParams)
989
1026
  .m(function (Command, cs, config, o) {
990
- return [
991
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
992
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
993
- ];
1027
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
994
1028
  })
995
1029
  .s("AWSSupport_20130415", "DescribeSeverityLevels", {})
996
1030
  .n("SupportClient", "DescribeSeverityLevelsCommand")
997
- .f(void 0, void 0)
998
- .ser(se_DescribeSeverityLevelsCommand)
999
- .de(de_DescribeSeverityLevelsCommand)
1031
+ .sc(DescribeSeverityLevels)
1000
1032
  .build() {
1001
1033
  }
1002
1034
 
@@ -1004,16 +1036,11 @@ class DescribeSupportedLanguagesCommand extends smithyClient.Command
1004
1036
  .classBuilder()
1005
1037
  .ep(commonParams)
1006
1038
  .m(function (Command, cs, config, o) {
1007
- return [
1008
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1009
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1010
- ];
1039
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1011
1040
  })
1012
1041
  .s("AWSSupport_20130415", "DescribeSupportedLanguages", {})
1013
1042
  .n("SupportClient", "DescribeSupportedLanguagesCommand")
1014
- .f(void 0, void 0)
1015
- .ser(se_DescribeSupportedLanguagesCommand)
1016
- .de(de_DescribeSupportedLanguagesCommand)
1043
+ .sc(DescribeSupportedLanguages)
1017
1044
  .build() {
1018
1045
  }
1019
1046
 
@@ -1021,16 +1048,11 @@ class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends smithyClient.Com
1021
1048
  .classBuilder()
1022
1049
  .ep(commonParams)
1023
1050
  .m(function (Command, cs, config, o) {
1024
- return [
1025
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1026
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1027
- ];
1051
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1028
1052
  })
1029
1053
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckRefreshStatuses", {})
1030
1054
  .n("SupportClient", "DescribeTrustedAdvisorCheckRefreshStatusesCommand")
1031
- .f(void 0, void 0)
1032
- .ser(se_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
1033
- .de(de_DescribeTrustedAdvisorCheckRefreshStatusesCommand)
1055
+ .sc(DescribeTrustedAdvisorCheckRefreshStatuses)
1034
1056
  .build() {
1035
1057
  }
1036
1058
 
@@ -1038,16 +1060,11 @@ class DescribeTrustedAdvisorCheckResultCommand extends smithyClient.Command
1038
1060
  .classBuilder()
1039
1061
  .ep(commonParams)
1040
1062
  .m(function (Command, cs, config, o) {
1041
- return [
1042
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1043
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1044
- ];
1063
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1045
1064
  })
1046
1065
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckResult", {})
1047
1066
  .n("SupportClient", "DescribeTrustedAdvisorCheckResultCommand")
1048
- .f(void 0, void 0)
1049
- .ser(se_DescribeTrustedAdvisorCheckResultCommand)
1050
- .de(de_DescribeTrustedAdvisorCheckResultCommand)
1067
+ .sc(DescribeTrustedAdvisorCheckResult)
1051
1068
  .build() {
1052
1069
  }
1053
1070
 
@@ -1055,16 +1072,11 @@ class DescribeTrustedAdvisorChecksCommand extends smithyClient.Command
1055
1072
  .classBuilder()
1056
1073
  .ep(commonParams)
1057
1074
  .m(function (Command, cs, config, o) {
1058
- return [
1059
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1060
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1061
- ];
1075
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1062
1076
  })
1063
1077
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorChecks", {})
1064
1078
  .n("SupportClient", "DescribeTrustedAdvisorChecksCommand")
1065
- .f(void 0, void 0)
1066
- .ser(se_DescribeTrustedAdvisorChecksCommand)
1067
- .de(de_DescribeTrustedAdvisorChecksCommand)
1079
+ .sc(DescribeTrustedAdvisorChecks)
1068
1080
  .build() {
1069
1081
  }
1070
1082
 
@@ -1072,16 +1084,11 @@ class DescribeTrustedAdvisorCheckSummariesCommand extends smithyClient.Command
1072
1084
  .classBuilder()
1073
1085
  .ep(commonParams)
1074
1086
  .m(function (Command, cs, config, o) {
1075
- return [
1076
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1077
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1078
- ];
1087
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1079
1088
  })
1080
1089
  .s("AWSSupport_20130415", "DescribeTrustedAdvisorCheckSummaries", {})
1081
1090
  .n("SupportClient", "DescribeTrustedAdvisorCheckSummariesCommand")
1082
- .f(void 0, void 0)
1083
- .ser(se_DescribeTrustedAdvisorCheckSummariesCommand)
1084
- .de(de_DescribeTrustedAdvisorCheckSummariesCommand)
1091
+ .sc(DescribeTrustedAdvisorCheckSummaries)
1085
1092
  .build() {
1086
1093
  }
1087
1094
 
@@ -1089,16 +1096,11 @@ class RefreshTrustedAdvisorCheckCommand extends smithyClient.Command
1089
1096
  .classBuilder()
1090
1097
  .ep(commonParams)
1091
1098
  .m(function (Command, cs, config, o) {
1092
- return [
1093
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1094
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1095
- ];
1099
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1096
1100
  })
1097
1101
  .s("AWSSupport_20130415", "RefreshTrustedAdvisorCheck", {})
1098
1102
  .n("SupportClient", "RefreshTrustedAdvisorCheckCommand")
1099
- .f(void 0, void 0)
1100
- .ser(se_RefreshTrustedAdvisorCheckCommand)
1101
- .de(de_RefreshTrustedAdvisorCheckCommand)
1103
+ .sc(RefreshTrustedAdvisorCheck)
1102
1104
  .build() {
1103
1105
  }
1104
1106
 
@@ -1106,16 +1108,11 @@ class ResolveCaseCommand extends smithyClient.Command
1106
1108
  .classBuilder()
1107
1109
  .ep(commonParams)
1108
1110
  .m(function (Command, cs, config, o) {
1109
- return [
1110
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1111
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1112
- ];
1111
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1113
1112
  })
1114
1113
  .s("AWSSupport_20130415", "ResolveCase", {})
1115
1114
  .n("SupportClient", "ResolveCaseCommand")
1116
- .f(void 0, void 0)
1117
- .ser(se_ResolveCaseCommand)
1118
- .de(de_ResolveCaseCommand)
1115
+ .sc(ResolveCase)
1119
1116
  .build() {
1120
1117
  }
1121
1118
 
@@ -1155,16 +1152,16 @@ Object.defineProperty(exports, "__Client", {
1155
1152
  });
1156
1153
  exports.AddAttachmentsToSetCommand = AddAttachmentsToSetCommand;
1157
1154
  exports.AddCommunicationToCaseCommand = AddCommunicationToCaseCommand;
1158
- exports.AttachmentIdNotFound = AttachmentIdNotFound;
1159
- exports.AttachmentLimitExceeded = AttachmentLimitExceeded;
1160
- exports.AttachmentSetExpired = AttachmentSetExpired;
1161
- exports.AttachmentSetIdNotFound = AttachmentSetIdNotFound;
1162
- exports.AttachmentSetSizeLimitExceeded = AttachmentSetSizeLimitExceeded;
1163
- exports.CaseCreationLimitExceeded = CaseCreationLimitExceeded;
1164
- exports.CaseIdNotFound = CaseIdNotFound;
1155
+ exports.AttachmentIdNotFound = AttachmentIdNotFound$1;
1156
+ exports.AttachmentLimitExceeded = AttachmentLimitExceeded$1;
1157
+ exports.AttachmentSetExpired = AttachmentSetExpired$1;
1158
+ exports.AttachmentSetIdNotFound = AttachmentSetIdNotFound$1;
1159
+ exports.AttachmentSetSizeLimitExceeded = AttachmentSetSizeLimitExceeded$1;
1160
+ exports.CaseCreationLimitExceeded = CaseCreationLimitExceeded$1;
1161
+ exports.CaseIdNotFound = CaseIdNotFound$1;
1165
1162
  exports.CreateCaseCommand = CreateCaseCommand;
1166
1163
  exports.DescribeAttachmentCommand = DescribeAttachmentCommand;
1167
- exports.DescribeAttachmentLimitExceeded = DescribeAttachmentLimitExceeded;
1164
+ exports.DescribeAttachmentLimitExceeded = DescribeAttachmentLimitExceeded$1;
1168
1165
  exports.DescribeCasesCommand = DescribeCasesCommand;
1169
1166
  exports.DescribeCommunicationsCommand = DescribeCommunicationsCommand;
1170
1167
  exports.DescribeCreateCaseOptionsCommand = DescribeCreateCaseOptionsCommand;
@@ -1175,12 +1172,12 @@ exports.DescribeTrustedAdvisorCheckRefreshStatusesCommand = DescribeTrustedAdvis
1175
1172
  exports.DescribeTrustedAdvisorCheckResultCommand = DescribeTrustedAdvisorCheckResultCommand;
1176
1173
  exports.DescribeTrustedAdvisorCheckSummariesCommand = DescribeTrustedAdvisorCheckSummariesCommand;
1177
1174
  exports.DescribeTrustedAdvisorChecksCommand = DescribeTrustedAdvisorChecksCommand;
1178
- exports.InternalServerError = InternalServerError;
1175
+ exports.InternalServerError = InternalServerError$1;
1179
1176
  exports.RefreshTrustedAdvisorCheckCommand = RefreshTrustedAdvisorCheckCommand;
1180
1177
  exports.ResolveCaseCommand = ResolveCaseCommand;
1181
1178
  exports.Support = Support;
1182
1179
  exports.SupportClient = SupportClient;
1183
- exports.SupportServiceException = SupportServiceException;
1184
- exports.ThrottlingException = ThrottlingException;
1180
+ exports.SupportServiceException = SupportServiceException$1;
1181
+ exports.ThrottlingException = ThrottlingException$1;
1185
1182
  exports.paginateDescribeCases = paginateDescribeCases;
1186
1183
  exports.paginateDescribeCommunications = paginateDescribeCommunications;