@aws-sdk/client-support 3.1121.0 → 3.1123.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 +2 -2
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetAttachmentDownloadLink$ } from "../schemas/schemas_0";
3
+ export class GetAttachmentDownloadLinkCommand extends command(_ep0, _mw0, "GetAttachmentDownloadLink", GetAttachmentDownloadLink$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetAttachmentUploadLinks$ } from "../schemas/schemas_0";
3
+ export class GetAttachmentUploadLinksCommand extends command(_ep0, _mw0, "GetAttachmentUploadLinks", GetAttachmentUploadLinks$) {
4
+ }
@@ -1,7 +1,9 @@
1
1
  export * from "./AddAttachmentsToSetCommand";
2
2
  export * from "./AddCommunicationToCaseCommand";
3
+ export * from "./CompleteAttachmentUploadCommand";
3
4
  export * from "./CreateCaseCommand";
4
5
  export * from "./DescribeAttachmentCommand";
6
+ export * from "./DescribeAttachmentUploadStatusCommand";
5
7
  export * from "./DescribeCasesCommand";
6
8
  export * from "./DescribeCommunicationsCommand";
7
9
  export * from "./DescribeCreateCaseOptionsCommand";
@@ -12,5 +14,7 @@ export * from "./DescribeTrustedAdvisorCheckRefreshStatusesCommand";
12
14
  export * from "./DescribeTrustedAdvisorCheckResultCommand";
13
15
  export * from "./DescribeTrustedAdvisorCheckSummariesCommand";
14
16
  export * from "./DescribeTrustedAdvisorChecksCommand";
17
+ export * from "./GetAttachmentDownloadLinkCommand";
18
+ export * from "./GetAttachmentUploadLinksCommand";
15
19
  export * from "./RefreshTrustedAdvisorCheckCommand";
16
20
  export * from "./ResolveCaseCommand";
package/dist-es/index.js CHANGED
@@ -4,6 +4,7 @@ export * from "./commands";
4
4
  export { Command as $Command } from "@smithy/core/client";
5
5
  export * from "./pagination";
6
6
  export * from "./schemas/schemas_0";
7
+ export * from "./models/enums";
7
8
  export * from "./models/errors";
8
9
  export * from "./models/models_0";
9
10
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,5 @@
1
+ export const UploadStatus = {
2
+ ATTACHMENT_NOT_READY: "attachment-not-ready",
3
+ ATTACHMENT_READY: "attachment-ready",
4
+ FAILED: "failed",
5
+ };
@@ -47,6 +47,18 @@ export class AttachmentSetSizeLimitExceeded extends __BaseException {
47
47
  Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
48
48
  }
49
49
  }
50
+ export class DryRunOperationException extends __BaseException {
51
+ name = "DryRunOperationException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "DryRunOperationException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
60
+ }
61
+ }
50
62
  export class InternalServerError extends __BaseException {
51
63
  name = "InternalServerError";
52
64
  $fault = "server";
@@ -83,6 +95,18 @@ export class AttachmentIdNotFound extends __BaseException {
83
95
  Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
84
96
  }
85
97
  }
