@aws-sdk/client-support 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SupportServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +120 -1
- package/dist-cjs/protocols/Aws_json1_1.js +138 -371
- package/dist-es/index.js +1 -0
- package/dist-es/models/SupportServiceException.js +12 -0
- package/dist-es/models/models_0.js +110 -1
- package/dist-es/protocols/Aws_json1_1.js +280 -410
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SupportServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +47 -51
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SupportServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -37
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Support service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SupportServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SupportServiceException as __BaseException } from "./SupportServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>An attachment to a case communication. The attachment consists of the file name and
|
|
4
5
|
* the content of the file.</p>
|
|
@@ -70,62 +71,59 @@ export declare namespace AddAttachmentsToSetResponse {
|
|
|
70
71
|
* <p>The limit for the number of attachment sets created in a short period of time has been
|
|
71
72
|
* exceeded.</p>
|
|
72
73
|
*/
|
|
73
|
-
export
|
|
74
|
-
name: "AttachmentLimitExceeded";
|
|
75
|
-
$fault: "client";
|
|
74
|
+
export declare class AttachmentLimitExceeded extends __BaseException {
|
|
75
|
+
readonly name: "AttachmentLimitExceeded";
|
|
76
|
+
readonly $fault: "client";
|
|
76
77
|
/**
|
|
77
|
-
*
|
|
78
|
-
* exceeded.</p>
|
|
78
|
+
* @internal
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
constructor(opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>);
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* <p>The expiration time of the attachment set has passed. The set expires 1 hour after it
|
|
84
84
|
* is created.</p>
|
|
85
85
|
*/
|
|
86
|
-
export
|
|
87
|
-
name: "AttachmentSetExpired";
|
|
88
|
-
$fault: "client";
|
|
86
|
+
export declare class AttachmentSetExpired extends __BaseException {
|
|
87
|
+
readonly name: "AttachmentSetExpired";
|
|
88
|
+
readonly $fault: "client";
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
91
|
-
* it is created.</p>
|
|
90
|
+
* @internal
|
|
92
91
|
*/
|
|
93
|
-
|
|
92
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>);
|
|
94
93
|
}
|
|
95
94
|
/**
|
|
96
95
|
* <p>An attachment set with the specified ID could not be found.</p>
|
|
97
96
|
*/
|
|
98
|
-
export
|
|
99
|
-
name: "AttachmentSetIdNotFound";
|
|
100
|
-
$fault: "client";
|
|
97
|
+
export declare class AttachmentSetIdNotFound extends __BaseException {
|
|
98
|
+
readonly name: "AttachmentSetIdNotFound";
|
|
99
|
+
readonly $fault: "client";
|
|
101
100
|
/**
|
|
102
|
-
*
|
|
101
|
+
* @internal
|
|
103
102
|
*/
|
|
104
|
-
|
|
103
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>);
|
|
105
104
|
}
|
|
106
105
|
/**
|
|
107
106
|
* <p>A limit for the size of an attachment set has been exceeded. The limits are three
|
|
108
107
|
* attachments and 5 MB per attachment.</p>
|
|
109
108
|
*/
|
|
110
|
-
export
|
|
111
|
-
name: "AttachmentSetSizeLimitExceeded";
|
|
112
|
-
$fault: "client";
|
|
109
|
+
export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
|
|
110
|
+
readonly name: "AttachmentSetSizeLimitExceeded";
|
|
111
|
+
readonly $fault: "client";
|
|
113
112
|
/**
|
|
114
|
-
*
|
|
115
|
-
* attachments and 5 MB per attachment.</p>
|
|
113
|
+
* @internal
|
|
116
114
|
*/
|
|
117
|
-
|
|
115
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
|
|
118
116
|
}
|
|
119
117
|
/**
|
|
120
118
|
* <p>An internal server error occurred.</p>
|
|
121
119
|
*/
|
|
122
|
-
export
|
|
123
|
-
name: "InternalServerError";
|
|
124
|
-
$fault: "server";
|
|
120
|
+
export declare class InternalServerError extends __BaseException {
|
|
121
|
+
readonly name: "InternalServerError";
|
|
122
|
+
readonly $fault: "server";
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
124
|
+
* @internal
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
129
127
|
}
|
|
130
128
|
export interface AddCommunicationToCaseRequest {
|
|
131
129
|
/**
|
|
@@ -175,13 +173,13 @@ export declare namespace AddCommunicationToCaseResponse {
|
|
|
175
173
|
/**
|
|
176
174
|
* <p>The requested <code>caseId</code> couldn't be located.</p>
|
|
177
175
|
*/
|
|
178
|
-
export
|
|
179
|
-
name: "CaseIdNotFound";
|
|
180
|
-
$fault: "client";
|
|
176
|
+
export declare class CaseIdNotFound extends __BaseException {
|
|
177
|
+
readonly name: "CaseIdNotFound";
|
|
178
|
+
readonly $fault: "client";
|
|
181
179
|
/**
|
|
182
|
-
*
|
|
180
|
+
* @internal
|
|
183
181
|
*/
|
|
184
|
-
|
|
182
|
+
constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
|
|
185
183
|
}
|
|
186
184
|
/**
|
|
187
185
|
* <p>The file name and ID of an attachment to a case communication. You can use the ID to
|
|
@@ -206,25 +204,24 @@ export declare namespace AttachmentDetails {
|
|
|
206
204
|
/**
|
|
207
205
|
* <p>An attachment with the specified ID could not be found.</p>
|
|
208
206
|
*/
|
|
209
|
-
export
|
|
210
|
-
name: "AttachmentIdNotFound";
|
|
211
|
-
$fault: "client";
|
|
207
|
+
export declare class AttachmentIdNotFound extends __BaseException {
|
|
208
|
+
readonly name: "AttachmentIdNotFound";
|
|
209
|
+
readonly $fault: "client";
|
|
212
210
|
/**
|
|
213
|
-
*
|
|
211
|
+
* @internal
|
|
214
212
|
*/
|
|
215
|
-
|
|
213
|
+
constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
|
|
216
214
|
}
|
|
217
215
|
/**
|
|
218
216
|
* <p>The case creation limit for the account has been exceeded.</p>
|
|
219
217
|
*/
|
|
220
|
-
export
|
|
221
|
-
name: "CaseCreationLimitExceeded";
|
|
222
|
-
$fault: "client";
|
|
218
|
+
export declare class CaseCreationLimitExceeded extends __BaseException {
|
|
219
|
+
readonly name: "CaseCreationLimitExceeded";
|
|
220
|
+
readonly $fault: "client";
|
|
223
221
|
/**
|
|
224
|
-
*
|
|
225
|
-
* have open.</p>
|
|
222
|
+
* @internal
|
|
226
223
|
*/
|
|
227
|
-
|
|
224
|
+
constructor(opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>);
|
|
228
225
|
}
|
|
229
226
|
export interface CreateCaseRequest {
|
|
230
227
|
/**
|
|
@@ -311,14 +308,13 @@ export declare namespace CreateCaseResponse {
|
|
|
311
308
|
* <p>The limit for the number of <a>DescribeAttachment</a> requests in a short
|
|
312
309
|
* period of time has been exceeded.</p>
|
|
313
310
|
*/
|
|
314
|
-
export
|
|
315
|
-
name: "DescribeAttachmentLimitExceeded";
|
|
316
|
-
$fault: "client";
|
|
311
|
+
export declare class DescribeAttachmentLimitExceeded extends __BaseException {
|
|
312
|
+
readonly name: "DescribeAttachmentLimitExceeded";
|
|
313
|
+
readonly $fault: "client";
|
|
317
314
|
/**
|
|
318
|
-
*
|
|
319
|
-
* period of time has been exceeded.</p>
|
|
315
|
+
* @internal
|
|
320
316
|
*/
|
|
321
|
-
|
|
317
|
+
constructor(opts: __ExceptionOptionType<DescribeAttachmentLimitExceeded, __BaseException>);
|
|
322
318
|
}
|
|
323
319
|
export interface DescribeAttachmentRequest {
|
|
324
320
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SupportServiceException as __BaseException } from "./SupportServiceException";
|
|
2
3
|
|
|
3
4
|
export interface Attachment {
|
|
4
5
|
|
|
@@ -32,39 +33,39 @@ export declare namespace AddAttachmentsToSetResponse {
|
|
|
32
33
|
const filterSensitiveLog: (obj: AddAttachmentsToSetResponse) => any;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
export
|
|
36
|
-
name: "AttachmentLimitExceeded";
|
|
37
|
-
$fault: "client";
|
|
36
|
+
export declare class AttachmentLimitExceeded extends __BaseException {
|
|
37
|
+
readonly name: "AttachmentLimitExceeded";
|
|
38
|
+
readonly $fault: "client";
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
constructor(opts: __ExceptionOptionType<AttachmentLimitExceeded, __BaseException>);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
export
|
|
43
|
-
name: "AttachmentSetExpired";
|
|
44
|
-
$fault: "client";
|
|
43
|
+
export declare class AttachmentSetExpired extends __BaseException {
|
|
44
|
+
readonly name: "AttachmentSetExpired";
|
|
45
|
+
readonly $fault: "client";
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetExpired, __BaseException>);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
export
|
|
50
|
-
name: "AttachmentSetIdNotFound";
|
|
51
|
-
$fault: "client";
|
|
50
|
+
export declare class AttachmentSetIdNotFound extends __BaseException {
|
|
51
|
+
readonly name: "AttachmentSetIdNotFound";
|
|
52
|
+
readonly $fault: "client";
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetIdNotFound, __BaseException>);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
export
|
|
57
|
-
name: "AttachmentSetSizeLimitExceeded";
|
|
58
|
-
$fault: "client";
|
|
57
|
+
export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
|
|
58
|
+
readonly name: "AttachmentSetSizeLimitExceeded";
|
|
59
|
+
readonly $fault: "client";
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
export
|
|
64
|
-
name: "InternalServerError";
|
|
65
|
-
$fault: "server";
|
|
64
|
+
export declare class InternalServerError extends __BaseException {
|
|
65
|
+
readonly name: "InternalServerError";
|
|
66
|
+
readonly $fault: "server";
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
68
69
|
}
|
|
69
70
|
export interface AddCommunicationToCaseRequest {
|
|
70
71
|
|
|
@@ -90,11 +91,11 @@ export declare namespace AddCommunicationToCaseResponse {
|
|
|
90
91
|
const filterSensitiveLog: (obj: AddCommunicationToCaseResponse) => any;
|
|
91
92
|
}
|
|
92
93
|
|
|
93
|
-
export
|
|
94
|
-
name: "CaseIdNotFound";
|
|
95
|
-
$fault: "client";
|
|
94
|
+
export declare class CaseIdNotFound extends __BaseException {
|
|
95
|
+
readonly name: "CaseIdNotFound";
|
|
96
|
+
readonly $fault: "client";
|
|
96
97
|
|
|
97
|
-
|
|
98
|
+
constructor(opts: __ExceptionOptionType<CaseIdNotFound, __BaseException>);
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
export interface AttachmentDetails {
|
|
@@ -108,18 +109,18 @@ export declare namespace AttachmentDetails {
|
|
|
108
109
|
const filterSensitiveLog: (obj: AttachmentDetails) => any;
|
|
109
110
|
}
|
|
110
111
|
|
|
111
|
-
export
|
|
112
|
-
name: "AttachmentIdNotFound";
|
|
113
|
-
$fault: "client";
|
|
112
|
+
export declare class AttachmentIdNotFound extends __BaseException {
|
|
113
|
+
readonly name: "AttachmentIdNotFound";
|
|
114
|
+
readonly $fault: "client";
|
|
114
115
|
|
|
115
|
-
|
|
116
|
+
constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
|
|
116
117
|
}
|
|
117
118
|
|
|
118
|
-
export
|
|
119
|
-
name: "CaseCreationLimitExceeded";
|
|
120
|
-
$fault: "client";
|
|
119
|
+
export declare class CaseCreationLimitExceeded extends __BaseException {
|
|
120
|
+
readonly name: "CaseCreationLimitExceeded";
|
|
121
|
+
readonly $fault: "client";
|
|
121
122
|
|
|
122
|
-
|
|
123
|
+
constructor(opts: __ExceptionOptionType<CaseCreationLimitExceeded, __BaseException>);
|
|
123
124
|
}
|
|
124
125
|
export interface CreateCaseRequest {
|
|
125
126
|
|
|
@@ -155,11 +156,11 @@ export declare namespace CreateCaseResponse {
|
|
|
155
156
|
const filterSensitiveLog: (obj: CreateCaseResponse) => any;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
export
|
|
159
|
-
name: "DescribeAttachmentLimitExceeded";
|
|
160
|
-
$fault: "client";
|
|
159
|
+
export declare class DescribeAttachmentLimitExceeded extends __BaseException {
|
|
160
|
+
readonly name: "DescribeAttachmentLimitExceeded";
|
|
161
|
+
readonly $fault: "client";
|
|
161
162
|
|
|
162
|
-
|
|
163
|
+
constructor(opts: __ExceptionOptionType<DescribeAttachmentLimitExceeded, __BaseException>);
|
|
163
164
|
}
|
|
164
165
|
export interface DescribeAttachmentRequest {
|
|
165
166
|
|
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.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|