@aws-sdk/client-support 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AddAttachmentsToSetCommand.js +2 -2
- package/dist-cjs/commands/AddCommunicationToCaseCommand.js +2 -2
- package/dist-cjs/commands/CreateCaseCommand.js +2 -2
- package/dist-cjs/commands/DescribeAttachmentCommand.js +2 -2
- package/dist-cjs/commands/DescribeCasesCommand.js +2 -2
- package/dist-cjs/commands/DescribeCommunicationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeServicesCommand.js +2 -2
- package/dist-cjs/commands/DescribeSeverityLevelsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +2 -2
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckResultCommand.js +2 -2
- package/dist-cjs/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +2 -2
- package/dist-cjs/commands/DescribeTrustedAdvisorChecksCommand.js +2 -2
- package/dist-cjs/commands/RefreshTrustedAdvisorCheckCommand.js +2 -2
- package/dist-cjs/commands/ResolveCaseCommand.js +2 -2
- package/dist-cjs/models/models_0.js +178 -266
- package/dist-cjs/protocols/Aws_json1_1.js +70 -127
- package/dist-es/commands/AddAttachmentsToSetCommand.js +3 -3
- package/dist-es/commands/AddCommunicationToCaseCommand.js +3 -3
- package/dist-es/commands/CreateCaseCommand.js +3 -3
- package/dist-es/commands/DescribeAttachmentCommand.js +3 -3
- package/dist-es/commands/DescribeCasesCommand.js +3 -3
- package/dist-es/commands/DescribeCommunicationsCommand.js +3 -3
- package/dist-es/commands/DescribeServicesCommand.js +3 -3
- package/dist-es/commands/DescribeSeverityLevelsCommand.js +3 -3
- package/dist-es/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.js +3 -3
- package/dist-es/commands/DescribeTrustedAdvisorCheckResultCommand.js +3 -3
- package/dist-es/commands/DescribeTrustedAdvisorCheckSummariesCommand.js +3 -3
- package/dist-es/commands/DescribeTrustedAdvisorChecksCommand.js +3 -3
- package/dist-es/commands/RefreshTrustedAdvisorCheckCommand.js +3 -3
- package/dist-es/commands/ResolveCaseCommand.js +3 -3
- package/dist-es/models/models_0.js +44 -176
- package/dist-es/protocols/Aws_json1_1.js +113 -128
- package/dist-types/models/models_0.d.ts +176 -264
- package/dist-types/ts3.4/models/models_0.d.ts +88 -176
- package/package.json +6 -6
|
@@ -164,7 +164,6 @@ const deserializeAws_json1_1AddAttachmentsToSetCommandError = async (output, con
|
|
|
164
164
|
...output,
|
|
165
165
|
body: await parseBody(output.body, context),
|
|
166
166
|
};
|
|
167
|
-
let response;
|
|
168
167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
169
168
|
switch (errorCode) {
|
|
170
169
|
case "AttachmentLimitExceeded":
|
|
@@ -184,14 +183,12 @@ const deserializeAws_json1_1AddAttachmentsToSetCommandError = async (output, con
|
|
|
184
183
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
185
184
|
default:
|
|
186
185
|
const parsedBody = parsedOutput.body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$metadata,
|
|
186
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
187
|
+
output,
|
|
188
|
+
parsedBody,
|
|
189
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
190
|
+
errorCode,
|
|
193
191
|
});
|
|
194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
195
192
|
}
|
|
196
193
|
};
|
|
197
194
|
const deserializeAws_json1_1AddCommunicationToCaseCommand = async (output, context) => {
|
|
@@ -213,7 +210,6 @@ const deserializeAws_json1_1AddCommunicationToCaseCommandError = async (output,
|
|
|
213
210
|
...output,
|
|
214
211
|
body: await parseBody(output.body, context),
|
|
215
212
|
};
|
|
216
|
-
let response;
|
|
217
213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
218
214
|
switch (errorCode) {
|
|
219
215
|
case "AttachmentSetExpired":
|
|
@@ -230,14 +226,12 @@ const deserializeAws_json1_1AddCommunicationToCaseCommandError = async (output,
|
|
|
230
226
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
231
227
|
default:
|
|
232
228
|
const parsedBody = parsedOutput.body;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
$metadata,
|
|
229
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
230
|
+
output,
|
|
231
|
+
parsedBody,
|
|
232
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
233
|
+
errorCode,
|
|
239
234
|
});
|
|
240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
241
235
|
}
|
|
242
236
|
};
|
|
243
237
|
const deserializeAws_json1_1CreateCaseCommand = async (output, context) => {
|
|
@@ -259,7 +253,6 @@ const deserializeAws_json1_1CreateCaseCommandError = async (output, context) =>
|
|
|
259
253
|
...output,
|
|
260
254
|
body: await parseBody(output.body, context),
|
|
261
255
|
};
|
|
262
|
-
let response;
|
|
263
256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
264
257
|
switch (errorCode) {
|
|
265
258
|
case "AttachmentSetExpired":
|
|
@@ -276,14 +269,12 @@ const deserializeAws_json1_1CreateCaseCommandError = async (output, context) =>
|
|
|
276
269
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
277
270
|
default:
|
|
278
271
|
const parsedBody = parsedOutput.body;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
$metadata,
|
|
272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
273
|
+
output,
|
|
274
|
+
parsedBody,
|
|
275
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
276
|
+
errorCode,
|
|
285
277
|
});
|
|
286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
287
278
|
}
|
|
288
279
|
};
|
|
289
280
|
const deserializeAws_json1_1DescribeAttachmentCommand = async (output, context) => {
|
|
@@ -305,7 +296,6 @@ const deserializeAws_json1_1DescribeAttachmentCommandError = async (output, cont
|
|
|
305
296
|
...output,
|
|
306
297
|
body: await parseBody(output.body, context),
|
|
307
298
|
};
|
|
308
|
-
let response;
|
|
309
299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
310
300
|
switch (errorCode) {
|
|
311
301
|
case "AttachmentIdNotFound":
|
|
@@ -319,14 +309,12 @@ const deserializeAws_json1_1DescribeAttachmentCommandError = async (output, cont
|
|
|
319
309
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
320
310
|
default:
|
|
321
311
|
const parsedBody = parsedOutput.body;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
$metadata,
|
|
312
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
313
|
+
output,
|
|
314
|
+
parsedBody,
|
|
315
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
316
|
+
errorCode,
|
|
328
317
|
});
|
|
329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
330
318
|
}
|
|
331
319
|
};
|
|
332
320
|
const deserializeAws_json1_1DescribeCasesCommand = async (output, context) => {
|
|
@@ -348,7 +336,6 @@ const deserializeAws_json1_1DescribeCasesCommandError = async (output, context)
|
|
|
348
336
|
...output,
|
|
349
337
|
body: await parseBody(output.body, context),
|
|
350
338
|
};
|
|
351
|
-
let response;
|
|
352
339
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
353
340
|
switch (errorCode) {
|
|
354
341
|
case "CaseIdNotFound":
|
|
@@ -359,14 +346,12 @@ const deserializeAws_json1_1DescribeCasesCommandError = async (output, context)
|
|
|
359
346
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
360
347
|
default:
|
|
361
348
|
const parsedBody = parsedOutput.body;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
$metadata,
|
|
349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
350
|
+
output,
|
|
351
|
+
parsedBody,
|
|
352
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
353
|
+
errorCode,
|
|
368
354
|
});
|
|
369
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
370
355
|
}
|
|
371
356
|
};
|
|
372
357
|
const deserializeAws_json1_1DescribeCommunicationsCommand = async (output, context) => {
|
|
@@ -388,7 +373,6 @@ const deserializeAws_json1_1DescribeCommunicationsCommandError = async (output,
|
|
|
388
373
|
...output,
|
|
389
374
|
body: await parseBody(output.body, context),
|
|
390
375
|
};
|
|
391
|
-
let response;
|
|
392
376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
393
377
|
switch (errorCode) {
|
|
394
378
|
case "CaseIdNotFound":
|
|
@@ -399,14 +383,12 @@ const deserializeAws_json1_1DescribeCommunicationsCommandError = async (output,
|
|
|
399
383
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
400
384
|
default:
|
|
401
385
|
const parsedBody = parsedOutput.body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
$metadata,
|
|
386
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
387
|
+
output,
|
|
388
|
+
parsedBody,
|
|
389
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
390
|
+
errorCode,
|
|
408
391
|
});
|
|
409
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
410
392
|
}
|
|
411
393
|
};
|
|
412
394
|
const deserializeAws_json1_1DescribeServicesCommand = async (output, context) => {
|
|
@@ -428,7 +410,6 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
428
410
|
...output,
|
|
429
411
|
body: await parseBody(output.body, context),
|
|
430
412
|
};
|
|
431
|
-
let response;
|
|
432
413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
433
414
|
switch (errorCode) {
|
|
434
415
|
case "InternalServerError":
|
|
@@ -436,14 +417,12 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
436
417
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
437
418
|
default:
|
|
438
419
|
const parsedBody = parsedOutput.body;
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
$metadata,
|
|
420
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
421
|
+
output,
|
|
422
|
+
parsedBody,
|
|
423
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
424
|
+
errorCode,
|
|
445
425
|
});
|
|
446
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
447
426
|
}
|
|
448
427
|
};
|
|
449
428
|
const deserializeAws_json1_1DescribeSeverityLevelsCommand = async (output, context) => {
|
|
@@ -465,7 +444,6 @@ const deserializeAws_json1_1DescribeSeverityLevelsCommandError = async (output,
|
|
|
465
444
|
...output,
|
|
466
445
|
body: await parseBody(output.body, context),
|
|
467
446
|
};
|
|
468
|
-
let response;
|
|
469
447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
470
448
|
switch (errorCode) {
|
|
471
449
|
case "InternalServerError":
|
|
@@ -473,14 +451,12 @@ const deserializeAws_json1_1DescribeSeverityLevelsCommandError = async (output,
|
|
|
473
451
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
474
452
|
default:
|
|
475
453
|
const parsedBody = parsedOutput.body;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
$metadata,
|
|
454
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
455
|
+
output,
|
|
456
|
+
parsedBody,
|
|
457
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
458
|
+
errorCode,
|
|
482
459
|
});
|
|
483
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
484
460
|
}
|
|
485
461
|
};
|
|
486
462
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (output, context) => {
|
|
@@ -502,7 +478,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandErr
|
|
|
502
478
|
...output,
|
|
503
479
|
body: await parseBody(output.body, context),
|
|
504
480
|
};
|
|
505
|
-
let response;
|
|
506
481
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
507
482
|
switch (errorCode) {
|
|
508
483
|
case "InternalServerError":
|
|
@@ -510,14 +485,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandErr
|
|
|
510
485
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
511
486
|
default:
|
|
512
487
|
const parsedBody = parsedOutput.body;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
$metadata,
|
|
488
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
489
|
+
output,
|
|
490
|
+
parsedBody,
|
|
491
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
492
|
+
errorCode,
|
|
519
493
|
});
|
|
520
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
521
494
|
}
|
|
522
495
|
};
|
|
523
496
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand = async (output, context) => {
|
|
@@ -539,7 +512,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = asyn
|
|
|
539
512
|
...output,
|
|
540
513
|
body: await parseBody(output.body, context),
|
|
541
514
|
};
|
|
542
|
-
let response;
|
|
543
515
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
544
516
|
switch (errorCode) {
|
|
545
517
|
case "InternalServerError":
|
|
@@ -547,14 +519,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = asyn
|
|
|
547
519
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
548
520
|
default:
|
|
549
521
|
const parsedBody = parsedOutput.body;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
$metadata,
|
|
522
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
523
|
+
output,
|
|
524
|
+
parsedBody,
|
|
525
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
526
|
+
errorCode,
|
|
556
527
|
});
|
|
557
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
558
528
|
}
|
|
559
529
|
};
|
|
560
530
|
const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommand = async (output, context) => {
|
|
@@ -576,7 +546,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = async (ou
|
|
|
576
546
|
...output,
|
|
577
547
|
body: await parseBody(output.body, context),
|
|
578
548
|
};
|
|
579
|
-
let response;
|
|
580
549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
581
550
|
switch (errorCode) {
|
|
582
551
|
case "InternalServerError":
|
|
@@ -584,14 +553,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = async (ou
|
|
|
584
553
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
585
554
|
default:
|
|
586
555
|
const parsedBody = parsedOutput.body;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
$metadata,
|
|
556
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
557
|
+
output,
|
|
558
|
+
parsedBody,
|
|
559
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
560
|
+
errorCode,
|
|
593
561
|
});
|
|
594
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
595
562
|
}
|
|
596
563
|
};
|
|
597
564
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand = async (output, context) => {
|
|
@@ -613,7 +580,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = a
|
|
|
613
580
|
...output,
|
|
614
581
|
body: await parseBody(output.body, context),
|
|
615
582
|
};
|
|
616
|
-
let response;
|
|
617
583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
618
584
|
switch (errorCode) {
|
|
619
585
|
case "InternalServerError":
|
|
@@ -621,14 +587,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = a
|
|
|
621
587
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
622
588
|
default:
|
|
623
589
|
const parsedBody = parsedOutput.body;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
$metadata,
|
|
590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
591
|
+
output,
|
|
592
|
+
parsedBody,
|
|
593
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
594
|
+
errorCode,
|
|
630
595
|
});
|
|
631
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
632
596
|
}
|
|
633
597
|
};
|
|
634
598
|
const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommand = async (output, context) => {
|
|
@@ -650,7 +614,6 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = async (outp
|
|
|
650
614
|
...output,
|
|
651
615
|
body: await parseBody(output.body, context),
|
|
652
616
|
};
|
|
653
|
-
let response;
|
|
654
617
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
655
618
|
switch (errorCode) {
|
|
656
619
|
case "InternalServerError":
|
|
@@ -658,14 +621,12 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = async (outp
|
|
|
658
621
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
659
622
|
default:
|
|
660
623
|
const parsedBody = parsedOutput.body;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
$metadata,
|
|
624
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
625
|
+
output,
|
|
626
|
+
parsedBody,
|
|
627
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
628
|
+
errorCode,
|
|
667
629
|
});
|
|
668
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
669
630
|
}
|
|
670
631
|
};
|
|
671
632
|
const deserializeAws_json1_1ResolveCaseCommand = async (output, context) => {
|
|
@@ -687,7 +648,6 @@ const deserializeAws_json1_1ResolveCaseCommandError = async (output, context) =>
|
|
|
687
648
|
...output,
|
|
688
649
|
body: await parseBody(output.body, context),
|
|
689
650
|
};
|
|
690
|
-
let response;
|
|
691
651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
692
652
|
switch (errorCode) {
|
|
693
653
|
case "CaseIdNotFound":
|
|
@@ -698,14 +658,12 @@ const deserializeAws_json1_1ResolveCaseCommandError = async (output, context) =>
|
|
|
698
658
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
699
659
|
default:
|
|
700
660
|
const parsedBody = parsedOutput.body;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
$metadata,
|
|
661
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
662
|
+
output,
|
|
663
|
+
parsedBody,
|
|
664
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
665
|
+
errorCode,
|
|
707
666
|
});
|
|
708
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
709
667
|
}
|
|
710
668
|
};
|
|
711
669
|
const deserializeAws_json1_1AttachmentIdNotFoundResponse = async (parsedOutput, context) => {
|
|
@@ -815,9 +773,6 @@ const serializeAws_json1_1Attachments = (input, context) => {
|
|
|
815
773
|
return input
|
|
816
774
|
.filter((e) => e != null)
|
|
817
775
|
.map((entry) => {
|
|
818
|
-
if (entry === null) {
|
|
819
|
-
return null;
|
|
820
|
-
}
|
|
821
776
|
return serializeAws_json1_1Attachment(entry, context);
|
|
822
777
|
});
|
|
823
778
|
};
|
|
@@ -825,9 +780,6 @@ const serializeAws_json1_1CaseIdList = (input, context) => {
|
|
|
825
780
|
return input
|
|
826
781
|
.filter((e) => e != null)
|
|
827
782
|
.map((entry) => {
|
|
828
|
-
if (entry === null) {
|
|
829
|
-
return null;
|
|
830
|
-
}
|
|
831
783
|
return entry;
|
|
832
784
|
});
|
|
833
785
|
};
|
|
@@ -835,9 +787,6 @@ const serializeAws_json1_1CcEmailAddressList = (input, context) => {
|
|
|
835
787
|
return input
|
|
836
788
|
.filter((e) => e != null)
|
|
837
789
|
.map((entry) => {
|
|
838
|
-
if (entry === null) {
|
|
839
|
-
return null;
|
|
840
|
-
}
|
|
841
790
|
return entry;
|
|
842
791
|
});
|
|
843
792
|
};
|
|
@@ -931,9 +880,6 @@ const serializeAws_json1_1ServiceCodeList = (input, context) => {
|
|
|
931
880
|
return input
|
|
932
881
|
.filter((e) => e != null)
|
|
933
882
|
.map((entry) => {
|
|
934
|
-
if (entry === null) {
|
|
935
|
-
return null;
|
|
936
|
-
}
|
|
937
883
|
return entry;
|
|
938
884
|
});
|
|
939
885
|
};
|
|
@@ -941,9 +887,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
941
887
|
return input
|
|
942
888
|
.filter((e) => e != null)
|
|
943
889
|
.map((entry) => {
|
|
944
|
-
if (entry === null) {
|
|
945
|
-
return null;
|
|
946
|
-
}
|
|
947
890
|
return entry;
|
|
948
891
|
});
|
|
949
892
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AddAttachmentsToSetRequestFilterSensitiveLog, AddAttachmentsToSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AddAttachmentsToSetCommand, serializeAws_json1_1AddAttachmentsToSetCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AddAttachmentsToSetCommand = (function (_super) {
|
|
7
7
|
__extends(AddAttachmentsToSetCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AddAttachmentsToSetCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AddAttachmentsToSetRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AddAttachmentsToSetResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AddCommunicationToCaseRequestFilterSensitiveLog, AddCommunicationToCaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AddCommunicationToCaseCommand, serializeAws_json1_1AddCommunicationToCaseCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AddCommunicationToCaseCommand = (function (_super) {
|
|
7
7
|
__extends(AddCommunicationToCaseCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AddCommunicationToCaseCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AddCommunicationToCaseRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AddCommunicationToCaseResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateCaseRequestFilterSensitiveLog, CreateCaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1CreateCaseCommand, serializeAws_json1_1CreateCaseCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var CreateCaseCommand = (function (_super) {
|
|
7
7
|
__extends(CreateCaseCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateCaseCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateCaseRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateCaseResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAttachmentRequestFilterSensitiveLog, DescribeAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeAttachmentCommand, serializeAws_json1_1DescribeAttachmentCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeAttachmentCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeAttachmentCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeAttachmentCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeAttachmentRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeAttachmentResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeCasesRequestFilterSensitiveLog, DescribeCasesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeCasesCommand, serializeAws_json1_1DescribeCasesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeCasesCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeCasesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeCasesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeCasesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeCasesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeCommunicationsRequestFilterSensitiveLog, DescribeCommunicationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeCommunicationsCommand, serializeAws_json1_1DescribeCommunicationsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeCommunicationsCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeCommunicationsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeCommunicationsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeCommunicationsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeCommunicationsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeServicesRequestFilterSensitiveLog, DescribeServicesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeServicesCommand, serializeAws_json1_1DescribeServicesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeServicesCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeServicesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeServicesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeServicesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeServicesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeSeverityLevelsRequestFilterSensitiveLog, DescribeSeverityLevelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeSeverityLevelsCommand, serializeAws_json1_1DescribeSeverityLevelsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeSeverityLevelsCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeSeverityLevelsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeSeverityLevelsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeSeverityLevelsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeSeverityLevelsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeTrustedAdvisorCheckRefreshStatusesRequestFilterSensitiveLog, DescribeTrustedAdvisorCheckRefreshStatusesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand, serializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeTrustedAdvisorCheckRefreshStatusesCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeTrustedAdvisorCheckRefreshStatusesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeTrustedAdvisorCheckRefreshStatusesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeTrustedAdvisorCheckRefreshStatusesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeTrustedAdvisorCheckRefreshStatusesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeTrustedAdvisorCheckResultRequestFilterSensitiveLog, DescribeTrustedAdvisorCheckResultResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand, serializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeTrustedAdvisorCheckResultCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeTrustedAdvisorCheckResultCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeTrustedAdvisorCheckResultCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeTrustedAdvisorCheckResultRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeTrustedAdvisorCheckResultResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|