@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,7 +1,9 @@
|
|
|
1
1
|
export * from "./AddAttachmentsToSetCommand";
|
|
2
2
|
export * from "./AddCommunicationToCaseCommand";
|
|
3
|
+
export * from "./CompleteAttachmentUploadCommand";
|
|
3
4
|
export * from "./CreateCaseCommand";
|
|
4
5
|
export * from "./DescribeAttachmentCommand";
|
|
6
|
+
export * from "./DescribeAttachmentUploadStatusCommand";
|
|
5
7
|
export * from "./DescribeCasesCommand";
|
|
6
8
|
export * from "./DescribeCommunicationsCommand";
|
|
7
9
|
export * from "./DescribeCreateCaseOptionsCommand";
|
|
@@ -12,5 +14,7 @@ export * from "./DescribeTrustedAdvisorCheckRefreshStatusesCommand";
|
|
|
12
14
|
export * from "./DescribeTrustedAdvisorCheckResultCommand";
|
|
13
15
|
export * from "./DescribeTrustedAdvisorCheckSummariesCommand";
|
|
14
16
|
export * from "./DescribeTrustedAdvisorChecksCommand";
|
|
17
|
+
export * from "./GetAttachmentDownloadLinkCommand";
|
|
18
|
+
export * from "./GetAttachmentUploadLinksCommand";
|
|
15
19
|
export * from "./RefreshTrustedAdvisorCheckCommand";
|
|
16
20
|
export * from "./ResolveCaseCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* <note>
|
|
8
8
|
* <ul>
|
|
9
9
|
* <li>
|
|
10
|
-
* <p>You must have
|
|
11
|
-
* API.
|
|
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
|
|
15
|
-
* Business
|
|
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
|
*/
|