@aws-sdk/client-support 3.1121.0 → 3.1122.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 (53) hide show
  1. package/README.md +32 -4
  2. package/dist-cjs/index.js +252 -28
  3. package/dist-es/Support.js +8 -0
  4. package/dist-es/commands/CompleteAttachmentUploadCommand.js +4 -0
  5. package/dist-es/commands/DescribeAttachmentUploadStatusCommand.js +4 -0
  6. package/dist-es/commands/GetAttachmentDownloadLinkCommand.js +4 -0
  7. package/dist-es/commands/GetAttachmentUploadLinksCommand.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/index.js +1 -0
  10. package/dist-es/models/enums.js +5 -0
  11. package/dist-es/models/errors.js +26 -0
  12. package/dist-es/schemas/schemas_0.js +178 -28
  13. package/dist-types/Support.d.ts +32 -4
  14. package/dist-types/SupportClient.d.ts +10 -6
  15. package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +9 -4
  16. package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +34 -7
  17. package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +94 -0
  18. package/dist-types/commands/CreateCaseCommand.d.ts +31 -5
  19. package/dist-types/commands/DescribeAttachmentCommand.d.ts +19 -4
  20. package/dist-types/commands/DescribeAttachmentUploadStatusCommand.d.ts +109 -0
  21. package/dist-types/commands/DescribeCasesCommand.d.ts +37 -7
  22. package/dist-types/commands/DescribeCommunicationsCommand.d.ts +37 -7
  23. package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +9 -4
  24. package/dist-types/commands/DescribeServicesCommand.d.ts +9 -4
  25. package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +9 -4
  26. package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +9 -4
  27. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +4 -4
  29. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +8 -4
  30. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +2 -2
  31. package/dist-types/commands/GetAttachmentDownloadLinkCommand.d.ts +104 -0
  32. package/dist-types/commands/GetAttachmentUploadLinksCommand.d.ts +125 -0
  33. package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +4 -4
  34. package/dist-types/commands/ResolveCaseCommand.d.ts +9 -4
  35. package/dist-types/commands/index.d.ts +4 -0
  36. package/dist-types/index.d.ts +5 -4
  37. package/dist-types/models/enums.d.ts +13 -0
  38. package/dist-types/models/errors.d.ts +31 -0
  39. package/dist-types/models/models_0.d.ts +457 -22
  40. package/dist-types/schemas/schemas_0.d.ts +20 -0
  41. package/dist-types/ts3.4/Support.d.ts +68 -0
  42. package/dist-types/ts3.4/SupportClient.d.ts +24 -0
  43. package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DescribeAttachmentUploadStatusCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/GetAttachmentDownloadLinkCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/GetAttachmentUploadLinksCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  50. package/dist-types/ts3.4/models/errors.d.ts +12 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +79 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  53. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1120.0";
72
+ var version = "3.1121.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -202,6 +202,18 @@ class AttachmentSetSizeLimitExceeded extends SupportServiceException {
202
202
  Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
203
203
  }
204
204
  }
205
+ class DryRunOperationException extends SupportServiceException {
206
+ name = "DryRunOperationException";
207
+ $fault = "client";
208
+ constructor(opts) {
209
+ super({
210
+ name: "DryRunOperationException",
211
+ $fault: "client",
212
+ ...opts,
213
+ });
214
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
215
+ }
216
+ }
205
217
  class InternalServerError extends SupportServiceException {
206
218
  name = "InternalServerError";
207
219
  $fault = "server";
@@ -238,6 +250,18 @@ class AttachmentIdNotFound extends SupportServiceException {
238
250
  Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
239
251
  }
240
252
  }
