@aws-sdk/client-bedrock-agentcore-control 3.933.0 → 3.935.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.
@@ -0,0 +1,175 @@
1
+ import { BedrockAgentCoreControlServiceException as __BaseException } from "./BedrockAgentCoreControlServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ name = "InternalServerException";
28
+ $fault = "server";
29
+ constructor(opts) {
30
+ super({
31
+ name: "InternalServerException",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, InternalServerException.prototype);
36
+ }
37
+ }
38
+ export class ResourceNotFoundException extends __BaseException {
39
+ name = "ResourceNotFoundException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ResourceNotFoundException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
48
+ }
49
+ }
50
+ export class ServiceQuotaExceededException extends __BaseException {
51
+ name = "ServiceQuotaExceededException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "ServiceQuotaExceededException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
60
+ }
61
+ }
62
+ export class ThrottlingException extends __BaseException {
63
+ name = "ThrottlingException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "ThrottlingException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
72
+ }
73
+ }
74
+ export class ValidationException extends __BaseException {
75
+ name = "ValidationException";
76
+ $fault = "client";
77
+ reason;
78
+ fieldList;
79
+ constructor(opts) {
80
+ super({
81
+ name: "ValidationException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, ValidationException.prototype);
86
+ this.reason = opts.reason;
87
+ this.fieldList = opts.fieldList;
88
+ }
89
+ }
90
+ export class DecryptionFailure extends __BaseException {
91
+ name = "DecryptionFailure";
92
+ $fault = "client";
93
+ constructor(opts) {
94
+ super({
95
+ name: "DecryptionFailure",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ Object.setPrototypeOf(this, DecryptionFailure.prototype);
100
+ }
101
+ }
102
+ export class EncryptionFailure extends __BaseException {
103
+ name = "EncryptionFailure";
104
+ $fault = "client";
105
+ constructor(opts) {
106
+ super({
107
+ name: "EncryptionFailure",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, EncryptionFailure.prototype);
112
+ }
113
+ }
114
+ export class ResourceLimitExceededException extends __BaseException {
115
+ name = "ResourceLimitExceededException";
116
+ $fault = "client";
117
+ constructor(opts) {
118
+ super({
119
+ name: "ResourceLimitExceededException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
124
+ }
125
+ }
126
+ export class UnauthorizedException extends __BaseException {
127
+ name = "UnauthorizedException";
128
+ $fault = "client";
129
+ constructor(opts) {
130
+ super({
131
+ name: "UnauthorizedException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
136
+ }
137
+ }
138
+ export class ServiceException extends __BaseException {
139
+ name = "ServiceException";
140
+ $fault = "server";
141
+ $retryable = {};
142
+ constructor(opts) {
143
+ super({
144
+ name: "ServiceException",
145
+ $fault: "server",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, ServiceException.prototype);
149
+ }
150
+ }
151
+ export class ThrottledException extends __BaseException {
152
+ name = "ThrottledException";
153
+ $fault = "client";
154
+ $retryable = {};
155
+ constructor(opts) {
156
+ super({
157
+ name: "ThrottledException",
158
+ $fault: "client",
159
+ ...opts,
160
+ });
161
+ Object.setPrototypeOf(this, ThrottledException.prototype);
162
+ }
163
+ }
164
+ export class ConcurrentModificationException extends __BaseException {
165
+ name = "ConcurrentModificationException";
166
+ $fault = "client";
167
+ constructor(opts) {
168
+ super({
169
+ name: "ConcurrentModificationException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
174
+ }
175
+ }
@@ -1,345 +1 @@
1
- import { BedrockAgentCoreControlServiceException as __BaseException } from "./BedrockAgentCoreControlServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export class ConflictException extends __BaseException {
15
- name = "ConflictException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "ConflictException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, ConflictException.prototype);
24
- }
25
- }
26
- export const AgentRuntimeEndpointStatus = {
27
- CREATE_FAILED: "CREATE_FAILED",
28
- CREATING: "CREATING",
29
- DELETING: "DELETING",
30
- READY: "READY",
31
- UPDATE_FAILED: "UPDATE_FAILED",
32
- UPDATING: "UPDATING",
33
- };
34
- export class InternalServerException extends __BaseException {
35
- name = "InternalServerException";
36
- $fault = "server";
37
- constructor(opts) {
38
- super({
39
- name: "InternalServerException",
40
- $fault: "server",
41
- ...opts,
42
- });
43
- Object.setPrototypeOf(this, InternalServerException.prototype);
44
- }
45
- }
46
- export class ResourceNotFoundException extends __BaseException {
47
- name = "ResourceNotFoundException";
48
- $fault = "client";
49
- constructor(opts) {
50
- super({
51
- name: "ResourceNotFoundException",
52
- $fault: "client",
53
- ...opts,
54
- });
55
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
56
- }
57
- }
58
- export class ServiceQuotaExceededException extends __BaseException {
59
- name = "ServiceQuotaExceededException";
60
- $fault = "client";
61
- constructor(opts) {
62
- super({
63
- name: "ServiceQuotaExceededException",
64
- $fault: "client",
65
- ...opts,
66
- });
67
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
68
- }
69
- }
70
- export class ThrottlingException extends __BaseException {
71
- name = "ThrottlingException";
72
- $fault = "client";
73
- constructor(opts) {
74
- super({
75
- name: "ThrottlingException",
76
- $fault: "client",
77
- ...opts,
78
- });
79
- Object.setPrototypeOf(this, ThrottlingException.prototype);
80
- }
81
- }
82
- export const ValidationExceptionReason = {
83
- CANNOT_PARSE: "CannotParse",
84
- FIELD_VALIDATION_FAILED: "FieldValidationFailed",
85
- IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException",
86
- RESOURCE_CONFLICT: "ResourceConflict",
87
- ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
88
- };
89
- export class ValidationException extends __BaseException {
90
- name = "ValidationException";
91
- $fault = "client";
92
- reason;
93
- fieldList;
94
- constructor(opts) {
95
- super({
96
- name: "ValidationException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- Object.setPrototypeOf(this, ValidationException.prototype);
101
- this.reason = opts.reason;
102
- this.fieldList = opts.fieldList;
103
- }
104
- }
105
- export const AgentManagedRuntimeType = {
106
- PYTHON_3_10: "PYTHON_3_10",
107
- PYTHON_3_11: "PYTHON_3_11",
108
- PYTHON_3_12: "PYTHON_3_12",
109
- PYTHON_3_13: "PYTHON_3_13",
110
- };
111
- export const NetworkMode = {
112
- PUBLIC: "PUBLIC",
113
- VPC: "VPC",
114
- };
115
- export const ServerProtocol = {
116
- A2A: "A2A",
117
- HTTP: "HTTP",
118
- MCP: "MCP",
119
- };
120
- export const AgentRuntimeStatus = {
121
- CREATE_FAILED: "CREATE_FAILED",
122
- CREATING: "CREATING",
123
- DELETING: "DELETING",
124
- READY: "READY",
125
- UPDATE_FAILED: "UPDATE_FAILED",
126
- UPDATING: "UPDATING",
127
- };
128
- export class DecryptionFailure extends __BaseException {
129
- name = "DecryptionFailure";
130
- $fault = "client";
131
- constructor(opts) {
132
- super({
133
- name: "DecryptionFailure",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- Object.setPrototypeOf(this, DecryptionFailure.prototype);
138
- }
139
- }
140
- export class EncryptionFailure extends __BaseException {
141
- name = "EncryptionFailure";
142
- $fault = "client";
143
- constructor(opts) {
144
- super({
145
- name: "EncryptionFailure",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- Object.setPrototypeOf(this, EncryptionFailure.prototype);
150
- }
151
- }
152
- export class ResourceLimitExceededException extends __BaseException {
153
- name = "ResourceLimitExceededException";
154
- $fault = "client";
155
- constructor(opts) {
156
- super({
157
- name: "ResourceLimitExceededException",
158
- $fault: "client",
159
- ...opts,
160
- });
161
- Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
162
- }
163
- }
164
- export class UnauthorizedException extends __BaseException {
165
- name = "UnauthorizedException";
166
- $fault = "client";
167
- constructor(opts) {
168
- super({
169
- name: "UnauthorizedException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
174
- }
175
- }
176
- export const BrowserNetworkMode = {
177
- PUBLIC: "PUBLIC",
178
- VPC: "VPC",
179
- };
180
- export const BrowserStatus = {
181
- CREATE_FAILED: "CREATE_FAILED",
182
- CREATING: "CREATING",
183
- DELETED: "DELETED",
184
- DELETE_FAILED: "DELETE_FAILED",
185
- DELETING: "DELETING",
186
- READY: "READY",
187
- };
188
- export const ResourceType = {
189
- CUSTOM: "CUSTOM",
190
- SYSTEM: "SYSTEM",
191
- };
192
- export const CodeInterpreterNetworkMode = {
193
- PUBLIC: "PUBLIC",
194
- SANDBOX: "SANDBOX",
195
- VPC: "VPC",
196
- };
197
- export const CodeInterpreterStatus = {
198
- CREATE_FAILED: "CREATE_FAILED",
199
- CREATING: "CREATING",
200
- DELETED: "DELETED",
201
- DELETE_FAILED: "DELETE_FAILED",
202
- DELETING: "DELETING",
203
- READY: "READY",
204
- };
205
- export const AuthorizerType = {
206
- AWS_IAM: "AWS_IAM",
207
- CUSTOM_JWT: "CUSTOM_JWT",
208
- };
209
- export const ExceptionLevel = {
210
- DEBUG: "DEBUG",
211
- };
212
- export const SearchType = {
213
- SEMANTIC: "SEMANTIC",
214
- };
215
- export const GatewayProtocolType = {
216
- MCP: "MCP",
217
- };
218
- export const GatewayStatus = {
219
- CREATING: "CREATING",
220
- DELETING: "DELETING",
221
- FAILED: "FAILED",
222
- READY: "READY",
223
- UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
224
- UPDATING: "UPDATING",
225
- };
226
- export const ApiKeyCredentialLocation = {
227
- HEADER: "HEADER",
228
- QUERY_PARAMETER: "QUERY_PARAMETER",
229
- };
230
- export const CredentialProviderType = {
231
- API_KEY: "API_KEY",
232
- GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE",
233
- OAUTH: "OAUTH",
234
- };
235
- export const SchemaType = {
236
- ARRAY: "array",
237
- BOOLEAN: "boolean",
238
- INTEGER: "integer",
239
- NUMBER: "number",
240
- OBJECT: "object",
241
- STRING: "string",
242
- };
243
- export const TargetStatus = {
244
- CREATING: "CREATING",
245
- DELETING: "DELETING",
246
- FAILED: "FAILED",
247
- READY: "READY",
248
- SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL",
249
- SYNCHRONIZING: "SYNCHRONIZING",
250
- UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
251
- UPDATING: "UPDATING",
252
- };
253
- export const KeyType = {
254
- CustomerManagedKey: "CustomerManagedKey",
255
- ServiceManagedKey: "ServiceManagedKey",
256
- };
257
- export const MemoryStatus = {
258
- ACTIVE: "ACTIVE",
259
- CREATING: "CREATING",
260
- DELETING: "DELETING",
261
- FAILED: "FAILED",
262
- };
263
- export const OverrideType = {
264
- SELF_MANAGED: "SELF_MANAGED",
265
- SEMANTIC_OVERRIDE: "SEMANTIC_OVERRIDE",
266
- SUMMARY_OVERRIDE: "SUMMARY_OVERRIDE",
267
- USER_PREFERENCE_OVERRIDE: "USER_PREFERENCE_OVERRIDE",
268
- };
269
- export const MemoryStrategyStatus = {
270
- ACTIVE: "ACTIVE",
271
- CREATING: "CREATING",
272
- DELETING: "DELETING",
273
- FAILED: "FAILED",
274
- };
275
- export const MemoryStrategyType = {
276
- CUSTOM: "CUSTOM",
277
- SEMANTIC: "SEMANTIC",
278
- SUMMARIZATION: "SUMMARIZATION",
279
- USER_PREFERENCE: "USER_PREFERENCE",
280
- };
281
- export class ServiceException extends __BaseException {
282
- name = "ServiceException";
283
- $fault = "server";
284
- $retryable = {};
285
- constructor(opts) {
286
- super({
287
- name: "ServiceException",
288
- $fault: "server",
289
- ...opts,
290
- });
291
- Object.setPrototypeOf(this, ServiceException.prototype);
292
- }
293
- }
294
- export class ThrottledException extends __BaseException {
295
- name = "ThrottledException";
296
- $fault = "client";
297
- $retryable = {};
298
- constructor(opts) {
299
- super({
300
- name: "ThrottledException",
301
- $fault: "client",
302
- ...opts,
303
- });
304
- Object.setPrototypeOf(this, ThrottledException.prototype);
305
- }
306
- }
307
- export const CredentialProviderVendorType = {
308
- AtlassianOauth2: "AtlassianOauth2",
309
- Auth0Oauth2: "Auth0Oauth2",
310
- CognitoOauth2: "CognitoOauth2",
311
- CustomOauth2: "CustomOauth2",
312
- CyberArkOauth2: "CyberArkOauth2",
313
- DropboxOauth2: "DropboxOauth2",
314
- FacebookOauth2: "FacebookOauth2",
315
- FusionAuthOauth2: "FusionAuthOauth2",
316
- GithubOauth2: "GithubOauth2",
317
- GoogleOauth2: "GoogleOauth2",
318
- HubspotOauth2: "HubspotOauth2",
319
- LinkedinOauth2: "LinkedinOauth2",
320
- MicrosoftOauth2: "MicrosoftOauth2",
321
- NotionOauth2: "NotionOauth2",
322
- OktaOauth2: "OktaOauth2",
323
- OneLoginOauth2: "OneLoginOauth2",
324
- PingOneOauth2: "PingOneOauth2",
325
- RedditOauth2: "RedditOauth2",
326
- SalesforceOauth2: "SalesforceOauth2",
327
- SlackOauth2: "SlackOauth2",
328
- SpotifyOauth2: "SpotifyOauth2",
329
- TwitchOauth2: "TwitchOauth2",
330
- XOauth2: "XOauth2",
331
- YandexOauth2: "YandexOauth2",
332
- ZoomOauth2: "ZoomOauth2",
333
- };
334
- export class ConcurrentModificationException extends __BaseException {
335
- name = "ConcurrentModificationException";
336
- $fault = "client";
337
- constructor(opts) {
338
- super({
339
- name: "ConcurrentModificationException",
340
- $fault: "client",
341
- ...opts,
342
- });
343
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
344
- }
345
- }
1
+ export {};
@@ -539,7 +539,7 @@ const _wID = "workloadIdentityDetails";
539
539
  const n0 = "com.amazonaws.bedrockagentcorecontrol";
540
540
  import { TypeRegistry } from "@smithy/core/schema";
541
541
  import { BedrockAgentCoreControlServiceException as __BedrockAgentCoreControlServiceException } from "../models/BedrockAgentCoreControlServiceException";
542
- import { AccessDeniedException as __AccessDeniedException, ConcurrentModificationException as __ConcurrentModificationException, ConflictException as __ConflictException, DecryptionFailure as __DecryptionFailure, EncryptionFailure as __EncryptionFailure, InternalServerException as __InternalServerException, ResourceLimitExceededException as __ResourceLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceException as __ServiceException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottledException as __ThrottledException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/index";
542
+ import { AccessDeniedException as __AccessDeniedException, ConcurrentModificationException as __ConcurrentModificationException, ConflictException as __ConflictException, DecryptionFailure as __DecryptionFailure, EncryptionFailure as __EncryptionFailure, InternalServerException as __InternalServerException, ResourceLimitExceededException as __ResourceLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ServiceException as __ServiceException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottledException as __ThrottledException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/errors";
543
543
  export var ApiKeyType = [0, n0, _AKT, 8, 0];
544
544
  export var ClientSecretType = [0, n0, _CST, 8, 0];
545
545
  export var Description = [0, n0, _D, 8, 0];
@@ -11,5 +11,7 @@ export type { BedrockAgentCoreControlExtensionConfiguration } from "./extensionC
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./waiters";
14
- export * from "./models";
14
+ export * from "./models/enums";
15
+ export * from "./models/errors";
16
+ export type * from "./models/models_0";
15
17
  export { BedrockAgentCoreControlServiceException } from "./models/BedrockAgentCoreControlServiceException";