@aws-sdk/client-support 3.1120.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
@@ -8,8 +8,10 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
9
  import type { AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput } from "./commands/AddAttachmentsToSetCommand";
10
10
  import type { AddCommunicationToCaseCommandInput, AddCommunicationToCaseCommandOutput } from "./commands/AddCommunicationToCaseCommand";
11
+ import type { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
11
12
  import type { CreateCaseCommandInput, CreateCaseCommandOutput } from "./commands/CreateCaseCommand";
12
13
  import type { DescribeAttachmentCommandInput, DescribeAttachmentCommandOutput } from "./commands/DescribeAttachmentCommand";
14
+ import type { DescribeAttachmentUploadStatusCommandInput, DescribeAttachmentUploadStatusCommandOutput } from "./commands/DescribeAttachmentUploadStatusCommand";
13
15
  import type { DescribeCasesCommandInput, DescribeCasesCommandOutput } from "./commands/DescribeCasesCommand";
14
16
  import type { DescribeCommunicationsCommandInput, DescribeCommunicationsCommandOutput } from "./commands/DescribeCommunicationsCommand";
15
17
  import type { DescribeCreateCaseOptionsCommandInput, DescribeCreateCaseOptionsCommandOutput } from "./commands/DescribeCreateCaseOptionsCommand";
@@ -20,6 +22,8 @@ import type { DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, DescribeTr
20
22
  import type { DescribeTrustedAdvisorCheckResultCommandInput, DescribeTrustedAdvisorCheckResultCommandOutput } from "./commands/DescribeTrustedAdvisorCheckResultCommand";
21
23
  import type { DescribeTrustedAdvisorChecksCommandInput, DescribeTrustedAdvisorChecksCommandOutput } from "./commands/DescribeTrustedAdvisorChecksCommand";
22
24
  import type { DescribeTrustedAdvisorCheckSummariesCommandInput, DescribeTrustedAdvisorCheckSummariesCommandOutput } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
25
+ import type { GetAttachmentDownloadLinkCommandInput, GetAttachmentDownloadLinkCommandOutput } from "./commands/GetAttachmentDownloadLinkCommand";
26
+ import type { GetAttachmentUploadLinksCommandInput, GetAttachmentUploadLinksCommandOutput } from "./commands/GetAttachmentUploadLinksCommand";
23
27
  import type { RefreshTrustedAdvisorCheckCommandInput, RefreshTrustedAdvisorCheckCommandOutput } from "./commands/RefreshTrustedAdvisorCheckCommand";
24
28
  import type { ResolveCaseCommandInput, ResolveCaseCommandOutput } from "./commands/ResolveCaseCommand";
25
29
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
@@ -28,11 +32,11 @@ export { __Client };
28
32
  /**
29
33
  * @public
30
34
  */
31
- export type ServiceInputTypes = AddAttachmentsToSetCommandInput | AddCommunicationToCaseCommandInput | CreateCaseCommandInput | DescribeAttachmentCommandInput | DescribeCasesCommandInput | DescribeCommunicationsCommandInput | DescribeCreateCaseOptionsCommandInput | DescribeServicesCommandInput | DescribeSeverityLevelsCommandInput | DescribeSupportedLanguagesCommandInput | DescribeTrustedAdvisorCheckRefreshStatusesCommandInput | DescribeTrustedAdvisorCheckResultCommandInput | DescribeTrustedAdvisorCheckSummariesCommandInput | DescribeTrustedAdvisorChecksCommandInput | RefreshTrustedAdvisorCheckCommandInput | ResolveCaseCommandInput;
35
+ export type ServiceInputTypes = AddAttachmentsToSetCommandInput | AddCommunicationToCaseCommandInput | CompleteAttachmentUploadCommandInput | CreateCaseCommandInput | DescribeAttachmentCommandInput | DescribeAttachmentUploadStatusCommandInput | DescribeCasesCommandInput | DescribeCommunicationsCommandInput | DescribeCreateCaseOptionsCommandInput | DescribeServicesCommandInput | DescribeSeverityLevelsCommandInput | DescribeSupportedLanguagesCommandInput | DescribeTrustedAdvisorCheckRefreshStatusesCommandInput | DescribeTrustedAdvisorCheckResultCommandInput | DescribeTrustedAdvisorCheckSummariesCommandInput | DescribeTrustedAdvisorChecksCommandInput | GetAttachmentDownloadLinkCommandInput | GetAttachmentUploadLinksCommandInput | RefreshTrustedAdvisorCheckCommandInput | ResolveCaseCommandInput;
32
36
  /**
33
37
  * @public
34
38
  */
35
- export type ServiceOutputTypes = AddAttachmentsToSetCommandOutput | AddCommunicationToCaseCommandOutput | CreateCaseCommandOutput | DescribeAttachmentCommandOutput | DescribeCasesCommandOutput | DescribeCommunicationsCommandOutput | DescribeCreateCaseOptionsCommandOutput | DescribeServicesCommandOutput | DescribeSeverityLevelsCommandOutput | DescribeSupportedLanguagesCommandOutput | DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput | DescribeTrustedAdvisorCheckResultCommandOutput | DescribeTrustedAdvisorCheckSummariesCommandOutput | DescribeTrustedAdvisorChecksCommandOutput | RefreshTrustedAdvisorCheckCommandOutput | ResolveCaseCommandOutput;
39
+ export type ServiceOutputTypes = AddAttachmentsToSetCommandOutput | AddCommunicationToCaseCommandOutput | CompleteAttachmentUploadCommandOutput | CreateCaseCommandOutput | DescribeAttachmentCommandOutput | DescribeAttachmentUploadStatusCommandOutput | DescribeCasesCommandOutput | DescribeCommunicationsCommandOutput | DescribeCreateCaseOptionsCommandOutput | DescribeServicesCommandOutput | DescribeSeverityLevelsCommandOutput | DescribeSupportedLanguagesCommandOutput | DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput | DescribeTrustedAdvisorCheckResultCommandOutput | DescribeTrustedAdvisorCheckSummariesCommandOutput | DescribeTrustedAdvisorChecksCommandOutput | GetAttachmentDownloadLinkCommandOutput | GetAttachmentUploadLinksCommandOutput | RefreshTrustedAdvisorCheckCommandOutput | ResolveCaseCommandOutput;
36
40
  /**
37
41
  * @public
38
42
  */
@@ -192,12 +196,12 @@ export interface SupportClientResolvedConfig extends SupportClientResolvedConfig
192
196
  * <note>
193
197
  * <ul>
194
198
  * <li>
195
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
196
- * API. </p>
199
+ * <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
200
+ * 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>
197
201
  * </li>
198
202
  * <li>
199
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
200
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
203
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
204
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
201
205
  * <code>SubscriptionRequiredException</code> error message appears. For
202
206
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
203
207
  * </li>
@@ -31,12 +31,12 @@ declare const AddAttachmentsToSetCommand_base: {
31
31
  * <note>
32
32
  * <ul>
33
33
  * <li>
34
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
35
- * API. </p>
34
+ * <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
35
+ * 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>
36
36
  * </li>
37
37
  * <li>
38
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
39
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
38
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
39
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
40
40
  * <code>SubscriptionRequiredException</code> error message appears. For
41
41
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
42
42
  * </li>
@@ -58,6 +58,7 @@ declare const AddAttachmentsToSetCommand_base: {
58
58
  * data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
59
59
  * },
60
60
  * ],
61
+ * dryRun: true || false,
61
62
  * };
62
63
  * const command = new AddAttachmentsToSetCommand(input);
63
64
  * const response = await client.send(command);
@@ -89,6 +90,10 @@ declare const AddAttachmentsToSetCommand_base: {
89
90
  * <p>A limit for the size of an attachment set has been exceeded. The limits are three
90
91
  * attachments and 5 MB per attachment.</p>
91
92
  *
93
+ * @throws {@link DryRunOperationException} (client fault)
94
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
95
+ * set to <code>true</code>.</p>
96
+ *
92
97
  * @throws {@link InternalServerError} (server fault)
93
98
  * <p>An internal server error occurred.</p>
94
99
  *
@@ -24,20 +24,39 @@ declare const AddCommunicationToCaseCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Adds additional customer communication to an Amazon Web Services Support case. Use the <code>caseId</code>
28
- * parameter to identify the case to which to add communication. You can list a set of
29
- * email addresses to copy on the communication by using the <code>ccEmailAddresses</code>
27
+ * <p>Adds additional customer communication to a Amazon Web Services Support case. Use the <code>caseId</code>
28
+ * parameter to identify the case to which to add communication. To list a set of
29
+ * email addresses to copy on the communication, use the <code>ccEmailAddresses</code>
30
30
  * parameter. The <code>communicationBody</code> value contains the text of the
31
31
  * communication.</p>
32
+ * <p>To attach files larger than 5 MB to the communication, use the <code>uploadIds</code> parameter.</p>
33
+ * <important>
34
+ * <p>Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with <code>[REDACTED_BY_Amazon Web Services]</code> and is not stored:</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>Amazon Web Services secret keys - The complete key is replaced. Example: <code>[REDACTED_BY_Amazon Web Services]</code>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>Private keys - The complete key is replaced. Example: <code>[REDACTED_BY_Amazon Web Services]</code>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>Credit card numbers - The number is redacted, but the last 4 digits remain. Example: <code>[REDACTED_BY_Amazon Web Services]-7016</code>
46
+ * </p>
47
+ * </li>
48
+ * </ul>
49
+ * <p>This sensitive information is never required by Amazon Web Services Support.</p>
50
+ * </important>
32
51
  * <note>
33
52
  * <ul>
34
53
  * <li>
35
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
36
- * API. </p>
54
+ * <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
55
+ * 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>
37
56
  * </li>
38
57
  * <li>
39
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
40
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
58
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
59
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
41
60
  * <code>SubscriptionRequiredException</code> error message appears. For
42
61
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
43
62
  * </li>
@@ -58,6 +77,10 @@ declare const AddCommunicationToCaseCommand_base: {
58
77
  * "STRING_VALUE",
59
78
  * ],
60
79
  * attachmentSetId: "STRING_VALUE",
80
+ * uploadIds: [ // UploadIds
81
+ * "STRING_VALUE",
82
+ * ],
83
+ * dryRun: true || false,
61
84
  * };
62
85
  * const command = new AddCommunicationToCaseCommand(input);
63
86
  * const response = await client.send(command);
@@ -83,6 +106,10 @@ declare const AddCommunicationToCaseCommand_base: {
83
106
  * @throws {@link CaseIdNotFound} (client fault)
84
107
  * <p>The requested <code>caseId</code> couldn't be located.</p>
85
108
  *
109
+ * @throws {@link DryRunOperationException} (client fault)
110
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
111
+ * set to <code>true</code>.</p>
112
+ *
86
113
  * @throws {@link InternalServerError} (server fault)
87
114
  * <p>An internal server error occurred.</p>
88
115
  *
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CompleteAttachmentUploadRequest, CompleteAttachmentUploadResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CompleteAttachmentUploadCommand}.
11
+ */
12
+ export interface CompleteAttachmentUploadCommandInput extends CompleteAttachmentUploadRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CompleteAttachmentUploadCommand}.
18
+ */
19
+ export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmentUploadResponse, __MetadataBearer {
20
+ }
21
+ declare const CompleteAttachmentUploadCommand_base: {
22
+ new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CompleteAttachmentUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Completes an attachment upload that was started with <a>GetAttachmentUploadLinks</a>. After you upload a part of the file to its
28
+ * presigned Amazon S3 URL, call <code>CompleteAttachmentUpload</code> with the
29
+ * <code>partIndex</code> and <code>eTag</code> of that part. You can include one part per
30
+ * call, or multiple parts in a single call. After <code>CompleteAttachmentUpload</code> has
31
+ * been called for every part of the file, the service processes the upload asynchronously. The
32
+ * <code>attachment-ready</code> status might not be reflected immediately. Use <a>DescribeAttachmentUploadStatus</a> to poll for the <code>uploadStatus</code> to
33
+ * become <code>attachment-ready</code> before passing the <code>uploadId</code> to <a>CreateCase</a> or <a>AddCommunicationToCase</a>.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { SupportClient, CompleteAttachmentUploadCommand } from "@aws-sdk/client-support"; // ES Modules import
38
+ * // const { SupportClient, CompleteAttachmentUploadCommand } = require("@aws-sdk/client-support"); // CommonJS import
39
+ * // import type { SupportClientConfig } from "@aws-sdk/client-support";
40
+ * const config = {}; // type is SupportClientConfig
41
+ * const client = new SupportClient(config);
42
+ * const input = { // CompleteAttachmentUploadRequest
43
+ * uploadId: "STRING_VALUE", // required
44
+ * completedUploads: [ // CompletedUploadList // required
45
+ * { // CompletedUpload
46
+ * partIndex: Number("int"), // required
47
+ * eTag: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * dryRun: true || false,
51
+ * };
52
+ * const command = new CompleteAttachmentUploadCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // CompleteAttachmentUploadResponse
55
+ * // uploadStatus: "attachment-ready" || "attachment-not-ready" || "failed", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param CompleteAttachmentUploadCommandInput - {@link CompleteAttachmentUploadCommandInput}
61
+ * @returns {@link CompleteAttachmentUploadCommandOutput}
62
+ * @see {@link CompleteAttachmentUploadCommandInput} for command's `input` shape.
63
+ * @see {@link CompleteAttachmentUploadCommandOutput} for command's `response` shape.
64
+ * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
65
+ *
66
+ * @throws {@link DryRunOperationException} (client fault)
67
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
68
+ * set to <code>true</code>.</p>
69
+ *
70
+ * @throws {@link InternalServerError} (server fault)
71
+ * <p>An internal server error occurred.</p>
72
+ *
73
+ * @throws {@link UploadIdNotFound} (client fault)
74
+ * <p>The specified <code>uploadId</code> couldn't be located.</p>
75
+ *
76
+ * @throws {@link SupportServiceException}
77
+ * <p>Base exception class for all service exceptions from Support service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class CompleteAttachmentUploadCommand extends CompleteAttachmentUploadCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: CompleteAttachmentUploadRequest;
87
+ output: CompleteAttachmentUploadResponse;
88
+ };
89
+ sdk: {
90
+ input: CompleteAttachmentUploadCommandInput;
91
+ output: CompleteAttachmentUploadCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -37,7 +37,25 @@ declare const CreateCaseCommand_base: {
37
37
  * <p>Use the Service Quotas <a href="https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_RequestServiceQuotaIncrease.html">RequestServiceQuotaIncrease</a> operation.</p>
38
38
  * </li>
39
39
  * </ul>
40
- * <p>A successful <code>CreateCase</code> request returns an Amazon Web Services Support case number. You can use
40
+ * <important>
41
+ * <p>Amazon Web Services Support automatically redacts sensitive information from support cases to protect your data. The following information is replaced with <code>[REDACTED_BY_Amazon Web Services]</code> and is not stored:</p>
42
+ * <ul>
43
+ * <li>
44
+ * <p>Amazon Web Services secret keys - The complete key is replaced. Example: <code>[REDACTED_BY_Amazon Web Services]</code>
45
+ * </p>
46
+ * </li>
47
+ * <li>
48
+ * <p>Private keys - The complete key is replaced. Example: <code>[REDACTED_BY_Amazon Web Services]</code>
49
+ * </p>
50
+ * </li>
51
+ * <li>
52
+ * <p>Credit card numbers - The number is redacted, but the last 4 digits remain. Example: <code>[REDACTED_BY_Amazon Web Services]-7016</code>
53
+ * </p>
54
+ * </li>
55
+ * </ul>
56
+ * <p>This sensitive information is never required by Amazon Web Services Support.</p>
57
+ * </important>
58
+ * <p>A successful <code>CreateCase</code> request returns a Amazon Web Services Support case number. You can use
41
59
  * the <a>DescribeCases</a> operation and specify the case number to get
42
60
  * existing Amazon Web Services Support cases. After you create a case, use the <a>AddCommunicationToCase</a> operation to add additional communication or
43
61
  * attachments to an existing case.</p>
@@ -46,12 +64,12 @@ declare const CreateCaseCommand_base: {
46
64
  * <note>
47
65
  * <ul>
48
66
  * <li>
49
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
50
- * API. </p>
67
+ * <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
68
+ * 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>
51
69
  * </li>
52
70
  * <li>
53
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
54
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
71
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
72
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
55
73
  * <code>SubscriptionRequiredException</code> error message appears. For
56
74
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
57
75
  * </li>
@@ -77,6 +95,10 @@ declare const CreateCaseCommand_base: {
77
95
  * language: "STRING_VALUE",
78
96
  * issueType: "STRING_VALUE",
79
97
  * attachmentSetId: "STRING_VALUE",
98
+ * uploadIds: [ // UploadIds
99
+ * "STRING_VALUE",
100
+ * ],
101
+ * dryRun: true || false,
80
102
  * };
81
103
  * const command = new CreateCaseCommand(input);
82
104
  * const response = await client.send(command);
@@ -102,6 +124,10 @@ declare const CreateCaseCommand_base: {
102
124
  * @throws {@link CaseCreationLimitExceeded} (client fault)
103
125
  * <p>The case creation limit for the account has been exceeded.</p>
104
126
  *
127
+ * @throws {@link DryRunOperationException} (client fault)
128
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
129
+ * set to <code>true</code>.</p>
130
+ *
105
131
  * @throws {@link InternalServerError} (server fault)
106
132
  * <p>An internal server error occurred.</p>
107
133
  *
@@ -32,17 +32,27 @@ declare const DescribeAttachmentCommand_base: {
32
32
  * <note>
33
33
  * <ul>
34
34
  * <li>
35
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
36
- * API. </p>
35
+ * <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
36
+ * 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>
37
37
  * </li>
38
38
  * <li>
39
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
40
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
39
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
40
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
41
41
  * <code>SubscriptionRequiredException</code> error message appears. For
42
42
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
43
43
  * </li>
44
44
  * </ul>
45
45
  * </note>
46
+ * <important>
47
+ * <p>
48
+ * <code>DescribeAttachment</code> can't return attachments larger than 5 MB. If the
49
+ * specified <code>attachmentId</code> refers to an attachment larger than 5 MB, the
50
+ * request fails with <code>InvalidParameterValueException</code>.</p>
51
+ * <p>To download an attachment of any size, including attachments larger than 5 MB, use
52
+ * <a>GetAttachmentDownloadLink</a>.
53
+ * <code>GetAttachmentDownloadLink</code> returns an Amazon S3 presigned URL that you can
54
+ * use to download the attachment directly.</p>
55
+ * </important>
46
56
  * @example
47
57
  * Use a bare-bones client and the command you need to make an API call.
48
58
  * ```javascript
@@ -53,6 +63,7 @@ declare const DescribeAttachmentCommand_base: {
53
63
  * const client = new SupportClient(config);
54
64
  * const input = { // DescribeAttachmentRequest
55
65
  * attachmentId: "STRING_VALUE", // required
66
+ * dryRun: true || false,
56
67
  * };
57
68
  * const command = new DescribeAttachmentCommand(input);
58
69
  * const response = await client.send(command);
@@ -78,6 +89,10 @@ declare const DescribeAttachmentCommand_base: {
78
89
  * <p>The limit for the number of <a>DescribeAttachment</a> requests in a short
79
90
  * period of time has been exceeded.</p>
80
91
  *
92
+ * @throws {@link DryRunOperationException} (client fault)
93
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
94
+ * set to <code>true</code>.</p>
95
+ *
81
96
  * @throws {@link InternalServerError} (server fault)
82
97
  * <p>An internal server error occurred.</p>
83
98
  *
@@ -0,0 +1,109 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeAttachmentUploadStatusRequest, DescribeAttachmentUploadStatusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeAttachmentUploadStatusCommand}.
11
+ */
12
+ export interface DescribeAttachmentUploadStatusCommandInput extends DescribeAttachmentUploadStatusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeAttachmentUploadStatusCommand}.
18
+ */
19
+ export interface DescribeAttachmentUploadStatusCommandOutput extends DescribeAttachmentUploadStatusResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeAttachmentUploadStatusCommand_base: {
22
+ new (input: DescribeAttachmentUploadStatusCommandInput): import("@smithy/core/client").CommandImpl<DescribeAttachmentUploadStatusCommandInput, DescribeAttachmentUploadStatusCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeAttachmentUploadStatusCommandInput): import("@smithy/core/client").CommandImpl<DescribeAttachmentUploadStatusCommandInput, DescribeAttachmentUploadStatusCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the current status, file name, and progress of a multipart attachment upload that
28
+ * was started with <a>GetAttachmentUploadLinks</a>. Use this operation to track
29
+ * where an upload is in the workflow. While parts are still being uploaded and reported through
30
+ * <a>CompleteAttachmentUpload</a>, the <code>uploadStatus</code> is
31
+ * <code>attachment-not-ready</code> and <code>uploadProgress</code> reports the total number
32
+ * of parts and how many have been completed so far. After every part has been reported and the
33
+ * service finishes processing the upload asynchronously, the <code>uploadStatus</code> becomes
34
+ * <code>attachment-ready</code> and the <code>uploadId</code> can be attached to a case
35
+ * through <a>CreateCase</a> or <a>AddCommunicationToCase</a>.</p>
36
+ * <note>
37
+ * <ul>
38
+ * <li>
39
+ * <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
40
+ * 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>
41
+ * </li>
42
+ * <li>
43
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
44
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
45
+ * <code>SubscriptionRequiredException</code> error message appears. For
46
+ * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
47
+ * </li>
48
+ * </ul>
49
+ * </note>
50
+ * @example
51
+ * Use a bare-bones client and the command you need to make an API call.
52
+ * ```javascript
53
+ * import { SupportClient, DescribeAttachmentUploadStatusCommand } from "@aws-sdk/client-support"; // ES Modules import
54
+ * // const { SupportClient, DescribeAttachmentUploadStatusCommand } = require("@aws-sdk/client-support"); // CommonJS import
55
+ * // import type { SupportClientConfig } from "@aws-sdk/client-support";
56
+ * const config = {}; // type is SupportClientConfig
57
+ * const client = new SupportClient(config);
58
+ * const input = { // DescribeAttachmentUploadStatusRequest
59
+ * uploadId: "STRING_VALUE", // required
60
+ * dryRun: true || false,
61
+ * };
62
+ * const command = new DescribeAttachmentUploadStatusCommand(input);
63
+ * const response = await client.send(command);
64
+ * // { // DescribeAttachmentUploadStatusResponse
65
+ * // uploadStatus: "attachment-ready" || "attachment-not-ready" || "failed", // required
66
+ * // fileName: "STRING_VALUE", // required
67
+ * // uploadProgress: { // UploadProgress
68
+ * // totalParts: Number("int"),
69
+ * // completedPartsCount: Number("int"),
70
+ * // },
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param DescribeAttachmentUploadStatusCommandInput - {@link DescribeAttachmentUploadStatusCommandInput}
76
+ * @returns {@link DescribeAttachmentUploadStatusCommandOutput}
77
+ * @see {@link DescribeAttachmentUploadStatusCommandInput} for command's `input` shape.
78
+ * @see {@link DescribeAttachmentUploadStatusCommandOutput} for command's `response` shape.
79
+ * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
80
+ *
81
+ * @throws {@link DryRunOperationException} (client fault)
82
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
83
+ * set to <code>true</code>.</p>
84
+ *
85
+ * @throws {@link InternalServerError} (server fault)
86
+ * <p>An internal server error occurred.</p>
87
+ *
88
+ * @throws {@link UploadIdNotFound} (client fault)
89
+ * <p>The specified <code>uploadId</code> couldn't be located.</p>
90
+ *
91
+ * @throws {@link SupportServiceException}
92
+ * <p>Base exception class for all service exceptions from Support service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class DescribeAttachmentUploadStatusCommand extends DescribeAttachmentUploadStatusCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: DescribeAttachmentUploadStatusRequest;
102
+ output: DescribeAttachmentUploadStatusResponse;
103
+ };
104
+ sdk: {
105
+ input: DescribeAttachmentUploadStatusCommandInput;
106
+ output: DescribeAttachmentUploadStatusCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -39,22 +39,41 @@ declare const DescribeCasesCommand_base: {
39
39
  * returned records represented by the <code>CaseDetails</code> objects.</p>
40
40
  * </li>
41
41
  * </ul>
42
- * <p>Case data is available for 12 months after creation. If a case was created more than
43
- * 12 months ago, a request might return an error.</p>
42
+ * <p>Case data is available for 24 months after creation. If a case was created more than
43
+ * 24 months ago, a request might return an error.</p>
44
44
  * <note>
45
45
  * <ul>
46
46
  * <li>
47
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
48
- * API. </p>
47
+ * <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
48
+ * 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>
49
49
  * </li>
50
50
  * <li>
51
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
52
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
51
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
52
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
53
53
  * <code>SubscriptionRequiredException</code> error message appears. For
54
54
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
55
55
  * </li>
56
56
  * </ul>
57
57
  * </note>
58
+ * <important>
59
+ * <p>Each <a>Communication</a> returned by this operation includes
60
+ * attachment information in two fields:</p>
61
+ * <ul>
62
+ * <li>
63
+ * <p>
64
+ * <code>attachmentSet</code>: returns only attachments that are 5 MB or
65
+ * smaller. Attachments larger than 5 MB are not included in this field.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>
69
+ * <code>attachments</code>: returns all attachments regardless of size.</p>
70
+ * </li>
71
+ * </ul>
72
+ * <p>Amazon Web Services recommends that you use the <code>attachments</code> field and download each
73
+ * attachment with <a>GetAttachmentDownloadLink</a>, which supports
74
+ * attachments of any size. The <code>attachmentSet</code> field and <a>DescribeAttachment</a> return only attachments that are 5 MB or
75
+ * smaller.</p>
76
+ * </important>
58
77
  * @example
59
78
  * Use a bare-bones client and the command you need to make an API call.
60
79
  * ```javascript
@@ -75,6 +94,7 @@ declare const DescribeCasesCommand_base: {
75
94
  * maxResults: Number("int"),
76
95
  * language: "STRING_VALUE",
77
96
  * includeCommunications: true || false,
97
+ * dryRun: true || false,
78
98
  * };
79
99
  * const command = new DescribeCasesCommand(input);
80
100
  * const response = await client.send(command);
@@ -97,12 +117,18 @@ declare const DescribeCasesCommand_base: {
97
117
  * // body: "STRING_VALUE",
98
118
  * // submittedBy: "STRING_VALUE",
99
119
  * // timeCreated: "STRING_VALUE",
100
- * // attachmentSet: [ // AttachmentSet
120
+ * // attachments: [ // AttachmentSet
101
121
  * // { // AttachmentDetails
102
122
  * // attachmentId: "STRING_VALUE",
103
123
  * // fileName: "STRING_VALUE",
104
124
  * // },
105
125
  * // ],
126
+ * // attachmentSet: [
127
+ * // {
128
+ * // attachmentId: "STRING_VALUE",
129
+ * // fileName: "STRING_VALUE",
130
+ * // },
131
+ * // ],
106
132
  * // },
107
133
  * // ],
108
134
  * // nextToken: "STRING_VALUE",
@@ -127,6 +153,10 @@ declare const DescribeCasesCommand_base: {
127
153
  * @throws {@link CaseIdNotFound} (client fault)
128
154
  * <p>The requested <code>caseId</code> couldn't be located.</p>
129
155
  *
156
+ * @throws {@link DryRunOperationException} (client fault)
157
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
158
+ * set to <code>true</code>.</p>
159
+ *
130
160
  * @throws {@link InternalServerError} (server fault)
131
161
  * <p>An internal server error occurred.</p>
132
162
  *