98
+ export class UploadIdNotFound extends __BaseException {
99
+ name = "UploadIdNotFound";
100
+ $fault = "client";
101
+ constructor(opts) {
102
+ super({
103
+ name: "UploadIdNotFound",
104
+ $fault: "client",
105
+ ...opts,
106
+ });
107
+ Object.setPrototypeOf(this, UploadIdNotFound.prototype);
108
+ }
109
+ }
86
110
  export class CaseCreationLimitExceeded extends __BaseException {
87
111
  name = "CaseCreationLimitExceeded";
88
112
  $fault = "client";
@@ -110,6 +134,7 @@ export class DescribeAttachmentLimitExceeded extends __BaseException {
110
134
  export class ThrottlingException extends __BaseException {
111
135
  name = "ThrottlingException";
112
136
  $fault = "client";
137
+ throttlingReasons;
113
138
  constructor(opts) {
114
139
  super({
115
140
  name: "ThrottlingException",
@@ -117,5 +142,6 @@ export class ThrottlingException extends __BaseException {
117
142
  ...opts,
118
143
  });
119
144
  Object.setPrototypeOf(this, ThrottlingException.prototype);
145
+ this.throttlingReasons = opts.throttlingReasons;
120
146
  }
121
147
  }
@@ -14,6 +14,9 @@ const _ASINF = "AttachmentSetIdNotFound";
14
14
  const _ASSLE = "AttachmentSetSizeLimitExceeded";
15
15
  const _At = "Attachments";
16
16
  const _C = "Category";
17
+ const _CAU = "CompleteAttachmentUpload";
18
+ const _CAUR = "CompleteAttachmentUploadRequest";
19
+ const _CAURo = "CompleteAttachmentUploadResponse";
17
20
  const _CC = "CreateCase";
18
21
  const _CCLE = "CaseCreationLimitExceeded";
19
22
  const _CCR = "CreateCaseRequest";
@@ -25,11 +28,16 @@ const _CLa = "CategoryList";
25
28
  const _CLo = "CommunicationList";
26
29
  const _CTO = "CommunicationTypeOptions";
27
30
  const _CTOL = "CommunicationTypeOptionsList";
31
+ const _CU = "CompletedUpload";
32
+ const _CUL = "CompletedUploadList";
28
33
  const _Co = "Communication";
29
34
  const _DA = "DescribeAttachment";
30
35
  const _DALE = "DescribeAttachmentLimitExceeded";
31
36
  const _DAR = "DescribeAttachmentRequest";
32
37
  const _DARe = "DescribeAttachmentResponse";
38
+ const _DAUS = "DescribeAttachmentUploadStatus";
39
+ const _DAUSR = "DescribeAttachmentUploadStatusRequest";
40
+ const _DAUSRe = "DescribeAttachmentUploadStatusResponse";
33
41
  const _DC = "DescribeCases";
34
42
  const _DCCO = "DescribeCreateCaseOptions";
35
43
  const _DCCOR = "DescribeCreateCaseOptionsRequest";
@@ -40,6 +48,7 @@ const _DCRes = "DescribeCommunicationsRequest";
40
48
  const _DCResc = "DescribeCommunicationsResponse";
41
49
  const _DCe = "DescribeCommunications";
42
50
  const _DI = "DateInterval";
51
+ const _DROE = "DryRunOperationException";
43
52
  const _DS = "DescribeServices";
44
53
  const _DSL = "DescribeSeverityLevels";
45
54
  const _DSLR = "DescribeSeverityLevelsRequest";
@@ -61,7 +70,14 @@ const _DTACRes = "DescribeTrustedAdvisorCheckResult";
61
70
  const _DTACS = "DescribeTrustedAdvisorCheckSummaries";
62
71
  const _DTACSR = "DescribeTrustedAdvisorCheckSummariesRequest";
63
72
  const _DTACSRe = "DescribeTrustedAdvisorCheckSummariesResponse";
73
+ const _DU = "DownloadUrl";
64
74
  const _DWSL = "DatesWithoutSupportList";
75
+ const _GADL = "GetAttachmentDownloadLink";
76
+ const _GADLR = "GetAttachmentDownloadLinkRequest";
77
+ const _GADLRe = "GetAttachmentDownloadLinkResponse";
78
+ const _GAUL = "GetAttachmentUploadLinks";
79
+ const _GAULR = "GetAttachmentUploadLinksRequest";
80
+ const _GAULRe = "GetAttachmentUploadLinksResponse";
65
81
  const _ISE = "InternalServerError";
66
82
  const _RC = "ResolveCase";
67
83
  const _RCC = "RecentCaseCommunications";
@@ -92,6 +108,13 @@ const _TARD = "TrustedAdvisorResourceDetail";
92
108
  const _TARDL = "TrustedAdvisorResourceDetailList";
93
109
  const _TARS = "TrustedAdvisorResourcesSummary";
94
110
  const _TE = "ThrottlingException";
111
+ const _TR = "ThrottlingReason";
112
+ const _TRL = "ThrottlingReasonList";
113
+ const _UINF = "UploadIdNotFound";
114
+ const _UP = "UploadProgress";
115
+ const _UR = "UploadRange";
116
+ const _UU = "UploadUrl";
117
+ const _UUL = "UploadUrlList";
95
118
  const _a = "attachments";
96
119
  const _aI = "attachmentId";
97
120
  const _aQE = "awsQueryError";
@@ -110,8 +133,10 @@ const _cIL = "caseIdList";
110
133
  const _cIh = "checkIds";
111
134
  const _cIhe = "checkId";
112
135
  const _cO = "costOptimizing";
136
+ const _cPC = "completedPartsCount";
113
137
  const _cSS = "categorySpecificSummary";
114
138
  const _cT = "communicationTypes";
139
+ const _cU = "completedUploads";
115
140
  const _ca = "cases";
116
141
  const _cat = "categories";
117
142
  const _cate = "category";
@@ -120,18 +145,24 @@ const _co = "code";
120
145
  const _com = "communications";
121
146
  const _d = "data";
122
147
  const _dI = "displayId";
148
+ const _dR = "dryRun";
149
+ const _dU = "downloadUrl";
123
150
  const _dWS = "datesWithoutSupport";
124
151
  const _de = "description";
125
152
  const _di = "display";
126
153
  const _e = "error";
154
+ const _eD = "expiryDate";
127
155
  const _eDT = "endDateTime";
156
+ const _eI = "endIndex";
128
157
  const _eMS = "estimatedMonthlySavings";
129
158
  const _ePMS = "estimatedPercentMonthlySavings";
130
159
  const _eT = "expiryTime";
160
+ const _eTa = "eTag";
131
161
  const _eTn = "endTime";
132
162
  const _fCS = "finalCaseStatus";
133
163
  const _fN = "fileName";
134
164
  const _fR = "flaggedResources";
165
+ const _fSB = "fileSizeBytes";
135
166
  const _hE = "httpError";
136
167
  const _hFR = "hasFlaggedResources";
137
168
  const _i = "id";
@@ -147,7 +178,10 @@ const _mR = "maxResults";
147
178
  const _mUNR = "millisUntilNextRefreshable";
148
179
  const _me = "metadata";
149
180
  const _n = "name";
181
+ const _nI = "nextIndex";
150
182
  const _nT = "nextToken";
183
+ const _pI = "partIndex";
184
+ const _pSB = "partSizeBytes";
151
185
  const _r = "result";
152
186
  const _rC = "recentCommunications";
153
187
  const _rF = "resourcesFlagged";
@@ -156,7 +190,9 @@ const _rIe = "resourcesIgnored";
156
190
  const _rP = "resourcesProcessed";
157
191
  const _rS = "resourcesSummary";
158
192
  const _rSe = "resourcesSuppressed";
159
- const _re = "region";
193
+ const _re = "reason";
194
+ const _reg = "region";
195
+ const _res = "resource";
160
196
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.support";
161
197
  const _sB = "submittedBy";
162
198
  const _sC = "serviceCode";
@@ -164,6 +200,7 @@ const _sCL = "serviceCodeList";
164
200
  const _sCe = "severityCode";
165
201
  const _sDT = "startDateTime";
166
202
  const _sH = "supportedHours";
203
+ const _sI = "startIndex";
167
204
  const _sL = "severityLevels";
168
205
  const _sLu = "supportedLanguages";
169
206
  const _sT = "startTime";
@@ -176,10 +213,19 @@ const _su = "subject";
176
213
  const _sum = "summaries";
177
214
  const _t = "type";
178
215
  const _tC = "timeCreated";
216
+ const _tP = "totalParts";
217
+ const _tR = "throttlingReasons";
179
218
  const _ti = "timestamp";
219
+ const _u = "url";
220
+ const _uI = "uploadIds";
221
+ const _uIp = "uploadId";
222
+ const _uP = "uploadProgress";
223
+ const _uR = "uploadRange";
224
+ const _uS = "uploadStatus";
225
+ const _uU = "uploadUrls";
180
226
  const n0 = "com.amazonaws.support";
181
227
  import { TypeRegistry } from "@smithy/core/schema";
182
- import { AttachmentIdNotFound, AttachmentLimitExceeded, AttachmentSetExpired, AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded, CaseIdNotFound, DescribeAttachmentLimitExceeded, InternalServerError, ThrottlingException, } from "../models/errors";
228
+ import { AttachmentIdNotFound, AttachmentLimitExceeded, AttachmentSetExpired, AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded, CaseIdNotFound, DescribeAttachmentLimitExceeded, DryRunOperationException, InternalServerError, ThrottlingException, UploadIdNotFound, } from "../models/errors";
183
229
  import { SupportServiceException } from "../models/SupportServiceException";
184
230
  const _s_registry = TypeRegistry.for(_s);
185
231
  export var SupportServiceException$ = [-3, _s, "SupportServiceException", 0, [], []];
@@ -233,6 +279,12 @@ export var DescribeAttachmentLimitExceeded$ = [-3, n0, _DALE,
233
279
  [0]
234
280
  ];
235
281
  n0_registry.registerError(DescribeAttachmentLimitExceeded$, DescribeAttachmentLimitExceeded);
282
+ export var DryRunOperationException$ = [-3, n0, _DROE,
283
+ { [_e]: _c },
284
+ [_m],
285
+ [0]
286
+ ];
287
+ n0_registry.registerError(DryRunOperationException$, DryRunOperationException);
236
288
  export var InternalServerError$ = [-3, n0, _ISE,
237
289
  { [_e]: _se },
238
290
  [_m],
@@ -241,18 +293,24 @@ export var InternalServerError$ = [-3, n0, _ISE,
241
293
  n0_registry.registerError(InternalServerError$, InternalServerError);
242
294
  export var ThrottlingException$ = [-3, n0, _TE,
243
295
  { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
296
+ [_m, _tR],
297
+ [0, () => ThrottlingReasonList]
298
+ ];
299
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
300
+ export var UploadIdNotFound$ = [-3, n0, _UINF,
301
+ { [_e]: _c },
244
302
  [_m],
245
303
  [0]
246
304
  ];
247
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
305
+ n0_registry.registerError(UploadIdNotFound$, UploadIdNotFound);
248
306
  export const errorTypeRegistries = [
249
307
  _s_registry,
250
308
  n0_registry,
251
309
  ];
252
310
  export var AddAttachmentsToSetRequest$ = [3, n0, _AATSR,
253
311
  0,
254
- [_a, _aSI],
255
- [() => Attachments, 0], 1
312
+ [_a, _aSI, _dR],
313
+ [() => Attachments, 0, 2], 1
256
314
  ];
257
315
  export var AddAttachmentsToSetResponse$ = [3, n0, _AATSRd,
258
316
  0,
@@ -261,8 +319,8 @@ export var AddAttachmentsToSetResponse$ = [3, n0, _AATSRd,
261
319
  ];
262
320
  export var AddCommunicationToCaseRequest$ = [3, n0, _ACTCR,
263
321
  0,
264
- [_cB, _cI, _cEA, _aSI],
265
- [0, 0, 64 | 0, 0], 1
322
+ [_cB, _cI, _cEA, _aSI, _uI, _dR],
323
+ [0, 0, 64 | 0, 0, 64 | 0, 2], 1
266
324
  ];
267
325
  export var AddCommunicationToCaseResponse$ = [3, n0, _ACTCRd,
268
326
  0,
@@ -291,18 +349,33 @@ export var Category$ = [3, n0, _C,
291
349
  ];
292
350
  export var Communication$ = [3, n0, _Co,
293
351
  0,
294
- [_cI, _b, _sB, _tC, _aS],
295
- [0, 0, 0, 0, () => AttachmentSet]
352
+ [_cI, _b, _sB, _tC, _a, _aS],
353
+ [0, 0, 0, 0, () => AttachmentSet, () => AttachmentSet]
296
354
  ];
297
355
  export var CommunicationTypeOptions$ = [3, n0, _CTO,
298
356
  0,
299
357
  [_t, _sH, _dWS],
300
358
  [0, () => SupportedHoursList, () => DatesWithoutSupportList]
301
359
  ];
360
+ export var CompleteAttachmentUploadRequest$ = [3, n0, _CAUR,
361
+ 0,
362
+ [_uIp, _cU, _dR],
363
+ [0, () => CompletedUploadList, 2], 2
364
+ ];
365
+ export var CompleteAttachmentUploadResponse$ = [3, n0, _CAURo,
366
+ 0,
367
+ [_uS],
368
+ [0], 1
369
+ ];
370
+ export var CompletedUpload$ = [3, n0, _CU,
371
+ 0,
372
+ [_pI, _eTa],
373
+ [1, 0], 2
374
+ ];
302
375
  export var CreateCaseRequest$ = [3, n0, _CCR,
303
376
  0,
304
- [_su, _cB, _sC, _sCe, _cC, _cEA, _l, _iT, _aSI],
305
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 0], 2
377
+ [_su, _cB, _sC, _sCe, _cC, _cEA, _l, _iT, _aSI, _uI, _dR],
378
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 64 | 0, 2], 2
306
379
  ];
307
380
  export var CreateCaseResponse$ = [3, n0, _CCRr,
308
381
  0,
@@ -316,18 +389,28 @@ export var DateInterval$ = [3, n0, _DI,
316
389
  ];
317
390
  export var DescribeAttachmentRequest$ = [3, n0, _DAR,
318
391
  0,
319
- [_aI],
320
- [0], 1
392
+ [_aI, _dR],
393
+ [0, 2], 1
321
394
  ];
322
395
  export var DescribeAttachmentResponse$ = [3, n0, _DARe,
323
396
  0,
324
397
  [_at],
325
398
  [() => Attachment$]
326
399
  ];
400
+ export var DescribeAttachmentUploadStatusRequest$ = [3, n0, _DAUSR,
401
+ 0,
402
+ [_uIp, _dR],
403
+ [0, 2], 1
404
+ ];
405
+ export var DescribeAttachmentUploadStatusResponse$ = [3, n0, _DAUSRe,
406
+ 0,
407
+ [_uS, _fN, _uP],
408
+ [0, 0, () => UploadProgress$], 2
409
+ ];
327
410
  export var DescribeCasesRequest$ = [3, n0, _DCR,
328
411
  0,
329
- [_cIL, _dI, _aT, _bT, _iRC, _nT, _mR, _l, _iC],
330
- [64 | 0, 0, 0, 0, 2, 0, 1, 0, 2]
412
+ [_cIL, _dI, _aT, _bT, _iRC, _nT, _mR, _l, _iC, _dR],
413
+ [64 | 0, 0, 0, 0, 2, 0, 1, 0, 2, 2]
331
414
  ];
332
415
  export var DescribeCasesResponse$ = [3, n0, _DCRe,
333
416
  0,
@@ -336,8 +419,8 @@ export var DescribeCasesResponse$ = [3, n0, _DCRe,
336
419
  ];
337
420
  export var DescribeCommunicationsRequest$ = [3, n0, _DCRes,
338
421
  0,
339
- [_cI, _bT, _aT, _nT, _mR],
340
- [0, 0, 0, 0, 1], 1
422
+ [_cI, _bT, _aT, _nT, _mR, _dR],
423
+ [0, 0, 0, 0, 1, 2], 1
341
424
  ];
342
425
  export var DescribeCommunicationsResponse$ = [3, n0, _DCResc,
343
426
  0,
@@ -346,8 +429,8 @@ export var DescribeCommunicationsResponse$ = [3, n0, _DCResc,
346
429
  ];
347
430
  export var DescribeCreateCaseOptionsRequest$ = [3, n0, _DCCOR,
348
431
  0,
349
- [_iT, _sC, _l, _cC],
350
- [0, 0, 0, 0], 4
432
+ [_iT, _sC, _l, _cC, _dR],
433
+ [0, 0, 0, 0, 2], 4
351
434
  ];
352
435
  export var DescribeCreateCaseOptionsResponse$ = [3, n0, _DCCORe,
353
436
  0,
@@ -356,8 +439,8 @@ export var DescribeCreateCaseOptionsResponse$ = [3, n0, _DCCORe,
356
439
  ];
357
440
  export var DescribeServicesRequest$ = [3, n0, _DSR,
358
441
  0,
359
- [_sCL, _l],
360
- [64 | 0, 0]
442
+ [_sCL, _l, _dR],
443
+ [64 | 0, 0, 2]
361
444
  ];
362
445
  export var DescribeServicesResponse$ = [3, n0, _DSRe,
363
446
  0,
@@ -366,8 +449,8 @@ export var DescribeServicesResponse$ = [3, n0, _DSRe,
366
449
  ];
367
450
  export var DescribeSeverityLevelsRequest$ = [3, n0, _DSLR,
368
451
  0,
369
- [_l],
370
- [0]
452
+ [_l, _dR],
453
+ [0, 2]
371
454
  ];
372
455
  export var DescribeSeverityLevelsResponse$ = [3, n0, _DSLRe,
373
456
  0,
@@ -376,8 +459,8 @@ export var DescribeSeverityLevelsResponse$ = [3, n0, _DSLRe,
376
459
  ];
377
460
  export var DescribeSupportedLanguagesRequest$ = [3, n0, _DSLRes,
378
461
  0,
379
- [_iT, _sC, _cC],
380
- [0, 0, 0], 3
462
+ [_iT, _sC, _cC, _dR],
463
+ [0, 0, 0, 2], 3
381
464
  ];
382
465
  export var DescribeSupportedLanguagesResponse$ = [3, n0, _DSLResc,
383
466
  0,
@@ -424,6 +507,31 @@ export var DescribeTrustedAdvisorCheckSummariesResponse$ = [3, n0, _DTACSRe,
424
507
  [_sum],
425
508
  [() => TrustedAdvisorCheckSummaryList], 1
426
509
  ];
510
+ export var DownloadUrl$ = [3, n0, _DU,
511
+ 0,
512
+ [_u, _eD],
513
+ [0, 0], 2
514
+ ];
515
+ export var GetAttachmentDownloadLinkRequest$ = [3, n0, _GADLR,
516
+ 0,
517
+ [_aI, _dR],
518
+ [0, 2], 1
519
+ ];
520
+ export var GetAttachmentDownloadLinkResponse$ = [3, n0, _GADLRe,
521
+ 0,
522
+ [_fN, _dU],
523
+ [0, () => DownloadUrl$], 2
524
+ ];
525
+ export var GetAttachmentUploadLinksRequest$ = [3, n0, _GAULR,
526
+ 0,
527
+ [_fN, _fSB, _uIp, _uR, _dR],
528
+ [0, 1, 0, () => UploadRange$, 2], 1
529
+ ];
530
+ export var GetAttachmentUploadLinksResponse$ = [3, n0, _GAULRe,
531
+ 0,
532
+ [_uIp, _pSB, _tP, _uU, _nI],
533
+ [0, 1, 1, () => UploadUrlList, 1], 4
534
+ ];
427
535
  export var RecentCaseCommunications$ = [3, n0, _RCC,
428
536
  0,
429
537
  [_com, _nT],
@@ -441,8 +549,8 @@ export var RefreshTrustedAdvisorCheckResponse$ = [3, n0, _RTACRe,
441
549
  ];
442
550
  export var ResolveCaseRequest$ = [3, n0, _RCR,
443
551
  0,
444
- [_cI],
445
- [0]
552
+ [_cI, _dR],
553
+ [0, 2]
446
554
  ];
447
555
  export var ResolveCaseResponse$ = [3, n0, _RCRe,
448
556
  0,
@@ -469,6 +577,11 @@ export var SupportedLanguage$ = [3, n0, _SLu,
469
577
  [_co, _l, _di],
470
578
  [0, 0, 0]
471
579
  ];
580
+ export var ThrottlingReason$ = [3, n0, _TR,
581
+ 0,
582
+ [_re, _res],
583
+ [0, 0]
584
+ ];
472
585
  export var TrustedAdvisorCategorySpecificSummary$ = [3, n0, _TACSS,
473
586
  0,
474
587
  [_cO],
@@ -501,7 +614,7 @@ export var TrustedAdvisorCostOptimizingSummary$ = [3, n0, _TACOS,
501
614
  ];
502
615
  export var TrustedAdvisorResourceDetail$ = [3, n0, _TARD,
503
616
  0,
504
- [_st, _rI, _me, _re, _iS],
617
+ [_st, _rI, _me, _reg, _iS],
505
618
  [0, 0, [() => StringList, 0], 0, 2], 3
506
619
  ];
507
620
  export var TrustedAdvisorResourcesSummary$ = [3, n0, _TARS,
@@ -509,6 +622,21 @@ export var TrustedAdvisorResourcesSummary$ = [3, n0, _TARS,
509
622
  [_rP, _rF, _rIe, _rSe],
510
623
  [1, 1, 1, 1], 4
511
624
  ];
625
+ export var UploadProgress$ = [3, n0, _UP,
626
+ 0,
627
+ [_tP, _cPC],
628
+ [1, 1]
629
+ ];
630
+ export var UploadRange$ = [3, n0, _UR,
631
+ 0,
632
+ [_sI, _eI],
633
+ [1, 1], 1
634
+ ];
635
+ export var UploadUrl$ = [3, n0, _UU,
636
+ 0,
637
+ [_u, _pI, _eD],
638
+ [0, 1, 0], 3
639
+ ];
512
640
  var Attachments = [1, n0, _At,
513
641
  0, () => Attachment$
514
642
  ];
@@ -529,6 +657,9 @@ var CommunicationList = [1, n0, _CLo,
529
657
  var CommunicationTypeOptionsList = [1, n0, _CTOL,
530
658
  0, () => CommunicationTypeOptions$
531
659
  ];
660
+ var CompletedUploadList = [1, n0, _CUL,
661
+ 0, () => CompletedUpload$
662
+ ];
532
663
  var DatesWithoutSupportList = [1, n0, _DWSL,
533
664
  0, () => DateInterval$
534
665
  ];
@@ -548,6 +679,9 @@ var SupportedHoursList = [1, n0, _SHL,
548
679
  var SupportedLanguagesList = [1, n0, _SLLu,
549
680
  0, () => SupportedLanguage$
550
681
  ];
682
+ var ThrottlingReasonList = [1, n0, _TRL,
683
+ 0, () => ThrottlingReason$
684
+ ];
551
685
  var TrustedAdvisorCheckList = [1, n0, _TACL,
552
686
  0, [() => TrustedAdvisorCheckDescription$,
553
687
  0]
@@ -562,18 +696,28 @@ var TrustedAdvisorResourceDetailList = [1, n0, _TARDL,
562
696
  0, [() => TrustedAdvisorResourceDetail$,
563
697
  0]
564
698
  ];
699
+ var UploadIds = 64 | 0;
700
+ var UploadUrlList = [1, n0, _UUL,
701
+ 0, () => UploadUrl$
702
+ ];
565
703
  export var AddAttachmentsToSet$ = [9, n0, _AATS,
566
704
  0, () => AddAttachmentsToSetRequest$, () => AddAttachmentsToSetResponse$
567
705
  ];
568
706
  export var AddCommunicationToCase$ = [9, n0, _ACTC,
569
707
  0, () => AddCommunicationToCaseRequest$, () => AddCommunicationToCaseResponse$
570
708
  ];
709
+ export var CompleteAttachmentUpload$ = [9, n0, _CAU,
710
+ 0, () => CompleteAttachmentUploadRequest$, () => CompleteAttachmentUploadResponse$
711
+ ];
571
712
  export var CreateCase$ = [9, n0, _CC,
572
713
  0, () => CreateCaseRequest$, () => CreateCaseResponse$
573
714
  ];
574
715
  export var DescribeAttachment$ = [9, n0, _DA,
575
716
  0, () => DescribeAttachmentRequest$, () => DescribeAttachmentResponse$
576
717
  ];
718
+ export var DescribeAttachmentUploadStatus$ = [9, n0, _DAUS,
719
+ 0, () => DescribeAttachmentUploadStatusRequest$, () => DescribeAttachmentUploadStatusResponse$
720
+ ];
577
721
  export var DescribeCases$ = [9, n0, _DC,
578
722
  0, () => DescribeCasesRequest$, () => DescribeCasesResponse$
579
723
  ];
@@ -604,6 +748,12 @@ export var DescribeTrustedAdvisorChecks$ = [9, n0, _DTAC,
604
748
  export var DescribeTrustedAdvisorCheckSummaries$ = [9, n0, _DTACS,
605
749
  0, () => DescribeTrustedAdvisorCheckSummariesRequest$, () => DescribeTrustedAdvisorCheckSummariesResponse$
606
750
  ];
751
+ export var GetAttachmentDownloadLink$ = [9, n0, _GADL,
752
+ 0, () => GetAttachmentDownloadLinkRequest$, () => GetAttachmentDownloadLinkResponse$
753
+ ];
754
+ export var GetAttachmentUploadLinks$ = [9, n0, _GAUL,
755
+ 0, () => GetAttachmentUploadLinksRequest$, () => GetAttachmentUploadLinksResponse$
756
+ ];
607
757
  export var RefreshTrustedAdvisorCheck$ = [9, n0, _RTAC,
608
758
  0, () => RefreshTrustedAdvisorCheckRequest$, () => RefreshTrustedAdvisorCheckResponse$
609
759
  ];
@@ -1,8 +1,10 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AddAttachmentsToSetCommandInput, type AddAttachmentsToSetCommandOutput } from "./commands/AddAttachmentsToSetCommand";
3
3
  import { type AddCommunicationToCaseCommandInput, type AddCommunicationToCaseCommandOutput } from "./commands/AddCommunicationToCaseCommand";
4
+ import { type CompleteAttachmentUploadCommandInput, type CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
4
5
  import { type CreateCaseCommandInput, type CreateCaseCommandOutput } from "./commands/CreateCaseCommand";
5
6
  import { type DescribeAttachmentCommandInput, type DescribeAttachmentCommandOutput } from "./commands/DescribeAttachmentCommand";
7
+ import { type DescribeAttachmentUploadStatusCommandInput, type DescribeAttachmentUploadStatusCommandOutput } from "./commands/DescribeAttachmentUploadStatusCommand";
6
8
  import { type DescribeCasesCommandInput, type DescribeCasesCommandOutput } from "./commands/DescribeCasesCommand";
7
9
  import { type DescribeCommunicationsCommandInput, type DescribeCommunicationsCommandOutput } from "./commands/DescribeCommunicationsCommand";
8
10
  import { type DescribeCreateCaseOptionsCommandInput, type DescribeCreateCaseOptionsCommandOutput } from "./commands/DescribeCreateCaseOptionsCommand";
@@ -13,6 +15,8 @@ import { type DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, type Descr
13
15
  import { type DescribeTrustedAdvisorCheckResultCommandInput, type DescribeTrustedAdvisorCheckResultCommandOutput } from "./commands/DescribeTrustedAdvisorCheckResultCommand";
14
16
  import { type DescribeTrustedAdvisorChecksCommandInput, type DescribeTrustedAdvisorChecksCommandOutput } from "./commands/DescribeTrustedAdvisorChecksCommand";
15
17
  import { type DescribeTrustedAdvisorCheckSummariesCommandInput, type DescribeTrustedAdvisorCheckSummariesCommandOutput } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
18
+ import { type GetAttachmentDownloadLinkCommandInput, type GetAttachmentDownloadLinkCommandOutput } from "./commands/GetAttachmentDownloadLinkCommand";
19
+ import { type GetAttachmentUploadLinksCommandInput, type GetAttachmentUploadLinksCommandOutput } from "./commands/GetAttachmentUploadLinksCommand";
16
20
  import { type RefreshTrustedAdvisorCheckCommandInput, type RefreshTrustedAdvisorCheckCommandOutput } from "./commands/RefreshTrustedAdvisorCheckCommand";
17
21
  import { type ResolveCaseCommandInput, type ResolveCaseCommandOutput } from "./commands/ResolveCaseCommand";
18
22
  import { SupportClient } from "./SupportClient";
@@ -29,6 +33,12 @@ export interface Support {
29
33
  addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options?: __HttpHandlerOptions): Promise<AddCommunicationToCaseCommandOutput>;
30
34
  addCommunicationToCase(args: AddCommunicationToCaseCommandInput, cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void): void;
31
35
  addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void): void;
36
+ /**
37
+ * @see {@link CompleteAttachmentUploadCommand}
38
+ */
39
+ completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options?: __HttpHandlerOptions): Promise<CompleteAttachmentUploadCommandOutput>;
40
+ completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void): void;
41
+ completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void): void;
32
42
  /**
33
43
  * @see {@link CreateCaseCommand}
34
44
  */
@@ -41,6 +51,12 @@ export interface Support {
41
51
  describeAttachment(args: DescribeAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttachmentCommandOutput>;
42
52
  describeAttachment(args: DescribeAttachmentCommandInput, cb: (err: any, data?: DescribeAttachmentCommandOutput) => void): void;
43
53
  describeAttachment(args: DescribeAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttachmentCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link DescribeAttachmentUploadStatusCommand}
56
+ */
57
+ describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttachmentUploadStatusCommandOutput>;
58
+ describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void): void;
59
+ describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void): void;
44
60
  /**
45
61
  * @see {@link DescribeCasesCommand}
46
62
  */
@@ -104,6 +120,18 @@ export interface Support {
104
120
  describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustedAdvisorCheckSummariesCommandOutput>;
105
121
  describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void): void;
106
122
  describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link GetAttachmentDownloadLinkCommand}
125
+ */
126
+ getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetAttachmentDownloadLinkCommandOutput>;
127
+ getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void): void;
128
+ getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void): void;
129
+ /**
130
+ * @see {@link GetAttachmentUploadLinksCommand}
131
+ */
132
+ getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options?: __HttpHandlerOptions): Promise<GetAttachmentUploadLinksCommandOutput>;
133
+ getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void): void;
134
+ getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void): void;
107
135
  /**
108
136
  * @see {@link RefreshTrustedAdvisorCheckCommand}
109
137
  */
@@ -141,12 +169,12 @@ export interface Support {
141
169
  * <note>
142
170
  * <ul>
143
171
  * <li>
144
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
145
- * API. </p>
172
+ * <p>You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support
173
+ * API. If you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you haven't transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.</p>
146
174
  * </li>
147
175
  * <li>
148
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
149
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
176
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
177
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
150
178
  * <code>SubscriptionRequiredException</code> error message appears. For
151
179
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
152
180
  * </li>