@aws-sdk/client-bedrock-agent-runtime 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 +12 -1
- package/dist-es/models/BedrockAgentRuntimeServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/BedrockAgentRuntimeServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/BedrockAgentRuntimeServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1148.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -133,6 +133,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
133
133
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
134
|
|
|
135
135
|
class BedrockAgentRuntimeServiceException extends ServiceException {
|
|
136
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentruntime#BedrockAgentRuntimeServiceException";
|
|
136
137
|
constructor(options) {
|
|
137
138
|
super(options);
|
|
138
139
|
Object.setPrototypeOf(this, BedrockAgentRuntimeServiceException.prototype);
|
|
@@ -140,6 +141,7 @@ class BedrockAgentRuntimeServiceException extends ServiceException {
|
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
class AccessDeniedException extends BedrockAgentRuntimeServiceException {
|
|
144
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#AccessDeniedException";
|
|
143
145
|
name = "AccessDeniedException";
|
|
144
146
|
$fault = "client";
|
|
145
147
|
constructor(opts) {
|
|
@@ -152,6 +154,7 @@ class AccessDeniedException extends BedrockAgentRuntimeServiceException {
|
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
156
|
class BadGatewayException extends BedrockAgentRuntimeServiceException {
|
|
157
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#BadGatewayException";
|
|
155
158
|
name = "BadGatewayException";
|
|
156
159
|
$fault = "server";
|
|
157
160
|
resourceName;
|
|
@@ -166,6 +169,7 @@ class BadGatewayException extends BedrockAgentRuntimeServiceException {
|
|
|
166
169
|
}
|
|
167
170
|
}
|
|
168
171
|
class ConflictException extends BedrockAgentRuntimeServiceException {
|
|
172
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ConflictException";
|
|
169
173
|
name = "ConflictException";
|
|
170
174
|
$fault = "client";
|
|
171
175
|
constructor(opts) {
|
|
@@ -178,6 +182,7 @@ class ConflictException extends BedrockAgentRuntimeServiceException {
|
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
class DependencyFailedException extends BedrockAgentRuntimeServiceException {
|
|
185
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#DependencyFailedException";
|
|
181
186
|
name = "DependencyFailedException";
|
|
182
187
|
$fault = "client";
|
|
183
188
|
resourceName;
|
|
@@ -192,6 +197,7 @@ class DependencyFailedException extends BedrockAgentRuntimeServiceException {
|
|
|
192
197
|
}
|
|
193
198
|
}
|
|
194
199
|
class InternalServerException extends BedrockAgentRuntimeServiceException {
|
|
200
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#InternalServerException";
|
|
195
201
|
name = "InternalServerException";
|
|
196
202
|
$fault = "server";
|
|
197
203
|
reason;
|
|
@@ -206,6 +212,7 @@ class InternalServerException extends BedrockAgentRuntimeServiceException {
|
|
|
206
212
|
}
|
|
207
213
|
}
|
|
208
214
|
class ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
|
|
215
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ResourceNotFoundException";
|
|
209
216
|
name = "ResourceNotFoundException";
|
|
210
217
|
$fault = "client";
|
|
211
218
|
constructor(opts) {
|
|
@@ -218,6 +225,7 @@ class ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
|
|
|
218
225
|
}
|
|
219
226
|
}
|
|
220
227
|
class ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException {
|
|
228
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ServiceQuotaExceededException";
|
|
221
229
|
name = "ServiceQuotaExceededException";
|
|
222
230
|
$fault = "client";
|
|
223
231
|
constructor(opts) {
|
|
@@ -230,6 +238,7 @@ class ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException
|
|
|
230
238
|
}
|
|
231
239
|
}
|
|
232
240
|
class ThrottlingException extends BedrockAgentRuntimeServiceException {
|
|
241
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ThrottlingException";
|
|
233
242
|
name = "ThrottlingException";
|
|
234
243
|
$fault = "client";
|
|
235
244
|
constructor(opts) {
|
|
@@ -242,6 +251,7 @@ class ThrottlingException extends BedrockAgentRuntimeServiceException {
|
|
|
242
251
|
}
|
|
243
252
|
}
|
|
244
253
|
class ValidationException extends BedrockAgentRuntimeServiceException {
|
|
254
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ValidationException";
|
|
245
255
|
name = "ValidationException";
|
|
246
256
|
$fault = "client";
|
|
247
257
|
constructor(opts) {
|
|
@@ -254,6 +264,7 @@ class ValidationException extends BedrockAgentRuntimeServiceException {
|
|
|
254
264
|
}
|
|
255
265
|
}
|
|
256
266
|
class ModelNotReadyException extends BedrockAgentRuntimeServiceException {
|
|
267
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ModelNotReadyException";
|
|
257
268
|
name = "ModelNotReadyException";
|
|
258
269
|
$fault = "client";
|
|
259
270
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BedrockAgentRuntimeServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentruntime#BedrockAgentRuntimeServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BedrockAgentRuntimeServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BedrockAgentRuntimeServiceException as __BaseException } from "./BedrockAgentRuntimeServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#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 BadGatewayException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#BadGatewayException";
|
|
15
17
|
name = "BadGatewayException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
resourceName;
|
|
@@ -26,6 +28,7 @@ export class BadGatewayException extends __BaseException {
|
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
export class ConflictException extends __BaseException {
|
|
31
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ConflictException";
|
|
29
32
|
name = "ConflictException";
|
|
30
33
|
$fault = "client";
|
|
31
34
|
constructor(opts) {
|
|
@@ -38,6 +41,7 @@ export class ConflictException extends __BaseException {
|
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
export class DependencyFailedException extends __BaseException {
|
|
44
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#DependencyFailedException";
|
|
41
45
|
name = "DependencyFailedException";
|
|
42
46
|
$fault = "client";
|
|
43
47
|
resourceName;
|
|
@@ -52,6 +56,7 @@ export class DependencyFailedException extends __BaseException {
|
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
export class InternalServerException extends __BaseException {
|
|
59
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#InternalServerException";
|
|
55
60
|
name = "InternalServerException";
|
|
56
61
|
$fault = "server";
|
|
57
62
|
reason;
|
|
@@ -66,6 +71,7 @@ export class InternalServerException extends __BaseException {
|
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
73
|
export class ResourceNotFoundException extends __BaseException {
|
|
74
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ResourceNotFoundException";
|
|
69
75
|
name = "ResourceNotFoundException";
|
|
70
76
|
$fault = "client";
|
|
71
77
|
constructor(opts) {
|
|
@@ -78,6 +84,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
86
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
87
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ServiceQuotaExceededException";
|
|
81
88
|
name = "ServiceQuotaExceededException";
|
|
82
89
|
$fault = "client";
|
|
83
90
|
constructor(opts) {
|
|
@@ -90,6 +97,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
90
97
|
}
|
|
91
98
|
}
|
|
92
99
|
export class ThrottlingException extends __BaseException {
|
|
100
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ThrottlingException";
|
|
93
101
|
name = "ThrottlingException";
|
|
94
102
|
$fault = "client";
|
|
95
103
|
constructor(opts) {
|
|
@@ -102,6 +110,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
102
110
|
}
|
|
103
111
|
}
|
|
104
112
|
export class ValidationException extends __BaseException {
|
|
113
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ValidationException";
|
|
105
114
|
name = "ValidationException";
|
|
106
115
|
$fault = "client";
|
|
107
116
|
constructor(opts) {
|
|
@@ -114,6 +123,7 @@ export class ValidationException extends __BaseException {
|
|
|
114
123
|
}
|
|
115
124
|
}
|
|
116
125
|
export class ModelNotReadyException extends __BaseException {
|
|
126
|
+
static shapeId = "com.amazonaws.bedrockagentruntime#ModelNotReadyException";
|
|
117
127
|
name = "ModelNotReadyException";
|
|
118
128
|
$fault = "client";
|
|
119
129
|
constructor(opts) {
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from BedrockAgentRuntime service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class BedrockAgentRuntimeServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -5,6 +5,7 @@ import { BedrockAgentRuntimeServiceException as __BaseException } from "./Bedroc
|
|
|
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
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
19
20
|
export declare class BadGatewayException extends __BaseException {
|
|
21
|
+
static readonly shapeId: string;
|
|
20
22
|
readonly name: "BadGatewayException";
|
|
21
23
|
readonly $fault: "server";
|
|
22
24
|
/**
|
|
@@ -34,6 +36,7 @@ export declare class BadGatewayException extends __BaseException {
|
|
|
34
36
|
* @public
|
|
35
37
|
*/
|
|
36
38
|
export declare class ConflictException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
37
40
|
readonly name: "ConflictException";
|
|
38
41
|
readonly $fault: "client";
|
|
39
42
|
/**
|
|
@@ -46,6 +49,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
export declare class DependencyFailedException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
49
53
|
readonly name: "DependencyFailedException";
|
|
50
54
|
readonly $fault: "client";
|
|
51
55
|
/**
|
|
@@ -63,6 +67,7 @@ export declare class DependencyFailedException extends __BaseException {
|
|
|
63
67
|
* @public
|
|
64
68
|
*/
|
|
65
69
|
export declare class InternalServerException extends __BaseException {
|
|
70
|
+
static readonly shapeId: string;
|
|
66
71
|
readonly name: "InternalServerException";
|
|
67
72
|
readonly $fault: "server";
|
|
68
73
|
/**
|
|
@@ -80,6 +85,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
80
85
|
* @public
|
|
81
86
|
*/
|
|
82
87
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
88
|
+
static readonly shapeId: string;
|
|
83
89
|
readonly name: "ResourceNotFoundException";
|
|
84
90
|
readonly $fault: "client";
|
|
85
91
|
/**
|
|
@@ -92,6 +98,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
92
98
|
* @public
|
|
93
99
|
*/
|
|
94
100
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
101
|
+
static readonly shapeId: string;
|
|
95
102
|
readonly name: "ServiceQuotaExceededException";
|
|
96
103
|
readonly $fault: "client";
|
|
97
104
|
/**
|
|
@@ -104,6 +111,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
104
111
|
* @public
|
|
105
112
|
*/
|
|
106
113
|
export declare class ThrottlingException extends __BaseException {
|
|
114
|
+
static readonly shapeId: string;
|
|
107
115
|
readonly name: "ThrottlingException";
|
|
108
116
|
readonly $fault: "client";
|
|
109
117
|
/**
|
|
@@ -116,6 +124,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
116
124
|
* @public
|
|
117
125
|
*/
|
|
118
126
|
export declare class ValidationException extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
119
128
|
readonly name: "ValidationException";
|
|
120
129
|
readonly $fault: "client";
|
|
121
130
|
/**
|
|
@@ -128,6 +137,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
128
137
|
* @public
|
|
129
138
|
*/
|
|
130
139
|
export declare class ModelNotReadyException extends __BaseException {
|
|
140
|
+
static readonly shapeId: string;
|
|
131
141
|
readonly name: "ModelNotReadyException";
|
|
132
142
|
readonly $fault: "client";
|
|
133
143
|
/**
|
|
@@ -1,54 +1,64 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { BedrockAgentRuntimeServiceException as __BaseException } from "./BedrockAgentRuntimeServiceException";
|
|
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 BadGatewayException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "BadGatewayException";
|
|
10
12
|
readonly $fault: "server";
|
|
11
13
|
resourceName?: string | undefined;
|
|
12
14
|
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
13
15
|
}
|
|
14
16
|
export declare class ConflictException extends __BaseException {
|
|
17
|
+
static readonly shapeId: string;
|
|
15
18
|
readonly name: "ConflictException";
|
|
16
19
|
readonly $fault: "client";
|
|
17
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class DependencyFailedException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "DependencyFailedException";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
resourceName?: string | undefined;
|
|
23
27
|
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
24
28
|
}
|
|
25
29
|
export declare class InternalServerException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
26
31
|
readonly name: "InternalServerException";
|
|
27
32
|
readonly $fault: "server";
|
|
28
33
|
reason?: string | undefined;
|
|
29
34
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
30
35
|
}
|
|
31
36
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
32
38
|
readonly name: "ResourceNotFoundException";
|
|
33
39
|
readonly $fault: "client";
|
|
34
40
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
35
41
|
}
|
|
36
42
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
43
|
+
static readonly shapeId: string;
|
|
37
44
|
readonly name: "ServiceQuotaExceededException";
|
|
38
45
|
readonly $fault: "client";
|
|
39
46
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
40
47
|
}
|
|
41
48
|
export declare class ThrottlingException extends __BaseException {
|
|
49
|
+
static readonly shapeId: string;
|
|
42
50
|
readonly name: "ThrottlingException";
|
|
43
51
|
readonly $fault: "client";
|
|
44
52
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
45
53
|
}
|
|
46
54
|
export declare class ValidationException extends __BaseException {
|
|
55
|
+
static readonly shapeId: string;
|
|
47
56
|
readonly name: "ValidationException";
|
|
48
57
|
readonly $fault: "client";
|
|
49
58
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
50
59
|
}
|
|
51
60
|
export declare class ModelNotReadyException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
52
62
|
readonly name: "ModelNotReadyException";
|
|
53
63
|
readonly $fault: "client";
|
|
54
64
|
constructor(opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent-runtime",
|
|
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",
|