@aws-sdk/client-wisdom 3.1148.0 → 3.1150.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-cjs/index.js +10 -1
- package/dist-es/models/WisdomServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/WisdomServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/WisdomServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class WisdomServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.wisdom#WisdomServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, WisdomServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class WisdomServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends WisdomServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.wisdom#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends WisdomServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ConflictException extends WisdomServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.wisdom#ConflictException";
|
|
154
157
|
name = "ConflictException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class ConflictException extends WisdomServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class ResourceNotFoundException extends WisdomServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.wisdom#ResourceNotFoundException";
|
|
166
170
|
name = "ResourceNotFoundException";
|
|
167
171
|
$fault = "client";
|
|
168
172
|
resourceName;
|
|
@@ -177,6 +181,7 @@ class ResourceNotFoundException extends WisdomServiceException {
|
|
|
177
181
|
}
|
|
178
182
|
}
|
|
179
183
|
class ServiceQuotaExceededException extends WisdomServiceException {
|
|
184
|
+
static shapeId = "com.amazonaws.wisdom#ServiceQuotaExceededException";
|
|
180
185
|
name = "ServiceQuotaExceededException";
|
|
181
186
|
$fault = "client";
|
|
182
187
|
constructor(opts) {
|
|
@@ -189,6 +194,7 @@ class ServiceQuotaExceededException extends WisdomServiceException {
|
|
|
189
194
|
}
|
|
190
195
|
}
|
|
191
196
|
class ValidationException extends WisdomServiceException {
|
|
197
|
+
static shapeId = "com.amazonaws.wisdom#ValidationException";
|
|
192
198
|
name = "ValidationException";
|
|
193
199
|
$fault = "client";
|
|
194
200
|
constructor(opts) {
|
|
@@ -201,6 +207,7 @@ class ValidationException extends WisdomServiceException {
|
|
|
201
207
|
}
|
|
202
208
|
}
|
|
203
209
|
class RequestTimeoutException extends WisdomServiceException {
|
|
210
|
+
static shapeId = "com.amazonaws.wisdom#RequestTimeoutException";
|
|
204
211
|
name = "RequestTimeoutException";
|
|
205
212
|
$fault = "client";
|
|
206
213
|
$retryable = {};
|
|
@@ -214,6 +221,7 @@ class RequestTimeoutException extends WisdomServiceException {
|
|
|
214
221
|
}
|
|
215
222
|
}
|
|
216
223
|
class PreconditionFailedException extends WisdomServiceException {
|
|
224
|
+
static shapeId = "com.amazonaws.wisdom#PreconditionFailedException";
|
|
217
225
|
name = "PreconditionFailedException";
|
|
218
226
|
$fault = "client";
|
|
219
227
|
constructor(opts) {
|
|
@@ -226,6 +234,7 @@ class PreconditionFailedException extends WisdomServiceException {
|
|
|
226
234
|
}
|
|
227
235
|
}
|
|
228
236
|
class TooManyTagsException extends WisdomServiceException {
|
|
237
|
+
static shapeId = "com.amazonaws.wisdom#TooManyTagsException";
|
|
229
238
|
name = "TooManyTagsException";
|
|
230
239
|
$fault = "client";
|
|
231
240
|
resourceName;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class WisdomServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.wisdom#WisdomServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, WisdomServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.wisdom#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.wisdom#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class ConflictException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.wisdom#ResourceNotFoundException";
|
|
27
30
|
name = "ResourceNotFoundException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
resourceName;
|
|
@@ -38,6 +41,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
44
|
+
static shapeId = "com.amazonaws.wisdom#ServiceQuotaExceededException";
|
|
41
45
|
name = "ServiceQuotaExceededException";
|
|
42
46
|
$fault = "client";
|
|
43
47
|
constructor(opts) {
|
|
@@ -50,6 +54,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
export class ValidationException extends __BaseException {
|
|
57
|
+
static shapeId = "com.amazonaws.wisdom#ValidationException";
|
|
53
58
|
name = "ValidationException";
|
|
54
59
|
$fault = "client";
|
|
55
60
|
constructor(opts) {
|
|
@@ -62,6 +67,7 @@ export class ValidationException extends __BaseException {
|
|
|
62
67
|
}
|
|
63
68
|
}
|
|
64
69
|
export class RequestTimeoutException extends __BaseException {
|
|
70
|
+
static shapeId = "com.amazonaws.wisdom#RequestTimeoutException";
|
|
65
71
|
name = "RequestTimeoutException";
|
|
66
72
|
$fault = "client";
|
|
67
73
|
$retryable = {};
|
|
@@ -75,6 +81,7 @@ export class RequestTimeoutException extends __BaseException {
|
|
|
75
81
|
}
|
|
76
82
|
}
|
|
77
83
|
export class PreconditionFailedException extends __BaseException {
|
|
84
|
+
static shapeId = "com.amazonaws.wisdom#PreconditionFailedException";
|
|
78
85
|
name = "PreconditionFailedException";
|
|
79
86
|
$fault = "client";
|
|
80
87
|
constructor(opts) {
|
|
@@ -87,6 +94,7 @@ export class PreconditionFailedException extends __BaseException {
|
|
|
87
94
|
}
|
|
88
95
|
}
|
|
89
96
|
export class TooManyTagsException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.wisdom#TooManyTagsException";
|
|
90
98
|
name = "TooManyTagsException";
|
|
91
99
|
$fault = "client";
|
|
92
100
|
resourceName;
|
|
@@ -5,6 +5,7 @@ import { WisdomServiceException as __BaseException } from "./WisdomServiceExcept
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -20,6 +21,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
23
|
export declare class ConflictException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
23
25
|
readonly name: "ConflictException";
|
|
24
26
|
readonly $fault: "client";
|
|
25
27
|
/**
|
|
@@ -32,6 +34,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
36
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
35
38
|
readonly name: "ResourceNotFoundException";
|
|
36
39
|
readonly $fault: "client";
|
|
37
40
|
/**
|
|
@@ -50,6 +53,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
50
53
|
* @public
|
|
51
54
|
*/
|
|
52
55
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
53
57
|
readonly name: "ServiceQuotaExceededException";
|
|
54
58
|
readonly $fault: "client";
|
|
55
59
|
/**
|
|
@@ -62,6 +66,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
62
66
|
* @public
|
|
63
67
|
*/
|
|
64
68
|
export declare class ValidationException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
65
70
|
readonly name: "ValidationException";
|
|
66
71
|
readonly $fault: "client";
|
|
67
72
|
/**
|
|
@@ -76,6 +81,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
76
81
|
* @public
|
|
77
82
|
*/
|
|
78
83
|
export declare class RequestTimeoutException extends __BaseException {
|
|
84
|
+
static readonly shapeId: string;
|
|
79
85
|
readonly name: "RequestTimeoutException";
|
|
80
86
|
readonly $fault: "client";
|
|
81
87
|
$retryable: {};
|
|
@@ -90,6 +96,7 @@ export declare class RequestTimeoutException extends __BaseException {
|
|
|
90
96
|
* @public
|
|
91
97
|
*/
|
|
92
98
|
export declare class PreconditionFailedException extends __BaseException {
|
|
99
|
+
static readonly shapeId: string;
|
|
93
100
|
readonly name: "PreconditionFailedException";
|
|
94
101
|
readonly $fault: "client";
|
|
95
102
|
/**
|
|
@@ -102,6 +109,7 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
102
109
|
* @public
|
|
103
110
|
*/
|
|
104
111
|
export declare class TooManyTagsException extends __BaseException {
|
|
112
|
+
static readonly shapeId: string;
|
|
105
113
|
readonly name: "TooManyTagsException";
|
|
106
114
|
readonly $fault: "client";
|
|
107
115
|
/**
|
|
@@ -1,43 +1,51 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class ConflictException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "ConflictException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "ResourceNotFoundException";
|
|
15
18
|
readonly $fault: "client";
|
|
16
19
|
resourceName?: string | undefined;
|
|
17
20
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "ServiceQuotaExceededException";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class ValidationException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "ValidationException";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class RequestTimeoutException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "RequestTimeoutException";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
$retryable: {};
|
|
33
39
|
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
34
40
|
}
|
|
35
41
|
export declare class PreconditionFailedException extends __BaseException {
|
|
42
|
+
static readonly shapeId: string;
|
|
36
43
|
readonly name: "PreconditionFailedException";
|
|
37
44
|
readonly $fault: "client";
|
|
38
45
|
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
39
46
|
}
|
|
40
47
|
export declare class TooManyTagsException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
41
49
|
readonly name: "TooManyTagsException";
|
|
42
50
|
readonly $fault: "client";
|
|
43
51
|
resourceName?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wisdom",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-wisdom",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|