@aws-sdk/client-support 3.934.0 → 3.936.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/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./SupportClient";
2
2
  export * from "./Support";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,121 @@
1
+ import { SupportServiceException as __BaseException } from "./SupportServiceException";
2
+ export class AttachmentLimitExceeded extends __BaseException {
3
+ name = "AttachmentLimitExceeded";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AttachmentLimitExceeded",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
12
+ }
13
+ }
14
+ export class AttachmentSetExpired extends __BaseException {
15
+ name = "AttachmentSetExpired";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "AttachmentSetExpired",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
24
+ }
25
+ }
26
+ export class AttachmentSetIdNotFound extends __BaseException {
27
+ name = "AttachmentSetIdNotFound";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "AttachmentSetIdNotFound",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
36
+ }
37
+ }
38
+ export class AttachmentSetSizeLimitExceeded extends __BaseException {
39
+ name = "AttachmentSetSizeLimitExceeded";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "AttachmentSetSizeLimitExceeded",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
48
+ }
49
+ }
50
+ export class InternalServerError extends __BaseException {
51
+ name = "InternalServerError";
52
+ $fault = "server";
53
+ constructor(opts) {
54
+ super({
55
+ name: "InternalServerError",
56
+ $fault: "server",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, InternalServerError.prototype);
60
+ }
61
+ }
62
+ export class CaseIdNotFound extends __BaseException {
63
+ name = "CaseIdNotFound";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "CaseIdNotFound",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, CaseIdNotFound.prototype);
72
+ }
73
+ }
74
+ export class AttachmentIdNotFound extends __BaseException {
75
+ name = "AttachmentIdNotFound";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "AttachmentIdNotFound",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
84
+ }
85
+ }
86
+ export class CaseCreationLimitExceeded extends __BaseException {
87
+ name = "CaseCreationLimitExceeded";
88
+ $fault = "client";
89
+ constructor(opts) {
90
+ super({
91
+ name: "CaseCreationLimitExceeded",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
96
+ }
97
+ }
98
+ export class DescribeAttachmentLimitExceeded extends __BaseException {
99
+ name = "DescribeAttachmentLimitExceeded";
100
+ $fault = "client";
101
+ constructor(opts) {
102
+ super({
103
+ name: "DescribeAttachmentLimitExceeded",
104
+ $fault: "client",
105
+ ...opts,
106
+ });
107
+ Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
108
+ }
109
+ }
110
+ export class ThrottlingException extends __BaseException {
111
+ name = "ThrottlingException";
112
+ $fault = "client";
113
+ constructor(opts) {
114
+ super({
115
+ name: "ThrottlingException",
116
+ $fault: "client",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
120
+ }
121
+ }
@@ -1,121 +1 @@
1
- import { SupportServiceException as __BaseException } from "./SupportServiceException";
2
- export class AttachmentLimitExceeded extends __BaseException {
3
- name = "AttachmentLimitExceeded";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AttachmentLimitExceeded",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
12
- }
13
- }
14
- export class AttachmentSetExpired extends __BaseException {
15
- name = "AttachmentSetExpired";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "AttachmentSetExpired",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
24
- }
25
- }
26
- export class AttachmentSetIdNotFound extends __BaseException {
27
- name = "AttachmentSetIdNotFound";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "AttachmentSetIdNotFound",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
36
- }
37
- }
38
- export class AttachmentSetSizeLimitExceeded extends __BaseException {
39
- name = "AttachmentSetSizeLimitExceeded";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "AttachmentSetSizeLimitExceeded",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
48
- }
49
- }
50
- export class InternalServerError extends __BaseException {
51
- name = "InternalServerError";
52
- $fault = "server";
53
- constructor(opts) {
54
- super({
55
- name: "InternalServerError",
56
- $fault: "server",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, InternalServerError.prototype);
60
- }
61
- }
62
- export class CaseIdNotFound extends __BaseException {
63
- name = "CaseIdNotFound";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "CaseIdNotFound",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, CaseIdNotFound.prototype);
72
- }
73
- }
74
- export class AttachmentIdNotFound extends __BaseException {
75
- name = "AttachmentIdNotFound";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "AttachmentIdNotFound",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
84
- }
85
- }
86
- export class CaseCreationLimitExceeded extends __BaseException {
87
- name = "CaseCreationLimitExceeded";
88
- $fault = "client";
89
- constructor(opts) {
90
- super({
91
- name: "CaseCreationLimitExceeded",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
96
- }
97
- }
98
- export class DescribeAttachmentLimitExceeded extends __BaseException {
99
- name = "DescribeAttachmentLimitExceeded";
100
- $fault = "client";
101
- constructor(opts) {
102
- super({
103
- name: "DescribeAttachmentLimitExceeded",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
108
- }
109
- }
110
- export class ThrottlingException extends __BaseException {
111
- name = "ThrottlingException";
112
- $fault = "client";
113
- constructor(opts) {
114
- super({
115
- name: "ThrottlingException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- Object.setPrototypeOf(this, ThrottlingException.prototype);
120
- }
121
- }
1
+ export {};
@@ -179,7 +179,7 @@ const _tC = "timeCreated";
179
179
  const _ti = "timestamp";
180
180
  const n0 = "com.amazonaws.support";
181
181
  import { TypeRegistry } from "@smithy/core/schema";
182
- import { AttachmentIdNotFound as __AttachmentIdNotFound, AttachmentLimitExceeded as __AttachmentLimitExceeded, AttachmentSetExpired as __AttachmentSetExpired, AttachmentSetIdNotFound as __AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded as __AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded as __CaseCreationLimitExceeded, CaseIdNotFound as __CaseIdNotFound, DescribeAttachmentLimitExceeded as __DescribeAttachmentLimitExceeded, InternalServerError as __InternalServerError, ThrottlingException as __ThrottlingException, } from "../models/index";
182
+ import { AttachmentIdNotFound as __AttachmentIdNotFound, AttachmentLimitExceeded as __AttachmentLimitExceeded, AttachmentSetExpired as __AttachmentSetExpired, AttachmentSetIdNotFound as __AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded as __AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded as __CaseCreationLimitExceeded, CaseIdNotFound as __CaseIdNotFound, DescribeAttachmentLimitExceeded as __DescribeAttachmentLimitExceeded, InternalServerError as __InternalServerError, ThrottlingException as __ThrottlingException, } from "../models/errors";
183
183
  import { SupportServiceException as __SupportServiceException } from "../models/SupportServiceException";
184
184
  export var AddAttachmentsToSetRequest = [3, n0, _AATSR, 0, [_aSI, _a], [0, () => Attachments]];
185
185
  export var AddAttachmentsToSetResponse = [3, n0, _AATSRd, 0, [_aSI, _eT], [0, 0]];
@@ -53,5 +53,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
53
53
  export type { SupportExtensionConfiguration } from "./extensionConfiguration";
54
54
  export * from "./commands";
55
55
  export * from "./pagination";
56
- export * from "./models";
56
+ export * from "./models/errors";
57
+ export type * from "./models/models_0";
57
58
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,128 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
+ /**
4
+ * <p>The limit for the number of attachment sets created in a short period of time has been
5
+ * exceeded.</p>
6
+ * @public
7
+ */
8
+ export declare class AttachmentLimitExceeded extends __BaseException {
9
+ readonly name: "AttachmentLimitExceeded";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The expiration time of the attachment set has passed. The set expires 1 hour after it
18
+ * is created.</p>
19
+ * @public
20
+ */
21
+ export declare class AttachmentSetExpired extends __BaseException {
22
+ readonly name: "AttachmentSetExpired";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>An attachment set with the specified ID could not be found.</p>
31
+ * @public
32
+ */
33
+ export declare class AttachmentSetIdNotFound extends __BaseException {
34
+ readonly name: "AttachmentSetIdNotFound";
35
+ readonly $fault: "client";
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>A limit for the size of an attachment set has been exceeded. The limits are three
43
+ * attachments and 5 MB per attachment.</p>
44
+ * @public
45
+ */
46
+ export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
47
+ readonly name: "AttachmentSetSizeLimitExceeded";
48
+ readonly $fault: "client";
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
53
+ }
54
+ /**
55
+ * <p>An internal server error occurred.</p>
56
+ * @public
57
+ */
58
+ export declare class InternalServerError extends __BaseException {
59
+ readonly name: "InternalServerError";
60
+ readonly $fault: "server";
61
+ /**
62
+ * @internal
63
+ */
64
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
65
+ }
66
+ /**
67
+ * <p>The requested <code>caseId</code> couldn't be located.</p>
68
+ * @public
69
+ */
70
+ export declare class CaseIdNotFound extends __BaseException {
71
+ readonly name: "CaseIdNotFound";
72
+ readonly $fault: "client";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
77
+ }
78
+ /**
79
+ * <p>An attachment with the specified ID could not be found.</p>
80
+ * @public
81
+ */
82
+ export declare class AttachmentIdNotFound extends __BaseException {
83
+ readonly name: "AttachmentIdNotFound";
84
+ readonly $fault: "client";
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
89
+ }
90
+ /**
91
+ * <p>The case creation limit for the account has been exceeded.</p>
92
+ * @public
93
+ */
94
+ export declare class CaseCreationLimitExceeded extends __BaseException {
95
+ readonly name: "CaseCreationLimitExceeded";
96
+ readonly $fault: "client";
97
+ /**
98
+ * @internal
99
+ */
100
+ constructor(opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>);
101
+ }
102
+ /**
103
+ * <p>The limit for the number of <a>DescribeAttachment</a> requests in a short
104
+ * period of time has been exceeded.</p>
105
+ * @public
106
+ */
107
+ export declare class DescribeAttachmentLimitExceeded extends __BaseException {
108
+ readonly name: "DescribeAttachmentLimitExceeded";
109
+ readonly $fault: "client";
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<DescribeAttachmentLimitExceeded, __BaseException>);
114
+ }
115
+ /**
116
+ * <p>
117
+ * You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
118
+ * </p>
119
+ * @public
120
+ */
121
+ export declare class ThrottlingException extends __BaseException {
122
+ readonly name: "ThrottlingException";
123
+ readonly $fault: "client";
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
128
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
1
  /**
4
2
  * <p>An attachment to a case communication. The attachment consists of the file name and
5
3
  * the content of the file. Each attachment file size should not exceed 5 MB. File types that are supported include the following: pdf, jpeg,.doc, .log, .text </p>
@@ -60,69 +58,6 @@ export interface AddAttachmentsToSetResponse {
60
58
  */
61
59
  expiryTime?: string | undefined;
62
60
  }
63
- /**
64
- * <p>The limit for the number of attachment sets created in a short period of time has been
65
- * exceeded.</p>
66
- * @public
67
- */
68
- export declare class AttachmentLimitExceeded extends __BaseException {
69
- readonly name: "AttachmentLimitExceeded";
70
- readonly $fault: "client";
71
- /**
72
- * @internal
73
- */
74
- constructor(opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>);
75
- }
76
- /**
77
- * <p>The expiration time of the attachment set has passed. The set expires 1 hour after it
78
- * is created.</p>
79
- * @public
80
- */
81
- export declare class AttachmentSetExpired extends __BaseException {
82
- readonly name: "AttachmentSetExpired";
83
- readonly $fault: "client";
84
- /**
85
- * @internal
86
- */
87
- constructor(opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>);
88
- }
89
- /**
90
- * <p>An attachment set with the specified ID could not be found.</p>
91
- * @public
92
- */
93
- export declare class AttachmentSetIdNotFound extends __BaseException {
94
- readonly name: "AttachmentSetIdNotFound";
95
- readonly $fault: "client";
96
- /**
97
- * @internal
98
- */
99
- constructor(opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>);
100
- }
101
- /**
102
- * <p>A limit for the size of an attachment set has been exceeded. The limits are three
103
- * attachments and 5 MB per attachment.</p>
104
- * @public
105
- */
106
- export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
107
- readonly name: "AttachmentSetSizeLimitExceeded";
108
- readonly $fault: "client";
109
- /**
110
- * @internal
111
- */
112
- constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
113
- }
114
- /**
115
- * <p>An internal server error occurred.</p>
116
- * @public
117
- */
118
- export declare class InternalServerError extends __BaseException {
119
- readonly name: "InternalServerError";
120
- readonly $fault: "server";
121
- /**
122
- * @internal
123
- */
124
- constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
125
- }
126
61
  /**
127
62
  * @public
128
63
  */
@@ -165,18 +100,6 @@ export interface AddCommunicationToCaseResponse {
165
100
  */
166
101
  result?: boolean | undefined;
167
102
  }
168
- /**
169
- * <p>The requested <code>caseId</code> couldn't be located.</p>
170
- * @public
171
- */
172
- export declare class CaseIdNotFound extends __BaseException {
173
- readonly name: "CaseIdNotFound";
174
- readonly $fault: "client";
175
- /**
176
- * @internal
177
- */
178
- constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
179
- }
180
103
  /**
181
104
  * <p>The file name and ID of an attachment to a case communication. You can use the ID to
182
105
  * retrieve the attachment with the <a>DescribeAttachment</a> operation.</p>
@@ -194,30 +117,6 @@ export interface AttachmentDetails {
194
117
  */
195
118
  fileName?: string | undefined;
196
119
  }
197
- /**
198
- * <p>An attachment with the specified ID could not be found.</p>
199
- * @public
200
- */
201
- export declare class AttachmentIdNotFound extends __BaseException {
202
- readonly name: "AttachmentIdNotFound";
203
- readonly $fault: "client";
204
- /**
205
- * @internal
206
- */
207
- constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
208
- }
209
- /**
210
- * <p>The case creation limit for the account has been exceeded.</p>
211
- * @public
212
- */
213
- export declare class CaseCreationLimitExceeded extends __BaseException {
214
- readonly name: "CaseCreationLimitExceeded";
215
- readonly $fault: "client";
216
- /**
217
- * @internal
218
- */
219
- constructor(opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>);
220
- }
221
120
  /**
222
121
  * @public
223
122
  */
@@ -301,19 +200,6 @@ export interface CreateCaseResponse {
301
200
  */
302
201
  caseId?: string | undefined;
303
202
  }
304
- /**
305
- * <p>The limit for the number of <a>DescribeAttachment</a> requests in a short
306
- * period of time has been exceeded.</p>
307
- * @public
308
- */
309
- export declare class DescribeAttachmentLimitExceeded extends __BaseException {
310
- readonly name: "DescribeAttachmentLimitExceeded";
311
- readonly $fault: "client";
312
- /**
313
- * @internal
314
- */
315
- constructor(opts: __ExceptionOptionType<DescribeAttachmentLimitExceeded, __BaseException>);
316
- }
317
203
  /**
318
204
  * @public
319
205
  */
@@ -910,20 +796,6 @@ export interface DescribeCreateCaseOptionsResponse {
910
796
  */
911
797
  communicationTypes?: CommunicationTypeOptions[] | undefined;
912
798
  }
913
- /**
914
- * <p>
915
- * You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
916
- * </p>
917
- * @public
918
- */
919
- export declare class ThrottlingException extends __BaseException {
920
- readonly name: "ThrottlingException";
921
- readonly $fault: "client";
922
- /**
923
- * @internal
924
- */
925
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
926
- }
927
799
  /**
928
800
  * @public
929
801
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SupportExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,73 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
+ export declare class AttachmentLimitExceeded extends __BaseException {
4
+ readonly name: "AttachmentLimitExceeded";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>
8
+ );
9
+ }
10
+ export declare class AttachmentSetExpired extends __BaseException {
11
+ readonly name: "AttachmentSetExpired";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>
15
+ );
16
+ }
17
+ export declare class AttachmentSetIdNotFound extends __BaseException {
18
+ readonly name: "AttachmentSetIdNotFound";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>
22
+ );
23
+ }
24
+ export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
25
+ readonly name: "AttachmentSetSizeLimitExceeded";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>
29
+ );
30
+ }
31
+ export declare class InternalServerError extends __BaseException {
32
+ readonly name: "InternalServerError";
33
+ readonly $fault: "server";
34
+ constructor(
35
+ opts: __ExceptionOptionType<InternalServerError, __BaseException>
36
+ );
37
+ }
38
+ export declare class CaseIdNotFound extends __BaseException {
39
+ readonly name: "CaseIdNotFound";
40
+ readonly $fault: "client";
41
+ constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
42
+ }
43
+ export declare class AttachmentIdNotFound extends __BaseException {
44
+ readonly name: "AttachmentIdNotFound";
45
+ readonly $fault: "client";
46
+ constructor(
47
+ opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>
48
+ );
49
+ }
50
+ export declare class CaseCreationLimitExceeded extends __BaseException {
51
+ readonly name: "CaseCreationLimitExceeded";
52
+ readonly $fault: "client";
53
+ constructor(
54
+ opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>
55
+ );
56
+ }
57
+ export declare class DescribeAttachmentLimitExceeded extends __BaseException {
58
+ readonly name: "DescribeAttachmentLimitExceeded";
59
+ readonly $fault: "client";
60
+ constructor(
61
+ opts: __ExceptionOptionType<
62
+ DescribeAttachmentLimitExceeded,
63
+ __BaseException
64
+ >
65
+ );
66
+ }
67
+ export declare class ThrottlingException extends __BaseException {
68
+ readonly name: "ThrottlingException";
69
+ readonly $fault: "client";
70
+ constructor(
71
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
72
+ );
73
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
1
  export interface Attachment {
4
2
  fileName?: string | undefined;
5
3
  data?: Uint8Array | undefined;
@@ -12,41 +10,6 @@ export interface AddAttachmentsToSetResponse {
12
10
  attachmentSetId?: string | undefined;
13
11
  expiryTime?: string | undefined;
14
12
  }
15
- export declare class AttachmentLimitExceeded extends __BaseException {
16
- readonly name: "AttachmentLimitExceeded";
17
- readonly $fault: "client";
18
- constructor(
19
- opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>
20
- );
21
- }
22
- export declare class AttachmentSetExpired extends __BaseException {
23
- readonly name: "AttachmentSetExpired";
24
- readonly $fault: "client";
25
- constructor(
26
- opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>
27
- );
28
- }
29
- export declare class AttachmentSetIdNotFound extends __BaseException {
30
- readonly name: "AttachmentSetIdNotFound";
31
- readonly $fault: "client";
32
- constructor(
33
- opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>
34
- );
35
- }
36
- export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
37
- readonly name: "AttachmentSetSizeLimitExceeded";
38
- readonly $fault: "client";
39
- constructor(
40
- opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>
41
- );
42
- }
43
- export declare class InternalServerError extends __BaseException {
44
- readonly name: "InternalServerError";
45
- readonly $fault: "server";
46
- constructor(
47
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
48
- );
49
- }
50
13
  export interface AddCommunicationToCaseRequest {
51
14
  caseId?: string | undefined;
52
15
  communicationBody: string | undefined;
@@ -56,29 +19,10 @@ export interface AddCommunicationToCaseRequest {
56
19
  export interface AddCommunicationToCaseResponse {
57
20
  result?: boolean | undefined;
58
21
  }
59
- export declare class CaseIdNotFound extends __BaseException {
60
- readonly name: "CaseIdNotFound";
61
- readonly $fault: "client";
62
- constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
63
- }
64
22
  export interface AttachmentDetails {
65
23
  attachmentId?: string | undefined;
66
24
  fileName?: string | undefined;
67
25
  }
68
- export declare class AttachmentIdNotFound extends __BaseException {
69
- readonly name: "AttachmentIdNotFound";
70
- readonly $fault: "client";
71
- constructor(
72
- opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>
73
- );
74
- }
75
- export declare class CaseCreationLimitExceeded extends __BaseException {
76
- readonly name: "CaseCreationLimitExceeded";
77
- readonly $fault: "client";
78
- constructor(
79
- opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>
80
- );
81
- }
82
26
  export interface CreateCaseRequest {
83
27
  subject: string | undefined;
84
28
  serviceCode?: string | undefined;
@@ -93,16 +37,6 @@ export interface CreateCaseRequest {
93
37
  export interface CreateCaseResponse {
94
38
  caseId?: string | undefined;
95
39
  }
96
- export declare class DescribeAttachmentLimitExceeded extends __BaseException {
97
- readonly name: "DescribeAttachmentLimitExceeded";
98
- readonly $fault: "client";
99
- constructor(
100
- opts: __ExceptionOptionType<
101
- DescribeAttachmentLimitExceeded,
102
- __BaseException
103
- >
104
- );
105
- }
106
40
  export interface DescribeAttachmentRequest {
107
41
  attachmentId: string | undefined;
108
42
  }
@@ -183,13 +117,6 @@ export interface DescribeCreateCaseOptionsResponse {
183
117
  languageAvailability?: string | undefined;
184
118
  communicationTypes?: CommunicationTypeOptions[] | undefined;
185
119
  }
186
- export declare class ThrottlingException extends __BaseException {
187
- readonly name: "ThrottlingException";
188
- readonly $fault: "client";
189
- constructor(
190
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
191
- );
192
- }
193
120
  export interface DescribeServicesRequest {
194
121
  serviceCodeList?: string[] | undefined;
195
122
  language?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-support",
3
3
  "description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-support",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";