253
+ class UploadIdNotFound extends SupportServiceException {
254
+ name = "UploadIdNotFound";
255
+ $fault = "client";
256
+ constructor(opts) {
257
+ super({
258
+ name: "UploadIdNotFound",
259
+ $fault: "client",
260
+ ...opts,
261
+ });
262
+ Object.setPrototypeOf(this, UploadIdNotFound.prototype);
263
+ }
264
+ }
241
265
  class CaseCreationLimitExceeded extends SupportServiceException {
242
266
  name = "CaseCreationLimitExceeded";
243
267
  $fault = "client";
@@ -265,6 +289,7 @@ class DescribeAttachmentLimitExceeded extends SupportServiceException {
265
289
  class ThrottlingException extends SupportServiceException {
266
290
  name = "ThrottlingException";
267
291
  $fault = "client";
292
+ throttlingReasons;
268
293
  constructor(opts) {
269
294
  super({
270
295
  name: "ThrottlingException",
@@ -272,6 +297,7 @@ class ThrottlingException extends SupportServiceException {
272
297
  ...opts,
273
298
  });
274
299
  Object.setPrototypeOf(this, ThrottlingException.prototype);
300
+ this.throttlingReasons = opts.throttlingReasons;
275
301
  }
276
302
  }
277
303
 
@@ -291,6 +317,9 @@ const _ASINF = "AttachmentSetIdNotFound";
291
317
  const _ASSLE = "AttachmentSetSizeLimitExceeded";
292
318
  const _At = "Attachments";
293
319
  const _C = "Category";
320
+ const _CAU = "CompleteAttachmentUpload";
321
+ const _CAUR = "CompleteAttachmentUploadRequest";
322
+ const _CAURo = "CompleteAttachmentUploadResponse";
294
323
  const _CC = "CreateCase";
295
324
  const _CCLE = "CaseCreationLimitExceeded";
296
325
  const _CCR = "CreateCaseRequest";
@@ -302,11 +331,16 @@ const _CLa = "CategoryList";
302
331
  const _CLo = "CommunicationList";
303
332
  const _CTO = "CommunicationTypeOptions";
304
333
  const _CTOL = "CommunicationTypeOptionsList";
334
+ const _CU = "CompletedUpload";
335
+ const _CUL = "CompletedUploadList";
305
336
  const _Co = "Communication";
306
337
  const _DA = "DescribeAttachment";
307
338
  const _DALE = "DescribeAttachmentLimitExceeded";
308
339
  const _DAR = "DescribeAttachmentRequest";
309
340
  const _DARe = "DescribeAttachmentResponse";
341
+ const _DAUS = "DescribeAttachmentUploadStatus";
342
+ const _DAUSR = "DescribeAttachmentUploadStatusRequest";
343
+ const _DAUSRe = "DescribeAttachmentUploadStatusResponse";
310
344
  const _DC = "DescribeCases";
311
345
  const _DCCO = "DescribeCreateCaseOptions";
312
346
  const _DCCOR = "DescribeCreateCaseOptionsRequest";
@@ -317,6 +351,7 @@ const _DCRes = "DescribeCommunicationsRequest";
317
351
  const _DCResc = "DescribeCommunicationsResponse";
318
352
  const _DCe = "DescribeCommunications";
319
353
  const _DI = "DateInterval";
354
+ const _DROE = "DryRunOperationException";
320
355
  const _DS = "DescribeServices";
321
356
  const _DSL = "DescribeSeverityLevels";
322
357
  const _DSLR = "DescribeSeverityLevelsRequest";
@@ -338,7 +373,14 @@ const _DTACRes = "DescribeTrustedAdvisorCheckResult";
338
373
  const _DTACS = "DescribeTrustedAdvisorCheckSummaries";
339
374
  const _DTACSR = "DescribeTrustedAdvisorCheckSummariesRequest";
340
375
  const _DTACSRe = "DescribeTrustedAdvisorCheckSummariesResponse";
376
+ const _DU = "DownloadUrl";
341
377
  const _DWSL = "DatesWithoutSupportList";
378
+ const _GADL = "GetAttachmentDownloadLink";
379
+ const _GADLR = "GetAttachmentDownloadLinkRequest";
380
+ const _GADLRe = "GetAttachmentDownloadLinkResponse";
381
+ const _GAUL = "GetAttachmentUploadLinks";
382
+ const _GAULR = "GetAttachmentUploadLinksRequest";
383
+ const _GAULRe = "GetAttachmentUploadLinksResponse";
342
384
  const _ISE = "InternalServerError";
343
385
  const _RC = "ResolveCase";
344
386
  const _RCC = "RecentCaseCommunications";
@@ -369,6 +411,13 @@ const _TARD = "TrustedAdvisorResourceDetail";
369
411
  const _TARDL = "TrustedAdvisorResourceDetailList";
370
412
  const _TARS = "TrustedAdvisorResourcesSummary";
371
413
  const _TE = "ThrottlingException";
414
+ const _TR = "ThrottlingReason";
415
+ const _TRL = "ThrottlingReasonList";
416
+ const _UINF = "UploadIdNotFound";
417
+ const _UP = "UploadProgress";
418
+ const _UR = "UploadRange";
419
+ const _UU = "UploadUrl";
420
+ const _UUL = "UploadUrlList";
372
421
  const _a = "attachments";
373
422
  const _aI = "attachmentId";
374
423
  const _aQE = "awsQueryError";
@@ -387,8 +436,10 @@ const _cIL = "caseIdList";
387
436
  const _cIh = "checkIds";
388
437
  const _cIhe = "checkId";
389
438
  const _cO = "costOptimizing";
439
+ const _cPC = "completedPartsCount";
390
440
  const _cSS = "categorySpecificSummary";
391
441
  const _cT = "communicationTypes";
442
+ const _cU = "completedUploads";
392
443
  const _ca = "cases";
393
444
  const _cat = "categories";
394
445
  const _cate = "category";
@@ -397,18 +448,24 @@ const _co = "code";
397
448
  const _com = "communications";
398
449
  const _d = "data";
399
450
  const _dI = "displayId";
451
+ const _dR = "dryRun";
452
+ const _dU = "downloadUrl";
400
453
  const _dWS = "datesWithoutSupport";
401
454
  const _de = "description";
402
455
  const _di = "display";
403
456
  const _e = "error";
457
+ const _eD = "expiryDate";
404
458
  const _eDT = "endDateTime";
459
+ const _eI = "endIndex";
405
460
  const _eMS = "estimatedMonthlySavings";
406
461
  const _ePMS = "estimatedPercentMonthlySavings";
407
462
  const _eT = "expiryTime";
463
+ const _eTa = "eTag";
408
464
  const _eTn = "endTime";
409
465
  const _fCS = "finalCaseStatus";
410
466
  const _fN = "fileName";
411
467
  const _fR = "flaggedResources";
468
+ const _fSB = "fileSizeBytes";
412
469
  const _hE = "httpError";
413
470
  const _hFR = "hasFlaggedResources";
414
471
  const _i = "id";
@@ -424,7 +481,10 @@ const _mR = "maxResults";
424
481
  const _mUNR = "millisUntilNextRefreshable";
425
482
  const _me = "metadata";
426
483
  const _n = "name";
484
+ const _nI = "nextIndex";
427
485
  const _nT = "nextToken";
486
+ const _pI = "partIndex";
487
+ const _pSB = "partSizeBytes";
428
488
  const _r = "result";
429
489
  const _rC = "recentCommunications";
430
490
  const _rF = "resourcesFlagged";
@@ -433,7 +493,9 @@ const _rIe = "resourcesIgnored";
433
493
  const _rP = "resourcesProcessed";
434
494
  const _rS = "resourcesSummary";
435
495
  const _rSe = "resourcesSuppressed";
436
- const _re = "region";
496
+ const _re = "reason";
497
+ const _reg = "region";
498
+ const _res = "resource";
437
499
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.support";
438
500
  const _sB = "submittedBy";
439
501
  const _sC = "serviceCode";
@@ -441,6 +503,7 @@ const _sCL = "serviceCodeList";
441
503
  const _sCe = "severityCode";
442
504
  const _sDT = "startDateTime";
443
505
  const _sH = "supportedHours";
506
+ const _sI = "startIndex";
444
507
  const _sL = "severityLevels";
445
508
  const _sLu = "supportedLanguages";
446
509
  const _sT = "startTime";
@@ -453,7 +516,16 @@ const _su = "subject";
453
516
  const _sum = "summaries";
454
517
  const _t = "type";
455
518
  const _tC = "timeCreated";
519
+ const _tP = "totalParts";
520
+ const _tR = "throttlingReasons";
456
521
  const _ti = "timestamp";
522
+ const _u = "url";
523
+ const _uI = "uploadIds";
524
+ const _uIp = "uploadId";
525
+ const _uP = "uploadProgress";
526
+ const _uR = "uploadRange";
527
+ const _uS = "uploadStatus";
528
+ const _uU = "uploadUrls";
457
529
  const n0 = "com.amazonaws.support";
458
530
  const _s_registry = TypeRegistry.for(_s);
459
531
  var SupportServiceException$ = [-3, _s, "SupportServiceException", 0, [], []];
@@ -507,6 +579,12 @@ var DescribeAttachmentLimitExceeded$ = [-3, n0, _DALE,
507
579
  [0]
508
580
  ];
509
581
  n0_registry.registerError(DescribeAttachmentLimitExceeded$, DescribeAttachmentLimitExceeded);
582
+ var DryRunOperationException$ = [-3, n0, _DROE,
583
+ { [_e]: _c },
584
+ [_m],
585
+ [0]
586
+ ];
587
+ n0_registry.registerError(DryRunOperationException$, DryRunOperationException);
510
588
  var InternalServerError$ = [-3, n0, _ISE,
511
589
  { [_e]: _se },
512
590
  [_m],
@@ -515,18 +593,24 @@ var InternalServerError$ = [-3, n0, _ISE,
515
593
  n0_registry.registerError(InternalServerError$, InternalServerError);
516
594
  var ThrottlingException$ = [-3, n0, _TE,
517
595
  { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
596
+ [_m, _tR],
597
+ [0, () => ThrottlingReasonList]
598
+ ];
599
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
600
+ var UploadIdNotFound$ = [-3, n0, _UINF,
601
+ { [_e]: _c },
518
602
  [_m],
519
603
  [0]
520
604
  ];
521
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
605
+ n0_registry.registerError(UploadIdNotFound$, UploadIdNotFound);
522
606
  const errorTypeRegistries = [
523
607
  _s_registry,
524
608
  n0_registry,
525
609
  ];
526
610
  var AddAttachmentsToSetRequest$ = [3, n0, _AATSR,
527
611
  0,
528
- [_a, _aSI],
529
- [() => Attachments, 0], 1
612
+ [_a, _aSI, _dR],
613
+ [() => Attachments, 0, 2], 1
530
614
  ];
531
615
  var AddAttachmentsToSetResponse$ = [3, n0, _AATSRd,
532
616
  0,
@@ -535,8 +619,8 @@ var AddAttachmentsToSetResponse$ = [3, n0, _AATSRd,
535
619
  ];
536
620
  var AddCommunicationToCaseRequest$ = [3, n0, _ACTCR,
537
621
  0,
538
- [_cB, _cI, _cEA, _aSI],
539
- [0, 0, 64 | 0, 0], 1
622
+ [_cB, _cI, _cEA, _aSI, _uI, _dR],
623
+ [0, 0, 64 | 0, 0, 64 | 0, 2], 1
540
624
  ];
541
625
  var AddCommunicationToCaseResponse$ = [3, n0, _ACTCRd,
542
626
  0,
@@ -565,18 +649,33 @@ var Category$ = [3, n0, _C,
565
649
  ];
566
650
  var Communication$ = [3, n0, _Co,
567
651
  0,
568
- [_cI, _b, _sB, _tC, _aS],
569
- [0, 0, 0, 0, () => AttachmentSet]
652
+ [_cI, _b, _sB, _tC, _a, _aS],
653
+ [0, 0, 0, 0, () => AttachmentSet, () => AttachmentSet]
570
654
  ];
571
655
  var CommunicationTypeOptions$ = [3, n0, _CTO,
572
656
  0,
573
657
  [_t, _sH, _dWS],
574
658
  [0, () => SupportedHoursList, () => DatesWithoutSupportList]
575
659
  ];
660
+ var CompleteAttachmentUploadRequest$ = [3, n0, _CAUR,
661
+ 0,
662
+ [_uIp, _cU, _dR],
663
+ [0, () => CompletedUploadList, 2], 2
664
+ ];
665
+ var CompleteAttachmentUploadResponse$ = [3, n0, _CAURo,
666
+ 0,
667
+ [_uS],
668
+ [0], 1
669
+ ];
670
+ var CompletedUpload$ = [3, n0, _CU,
671
+ 0,
672
+ [_pI, _eTa],
673
+ [1, 0], 2
674
+ ];
576
675
  var CreateCaseRequest$ = [3, n0, _CCR,
577
676
  0,
578
- [_su, _cB, _sC, _sCe, _cC, _cEA, _l, _iT, _aSI],
579
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 0], 2
677
+ [_su, _cB, _sC, _sCe, _cC, _cEA, _l, _iT, _aSI, _uI, _dR],
678
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 64 | 0, 2], 2
580
679
  ];
581
680
  var CreateCaseResponse$ = [3, n0, _CCRr,
582
681
  0,
@@ -590,18 +689,28 @@ var DateInterval$ = [3, n0, _DI,
590
689
  ];
591
690
  var DescribeAttachmentRequest$ = [3, n0, _DAR,
592
691
  0,
593
- [_aI],
594
- [0], 1
692
+ [_aI, _dR],
693
+ [0, 2], 1
595
694
  ];
596
695
  var DescribeAttachmentResponse$ = [3, n0, _DARe,
597
696
  0,
598
697
  [_at],
599
698
  [() => Attachment$]
600
699
  ];
700
+ var DescribeAttachmentUploadStatusRequest$ = [3, n0, _DAUSR,
701
+ 0,
702
+ [_uIp, _dR],
703
+ [0, 2], 1
704
+ ];
705
+ var DescribeAttachmentUploadStatusResponse$ = [3, n0, _DAUSRe,
706
+ 0,
707
+ [_uS, _fN, _uP],
708
+ [0, 0, () => UploadProgress$], 2
709
+ ];
601
710
  var DescribeCasesRequest$ = [3, n0, _DCR,
602
711
  0,
603
- [_cIL, _dI, _aT, _bT, _iRC, _nT, _mR, _l, _iC],
604
- [64 | 0, 0, 0, 0, 2, 0, 1, 0, 2]
712
+ [_cIL, _dI, _aT, _bT, _iRC, _nT, _mR, _l, _iC, _dR],
713
+ [64 | 0, 0, 0, 0, 2, 0, 1, 0, 2, 2]
605
714
  ];
606
715
  var DescribeCasesResponse$ = [3, n0, _DCRe,
607
716
  0,
@@ -610,8 +719,8 @@ var DescribeCasesResponse$ = [3, n0, _DCRe,
610
719
  ];
611
720
  var DescribeCommunicationsRequest$ = [3, n0, _DCRes,
612
721
  0,
613
- [_cI, _bT, _aT, _nT, _mR],
614
- [0, 0, 0, 0, 1], 1
722
+ [_cI, _bT, _aT, _nT, _mR, _dR],
723
+ [0, 0, 0, 0, 1, 2], 1
615
724
  ];
616
725
  var DescribeCommunicationsResponse$ = [3, n0, _DCResc,
617
726
  0,
@@ -620,8 +729,8 @@ var DescribeCommunicationsResponse$ = [3, n0, _DCResc,
620
729
  ];
621
730
  var DescribeCreateCaseOptionsRequest$ = [3, n0, _DCCOR,
622
731
  0,
623
- [_iT, _sC, _l, _cC],
624
- [0, 0, 0, 0], 4
732
+ [_iT, _sC, _l, _cC, _dR],
733
+ [0, 0, 0, 0, 2], 4
625
734
  ];
626
735
  var DescribeCreateCaseOptionsResponse$ = [3, n0, _DCCORe,
627
736
  0,
@@ -630,8 +739,8 @@ var DescribeCreateCaseOptionsResponse$ = [3, n0, _DCCORe,
630
739
  ];
631
740
  var DescribeServicesRequest$ = [3, n0, _DSR,
632
741
  0,
633
- [_sCL, _l],
634
- [64 | 0, 0]
742
+ [_sCL, _l, _dR],
743
+ [64 | 0, 0, 2]
635
744
  ];
636
745
  var DescribeServicesResponse$ = [3, n0, _DSRe,
637
746
  0,
@@ -640,8 +749,8 @@ var DescribeServicesResponse$ = [3, n0, _DSRe,
640
749
  ];
641
750
  var DescribeSeverityLevelsRequest$ = [3, n0, _DSLR,
642
751
  0,
643
- [_l],
644
- [0]
752
+ [_l, _dR],
753
+ [0, 2]
645
754
  ];
646
755
  var DescribeSeverityLevelsResponse$ = [3, n0, _DSLRe,
647
756
  0,
@@ -650,8 +759,8 @@ var DescribeSeverityLevelsResponse$ = [3, n0, _DSLRe,
650
759
  ];
651
760
  var DescribeSupportedLanguagesRequest$ = [3, n0, _DSLRes,
652
761
  0,
653
- [_iT, _sC, _cC],
654
- [0, 0, 0], 3
762
+ [_iT, _sC, _cC, _dR],
763
+ [0, 0, 0, 2], 3
655
764
  ];
656
765
  var DescribeSupportedLanguagesResponse$ = [3, n0, _DSLResc,
657
766
  0,
@@ -698,6 +807,31 @@ var DescribeTrustedAdvisorCheckSummariesResponse$ = [3, n0, _DTACSRe,
698
807
  [_sum],
699
808
  [() => TrustedAdvisorCheckSummaryList], 1
700
809
  ];
810
+ var DownloadUrl$ = [3, n0, _DU,
811
+ 0,
812
+ [_u, _eD],
813
+ [0, 0], 2
814
+ ];
815
+ var GetAttachmentDownloadLinkRequest$ = [3, n0, _GADLR,
816
+ 0,
817
+ [_aI, _dR],
818
+ [0, 2], 1
819
+ ];
820
+ var GetAttachmentDownloadLinkResponse$ = [3, n0, _GADLRe,
821
+ 0,
822
+ [_fN, _dU],
823
+ [0, () => DownloadUrl$], 2
824
+ ];
825
+ var GetAttachmentUploadLinksRequest$ = [3, n0, _GAULR,
826
+ 0,
827
+ [_fN, _fSB, _uIp, _uR, _dR],
828
+ [0, 1, 0, () => UploadRange$, 2], 1
829
+ ];
830
+ var GetAttachmentUploadLinksResponse$ = [3, n0, _GAULRe,
831
+ 0,
832
+ [_uIp, _pSB, _tP, _uU, _nI],
833
+ [0, 1, 1, () => UploadUrlList, 1], 4
834
+ ];
701
835
  var RecentCaseCommunications$ = [3, n0, _RCC,
702
836
  0,
703
837
  [_com, _nT],
@@ -715,8 +849,8 @@ var RefreshTrustedAdvisorCheckResponse$ = [3, n0, _RTACRe,
715
849
  ];
716
850
  var ResolveCaseRequest$ = [3, n0, _RCR,
717
851
  0,
718
- [_cI],
719
- [0]
852
+ [_cI, _dR],
853
+ [0, 2]
720
854
  ];
721
855
  var ResolveCaseResponse$ = [3, n0, _RCRe,
722
856
  0,
@@ -743,6 +877,11 @@ var SupportedLanguage$ = [3, n0, _SLu,
743
877
  [_co, _l, _di],
744
878
  [0, 0, 0]
745
879
  ];
880
+ var ThrottlingReason$ = [3, n0, _TR,
881
+ 0,
882
+ [_re, _res],
883
+ [0, 0]
884
+ ];
746
885
  var TrustedAdvisorCategorySpecificSummary$ = [3, n0, _TACSS,
747
886
  0,
748
887
  [_cO],
@@ -775,7 +914,7 @@ var TrustedAdvisorCostOptimizingSummary$ = [3, n0, _TACOS,
775
914
  ];
776
915
  var TrustedAdvisorResourceDetail$ = [3, n0, _TARD,
777
916
  0,
778
- [_st, _rI, _me, _re, _iS],
917
+ [_st, _rI, _me, _reg, _iS],
779
918
  [0, 0, [() => StringList, 0], 0, 2], 3
780
919
  ];
781
920
  var TrustedAdvisorResourcesSummary$ = [3, n0, _TARS,
@@ -783,6 +922,21 @@ var TrustedAdvisorResourcesSummary$ = [3, n0, _TARS,
783
922
  [_rP, _rF, _rIe, _rSe],
784
923
  [1, 1, 1, 1], 4
785
924
  ];
925
+ var UploadProgress$ = [3, n0, _UP,
926
+ 0,
927
+ [_tP, _cPC],
928
+ [1, 1]
929
+ ];
930
+ var UploadRange$ = [3, n0, _UR,
931
+ 0,
932
+ [_sI, _eI],
933
+ [1, 1], 1
934
+ ];
935
+ var UploadUrl$ = [3, n0, _UU,
936
+ 0,
937
+ [_u, _pI, _eD],
938
+ [0, 1, 0], 3
939
+ ];
786
940
  var Attachments = [1, n0, _At,
787
941
  0, () => Attachment$
788
942
  ];
@@ -801,6 +955,9 @@ var CommunicationList = [1, n0, _CLo,
801
955
  var CommunicationTypeOptionsList = [1, n0, _CTOL,
802
956
  0, () => CommunicationTypeOptions$
803
957
  ];
958
+ var CompletedUploadList = [1, n0, _CUL,
959
+ 0, () => CompletedUpload$
960
+ ];
804
961
  var DatesWithoutSupportList = [1, n0, _DWSL,
805
962
  0, () => DateInterval$
806
963
  ];
@@ -819,6 +976,9 @@ var SupportedHoursList = [1, n0, _SHL,
819
976
  var SupportedLanguagesList = [1, n0, _SLLu,
820
977
  0, () => SupportedLanguage$
821
978
  ];
979
+ var ThrottlingReasonList = [1, n0, _TRL,
980
+ 0, () => ThrottlingReason$
981
+ ];
822
982
  var TrustedAdvisorCheckList = [1, n0, _TACL,
823
983
  0, [() => TrustedAdvisorCheckDescription$,
824
984
  0]
@@ -833,18 +993,27 @@ var TrustedAdvisorResourceDetailList = [1, n0, _TARDL,
833
993
  0, [() => TrustedAdvisorResourceDetail$,
834
994
  0]
835
995
  ];
996
+ var UploadUrlList = [1, n0, _UUL,
997
+ 0, () => UploadUrl$
998
+ ];
836
999
  var AddAttachmentsToSet$ = [9, n0, _AATS,
837
1000
  0, () => AddAttachmentsToSetRequest$, () => AddAttachmentsToSetResponse$
838
1001
  ];
839
1002
  var AddCommunicationToCase$ = [9, n0, _ACTC,
840
1003
  0, () => AddCommunicationToCaseRequest$, () => AddCommunicationToCaseResponse$
841
1004
  ];
1005
+ var CompleteAttachmentUpload$ = [9, n0, _CAU,
1006
+ 0, () => CompleteAttachmentUploadRequest$, () => CompleteAttachmentUploadResponse$
1007
+ ];
842
1008
  var CreateCase$ = [9, n0, _CC,
843
1009
  0, () => CreateCaseRequest$, () => CreateCaseResponse$
844
1010
  ];
845
1011
  var DescribeAttachment$ = [9, n0, _DA,
846
1012
  0, () => DescribeAttachmentRequest$, () => DescribeAttachmentResponse$
847
1013
  ];
1014
+ var DescribeAttachmentUploadStatus$ = [9, n0, _DAUS,
1015
+ 0, () => DescribeAttachmentUploadStatusRequest$, () => DescribeAttachmentUploadStatusResponse$
1016
+ ];
848
1017
  var DescribeCases$ = [9, n0, _DC,
849
1018
  0, () => DescribeCasesRequest$, () => DescribeCasesResponse$
850
1019
  ];
@@ -875,6 +1044,12 @@ var DescribeTrustedAdvisorChecks$ = [9, n0, _DTAC,
875
1044
  var DescribeTrustedAdvisorCheckSummaries$ = [9, n0, _DTACS,
876
1045
  0, () => DescribeTrustedAdvisorCheckSummariesRequest$, () => DescribeTrustedAdvisorCheckSummariesResponse$
877
1046
  ];
1047
+ var GetAttachmentDownloadLink$ = [9, n0, _GADL,
1048
+ 0, () => GetAttachmentDownloadLinkRequest$, () => GetAttachmentDownloadLinkResponse$
1049
+ ];
1050
+ var GetAttachmentUploadLinks$ = [9, n0, _GAUL,
1051
+ 0, () => GetAttachmentUploadLinksRequest$, () => GetAttachmentUploadLinksResponse$
1052
+ ];
878
1053
  var RefreshTrustedAdvisorCheck$ = [9, n0, _RTAC,
879
1054
  0, () => RefreshTrustedAdvisorCheckRequest$, () => RefreshTrustedAdvisorCheckResponse$
880
1055
  ];
@@ -1039,12 +1214,18 @@ class AddAttachmentsToSetCommand extends command(_ep0, _mw0, "AddAttachmentsToSe
1039
1214
  class AddCommunicationToCaseCommand extends command(_ep0, _mw0, "AddCommunicationToCase", AddCommunicationToCase$) {
1040
1215
  }
1041
1216
 
1217
+ class CompleteAttachmentUploadCommand extends command(_ep0, _mw0, "CompleteAttachmentUpload", CompleteAttachmentUpload$) {
1218
+ }
1219
+
1042
1220
  class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {
1043
1221
  }
1044
1222
 
1045
1223
  class DescribeAttachmentCommand extends command(_ep0, _mw0, "DescribeAttachment", DescribeAttachment$) {
1046
1224
  }
1047
1225
 
1226
+ class DescribeAttachmentUploadStatusCommand extends command(_ep0, _mw0, "DescribeAttachmentUploadStatus", DescribeAttachmentUploadStatus$) {
1227
+ }
1228
+
1048
1229
  class DescribeCasesCommand extends command(_ep0, _mw0, "DescribeCases", DescribeCases$) {
1049
1230
  }
1050
1231
 
@@ -1075,6 +1256,12 @@ class DescribeTrustedAdvisorChecksCommand extends command(_ep0, _mw0, "DescribeT
1075
1256
  class DescribeTrustedAdvisorCheckSummariesCommand extends command(_ep0, _mw0, "DescribeTrustedAdvisorCheckSummaries", DescribeTrustedAdvisorCheckSummaries$) {
1076
1257
  }
1077
1258
 
1259
+ class GetAttachmentDownloadLinkCommand extends command(_ep0, _mw0, "GetAttachmentDownloadLink", GetAttachmentDownloadLink$) {
1260
+ }
1261
+
1262
+ class GetAttachmentUploadLinksCommand extends command(_ep0, _mw0, "GetAttachmentUploadLinks", GetAttachmentUploadLinks$) {
1263
+ }
1264
+
1078
1265
  class RefreshTrustedAdvisorCheckCommand extends command(_ep0, _mw0, "RefreshTrustedAdvisorCheck", RefreshTrustedAdvisorCheck$) {
1079
1266
  }
1080
1267
 
@@ -1088,8 +1275,10 @@ const paginateDescribeCommunications = createPaginator(SupportClient, DescribeCo
1088
1275
  const commands = {
1089
1276
  AddAttachmentsToSetCommand,
1090
1277
  AddCommunicationToCaseCommand,
1278
+ CompleteAttachmentUploadCommand,
1091
1279
  CreateCaseCommand,
1092
1280
  DescribeAttachmentCommand,
1281
+ DescribeAttachmentUploadStatusCommand,
1093
1282
  DescribeCasesCommand,
1094
1283
  DescribeCommunicationsCommand,
1095
1284
  DescribeCreateCaseOptionsCommand,
@@ -1100,6 +1289,8 @@ const commands = {
1100
1289
  DescribeTrustedAdvisorCheckResultCommand,
1101
1290
  DescribeTrustedAdvisorChecksCommand,
1102
1291
  DescribeTrustedAdvisorCheckSummariesCommand,
1292
+ GetAttachmentDownloadLinkCommand,
1293
+ GetAttachmentUploadLinksCommand,
1103
1294
  RefreshTrustedAdvisorCheckCommand,
1104
1295
  ResolveCaseCommand,
1105
1296
  };
@@ -1111,6 +1302,12 @@ class Support extends SupportClient {
1111
1302
  }
1112
1303
  createAggregatedClient(commands, Support, { paginators });
1113
1304
 
1305
+ const UploadStatus = {
1306
+ ATTACHMENT_NOT_READY: "attachment-not-ready",
1307
+ ATTACHMENT_READY: "attachment-ready",
1308
+ FAILED: "failed",
1309
+ };
1310
+
1114
1311
  exports.AddAttachmentsToSet$ = AddAttachmentsToSet$;
1115
1312
  exports.AddAttachmentsToSetCommand = AddAttachmentsToSetCommand;
1116
1313
  exports.AddAttachmentsToSetRequest$ = AddAttachmentsToSetRequest$;
@@ -1139,6 +1336,11 @@ exports.CaseIdNotFound$ = CaseIdNotFound$;
1139
1336
  exports.Category$ = Category$;
1140
1337
  exports.Communication$ = Communication$;
1141
1338
  exports.CommunicationTypeOptions$ = CommunicationTypeOptions$;
1339
+ exports.CompleteAttachmentUpload$ = CompleteAttachmentUpload$;
1340
+ exports.CompleteAttachmentUploadCommand = CompleteAttachmentUploadCommand;
1341
+ exports.CompleteAttachmentUploadRequest$ = CompleteAttachmentUploadRequest$;
1342
+ exports.CompleteAttachmentUploadResponse$ = CompleteAttachmentUploadResponse$;
1343
+ exports.CompletedUpload$ = CompletedUpload$;
1142
1344
  exports.CreateCase$ = CreateCase$;
1143
1345
  exports.CreateCaseCommand = CreateCaseCommand;
1144
1346
  exports.CreateCaseRequest$ = CreateCaseRequest$;
@@ -1150,6 +1352,10 @@ exports.DescribeAttachmentLimitExceeded = DescribeAttachmentLimitExceeded;
1150
1352
  exports.DescribeAttachmentLimitExceeded$ = DescribeAttachmentLimitExceeded$;
1151
1353
  exports.DescribeAttachmentRequest$ = DescribeAttachmentRequest$;
1152
1354
  exports.DescribeAttachmentResponse$ = DescribeAttachmentResponse$;
1355
+ exports.DescribeAttachmentUploadStatus$ = DescribeAttachmentUploadStatus$;
1356
+ exports.DescribeAttachmentUploadStatusCommand = DescribeAttachmentUploadStatusCommand;
1357
+ exports.DescribeAttachmentUploadStatusRequest$ = DescribeAttachmentUploadStatusRequest$;
1358
+ exports.DescribeAttachmentUploadStatusResponse$ = DescribeAttachmentUploadStatusResponse$;
1153
1359
  exports.DescribeCases$ = DescribeCases$;
1154
1360
  exports.DescribeCasesCommand = DescribeCasesCommand;
1155
1361
  exports.DescribeCasesRequest$ = DescribeCasesRequest$;
@@ -1190,6 +1396,17 @@ exports.DescribeTrustedAdvisorChecks$ = DescribeTrustedAdvisorChecks$;
1190
1396
  exports.DescribeTrustedAdvisorChecksCommand = DescribeTrustedAdvisorChecksCommand;
1191
1397
  exports.DescribeTrustedAdvisorChecksRequest$ = DescribeTrustedAdvisorChecksRequest$;
1192
1398
  exports.DescribeTrustedAdvisorChecksResponse$ = DescribeTrustedAdvisorChecksResponse$;
1399
+ exports.DownloadUrl$ = DownloadUrl$;
1400
+ exports.DryRunOperationException = DryRunOperationException;
1401
+ exports.DryRunOperationException$ = DryRunOperationException$;
1402
+ exports.GetAttachmentDownloadLink$ = GetAttachmentDownloadLink$;
1403
+ exports.GetAttachmentDownloadLinkCommand = GetAttachmentDownloadLinkCommand;
1404
+ exports.GetAttachmentDownloadLinkRequest$ = GetAttachmentDownloadLinkRequest$;
1405
+ exports.GetAttachmentDownloadLinkResponse$ = GetAttachmentDownloadLinkResponse$;
1406
+ exports.GetAttachmentUploadLinks$ = GetAttachmentUploadLinks$;
1407
+ exports.GetAttachmentUploadLinksCommand = GetAttachmentUploadLinksCommand;
1408
+ exports.GetAttachmentUploadLinksRequest$ = GetAttachmentUploadLinksRequest$;
1409
+ exports.GetAttachmentUploadLinksResponse$ = GetAttachmentUploadLinksResponse$;
1193
1410
  exports.InternalServerError = InternalServerError;
1194
1411
  exports.InternalServerError$ = InternalServerError$;
1195
1412
  exports.RecentCaseCommunications$ = RecentCaseCommunications$;
@@ -1211,6 +1428,7 @@ exports.SupportedHour$ = SupportedHour$;
1211
1428
  exports.SupportedLanguage$ = SupportedLanguage$;
1212
1429
  exports.ThrottlingException = ThrottlingException;
1213
1430
  exports.ThrottlingException$ = ThrottlingException$;
1431
+ exports.ThrottlingReason$ = ThrottlingReason$;
1214
1432
  exports.TrustedAdvisorCategorySpecificSummary$ = TrustedAdvisorCategorySpecificSummary$;
1215
1433
  exports.TrustedAdvisorCheckDescription$ = TrustedAdvisorCheckDescription$;
1216
1434
  exports.TrustedAdvisorCheckRefreshStatus$ = TrustedAdvisorCheckRefreshStatus$;
@@ -1219,6 +1437,12 @@ exports.TrustedAdvisorCheckSummary$ = TrustedAdvisorCheckSummary$;
1219
1437
  exports.TrustedAdvisorCostOptimizingSummary$ = TrustedAdvisorCostOptimizingSummary$;
1220
1438
  exports.TrustedAdvisorResourceDetail$ = TrustedAdvisorResourceDetail$;
1221
1439
  exports.TrustedAdvisorResourcesSummary$ = TrustedAdvisorResourcesSummary$;
1440
+ exports.UploadIdNotFound = UploadIdNotFound;
1441
+ exports.UploadIdNotFound$ = UploadIdNotFound$;
1442
+ exports.UploadProgress$ = UploadProgress$;
1443
+ exports.UploadRange$ = UploadRange$;
1444
+ exports.UploadStatus = UploadStatus;
1445
+ exports.UploadUrl$ = UploadUrl$;
1222
1446
  exports.errorTypeRegistries = errorTypeRegistries;
1223
1447
  exports.paginateDescribeCases = paginateDescribeCases;
1224
1448
  exports.paginateDescribeCommunications = paginateDescribeCommunications;
@@ -1,8 +1,10 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AddAttachmentsToSetCommand, } from "./commands/AddAttachmentsToSetCommand";
3
3
  import { AddCommunicationToCaseCommand, } from "./commands/AddCommunicationToCaseCommand";
4
+ import { CompleteAttachmentUploadCommand, } from "./commands/CompleteAttachmentUploadCommand";
4
5
  import { CreateCaseCommand, } from "./commands/CreateCaseCommand";
5
6
  import { DescribeAttachmentCommand, } from "./commands/DescribeAttachmentCommand";
7
+ import { DescribeAttachmentUploadStatusCommand, } from "./commands/DescribeAttachmentUploadStatusCommand";
6
8
  import { DescribeCasesCommand, } from "./commands/DescribeCasesCommand";
7
9
  import { DescribeCommunicationsCommand, } from "./commands/DescribeCommunicationsCommand";
8
10
  import { DescribeCreateCaseOptionsCommand, } from "./commands/DescribeCreateCaseOptionsCommand";
@@ -13,6 +15,8 @@ import { DescribeTrustedAdvisorCheckRefreshStatusesCommand, } from "./commands/D
13
15
  import { DescribeTrustedAdvisorCheckResultCommand, } from "./commands/DescribeTrustedAdvisorCheckResultCommand";
14
16
  import { DescribeTrustedAdvisorChecksCommand, } from "./commands/DescribeTrustedAdvisorChecksCommand";
15
17
  import { DescribeTrustedAdvisorCheckSummariesCommand, } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
18
+ import { GetAttachmentDownloadLinkCommand, } from "./commands/GetAttachmentDownloadLinkCommand";
19
+ import { GetAttachmentUploadLinksCommand, } from "./commands/GetAttachmentUploadLinksCommand";
16
20
  import { RefreshTrustedAdvisorCheckCommand, } from "./commands/RefreshTrustedAdvisorCheckCommand";
17
21
  import { ResolveCaseCommand, } from "./commands/ResolveCaseCommand";
18
22
  import { paginateDescribeCases } from "./pagination/DescribeCasesPaginator";
@@ -21,8 +25,10 @@ import { SupportClient } from "./SupportClient";
21
25
  const commands = {
22
26
  AddAttachmentsToSetCommand,
23
27
  AddCommunicationToCaseCommand,
28
+ CompleteAttachmentUploadCommand,
24
29
  CreateCaseCommand,
25
30
  DescribeAttachmentCommand,
31
+ DescribeAttachmentUploadStatusCommand,
26
32
  DescribeCasesCommand,
27
33
  DescribeCommunicationsCommand,
28
34
  DescribeCreateCaseOptionsCommand,
@@ -33,6 +39,8 @@ const commands = {
33
39
  DescribeTrustedAdvisorCheckResultCommand,
34
40
  DescribeTrustedAdvisorChecksCommand,
35
41
  DescribeTrustedAdvisorCheckSummariesCommand,
42
+ GetAttachmentDownloadLinkCommand,
43
+ GetAttachmentUploadLinksCommand,
36
44
  RefreshTrustedAdvisorCheckCommand,
37
45
  ResolveCaseCommand,
38
46
  };
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CompleteAttachmentUpload$ } from "../schemas/schemas_0";
3
+ export class CompleteAttachmentUploadCommand extends command(_ep0, _mw0, "CompleteAttachmentUpload", CompleteAttachmentUpload$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DescribeAttachmentUploadStatus$ } from "../schemas/schemas_0";
3
+ export class DescribeAttachmentUploadStatusCommand extends command(_ep0, _mw0, "DescribeAttachmentUploadStatus", DescribeAttachmentUploadStatus$) {
4
+ }