@aws-sdk/client-bedrock 3.1147.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 CHANGED
@@ -86,7 +86,7 @@ const commonParams = {
86
86
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
87
87
  };
88
88
 
89
- var version = "3.1146.0";
89
+ var version = "3.1148.0";
90
90
  var packageInfo = {
91
91
  version: version};
92
92
 
@@ -149,6 +149,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
149
149
  customEndpointFunctions.aws = awsEndpointFunctions;
150
150
 
151
151
  class BedrockServiceException extends ServiceException {
152
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrock#BedrockServiceException";
152
153
  constructor(options) {
153
154
  super(options);
154
155
  Object.setPrototypeOf(this, BedrockServiceException.prototype);
@@ -156,6 +157,7 @@ class BedrockServiceException extends ServiceException {
156
157
  }
157
158
 
158
159
  class AccessDeniedException extends BedrockServiceException {
160
+ static shapeId = "com.amazonaws.bedrock#AccessDeniedException";
159
161
  name = "AccessDeniedException";
160
162
  $fault = "client";
161
163
  constructor(opts) {
@@ -168,6 +170,7 @@ class AccessDeniedException extends BedrockServiceException {
168
170
  }
169
171
  }
170
172
  class InternalServerException extends BedrockServiceException {
173
+ static shapeId = "com.amazonaws.bedrock#InternalServerException";
171
174
  name = "InternalServerException";
172
175
  $fault = "server";
173
176
  constructor(opts) {
@@ -180,6 +183,7 @@ class InternalServerException extends BedrockServiceException {
180
183
  }
181
184
  }
182
185
  class ThrottlingException extends BedrockServiceException {
186
+ static shapeId = "com.amazonaws.bedrock#ThrottlingException";
183
187
  name = "ThrottlingException";
184
188
  $fault = "client";
185
189
  constructor(opts) {
@@ -192,6 +196,7 @@ class ThrottlingException extends BedrockServiceException {
192
196
  }
193
197
  }
194
198
  class ValidationException extends BedrockServiceException {
199
+ static shapeId = "com.amazonaws.bedrock#ValidationException";
195
200
  name = "ValidationException";
196
201
  $fault = "client";
197
202
  constructor(opts) {
@@ -204,6 +209,7 @@ class ValidationException extends BedrockServiceException {
204
209
  }
205
210
  }
206
211
  class ConflictException extends BedrockServiceException {
212
+ static shapeId = "com.amazonaws.bedrock#ConflictException";
207
213
  name = "ConflictException";
208
214
  $fault = "client";
209
215
  constructor(opts) {
@@ -216,6 +222,7 @@ class ConflictException extends BedrockServiceException {
216
222
  }
217
223
  }
218
224
  class ResourceNotFoundException extends BedrockServiceException {
225
+ static shapeId = "com.amazonaws.bedrock#ResourceNotFoundException";
219
226
  name = "ResourceNotFoundException";
220
227
  $fault = "client";
221
228
  constructor(opts) {
@@ -228,6 +235,7 @@ class ResourceNotFoundException extends BedrockServiceException {
228
235
  }
229
236
  }
230
237
  class ServiceQuotaExceededException extends BedrockServiceException {
238
+ static shapeId = "com.amazonaws.bedrock#ServiceQuotaExceededException";
231
239
  name = "ServiceQuotaExceededException";
232
240
  $fault = "client";
233
241
  constructor(opts) {
@@ -240,6 +248,7 @@ class ServiceQuotaExceededException extends BedrockServiceException {
240
248
  }
241
249
  }
242
250
  class TooManyTagsException extends BedrockServiceException {
251
+ static shapeId = "com.amazonaws.bedrock#TooManyTagsException";
243
252
  name = "TooManyTagsException";
244
253
  $fault = "client";
245
254
  resourceName;
@@ -254,6 +263,7 @@ class TooManyTagsException extends BedrockServiceException {
254
263
  }
255
264
  }
256
265
  class ResourceInUseException extends BedrockServiceException {
266
+ static shapeId = "com.amazonaws.bedrock#ResourceInUseException";
257
267
  name = "ResourceInUseException";
258
268
  $fault = "client";
259
269
  constructor(opts) {
@@ -266,6 +276,7 @@ class ResourceInUseException extends BedrockServiceException {
266
276
  }
267
277
  }
268
278
  class ServiceUnavailableException extends BedrockServiceException {
279
+ static shapeId = "com.amazonaws.bedrock#ServiceUnavailableException";
269
280
  name = "ServiceUnavailableException";
270
281
  $fault = "server";
271
282
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class BedrockServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.bedrock#BedrockServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, BedrockServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.bedrock#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 InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.bedrock#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ThrottlingException extends __BaseException {
29
+ static shapeId = "com.amazonaws.bedrock#ThrottlingException";
27
30
  name = "ThrottlingException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ThrottlingException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class ValidationException extends __BaseException {
42
+ static shapeId = "com.amazonaws.bedrock#ValidationException";
39
43
  name = "ValidationException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class ValidationException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class ConflictException extends __BaseException {
55
+ static shapeId = "com.amazonaws.bedrock#ConflictException";
51
56
  name = "ConflictException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class ConflictException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class ResourceNotFoundException extends __BaseException {
68
+ static shapeId = "com.amazonaws.bedrock#ResourceNotFoundException";
63
69
  name = "ResourceNotFoundException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class ResourceNotFoundException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class ServiceQuotaExceededException extends __BaseException {
81
+ static shapeId = "com.amazonaws.bedrock#ServiceQuotaExceededException";
75
82
  name = "ServiceQuotaExceededException";
76
83
  $fault = "client";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class ServiceQuotaExceededException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class TooManyTagsException extends __BaseException {
94
+ static shapeId = "com.amazonaws.bedrock#TooManyTagsException";
87
95
  name = "TooManyTagsException";
88
96
  $fault = "client";
89
97
  resourceName;
@@ -98,6 +106,7 @@ export class TooManyTagsException extends __BaseException {
98
106
  }
99
107
  }
100
108
  export class ResourceInUseException extends __BaseException {
109
+ static shapeId = "com.amazonaws.bedrock#ResourceInUseException";
101
110
  name = "ResourceInUseException";
102
111
  $fault = "client";
103
112
  constructor(opts) {
@@ -110,6 +119,7 @@ export class ResourceInUseException extends __BaseException {
110
119
  }
111
120
  }
112
121
  export class ServiceUnavailableException extends __BaseException {
122
+ static shapeId = "com.amazonaws.bedrock#ServiceUnavailableException";
113
123
  name = "ServiceUnavailableException";
114
124
  $fault = "server";
115
125
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Bedrock service.
8
8
  */
9
9
  export declare class BedrockServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { BedrockServiceException as __BaseException } from "./BedrockServiceExce
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 InternalServerException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "InternalServerException";
21
23
  readonly $fault: "server";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class InternalServerException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class ThrottlingException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "ThrottlingException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -41,6 +44,7 @@ export declare class ThrottlingException extends __BaseException {
41
44
  * @public
42
45
  */
43
46
  export declare class ValidationException extends __BaseException {
47
+ static readonly shapeId: string;
44
48
  readonly name: "ValidationException";
45
49
  readonly $fault: "client";
46
50
  /**
@@ -53,6 +57,7 @@ export declare class ValidationException extends __BaseException {
53
57
  * @public
54
58
  */
55
59
  export declare class ConflictException extends __BaseException {
60
+ static readonly shapeId: string;
56
61
  readonly name: "ConflictException";
57
62
  readonly $fault: "client";
58
63
  /**
@@ -65,6 +70,7 @@ export declare class ConflictException extends __BaseException {
65
70
  * @public
66
71
  */
67
72
  export declare class ResourceNotFoundException extends __BaseException {
73
+ static readonly shapeId: string;
68
74
  readonly name: "ResourceNotFoundException";
69
75
  readonly $fault: "client";
70
76
  /**
@@ -77,6 +83,7 @@ export declare class ResourceNotFoundException extends __BaseException {
77
83
  * @public
78
84
  */
79
85
  export declare class ServiceQuotaExceededException extends __BaseException {
86
+ static readonly shapeId: string;
80
87
  readonly name: "ServiceQuotaExceededException";
81
88
  readonly $fault: "client";
82
89
  /**
@@ -89,6 +96,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
89
96
  * @public
90
97
  */
91
98
  export declare class TooManyTagsException extends __BaseException {
99
+ static readonly shapeId: string;
92
100
  readonly name: "TooManyTagsException";
93
101
  readonly $fault: "client";
94
102
  /**
@@ -106,6 +114,7 @@ export declare class TooManyTagsException extends __BaseException {
106
114
  * @public
107
115
  */
108
116
  export declare class ResourceInUseException extends __BaseException {
117
+ static readonly shapeId: string;
109
118
  readonly name: "ResourceInUseException";
110
119
  readonly $fault: "client";
111
120
  /**
@@ -118,6 +127,7 @@ export declare class ResourceInUseException extends __BaseException {
118
127
  * @public
119
128
  */
120
129
  export declare class ServiceUnavailableException extends __BaseException {
130
+ static readonly shapeId: string;
121
131
  readonly name: "ServiceUnavailableException";
122
132
  readonly $fault: "server";
123
133
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class BedrockServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,52 +1,62 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
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 InternalServerException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "InternalServerException";
10
12
  readonly $fault: "server";
11
13
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
12
14
  }
13
15
  export declare class ThrottlingException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "ThrottlingException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
17
20
  }
18
21
  export declare class ValidationException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "ValidationException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
22
26
  }
23
27
  export declare class ConflictException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "ConflictException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
27
32
  }
28
33
  export declare class ResourceNotFoundException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "ResourceNotFoundException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
32
38
  }
33
39
  export declare class ServiceQuotaExceededException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "ServiceQuotaExceededException";
35
42
  readonly $fault: "client";
36
43
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
37
44
  }
38
45
  export declare class TooManyTagsException extends __BaseException {
46
+ static readonly shapeId: string;
39
47
  readonly name: "TooManyTagsException";
40
48
  readonly $fault: "client";
41
49
  resourceName?: string | undefined;
42
50
  constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
43
51
  }
44
52
  export declare class ResourceInUseException extends __BaseException {
53
+ static readonly shapeId: string;
45
54
  readonly name: "ResourceInUseException";
46
55
  readonly $fault: "client";
47
56
  constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
48
57
  }
49
58
  export declare class ServiceUnavailableException extends __BaseException {
59
+ static readonly shapeId: string;
50
60
  readonly name: "ServiceUnavailableException";
51
61
  readonly $fault: "server";
52
62
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock",
6
6
  "license": "Apache-2.0",
@@ -46,11 +46,11 @@
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.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
51
- "@aws-sdk/token-providers": "3.1147.0",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
+ "@aws-sdk/token-providers": "3.1149.0",
52
52
  "@aws-sdk/types": "^3.974.6",
53
- "@smithy/core": "^3.35.0",
53
+ "@smithy/core": "^3.35.2",
54
54
  "@smithy/fetch-http-handler": "^5.8.0",
55
55
  "@smithy/node-http-handler": "^4.12.1",
56
56
  "@smithy/types": "^4.19.0",