@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.
- package/README.md +32 -4
- package/dist-cjs/index.js +252 -28
- package/dist-es/Support.js +8 -0
- package/dist-es/commands/CompleteAttachmentUploadCommand.js +4 -0
- package/dist-es/commands/DescribeAttachmentUploadStatusCommand.js +4 -0
- package/dist-es/commands/GetAttachmentDownloadLinkCommand.js +4 -0
- package/dist-es/commands/GetAttachmentUploadLinksCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/models/errors.js +26 -0
- package/dist-es/schemas/schemas_0.js +178 -28
- package/dist-types/Support.d.ts +32 -4
- package/dist-types/SupportClient.d.ts +10 -6
- package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +9 -4
- package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +34 -7
- package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +94 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +31 -5
- package/dist-types/commands/DescribeAttachmentCommand.d.ts +19 -4
- package/dist-types/commands/DescribeAttachmentUploadStatusCommand.d.ts +109 -0
- package/dist-types/commands/DescribeCasesCommand.d.ts +37 -7
- package/dist-types/commands/DescribeCommunicationsCommand.d.ts +37 -7
- package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +9 -4
- package/dist-types/commands/DescribeServicesCommand.d.ts +9 -4
- package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +9 -4
- package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +9 -4
- package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +4 -4
- package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +8 -4
- package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +2 -2
- package/dist-types/commands/GetAttachmentDownloadLinkCommand.d.ts +104 -0
- package/dist-types/commands/GetAttachmentUploadLinksCommand.d.ts +125 -0
- package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +4 -4
- package/dist-types/commands/ResolveCaseCommand.d.ts +9 -4
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +5 -4
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +31 -0
- package/dist-types/models/models_0.d.ts +457 -22
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/Support.d.ts +68 -0
- package/dist-types/ts3.4/SupportClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeAttachmentUploadStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAttachmentDownloadLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAttachmentUploadLinksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/errors.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UploadStatus } from "./enums";
|
|
1
2
|
/**
|
|
2
3
|
* <p>An attachment to a case communication. The attachment consists of the file name and
|
|
3
4
|
* the content of the file. Each attachment file size should not exceed 5 MB. File types that are supported include the following: pdf, jpeg,.doc, .log, .text </p>
|
|
@@ -38,6 +39,14 @@ export interface AddAttachmentsToSetRequest {
|
|
|
38
39
|
* @public
|
|
39
40
|
*/
|
|
40
41
|
attachments: Attachment[] | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>Specifies whether to validate the request without actually adding the attachments. When set
|
|
44
|
+
* to <code>true</code>, the request is validated but no attachments are stored, and the operation
|
|
45
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
46
|
+
* request runs normally.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
dryRun?: boolean | undefined;
|
|
41
50
|
}
|
|
42
51
|
/**
|
|
43
52
|
* <p>The ID and expiry time of the attachment set returned by the <a>AddAttachmentsToSet</a> operation.</p>
|
|
@@ -65,7 +74,7 @@ export interface AddCommunicationToCaseRequest {
|
|
|
65
74
|
/**
|
|
66
75
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
67
76
|
* string formatted as shown in this example:
|
|
68
|
-
* case-<i>12345678910-
|
|
77
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
69
78
|
* </p>
|
|
70
79
|
* @public
|
|
71
80
|
*/
|
|
@@ -82,11 +91,29 @@ export interface AddCommunicationToCaseRequest {
|
|
|
82
91
|
ccEmailAddresses?: string[] | undefined;
|
|
83
92
|
/**
|
|
84
93
|
* <p>The ID of a set of one or more attachments for the communication to add to the case.
|
|
85
|
-
* Create the set by calling <a>AddAttachmentsToSet</a
|
|
86
|
-
*
|
|
94
|
+
* Create the set by calling <a>AddAttachmentsToSet</a>. Each attachment in the
|
|
95
|
+
* set must be 5 MB or smaller. To attach files larger than 5 MB, use <code>uploadIds</code>.</p>
|
|
87
96
|
* @public
|
|
88
97
|
*/
|
|
89
98
|
attachmentSetId?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>A list of upload IDs that identify attachments to add to the case. Each
|
|
101
|
+
* <code>uploadId</code> is returned by the <a>GetAttachmentUploadLinks</a>
|
|
102
|
+
* operation. The upload must reach the <code>attachment-ready</code> state by calling <a>CompleteAttachmentUpload</a> before it can be passed here.
|
|
103
|
+
* Use
|
|
104
|
+
* <code>uploadIds</code> to attach files of any supported size, including files larger than
|
|
105
|
+
* 5 MB.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
uploadIds?: string[] | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Specifies whether to validate the request without actually adding the communication to the
|
|
111
|
+
* case. When set to <code>true</code>, the request is validated but the communication isn't
|
|
112
|
+
* added, and the operation returns a <code>DryRunOperationException</code>. When omitted or set
|
|
113
|
+
* to <code>false</code>, the request runs normally.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
dryRun?: boolean | undefined;
|
|
90
117
|
}
|
|
91
118
|
/**
|
|
92
119
|
* <p>The result of the <a>AddCommunicationToCase</a> operation.</p>
|
|
@@ -117,6 +144,59 @@ export interface AttachmentDetails {
|
|
|
117
144
|
*/
|
|
118
145
|
fileName?: string | undefined;
|
|
119
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* <p>Identifies a single uploaded part of a multipart attachment upload. Pass a list of
|
|
149
|
+
* <code>CompletedUpload</code> objects to <a>CompleteAttachmentUpload</a> to
|
|
150
|
+
* finalize the upload.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export interface CompletedUpload {
|
|
154
|
+
/**
|
|
155
|
+
* <p>The index of the uploaded part. This is the same <code>partIndex</code> value returned for the corresponding entry in the <code>uploadUrls</code> field of the <code>GetAttachmentUploadLinks</code> response.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
partIndex: number | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The ETag returned in the response headers when the part was uploaded to Amazon S3. The <code>ETag</code> value identifies the part contents.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
eTag: string | undefined;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface CompleteAttachmentUploadRequest {
|
|
169
|
+
/**
|
|
170
|
+
* <p>The identifier associated with the upload to complete.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
uploadId: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The list of parts being reported as completed in this call. Each entry must contain the <code>partIndex</code> of an uploaded part and the <code>ETag</code> returned by Amazon S3 when that part was uploaded.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
completedUploads: CompletedUpload[] | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Specifies whether to validate the request without actually completing the upload. When set
|
|
181
|
+
* to <code>true</code>, the request is validated but the upload isn't finalized, and the
|
|
182
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
183
|
+
* <code>false</code>, the request runs normally.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
dryRun?: boolean | undefined;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export interface CompleteAttachmentUploadResponse {
|
|
192
|
+
/**
|
|
193
|
+
* <p>The status of the multipart upload after the operation finalizes the
|
|
194
|
+
* attachment. Valid values: <code>attachment-ready</code>, <code>attachment-not-ready</code>,
|
|
195
|
+
* and <code>failed</code>.</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
uploadStatus: UploadStatus | undefined;
|
|
199
|
+
}
|
|
120
200
|
/**
|
|
121
201
|
* @public
|
|
122
202
|
*/
|
|
@@ -167,7 +247,7 @@ export interface CreateCaseRequest {
|
|
|
167
247
|
ccEmailAddresses?: string[] | undefined;
|
|
168
248
|
/**
|
|
169
249
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
170
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
250
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
171
251
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
172
252
|
* @public
|
|
173
253
|
*/
|
|
@@ -181,10 +261,29 @@ export interface CreateCaseRequest {
|
|
|
181
261
|
issueType?: string | undefined;
|
|
182
262
|
/**
|
|
183
263
|
* <p>The ID of a set of one or more attachments for the case. Create the set by using the
|
|
184
|
-
* <a>AddAttachmentsToSet</a> operation
|
|
264
|
+
* <a>AddAttachmentsToSet</a> operation. Each attachment in the set must be 5
|
|
265
|
+
* MB or smaller. To attach files larger than 5 MB, use <code>uploadIds</code>.</p>
|
|
185
266
|
* @public
|
|
186
267
|
*/
|
|
187
268
|
attachmentSetId?: string | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* <p>A list of upload IDs that identify attachments to add to the case. Each
|
|
271
|
+
* <code>uploadId</code> is returned by the <a>GetAttachmentUploadLinks</a>
|
|
272
|
+
* operation. The upload must reach the <code>attachment-ready</code> state by calling <a>CompleteAttachmentUpload</a> before it can be passed here.
|
|
273
|
+
* Use
|
|
274
|
+
* <code>uploadIds</code> to attach files of any supported size, including files larger than
|
|
275
|
+
* 5 MB.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
uploadIds?: string[] | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* <p>Specifies whether to validate the request without actually creating the case. When set to
|
|
281
|
+
* <code>true</code>, the request is validated but no case is created, and the operation
|
|
282
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
283
|
+
* request runs normally.</p>
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
dryRun?: boolean | undefined;
|
|
188
287
|
}
|
|
189
288
|
/**
|
|
190
289
|
* <p>The support case ID returned by a successful completion of the <a>CreateCase</a> operation.</p>
|
|
@@ -194,7 +293,7 @@ export interface CreateCaseResponse {
|
|
|
194
293
|
/**
|
|
195
294
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
196
295
|
* string in the following format:
|
|
197
|
-
* case-<i>12345678910-
|
|
296
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
198
297
|
* </p>
|
|
199
298
|
* @public
|
|
200
299
|
*/
|
|
@@ -206,9 +305,20 @@ export interface CreateCaseResponse {
|
|
|
206
305
|
export interface DescribeAttachmentRequest {
|
|
207
306
|
/**
|
|
208
307
|
* <p>The ID of the attachment to return. Attachment IDs are returned by the <a>DescribeCommunications</a> operation.</p>
|
|
308
|
+
* <p>If the specified attachment is larger than 5 MB, this operation returns
|
|
309
|
+
* <code>InvalidParameterValueException</code>. To download attachments larger than 5
|
|
310
|
+
* MB, use <a>GetAttachmentDownloadLink</a>.</p>
|
|
209
311
|
* @public
|
|
210
312
|
*/
|
|
211
313
|
attachmentId: string | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* <p>Specifies whether to validate the request without actually retrieving the attachment. When
|
|
316
|
+
* set to <code>true</code>, the request is validated but no attachment content is returned, and
|
|
317
|
+
* the operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
318
|
+
* <code>false</code>, the request runs normally.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
dryRun?: boolean | undefined;
|
|
212
322
|
}
|
|
213
323
|
/**
|
|
214
324
|
* <p>The content and file name of the attachment returned by the <a>DescribeAttachment</a> operation.</p>
|
|
@@ -225,6 +335,63 @@ export interface DescribeAttachmentResponse {
|
|
|
225
335
|
*/
|
|
226
336
|
attachment?: Attachment | undefined;
|
|
227
337
|
}
|
|
338
|
+
/**
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
export interface DescribeAttachmentUploadStatusRequest {
|
|
342
|
+
/**
|
|
343
|
+
* <p>The unique identifier for the upload. The <code>uploadId</code> is returned by
|
|
344
|
+
* <a>GetAttachmentUploadLinks</a> when you initiate the upload.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
uploadId: string | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p>Specifies whether to validate the request without actually returning upload status. When
|
|
350
|
+
* set to <code>true</code>, the request is validated but no status is returned, and the operation
|
|
351
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
352
|
+
* request runs normally.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
dryRun?: boolean | undefined;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* <p>The progress of a multipart attachment upload, returned by <a>DescribeAttachmentUploadStatus</a>.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export interface UploadProgress {
|
|
362
|
+
/**
|
|
363
|
+
* <p>The total number of parts that the file is split into.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
totalParts?: number | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The number of parts that have been successfully uploaded.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
completedPartsCount?: number | undefined;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface DescribeAttachmentUploadStatusResponse {
|
|
377
|
+
/**
|
|
378
|
+
* <p>The current status of the multipart upload. Valid values: <code>attachment-ready</code>,
|
|
379
|
+
* <code>attachment-not-ready</code>, and <code>failed</code>.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
uploadStatus: UploadStatus | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* <p>The name of the file being uploaded, including the file extension.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
fileName: string | undefined;
|
|
388
|
+
/**
|
|
389
|
+
* <p>The progress of the multipart upload, including the total number of parts and the number
|
|
390
|
+
* of parts that have been successfully uploaded.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
uploadProgress?: UploadProgress | undefined;
|
|
394
|
+
}
|
|
228
395
|
/**
|
|
229
396
|
* @public
|
|
230
397
|
*/
|
|
@@ -242,13 +409,13 @@ export interface DescribeCasesRequest {
|
|
|
242
409
|
displayId?: string | undefined;
|
|
243
410
|
/**
|
|
244
411
|
* <p>The start date for a filtered date search on support case communications. Case
|
|
245
|
-
* communications are available for
|
|
412
|
+
* communications are available for 24 months after creation.</p>
|
|
246
413
|
* @public
|
|
247
414
|
*/
|
|
248
415
|
afterTime?: string | undefined;
|
|
249
416
|
/**
|
|
250
417
|
* <p>The end date for a filtered date search on support case communications. Case
|
|
251
|
-
* communications are available for
|
|
418
|
+
* communications are available for 24 months after creation.</p>
|
|
252
419
|
* @public
|
|
253
420
|
*/
|
|
254
421
|
beforeTime?: string | undefined;
|
|
@@ -270,7 +437,7 @@ export interface DescribeCasesRequest {
|
|
|
270
437
|
maxResults?: number | undefined;
|
|
271
438
|
/**
|
|
272
439
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
273
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
440
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
274
441
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
275
442
|
* @public
|
|
276
443
|
*/
|
|
@@ -281,6 +448,14 @@ export interface DescribeCasesRequest {
|
|
|
281
448
|
* @public
|
|
282
449
|
*/
|
|
283
450
|
includeCommunications?: boolean | undefined;
|
|
451
|
+
/**
|
|
452
|
+
* <p>Specifies whether to validate the request without actually returning case data. When set
|
|
453
|
+
* to <code>true</code>, the request is validated but no cases are returned, and the operation
|
|
454
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
455
|
+
* request runs normally.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
dryRun?: boolean | undefined;
|
|
284
459
|
}
|
|
285
460
|
/**
|
|
286
461
|
* <p>A communication associated with a support case. The communication consists of the case
|
|
@@ -292,7 +467,7 @@ export interface Communication {
|
|
|
292
467
|
/**
|
|
293
468
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
294
469
|
* string formatted as shown in this example:
|
|
295
|
-
* case-<i>12345678910-
|
|
470
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
296
471
|
* </p>
|
|
297
472
|
* @public
|
|
298
473
|
*/
|
|
@@ -317,7 +492,16 @@ export interface Communication {
|
|
|
317
492
|
*/
|
|
318
493
|
timeCreated?: string | undefined;
|
|
319
494
|
/**
|
|
320
|
-
* <p>Information about
|
|
495
|
+
* <p>Information about all attachments on the case communication. This includes attachments added through <code>AddAttachmentsToSet</code> and attachments uploaded through <code>GetAttachmentUploadLinks</code>.</p>
|
|
496
|
+
* <p>Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use <a>GetAttachmentDownloadLink</a>. <code>GetAttachmentDownloadLink</code> returns a presigned URL that works for attachments of any size. </p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
attachments?: AttachmentDetails[] | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* <p>Information about the attachments to the case communication that are 5 MB or smaller.
|
|
502
|
+
* This field doesn't include attachments larger than 5 MB. To enumerate every attachment on
|
|
503
|
+
* the communication, including attachments larger than 5 MB, use the
|
|
504
|
+
* <code>attachments</code> field instead.</p>
|
|
321
505
|
* @public
|
|
322
506
|
*/
|
|
323
507
|
attachmentSet?: AttachmentDetails[] | undefined;
|
|
@@ -347,7 +531,7 @@ export interface RecentCaseCommunications {
|
|
|
347
531
|
* <b>caseId</b> - The support case ID requested
|
|
348
532
|
* or returned in the call. The case ID is an alphanumeric string formatted as
|
|
349
533
|
* shown in this example:
|
|
350
|
-
* case-<i>12345678910-
|
|
534
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>.</p>
|
|
351
535
|
* </li>
|
|
352
536
|
* <li>
|
|
353
537
|
* <p>
|
|
@@ -363,7 +547,7 @@ export interface RecentCaseCommunications {
|
|
|
363
547
|
* <li>
|
|
364
548
|
* <p>
|
|
365
549
|
* <b>language</b> - The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
366
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
550
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
367
551
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
368
552
|
* </li>
|
|
369
553
|
* <li>
|
|
@@ -458,7 +642,7 @@ export interface CaseDetails {
|
|
|
458
642
|
/**
|
|
459
643
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
460
644
|
* string formatted as shown in this example:
|
|
461
|
-
* case-<i>12345678910-
|
|
645
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
462
646
|
* </p>
|
|
463
647
|
* @public
|
|
464
648
|
*/
|
|
@@ -562,7 +746,7 @@ export interface CaseDetails {
|
|
|
562
746
|
ccEmailAddresses?: string[] | undefined;
|
|
563
747
|
/**
|
|
564
748
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
565
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
749
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
566
750
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
567
751
|
* @public
|
|
568
752
|
*/
|
|
@@ -593,20 +777,20 @@ export interface DescribeCommunicationsRequest {
|
|
|
593
777
|
/**
|
|
594
778
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
595
779
|
* string formatted as shown in this example:
|
|
596
|
-
* case-<i>12345678910-
|
|
780
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
597
781
|
* </p>
|
|
598
782
|
* @public
|
|
599
783
|
*/
|
|
600
784
|
caseId: string | undefined;
|
|
601
785
|
/**
|
|
602
786
|
* <p>The end date for a filtered date search on support case communications. Case
|
|
603
|
-
* communications are available for
|
|
787
|
+
* communications are available for 24 months after creation.</p>
|
|
604
788
|
* @public
|
|
605
789
|
*/
|
|
606
790
|
beforeTime?: string | undefined;
|
|
607
791
|
/**
|
|
608
792
|
* <p>The start date for a filtered date search on support case communications. Case
|
|
609
|
-
* communications are available for
|
|
793
|
+
* communications are available for 24 months after creation.</p>
|
|
610
794
|
* @public
|
|
611
795
|
*/
|
|
612
796
|
afterTime?: string | undefined;
|
|
@@ -620,6 +804,14 @@ export interface DescribeCommunicationsRequest {
|
|
|
620
804
|
* @public
|
|
621
805
|
*/
|
|
622
806
|
maxResults?: number | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* <p>Specifies whether to validate the request without actually returning communications. When
|
|
809
|
+
* set to <code>true</code>, the request is validated but no communications are returned, and the
|
|
810
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
811
|
+
* <code>false</code>, the request runs normally.</p>
|
|
812
|
+
* @public
|
|
813
|
+
*/
|
|
814
|
+
dryRun?: boolean | undefined;
|
|
623
815
|
}
|
|
624
816
|
/**
|
|
625
817
|
* <p>The communications returned by the <a>DescribeCommunications</a>
|
|
@@ -657,7 +849,7 @@ export interface DescribeCreateCaseOptionsRequest {
|
|
|
657
849
|
serviceCode: string | undefined;
|
|
658
850
|
/**
|
|
659
851
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
660
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
852
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
661
853
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
662
854
|
* @public
|
|
663
855
|
*/
|
|
@@ -668,6 +860,14 @@ export interface DescribeCreateCaseOptionsRequest {
|
|
|
668
860
|
* @public
|
|
669
861
|
*/
|
|
670
862
|
categoryCode: string | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* <p>Specifies whether to validate the request without actually returning case option data.
|
|
865
|
+
* When set to <code>true</code>, the request is validated but no options are returned, and the
|
|
866
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
867
|
+
* <code>false</code>, the request runs normally.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
dryRun?: boolean | undefined;
|
|
671
871
|
}
|
|
672
872
|
/**
|
|
673
873
|
* <p>Date and time (UTC) format in RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.</p>
|
|
@@ -796,6 +996,22 @@ export interface DescribeCreateCaseOptionsResponse {
|
|
|
796
996
|
*/
|
|
797
997
|
communicationTypes?: CommunicationTypeOptions[] | undefined;
|
|
798
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* <p>Information about why a request was throttled.</p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
export interface ThrottlingReason {
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>The reason that the request was throttled.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
reason?: string | undefined;
|
|
1009
|
+
/**
|
|
1010
|
+
* <p>The resource that caused the request to be throttled.</p>
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
resource?: string | undefined;
|
|
1014
|
+
}
|
|
799
1015
|
/**
|
|
800
1016
|
* @public
|
|
801
1017
|
*/
|
|
@@ -807,11 +1023,19 @@ export interface DescribeServicesRequest {
|
|
|
807
1023
|
serviceCodeList?: string[] | undefined;
|
|
808
1024
|
/**
|
|
809
1025
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
810
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
1026
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
811
1027
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
812
1028
|
* @public
|
|
813
1029
|
*/
|
|
814
1030
|
language?: string | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>Specifies whether to validate the request without actually returning the list of services.
|
|
1033
|
+
* When set to <code>true</code>, the request is validated but no services are returned, and the
|
|
1034
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
1035
|
+
* <code>false</code>, the request runs normally.</p>
|
|
1036
|
+
* @public
|
|
1037
|
+
*/
|
|
1038
|
+
dryRun?: boolean | undefined;
|
|
815
1039
|
}
|
|
816
1040
|
/**
|
|
817
1041
|
* <p>A JSON-formatted name/value pair that represents the category name and category code
|
|
@@ -875,11 +1099,19 @@ export interface DescribeServicesResponse {
|
|
|
875
1099
|
export interface DescribeSeverityLevelsRequest {
|
|
876
1100
|
/**
|
|
877
1101
|
* <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
|
|
878
|
-
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja")
|
|
1102
|
+
* currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
|
|
879
1103
|
* code for the <code>language</code> parameter if you want support in that language.</p>
|
|
880
1104
|
* @public
|
|
881
1105
|
*/
|
|
882
1106
|
language?: string | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* <p>Specifies whether to validate the request without actually returning severity levels. When
|
|
1109
|
+
* set to <code>true</code>, the request is validated but no severity levels are returned, and the
|
|
1110
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
1111
|
+
* <code>false</code>, the request runs normally.</p>
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1114
|
+
dryRun?: boolean | undefined;
|
|
883
1115
|
}
|
|
884
1116
|
/**
|
|
885
1117
|
* <p>A code and name pair that represents the severity level of a support case. The
|
|
@@ -968,6 +1200,14 @@ export interface DescribeSupportedLanguagesRequest {
|
|
|
968
1200
|
* @public
|
|
969
1201
|
*/
|
|
970
1202
|
categoryCode: string | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>Specifies whether to validate the request without actually returning supported languages.
|
|
1205
|
+
* When set to <code>true</code>, the request is validated but no languages are returned, and the
|
|
1206
|
+
* operation returns a <code>DryRunOperationException</code>. When omitted or set to
|
|
1207
|
+
* <code>false</code>, the request runs normally.</p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
dryRun?: boolean | undefined;
|
|
971
1211
|
}
|
|
972
1212
|
/**
|
|
973
1213
|
* <p>
|
|
@@ -1457,6 +1697,193 @@ export interface DescribeTrustedAdvisorCheckSummariesResponse {
|
|
|
1457
1697
|
*/
|
|
1458
1698
|
summaries: TrustedAdvisorCheckSummary[] | undefined;
|
|
1459
1699
|
}
|
|
1700
|
+
/**
|
|
1701
|
+
* @public
|
|
1702
|
+
*/
|
|
1703
|
+
export interface GetAttachmentDownloadLinkRequest {
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>The unique identifier of the attachment for which to retrieve a download link. Attachment
|
|
1706
|
+
* IDs are returned in the <code>AttachmentDetails</code> objects in the <code>attachments</code>
|
|
1707
|
+
* field of a <a>Communication</a> returned by <a>DescribeCommunications</a>
|
|
1708
|
+
* or <a>DescribeCases</a>.</p>
|
|
1709
|
+
* @public
|
|
1710
|
+
*/
|
|
1711
|
+
attachmentId: string | undefined;
|
|
1712
|
+
/**
|
|
1713
|
+
* <p>Specifies whether to validate the request without actually returning a download link. When
|
|
1714
|
+
* set to <code>true</code>, the request is validated but no URL is returned, and the operation
|
|
1715
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
1716
|
+
* request runs normally.</p>
|
|
1717
|
+
* @public
|
|
1718
|
+
*/
|
|
1719
|
+
dryRun?: boolean | undefined;
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* <p>A presigned URL for downloading an attachment, along with the date and time the URL
|
|
1723
|
+
* expires. Returned by <a>GetAttachmentDownloadLink</a>.</p>
|
|
1724
|
+
* @public
|
|
1725
|
+
*/
|
|
1726
|
+
export interface DownloadUrl {
|
|
1727
|
+
/**
|
|
1728
|
+
* <p>The presigned HTTPS URL that you can use to download the attachment. Download URLs are
|
|
1729
|
+
* served from <code>downloadv1.attachments.support.\{region\}.amazonaws.com</code>. The
|
|
1730
|
+
* <code>downloadv1</code> prefix is subject to change.</p>
|
|
1731
|
+
* @public
|
|
1732
|
+
*/
|
|
1733
|
+
url: string | undefined;
|
|
1734
|
+
/**
|
|
1735
|
+
* <p>The date and time, in ISO-8601 format, when the presigned URL expires. Download the
|
|
1736
|
+
* attachment before this time.</p>
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
expiryDate: string | undefined;
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
export interface GetAttachmentDownloadLinkResponse {
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The name of the attachment file, including the file extension.</p>
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
fileName: string | undefined;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>The presigned download URL and the date and time the URL expires.</p>
|
|
1752
|
+
* @public
|
|
1753
|
+
*/
|
|
1754
|
+
downloadUrl: DownloadUrl | undefined;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* <p>The range of part indexes for which to return presigned upload URLs from <a>GetAttachmentUploadLinks</a>.</p>
|
|
1758
|
+
* @public
|
|
1759
|
+
*/
|
|
1760
|
+
export interface UploadRange {
|
|
1761
|
+
/**
|
|
1762
|
+
* <p>The starting part index of the range, inclusive. Part indexes start at 1.</p>
|
|
1763
|
+
* @public
|
|
1764
|
+
*/
|
|
1765
|
+
startIndex: number | undefined;
|
|
1766
|
+
/**
|
|
1767
|
+
* <p>The ending part index of the range, exclusive. The range is half-open:
|
|
1768
|
+
* <code>startIndex</code> is inclusive and <code>endIndex</code> is exclusive. For example,
|
|
1769
|
+
* a range with <code>startIndex</code> of 1 and <code>endIndex</code> of 4 requests URLs for
|
|
1770
|
+
* parts 1, 2, and 3. The range size (<code>endIndex</code> - <code>startIndex</code>)
|
|
1771
|
+
* must not exceed 10. If you omit <code>endIndex</code>, the service defaults to
|
|
1772
|
+
* <code>startIndex</code> + 10, capped by the total number of parts.</p>
|
|
1773
|
+
* @public
|
|
1774
|
+
*/
|
|
1775
|
+
endIndex?: number | undefined;
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* @public
|
|
1779
|
+
*/
|
|
1780
|
+
export interface GetAttachmentUploadLinksRequest {
|
|
1781
|
+
/**
|
|
1782
|
+
* <p>The name of the file to upload, including the file extension. This value is required when
|
|
1783
|
+
* you initiate a new upload.</p>
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
fileName: string | undefined;
|
|
1787
|
+
/**
|
|
1788
|
+
* <p>The total size of the file in bytes. The service uses this value to calculate the total
|
|
1789
|
+
* number of parts and the size of each part. Required when you initiate a new upload (when
|
|
1790
|
+
* <code>uploadId</code> isn't provided). Valid range: 1 to 157,286,400 bytes (approximately
|
|
1791
|
+
* 150 MB).</p>
|
|
1792
|
+
* @public
|
|
1793
|
+
*/
|
|
1794
|
+
fileSizeBytes?: number | undefined;
|
|
1795
|
+
/**
|
|
1796
|
+
* <p>The unique identifier of an in-progress multipart upload, returned by a previous call to
|
|
1797
|
+
* <code>GetAttachmentUploadLinks</code>. Specify <code>uploadId</code> to retrieve additional
|
|
1798
|
+
* presigned upload URLs for an upload that has already been initiated. Required when
|
|
1799
|
+
* <code>fileSizeBytes</code> isn't provided. Length: 1 to 2,048 characters.</p>
|
|
1800
|
+
* @public
|
|
1801
|
+
*/
|
|
1802
|
+
uploadId?: string | undefined;
|
|
1803
|
+
/**
|
|
1804
|
+
* <p>The range of part indexes for which to return presigned upload URLs. Use this parameter
|
|
1805
|
+
* to page through the upload URLs for a large file across multiple calls. If you omit this
|
|
1806
|
+
* parameter, the service determines the range to return.</p>
|
|
1807
|
+
* @public
|
|
1808
|
+
*/
|
|
1809
|
+
uploadRange?: UploadRange | undefined;
|
|
1810
|
+
/**
|
|
1811
|
+
* <p>Specifies whether to validate the request without actually generating upload URLs. When
|
|
1812
|
+
* set to <code>true</code>, the request is validated but no URLs are returned, and the operation
|
|
1813
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
1814
|
+
* request runs normally.</p>
|
|
1815
|
+
* @public
|
|
1816
|
+
*/
|
|
1817
|
+
dryRun?: boolean | undefined;
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* <p>A presigned URL for uploading a single part of a multipart attachment upload, along with
|
|
1821
|
+
* the part index and the date and time the URL expires. Returned by <a>GetAttachmentUploadLinks</a>.</p>
|
|
1822
|
+
* @public
|
|
1823
|
+
*/
|
|
1824
|
+
export interface UploadUrl {
|
|
1825
|
+
/**
|
|
1826
|
+
* <p>The presigned HTTPS URL that you use to upload a single part with HTTP
|
|
1827
|
+
* <code>PUT</code>. Upload URLs are served from
|
|
1828
|
+
* <code>uploadv1.attachments.support.\{region\}.amazonaws.com</code>. The
|
|
1829
|
+
* <code>uploadv1</code> prefix is subject to change.</p>
|
|
1830
|
+
* @public
|
|
1831
|
+
*/
|
|
1832
|
+
url: string | undefined;
|
|
1833
|
+
/**
|
|
1834
|
+
* <p>The index of the part that this URL uploads.</p>
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
partIndex: number | undefined;
|
|
1838
|
+
/**
|
|
1839
|
+
* <p>The date and time, in ISO-8601 format, when the presigned URL expires. Upload the part
|
|
1840
|
+
* before this time.</p>
|
|
1841
|
+
* @public
|
|
1842
|
+
*/
|
|
1843
|
+
expiryDate: string | undefined;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
export interface GetAttachmentUploadLinksResponse {
|
|
1849
|
+
/**
|
|
1850
|
+
* <p>The unique identifier for the multipart upload. Use this value in subsequent calls to
|
|
1851
|
+
* <code>GetAttachmentUploadLinks</code>, <a>DescribeAttachmentUploadStatus</a>,
|
|
1852
|
+
* and <a>CompleteAttachmentUpload</a>, and to attach the upload to a case through the
|
|
1853
|
+
* <code>uploadIds</code> parameter on <a>CreateCase</a> or <a>AddCommunicationToCase</a>.</p>
|
|
1854
|
+
* @public
|
|
1855
|
+
*/
|
|
1856
|
+
uploadId: string | undefined;
|
|
1857
|
+
/**
|
|
1858
|
+
* <p>The size, in bytes, of each part. Split the file into parts of this size before you upload
|
|
1859
|
+
* them to the presigned URLs. For an upload with <code>n</code> total parts, parts 1 through
|
|
1860
|
+
* <code>n</code> - 1 are exactly this size; the last part may be smaller. Maximum:
|
|
1861
|
+
* 104,857,600 bytes (approximately 100 MB).</p>
|
|
1862
|
+
* @public
|
|
1863
|
+
*/
|
|
1864
|
+
partSizeBytes: number | undefined;
|
|
1865
|
+
/**
|
|
1866
|
+
* <p>The total number of parts that the file is split into. Upload one part to each presigned
|
|
1867
|
+
* URL.</p>
|
|
1868
|
+
* @public
|
|
1869
|
+
*/
|
|
1870
|
+
totalParts: number | undefined;
|
|
1871
|
+
/**
|
|
1872
|
+
* <p>The next part index to request presigned URLs for. If all upload URLs for the file have
|
|
1873
|
+
* been returned, this field is <code>null</code>. Use this value as the <code>startIndex</code> in
|
|
1874
|
+
* <code>uploadRange</code> on a subsequent call to <code>GetAttachmentUploadLinks</code> to
|
|
1875
|
+
* retrieve the next batch of upload URLs.</p>
|
|
1876
|
+
* @public
|
|
1877
|
+
*/
|
|
1878
|
+
nextIndex?: number | undefined;
|
|
1879
|
+
/**
|
|
1880
|
+
* <p>The list of presigned upload URLs for the requested range of parts. The list contains at
|
|
1881
|
+
* most 10 URLs per call. Upload each part to its corresponding URL by using HTTP
|
|
1882
|
+
* <code>PUT</code> before the URL expires.</p>
|
|
1883
|
+
* @public
|
|
1884
|
+
*/
|
|
1885
|
+
uploadUrls: UploadUrl[] | undefined;
|
|
1886
|
+
}
|
|
1460
1887
|
/**
|
|
1461
1888
|
* <p></p>
|
|
1462
1889
|
* @public
|
|
@@ -1491,11 +1918,19 @@ export interface ResolveCaseRequest {
|
|
|
1491
1918
|
/**
|
|
1492
1919
|
* <p>The support case ID requested or returned in the call. The case ID is an alphanumeric
|
|
1493
1920
|
* string formatted as shown in this example:
|
|
1494
|
-
* case-<i>12345678910-
|
|
1921
|
+
* case-<i>12345678910-exen-2025-c4c1d2bf33c5cf47</i>
|
|
1495
1922
|
* </p>
|
|
1496
1923
|
* @public
|
|
1497
1924
|
*/
|
|
1498
1925
|
caseId?: string | undefined;
|
|
1926
|
+
/**
|
|
1927
|
+
* <p>Specifies whether to validate the request without actually resolving the case. When set
|
|
1928
|
+
* to <code>true</code>, the request is validated but the case isn't resolved, and the operation
|
|
1929
|
+
* returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the
|
|
1930
|
+
* request runs normally.</p>
|
|
1931
|
+
* @public
|
|
1932
|
+
*/
|
|
1933
|
+
dryRun?: boolean | undefined;
|
|
1499
1934
|
}
|
|
1500
1935
|
/**
|
|
1501
1936
|
* <p>The status of the case returned by the <a>ResolveCase</a> operation.</p>
|