@aws-sdk/client-bedrock-agent 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/BedrockAgentServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/BedrockAgentServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/BedrockAgentServiceException.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 BedrockAgentServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagent#BedrockAgentServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, BedrockAgentServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class BedrockAgentServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends BedrockAgentServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.bedrockagent#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends BedrockAgentServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ConflictException extends BedrockAgentServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.bedrockagent#ConflictException";
|
|
154
157
|
name = "ConflictException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class ConflictException extends BedrockAgentServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class InternalServerException extends BedrockAgentServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.bedrockagent#InternalServerException";
|
|
166
170
|
name = "InternalServerException";
|
|
167
171
|
$fault = "server";
|
|
168
172
|
constructor(opts) {
|
|
@@ -175,6 +179,7 @@ class InternalServerException extends BedrockAgentServiceException {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
class ResourceNotFoundException extends BedrockAgentServiceException {
|
|
182
|
+
static shapeId = "com.amazonaws.bedrockagent#ResourceNotFoundException";
|
|
178
183
|
name = "ResourceNotFoundException";
|
|
179
184
|
$fault = "client";
|
|
180
185
|
constructor(opts) {
|
|
@@ -187,6 +192,7 @@ class ResourceNotFoundException extends BedrockAgentServiceException {
|
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
class ServiceQuotaExceededException extends BedrockAgentServiceException {
|
|
195
|
+
static shapeId = "com.amazonaws.bedrockagent#ServiceQuotaExceededException";
|
|
190
196
|
name = "ServiceQuotaExceededException";
|
|
191
197
|
$fault = "client";
|
|
192
198
|
constructor(opts) {
|
|
@@ -199,6 +205,7 @@ class ServiceQuotaExceededException extends BedrockAgentServiceException {
|
|
|
199
205
|
}
|
|
200
206
|
}
|
|
201
207
|
class ThrottlingException extends BedrockAgentServiceException {
|
|
208
|
+
static shapeId = "com.amazonaws.bedrockagent#ThrottlingException";
|
|
202
209
|
name = "ThrottlingException";
|
|
203
210
|
$fault = "client";
|
|
204
211
|
constructor(opts) {
|
|
@@ -211,6 +218,7 @@ class ThrottlingException extends BedrockAgentServiceException {
|
|
|
211
218
|
}
|
|
212
219
|
}
|
|
213
220
|
class ValidationException extends BedrockAgentServiceException {
|
|
221
|
+
static shapeId = "com.amazonaws.bedrockagent#ValidationException";
|
|
214
222
|
name = "ValidationException";
|
|
215
223
|
$fault = "client";
|
|
216
224
|
fieldList;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BedrockAgentServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagent#BedrockAgentServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BedrockAgentServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.bedrockagent#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.bedrockagent#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 InternalServerException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.bedrockagent#InternalServerException";
|
|
27
30
|
name = "InternalServerException";
|
|
28
31
|
$fault = "server";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class InternalServerException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.bedrockagent#ResourceNotFoundException";
|
|
39
43
|
name = "ResourceNotFoundException";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.bedrockagent#ServiceQuotaExceededException";
|
|
51
56
|
name = "ServiceQuotaExceededException";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
constructor(opts) {
|
|
@@ -60,6 +65,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
export class ThrottlingException extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.bedrockagent#ThrottlingException";
|
|
63
69
|
name = "ThrottlingException";
|
|
64
70
|
$fault = "client";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class ValidationException extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.bedrockagent#ValidationException";
|
|
75
82
|
name = "ValidationException";
|
|
76
83
|
$fault = "client";
|
|
77
84
|
fieldList;
|
|
@@ -6,6 +6,7 @@ import type { ValidationExceptionField } from "./models_0";
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "AccessDeniedException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
/**
|
|
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ConflictException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ConflictException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
/**
|
|
@@ -30,6 +32,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
30
32
|
* @public
|
|
31
33
|
*/
|
|
32
34
|
export declare class InternalServerException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
33
36
|
readonly name: "InternalServerException";
|
|
34
37
|
readonly $fault: "server";
|
|
35
38
|
/**
|
|
@@ -42,6 +45,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
47
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
45
49
|
readonly name: "ResourceNotFoundException";
|
|
46
50
|
readonly $fault: "client";
|
|
47
51
|
/**
|
|
@@ -54,6 +58,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
60
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
57
62
|
readonly name: "ServiceQuotaExceededException";
|
|
58
63
|
readonly $fault: "client";
|
|
59
64
|
/**
|
|
@@ -66,6 +71,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
66
71
|
* @public
|
|
67
72
|
*/
|
|
68
73
|
export declare class ThrottlingException extends __BaseException {
|
|
74
|
+
static readonly shapeId: string;
|
|
69
75
|
readonly name: "ThrottlingException";
|
|
70
76
|
readonly $fault: "client";
|
|
71
77
|
/**
|
|
@@ -78,6 +84,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
78
84
|
* @public
|
|
79
85
|
*/
|
|
80
86
|
export declare class ValidationException extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
81
88
|
readonly name: "ValidationException";
|
|
82
89
|
readonly $fault: "client";
|
|
83
90
|
/**
|
|
@@ -2,36 +2,43 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "AccessDeniedException";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ConflictException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ConflictException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
13
15
|
}
|
|
14
16
|
export declare class InternalServerException extends __BaseException {
|
|
17
|
+
static readonly shapeId: string;
|
|
15
18
|
readonly name: "InternalServerException";
|
|
16
19
|
readonly $fault: "server";
|
|
17
20
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "ResourceNotFoundException";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "ServiceQuotaExceededException";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class ThrottlingException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "ThrottlingException";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
33
39
|
}
|
|
34
40
|
export declare class ValidationException extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
35
42
|
readonly name: "ValidationException";
|
|
36
43
|
readonly $fault: "client";
|
|
37
44
|
fieldList?: ValidationExceptionField[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent 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",
|
|
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",
|