@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
@@ -1,7 +1,9 @@
1
1
  export * from "./AddAttachmentsToSetCommand";
2
2
  export * from "./AddCommunicationToCaseCommand";
3
+ export * from "./CompleteAttachmentUploadCommand";
3
4
  export * from "./CreateCaseCommand";
4
5
  export * from "./DescribeAttachmentCommand";
6
+ export * from "./DescribeAttachmentUploadStatusCommand";
5
7
  export * from "./DescribeCasesCommand";
6
8
  export * from "./DescribeCommunicationsCommand";
7
9
  export * from "./DescribeCreateCaseOptionsCommand";
@@ -12,5 +14,7 @@ export * from "./DescribeTrustedAdvisorCheckRefreshStatusesCommand";
12
14
  export * from "./DescribeTrustedAdvisorCheckResultCommand";
13
15
  export * from "./DescribeTrustedAdvisorCheckSummariesCommand";
14
16
  export * from "./DescribeTrustedAdvisorChecksCommand";
17
+ export * from "./GetAttachmentDownloadLinkCommand";
18
+ export * from "./GetAttachmentUploadLinksCommand";
15
19
  export * from "./RefreshTrustedAdvisorCheckCommand";
16
20
  export * from "./ResolveCaseCommand";
@@ -7,12 +7,12 @@
7
7
  * <note>
8
8
  * <ul>
9
9
  * <li>
10
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support
11
- * API. </p>
10
+ * <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
11
+ * 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>
12
12
  * </li>
13
13
  * <li>
14
- * <p>If you call the Amazon Web Services Support API from an account that doesn't have a
15
- * Business, Enterprise On-Ramp, or Enterprise Support plan, the
14
+ * <p>If you call the Amazon Web Services Support API from an account that doesn't have an
15
+ * Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the
16
16
  * <code>SubscriptionRequiredException</code> error message appears. For
17
17
  * information about changing your support plan, see <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a>.</p>
18
18
  * </li>
@@ -55,6 +55,7 @@ export * from "./commands";
55
55
  export { Command as $Command } from "@smithy/core/client";
56
56
  export * from "./pagination";
57
57
  export * from "./schemas/schemas_0";
58
+ export * from "./models/enums";
58
59
  export * from "./models/errors";
59
60
  export * from "./models/models_0";
60
61
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const UploadStatus: {
6
+ readonly ATTACHMENT_NOT_READY: "attachment-not-ready";
7
+ readonly ATTACHMENT_READY: "attachment-ready";
8
+ readonly FAILED: "failed";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type UploadStatus = (typeof UploadStatus)[keyof typeof UploadStatus];
@@ -1,4 +1,5 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { ThrottlingReason } from "./models_0";
2
3
  import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
4
  /**
4
5
  * <p>The limit for the number of attachment sets created in a short period of time has been
@@ -51,6 +52,19 @@ export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
51
52
  */
52
53
  constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
53
54
  }
55
+ /**
56
+ * <p>The request was valid, but the operation wasn't performed because <code>dryRun</code> was
57
+ * set to <code>true</code>.</p>
58
+ * @public
59
+ */
60
+ export declare class DryRunOperationException extends __BaseException {
61
+ readonly name: "DryRunOperationException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
67
+ }
54
68
  /**
55
69
  * <p>An internal server error occurred.</p>
56
70
  * @public
@@ -87,6 +101,18 @@ export declare class AttachmentIdNotFound extends __BaseException {
87
101
  */
88
102
  constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
89
103
  }
104
+ /**
105
+ * <p>The specified <code>uploadId</code> couldn't be located.</p>
106
+ * @public
107
+ */
108
+ export declare class UploadIdNotFound extends __BaseException {
109
+ readonly name: "UploadIdNotFound";
110
+ readonly $fault: "client";
111
+ /**
112
+ * @internal
113
+ */
114
+ constructor(opts: __ExceptionOptionType<UploadIdNotFound, __BaseException>);
115
+ }
90
116
  /**
91
117
  * <p>The case creation limit for the account has been exceeded.</p>
92
118
  * @public
@@ -121,6 +147,11 @@ export declare class DescribeAttachmentLimitExceeded extends __BaseException {
121
147
  export declare class ThrottlingException extends __BaseException {
122
148
  readonly name: "ThrottlingException";
123
149
  readonly $fault: "client";
150
+ /**
151
+ * <p>A list of one or more reasons that the request was throttled.</p>
152
+ * @public
153
+ */
154
+ throttlingReasons?: ThrottlingReason[] | undefined;
124
155
  /**
125
156
  * @internal
126
157
  */