@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
@@ -28,8 +28,8 @@ declare const DescribeCommunicationsCommand_base: {
28
28
  * <code>afterTime</code> and <code>beforeTime</code> parameters to filter by date. You
29
29
  * can use the <code>caseId</code> parameter to restrict the results to a specific
30
30
  * case.</p>
31
- * <p>Case data is available for 12 months after creation. If a case was created more than
32
- * 12 months ago, a request for data might cause an error.</p>
31
+ * <p>Case data is available for 24 months after creation. If a case was created more than
32
+ * 24 months ago, a request for data might cause an error.</p>
33
33
  * <p>You can use the <code>maxResults</code> and <code>nextToken</code> parameters to
34
34
  * control the pagination of the results. Set <code>maxResults</code> to the number of
35
35
  * cases that you want to display on each page, and use <code>nextToken</code> to specify
@@ -37,17 +37,36 @@ declare const DescribeCommunicationsCommand_base: {
37
37
  * <note>
38
38
  * <ul>
39
39
  * <li>
40
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
41
- * API. </p>
40
+ * <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
41
+ * 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>
42
42
  * </li>
43
43
  * <li>
44
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
45
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
44
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
45
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
46
46
  * <code>SubscriptionRequiredException</code> error message appears. For
47
47
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
48
48
  * </li>
49
49
  * </ul>
50
50
  * </note>
51
+ * <important>
52
+ * <p>Each <a>Communication</a> returned by this operation includes
53
+ * attachment information in two fields:</p>
54
+ * <ul>
55
+ * <li>
56
+ * <p>
57
+ * <code>attachmentSet</code>: returns only attachments that are 5 MB or
58
+ * smaller. Attachments larger than 5 MB are not included in this field.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>
62
+ * <code>attachments</code>: returns all attachments regardless of size.</p>
63
+ * </li>
64
+ * </ul>
65
+ * <p>Amazon Web Services recommends that you use the <code>attachments</code> field and download each
66
+ * attachment with <a>GetAttachmentDownloadLink</a>, which supports
67
+ * attachments of any size. The <code>attachmentSet</code> field and <a>DescribeAttachment</a> return only attachments that are 5 MB or
68
+ * smaller.</p>
69
+ * </important>
51
70
  * @example
52
71
  * Use a bare-bones client and the command you need to make an API call.
53
72
  * ```javascript
@@ -62,6 +81,7 @@ declare const DescribeCommunicationsCommand_base: {
62
81
  * afterTime: "STRING_VALUE",
63
82
  * nextToken: "STRING_VALUE",
64
83
  * maxResults: Number("int"),
84
+ * dryRun: true || false,
65
85
  * };
66
86
  * const command = new DescribeCommunicationsCommand(input);
67
87
  * const response = await client.send(command);
@@ -72,12 +92,18 @@ declare const DescribeCommunicationsCommand_base: {
72
92
  * // body: "STRING_VALUE",
73
93
  * // submittedBy: "STRING_VALUE",
74
94
  * // timeCreated: "STRING_VALUE",
75
- * // attachmentSet: [ // AttachmentSet
95
+ * // attachments: [ // AttachmentSet
76
96
  * // { // AttachmentDetails
77
97
  * // attachmentId: "STRING_VALUE",
78
98
  * // fileName: "STRING_VALUE",
79
99
  * // },
80
100
  * // ],
101
+ * // attachmentSet: [
102
+ * // {
103
+ * // attachmentId: "STRING_VALUE",
104
+ * // fileName: "STRING_VALUE",
105
+ * // },
106
+ * // ],
81
107
  * // },
82
108
  * // ],
83
109
  * // nextToken: "STRING_VALUE",
@@ -94,6 +120,10 @@ declare const DescribeCommunicationsCommand_base: {
94
120
  * @throws {@link CaseIdNotFound} (client fault)
95
121
  * <p>The requested <code>caseId</code> couldn't be located.</p>
96
122
  *
123
+ * @throws {@link DryRunOperationException} (client fault)
124
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
125
+ * set to <code>true</code>.</p>
126
+ *
97
127
  * @throws {@link InternalServerError} (server fault)
98
128
  * <p>An internal server error occurred.</p>
99
129
  *
@@ -31,12 +31,12 @@ declare const DescribeCreateCaseOptionsCommand_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>
@@ -55,6 +55,7 @@ declare const DescribeCreateCaseOptionsCommand_base: {
55
55
  * serviceCode: "STRING_VALUE", // required
56
56
  * language: "STRING_VALUE", // required
57
57
  * categoryCode: "STRING_VALUE", // required
58
+ * dryRun: true || false,
58
59
  * };
59
60
  * const command = new DescribeCreateCaseOptionsCommand(input);
60
61
  * const response = await client.send(command);
@@ -87,6 +88,10 @@ declare const DescribeCreateCaseOptionsCommand_base: {
87
88
  * @see {@link DescribeCreateCaseOptionsCommandOutput} for command's `response` shape.
88
89
  * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
89
90
  *
91
+ * @throws {@link DryRunOperationException} (client fault)
92
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
93
+ * set to <code>true</code>.</p>
94
+ *
90
95
  * @throws {@link InternalServerError} (server fault)
91
96
  * <p>An internal server error occurred.</p>
92
97
  *
@@ -36,12 +36,12 @@ declare const DescribeServicesCommand_base: {
36
36
  * <note>
37
37
  * <ul>
38
38
  * <li>
39
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
40
- * API. </p>
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
41
  * </li>
42
42
  * <li>
43
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
44
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
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
45
  * <code>SubscriptionRequiredException</code> error message appears. For
46
46
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
47
47
  * </li>
@@ -60,6 +60,7 @@ declare const DescribeServicesCommand_base: {
60
60
  * "STRING_VALUE",
61
61
  * ],
62
62
  * language: "STRING_VALUE",
63
+ * dryRun: true || false,
63
64
  * };
64
65
  * const command = new DescribeServicesCommand(input);
65
66
  * const response = await client.send(command);
@@ -86,6 +87,10 @@ declare const DescribeServicesCommand_base: {
86
87
  * @see {@link DescribeServicesCommandOutput} for command's `response` shape.
87
88
  * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
88
89
  *
90
+ * @throws {@link DryRunOperationException} (client fault)
91
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
92
+ * set to <code>true</code>.</p>
93
+ *
89
94
  * @throws {@link InternalServerError} (server fault)
90
95
  * <p>An internal server error occurred.</p>
91
96
  *
@@ -30,12 +30,12 @@ declare const DescribeSeverityLevelsCommand_base: {
30
30
  * <note>
31
31
  * <ul>
32
32
  * <li>
33
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
34
- * API. </p>
33
+ * <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
34
+ * 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>
35
35
  * </li>
36
36
  * <li>
37
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
38
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
37
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
38
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
39
39
  * <code>SubscriptionRequiredException</code> error message appears. For
40
40
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
41
41
  * </li>
@@ -51,6 +51,7 @@ declare const DescribeSeverityLevelsCommand_base: {
51
51
  * const client = new SupportClient(config);
52
52
  * const input = { // DescribeSeverityLevelsRequest
53
53
  * language: "STRING_VALUE",
54
+ * dryRun: true || false,
54
55
  * };
55
56
  * const command = new DescribeSeverityLevelsCommand(input);
56
57
  * const response = await client.send(command);
@@ -71,6 +72,10 @@ declare const DescribeSeverityLevelsCommand_base: {
71
72
  * @see {@link DescribeSeverityLevelsCommandOutput} for command's `response` shape.
72
73
  * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
73
74
  *
75
+ * @throws {@link DryRunOperationException} (client fault)
76
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
77
+ * set to <code>true</code>.</p>
78
+ *
74
79
  * @throws {@link InternalServerError} (server fault)
75
80
  * <p>An internal server error occurred.</p>
76
81
  *
@@ -30,12 +30,12 @@ declare const DescribeSupportedLanguagesCommand_base: {
30
30
  * <note>
31
31
  * <ul>
32
32
  * <li>
33
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
34
- * API. </p>
33
+ * <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
34
+ * 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>
35
35
  * </li>
36
36
  * <li>
37
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
38
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
37
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
38
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
39
39
  * <code>SubscriptionRequiredException</code> error message appears. For
40
40
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
41
41
  * </li>
@@ -53,6 +53,7 @@ declare const DescribeSupportedLanguagesCommand_base: {
53
53
  * issueType: "STRING_VALUE", // required
54
54
  * serviceCode: "STRING_VALUE", // required
55
55
  * categoryCode: "STRING_VALUE", // required
56
+ * dryRun: true || false,
56
57
  * };
57
58
  * const command = new DescribeSupportedLanguagesCommand(input);
58
59
  * const response = await client.send(command);
@@ -74,6 +75,10 @@ declare const DescribeSupportedLanguagesCommand_base: {
74
75
  * @see {@link DescribeSupportedLanguagesCommandOutput} for command's `response` shape.
75
76
  * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
76
77
  *
78
+ * @throws {@link DryRunOperationException} (client fault)
79
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
80
+ * set to <code>true</code>.</p>
81
+ *
77
82
  * @throws {@link InternalServerError} (server fault)
78
83
  * <p>An internal server error occurred.</p>
79
84
  *
@@ -33,12 +33,12 @@ declare const DescribeTrustedAdvisorCheckRefreshStatusesCommand_base: {
33
33
  * <note>
34
34
  * <ul>
35
35
  * <li>
36
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
37
- * API. </p>
36
+ * <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
37
+ * 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>
38
38
  * </li>
39
39
  * <li>
40
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
41
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
40
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
41
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
42
42
  * <code>SubscriptionRequiredException</code> error message appears. For
43
43
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
44
44
  * </li>
@@ -68,12 +68,12 @@ declare const DescribeTrustedAdvisorCheckResultCommand_base: {
68
68
  * <note>
69
69
  * <ul>
70
70
  * <li>
71
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
72
- * API. </p>
71
+ * <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
72
+ * 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>
73
73
  * </li>
74
74
  * <li>
75
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
76
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
75
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
76
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
77
77
  * <code>SubscriptionRequiredException</code> error message appears. For
78
78
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
79
79
  * </li>
@@ -31,12 +31,12 @@ declare const DescribeTrustedAdvisorCheckSummariesCommand_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>
@@ -46,6 +46,10 @@ declare const DescribeTrustedAdvisorCheckSummariesCommand_base: {
46
46
  * the Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland)
47
47
  * endpoints don't support the Trusted Advisor operations. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint">About the Amazon Web Services Support
48
48
  * API</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
49
+ * <p>
50
+ * <b>Understanding the Trusted Advisor Resources processed value</b>
51
+ * </p>
52
+ * <p>The <b>Resources processed</b> value, <code>resourcesProcessed</code>, usually shows both flagged resources (those with warnings or errors) and resources in good standing (ok status resources). However, some checks report flagged resources only. To understand what a specific check reports, review the detailed check information in the <a href="https://docs.aws.amazon.com/awssupport/latest/user/trusted-advisor-check-reference.html">Trusted Advisor check reference</a>. If you see a <b>Green</b> criterion listed in the <b>Alert criteria</b>, then the check reports all resources. If there's no <b>Green</b> criterion listed in the <b>Alert criteria</b>, then the check reports only flagged resources. For example, the <a href="https://docs.aws.amazon.com/awssupport/latest/user/cost-optimization-checks.html#amazon-ec2-reserved-instances-optimization">Amazon EC2 Reserved Instance optimization check (cX3c2R1chu)</a> doesn't list a <b>Green</b> criterion in the <b>Alert criteria</b>. So, this check only reports flagged resources.</p>
49
53
  * @example
50
54
  * Use a bare-bones client and the command you need to make an API call.
51
55
  * ```javascript
@@ -31,11 +31,11 @@ declare const DescribeTrustedAdvisorChecksCommand_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 API. </p>
34
+ * <p>You must have a Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. </p>
35
35
  * </li>
36
36
  * <li>
37
37
  * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
38
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the <code>SubscriptionRequiredException</code> error
38
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the <code>SubscriptionRequiredException</code> error
39
39
  * message appears. For information about changing your support plan, see
40
40
  * <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
41
41
  * </li>
@@ -0,0 +1,104 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAttachmentDownloadLinkRequest, GetAttachmentDownloadLinkResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAttachmentDownloadLinkCommand}.
11
+ */
12
+ export interface GetAttachmentDownloadLinkCommandInput extends GetAttachmentDownloadLinkRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAttachmentDownloadLinkCommand}.
18
+ */
19
+ export interface GetAttachmentDownloadLinkCommandOutput extends GetAttachmentDownloadLinkResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAttachmentDownloadLinkCommand_base: {
22
+ new (input: GetAttachmentDownloadLinkCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentDownloadLinkCommandInput, GetAttachmentDownloadLinkCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAttachmentDownloadLinkCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentDownloadLinkCommandInput, GetAttachmentDownloadLinkCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a presigned download URL for an attachment that is associated with a case
28
+ * communication. The download link works for an attachment of any size, including attachments
29
+ * added through <code>AddAttachmentsToSet</code> and attachments uploaded through <a>GetAttachmentUploadLinks</a>. The download URL is time-limited and expires at the
30
+ * date and time indicated in the <code>downloadUrl</code> response field. Download the
31
+ * attachment from the URL before it expires.</p>
32
+ * <note>
33
+ * <ul>
34
+ * <li>
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
+ * </li>
38
+ * <li>
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
+ * <code>SubscriptionRequiredException</code> error message appears. For
42
+ * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
43
+ * </li>
44
+ * </ul>
45
+ * </note>
46
+ * @example
47
+ * Use a bare-bones client and the command you need to make an API call.
48
+ * ```javascript
49
+ * import { SupportClient, GetAttachmentDownloadLinkCommand } from "@aws-sdk/client-support"; // ES Modules import
50
+ * // const { SupportClient, GetAttachmentDownloadLinkCommand } = require("@aws-sdk/client-support"); // CommonJS import
51
+ * // import type { SupportClientConfig } from "@aws-sdk/client-support";
52
+ * const config = {}; // type is SupportClientConfig
53
+ * const client = new SupportClient(config);
54
+ * const input = { // GetAttachmentDownloadLinkRequest
55
+ * attachmentId: "STRING_VALUE", // required
56
+ * dryRun: true || false,
57
+ * };
58
+ * const command = new GetAttachmentDownloadLinkCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // GetAttachmentDownloadLinkResponse
61
+ * // fileName: "STRING_VALUE", // required
62
+ * // downloadUrl: { // DownloadUrl
63
+ * // url: "STRING_VALUE", // required
64
+ * // expiryDate: "STRING_VALUE", // required
65
+ * // },
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param GetAttachmentDownloadLinkCommandInput - {@link GetAttachmentDownloadLinkCommandInput}
71
+ * @returns {@link GetAttachmentDownloadLinkCommandOutput}
72
+ * @see {@link GetAttachmentDownloadLinkCommandInput} for command's `input` shape.
73
+ * @see {@link GetAttachmentDownloadLinkCommandOutput} for command's `response` shape.
74
+ * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
75
+ *
76
+ * @throws {@link AttachmentIdNotFound} (client fault)
77
+ * <p>An attachment with the specified ID could not be found.</p>
78
+ *
79
+ * @throws {@link DryRunOperationException} (client fault)
80
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
81
+ * set to <code>true</code>.</p>
82
+ *
83
+ * @throws {@link InternalServerError} (server fault)
84
+ * <p>An internal server error occurred.</p>
85
+ *
86
+ * @throws {@link SupportServiceException}
87
+ * <p>Base exception class for all service exceptions from Support service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class GetAttachmentDownloadLinkCommand extends GetAttachmentDownloadLinkCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: GetAttachmentDownloadLinkRequest;
97
+ output: GetAttachmentDownloadLinkResponse;
98
+ };
99
+ sdk: {
100
+ input: GetAttachmentDownloadLinkCommandInput;
101
+ output: GetAttachmentDownloadLinkCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,125 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAttachmentUploadLinksRequest, GetAttachmentUploadLinksResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAttachmentUploadLinksCommand}.
11
+ */
12
+ export interface GetAttachmentUploadLinksCommandInput extends GetAttachmentUploadLinksRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAttachmentUploadLinksCommand}.
18
+ */
19
+ export interface GetAttachmentUploadLinksCommandOutput extends GetAttachmentUploadLinksResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAttachmentUploadLinksCommand_base: {
22
+ new (input: GetAttachmentUploadLinksCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentUploadLinksCommandInput, GetAttachmentUploadLinksCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAttachmentUploadLinksCommandInput): import("@smithy/core/client").CommandImpl<GetAttachmentUploadLinksCommandInput, GetAttachmentUploadLinksCommandOutput, import("..").SupportClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns one or more presigned upload URLs for uploading a large file attachment to a
28
+ * support case by using a multipart upload workflow. The maximum file size that you can upload
29
+ * with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate a new upload by
30
+ * providing <code>fileName</code> and <code>fileSizeBytes</code>; the response returns a unique
31
+ * <code>uploadId</code>, the part size, the total number of parts, and a list of presigned
32
+ * upload URLs for the requested range of parts. A maximum of 10 upload URLs are returned per
33
+ * call. To retrieve more upload URLs for an upload
34
+ * that's already in progress, call <code>GetAttachmentUploadLinks</code> again with the existing
35
+ * <code>uploadId</code> and a new <code>uploadRange</code>.</p>
36
+ * <p>Upload each part to its presigned URL by using HTTP <code>PUT</code> and capture the ETag
37
+ * from the response. After you upload all parts, call <a>CompleteAttachmentUpload</a>
38
+ * with the <code>uploadId</code> and the list of part indexes and ETags to finalize the upload.
39
+ * You can then attach the upload to a case by passing the <code>uploadId</code> in the
40
+ * <code>uploadIds</code> parameter of <a>CreateCase</a> or <a>AddCommunicationToCase</a>. To monitor progress before completion, call <a>DescribeAttachmentUploadStatus</a>.</p>
41
+ * <note>
42
+ * <ul>
43
+ * <li>
44
+ * <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
45
+ * 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>
46
+ * </li>
47
+ * <li>
48
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
49
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
50
+ * <code>SubscriptionRequiredException</code> error message appears. For
51
+ * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
52
+ * </li>
53
+ * </ul>
54
+ * </note>
55
+ * @example
56
+ * Use a bare-bones client and the command you need to make an API call.
57
+ * ```javascript
58
+ * import { SupportClient, GetAttachmentUploadLinksCommand } from "@aws-sdk/client-support"; // ES Modules import
59
+ * // const { SupportClient, GetAttachmentUploadLinksCommand } = require("@aws-sdk/client-support"); // CommonJS import
60
+ * // import type { SupportClientConfig } from "@aws-sdk/client-support";
61
+ * const config = {}; // type is SupportClientConfig
62
+ * const client = new SupportClient(config);
63
+ * const input = { // GetAttachmentUploadLinksRequest
64
+ * fileName: "STRING_VALUE", // required
65
+ * fileSizeBytes: Number("long"),
66
+ * uploadId: "STRING_VALUE",
67
+ * uploadRange: { // UploadRange
68
+ * startIndex: Number("int"), // required
69
+ * endIndex: Number("int"),
70
+ * },
71
+ * dryRun: true || false,
72
+ * };
73
+ * const command = new GetAttachmentUploadLinksCommand(input);
74
+ * const response = await client.send(command);
75
+ * // { // GetAttachmentUploadLinksResponse
76
+ * // uploadId: "STRING_VALUE", // required
77
+ * // partSizeBytes: Number("long"), // required
78
+ * // totalParts: Number("int"), // required
79
+ * // nextIndex: Number("int"),
80
+ * // uploadUrls: [ // UploadUrlList // required
81
+ * // { // UploadUrl
82
+ * // url: "STRING_VALUE", // required
83
+ * // partIndex: Number("int"), // required
84
+ * // expiryDate: "STRING_VALUE", // required
85
+ * // },
86
+ * // ],
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param GetAttachmentUploadLinksCommandInput - {@link GetAttachmentUploadLinksCommandInput}
92
+ * @returns {@link GetAttachmentUploadLinksCommandOutput}
93
+ * @see {@link GetAttachmentUploadLinksCommandInput} for command's `input` shape.
94
+ * @see {@link GetAttachmentUploadLinksCommandOutput} for command's `response` shape.
95
+ * @see {@link SupportClientResolvedConfig | config} for SupportClient's `config` shape.
96
+ *
97
+ * @throws {@link DryRunOperationException} (client fault)
98
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
99
+ * set to <code>true</code>.</p>
100
+ *
101
+ * @throws {@link InternalServerError} (server fault)
102
+ * <p>An internal server error occurred.</p>
103
+ *
104
+ * @throws {@link UploadIdNotFound} (client fault)
105
+ * <p>The specified <code>uploadId</code> couldn't be located.</p>
106
+ *
107
+ * @throws {@link SupportServiceException}
108
+ * <p>Base exception class for all service exceptions from Support service.</p>
109
+ *
110
+ *
111
+ * @public
112
+ */
113
+ export declare class GetAttachmentUploadLinksCommand extends GetAttachmentUploadLinksCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: GetAttachmentUploadLinksRequest;
118
+ output: GetAttachmentUploadLinksResponse;
119
+ };
120
+ sdk: {
121
+ input: GetAttachmentUploadLinksCommandInput;
122
+ output: GetAttachmentUploadLinksCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -35,12 +35,12 @@ declare const RefreshTrustedAdvisorCheckCommand_base: {
35
35
  * <note>
36
36
  * <ul>
37
37
  * <li>
38
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
39
- * API. </p>
38
+ * <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
39
+ * 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>
40
40
  * </li>
41
41
  * <li>
42
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
43
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
42
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
43
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
44
44
  * <code>SubscriptionRequiredException</code> error message appears. For
45
45
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
46
46
  * </li>
@@ -29,12 +29,12 @@ declare const ResolveCaseCommand_base: {
29
29
  * <note>
30
30
  * <ul>
31
31
  * <li>
32
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
33
- * API. </p>
32
+ * <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
33
+ * 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>
34
34
  * </li>
35
35
  * <li>
36
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
37
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
36
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
37
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
38
38
  * <code>SubscriptionRequiredException</code> error message appears. For
39
39
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
40
40
  * </li>
@@ -50,6 +50,7 @@ declare const ResolveCaseCommand_base: {
50
50
  * const client = new SupportClient(config);
51
51
  * const input = { // ResolveCaseRequest
52
52
  * caseId: "STRING_VALUE",
53
+ * dryRun: true || false,
53
54
  * };
54
55
  * const command = new ResolveCaseCommand(input);
55
56
  * const response = await client.send(command);
@@ -69,6 +70,10 @@ declare const ResolveCaseCommand_base: {
69
70
  * @throws {@link CaseIdNotFound} (client fault)
70
71
  * <p>The requested <code>caseId</code> couldn't be located.</p>
71
72
  *
73
+ * @throws {@link DryRunOperationException} (client fault)
74
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
75
+ * set to <code>true</code>.</p>
76
+ *
72
77
  * @throws {@link InternalServerError} (server fault)
73
78
  * <p>An internal server error occurred.</p>
74
79
  *