@aws-sdk/client-odb 3.1148.0 → 3.1149.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 +9 -1
- package/dist-es/models/OdbServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/OdbServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/OdbServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -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.1148.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 OdbServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.odb#OdbServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, OdbServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class OdbServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends OdbServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.odb#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends OdbServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ConflictException extends OdbServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.odb#ConflictException";
|
|
154
157
|
name = "ConflictException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
resourceId;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends OdbServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends OdbServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.odb#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
$retryable = {};
|
|
@@ -182,6 +186,7 @@ class InternalServerException extends OdbServiceException {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
class ThrottlingException extends OdbServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.odb#ThrottlingException";
|
|
185
190
|
name = "ThrottlingException";
|
|
186
191
|
$fault = "client";
|
|
187
192
|
retryAfterSeconds;
|
|
@@ -196,6 +201,7 @@ class ThrottlingException extends OdbServiceException {
|
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
class ValidationException extends OdbServiceException {
|
|
204
|
+
static shapeId = "com.amazonaws.odb#ValidationException";
|
|
199
205
|
name = "ValidationException";
|
|
200
206
|
$fault = "client";
|
|
201
207
|
reason;
|
|
@@ -212,6 +218,7 @@ class ValidationException extends OdbServiceException {
|
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
class ResourceNotFoundException extends OdbServiceException {
|
|
221
|
+
static shapeId = "com.amazonaws.odb#ResourceNotFoundException";
|
|
215
222
|
name = "ResourceNotFoundException";
|
|
216
223
|
$fault = "client";
|
|
217
224
|
resourceId;
|
|
@@ -228,6 +235,7 @@ class ResourceNotFoundException extends OdbServiceException {
|
|
|
228
235
|
}
|
|
229
236
|
}
|
|
230
237
|
class ServiceQuotaExceededException extends OdbServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.odb#ServiceQuotaExceededException";
|
|
231
239
|
name = "ServiceQuotaExceededException";
|
|
232
240
|
$fault = "client";
|
|
233
241
|
resourceId;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class OdbServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.odb#OdbServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, OdbServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OdbServiceException as __BaseException } from "./OdbServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.odb#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.odb#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
resourceId;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.odb#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
$retryable = {};
|
|
@@ -43,6 +46,7 @@ export class InternalServerException extends __BaseException {
|
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
export class ThrottlingException extends __BaseException {
|
|
49
|
+
static shapeId = "com.amazonaws.odb#ThrottlingException";
|
|
46
50
|
name = "ThrottlingException";
|
|
47
51
|
$fault = "client";
|
|
48
52
|
retryAfterSeconds;
|
|
@@ -57,6 +61,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
export class ValidationException extends __BaseException {
|
|
64
|
+
static shapeId = "com.amazonaws.odb#ValidationException";
|
|
60
65
|
name = "ValidationException";
|
|
61
66
|
$fault = "client";
|
|
62
67
|
reason;
|
|
@@ -73,6 +78,7 @@ export class ValidationException extends __BaseException {
|
|
|
73
78
|
}
|
|
74
79
|
}
|
|
75
80
|
export class ResourceNotFoundException extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.odb#ResourceNotFoundException";
|
|
76
82
|
name = "ResourceNotFoundException";
|
|
77
83
|
$fault = "client";
|
|
78
84
|
resourceId;
|
|
@@ -89,6 +95,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
89
95
|
}
|
|
90
96
|
}
|
|
91
97
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
98
|
+
static shapeId = "com.amazonaws.odb#ServiceQuotaExceededException";
|
|
92
99
|
name = "ServiceQuotaExceededException";
|
|
93
100
|
$fault = "client";
|
|
94
101
|
resourceId;
|
|
@@ -7,6 +7,7 @@ import { OdbServiceException as __BaseException } from "./OdbServiceException";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ConflictException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ConflictException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
/**
|
|
@@ -41,6 +43,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
41
43
|
* @public
|
|
42
44
|
*/
|
|
43
45
|
export declare class InternalServerException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
44
47
|
readonly name: "InternalServerException";
|
|
45
48
|
readonly $fault: "server";
|
|
46
49
|
$retryable: {};
|
|
@@ -59,6 +62,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
59
62
|
* @public
|
|
60
63
|
*/
|
|
61
64
|
export declare class ThrottlingException extends __BaseException {
|
|
65
|
+
static readonly shapeId: string;
|
|
62
66
|
readonly name: "ThrottlingException";
|
|
63
67
|
readonly $fault: "client";
|
|
64
68
|
/**
|
|
@@ -76,6 +80,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
76
80
|
* @public
|
|
77
81
|
*/
|
|
78
82
|
export declare class ValidationException extends __BaseException {
|
|
83
|
+
static readonly shapeId: string;
|
|
79
84
|
readonly name: "ValidationException";
|
|
80
85
|
readonly $fault: "client";
|
|
81
86
|
/**
|
|
@@ -98,6 +103,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
98
103
|
* @public
|
|
99
104
|
*/
|
|
100
105
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
106
|
+
static readonly shapeId: string;
|
|
101
107
|
readonly name: "ResourceNotFoundException";
|
|
102
108
|
readonly $fault: "client";
|
|
103
109
|
/**
|
|
@@ -120,6 +126,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
120
126
|
* @public
|
|
121
127
|
*/
|
|
122
128
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
129
|
+
static readonly shapeId: string;
|
|
123
130
|
readonly name: "ServiceQuotaExceededException";
|
|
124
131
|
readonly $fault: "client";
|
|
125
132
|
/**
|
|
@@ -3,11 +3,13 @@ import { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { OdbServiceException as __BaseException } from "./OdbServiceException";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class ConflictException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "ConflictException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
resourceId: string | undefined;
|
|
@@ -15,6 +17,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "InternalServerException";
|
|
19
22
|
readonly $fault: "server";
|
|
20
23
|
$retryable: {};
|
|
@@ -22,12 +25,14 @@ export declare class InternalServerException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class ThrottlingException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "ThrottlingException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
retryAfterSeconds?: number | undefined;
|
|
28
32
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
29
33
|
}
|
|
30
34
|
export declare class ValidationException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
31
36
|
readonly name: "ValidationException";
|
|
32
37
|
readonly $fault: "client";
|
|
33
38
|
reason: ValidationExceptionReason | undefined;
|
|
@@ -35,6 +40,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
35
40
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
36
41
|
}
|
|
37
42
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
static readonly shapeId: string;
|
|
38
44
|
readonly name: "ResourceNotFoundException";
|
|
39
45
|
readonly $fault: "client";
|
|
40
46
|
resourceId: string | undefined;
|
|
@@ -42,6 +48,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
42
48
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
43
49
|
}
|
|
44
50
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
51
|
+
static readonly shapeId: string;
|
|
45
52
|
readonly name: "ServiceQuotaExceededException";
|
|
46
53
|
readonly $fault: "client";
|
|
47
54
|
resourceId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-odb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Odb Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-odb",
|
|
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.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
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",
|