@aws-sdk/client-bedrock-agentcore 3.928.0 → 3.929.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 +1843 -2065
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockAgentCoreClient.js +2 -0
- package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/CompleteResourceTokenAuthCommand.js +3 -10
- package/dist-es/commands/CreateEventCommand.js +3 -10
- package/dist-es/commands/DeleteEventCommand.js +3 -9
- package/dist-es/commands/DeleteMemoryRecordCommand.js +3 -9
- package/dist-es/commands/GetAgentCardCommand.js +3 -9
- package/dist-es/commands/GetBrowserSessionCommand.js +3 -9
- package/dist-es/commands/GetCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/GetEventCommand.js +3 -10
- package/dist-es/commands/GetMemoryRecordCommand.js +3 -10
- package/dist-es/commands/GetResourceApiKeyCommand.js +3 -10
- package/dist-es/commands/GetResourceOauth2TokenCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +3 -10
- package/dist-es/commands/InvokeAgentRuntimeCommand.js +3 -10
- package/dist-es/commands/InvokeCodeInterpreterCommand.js +3 -10
- package/dist-es/commands/ListActorsCommand.js +3 -9
- package/dist-es/commands/ListBrowserSessionsCommand.js +3 -9
- package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +3 -9
- package/dist-es/commands/ListEventsCommand.js +3 -10
- package/dist-es/commands/ListMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/ListSessionsCommand.js +3 -9
- package/dist-es/commands/RetrieveMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/StartBrowserSessionCommand.js +3 -9
- package/dist-es/commands/StartCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/StopBrowserSessionCommand.js +3 -9
- package/dist-es/commands/StopCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/StopRuntimeSessionCommand.js +3 -9
- package/dist-es/commands/UpdateBrowserStreamCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -190
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1756 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -148
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +179 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -103
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -1593
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -393
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
10
11
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
12
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
@@ -15,9 +16,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
16
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
17
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
18
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
19
|
-
var core$1 = require('@aws-sdk/core');
|
|
20
|
-
var uuid = require('@smithy/uuid');
|
|
21
19
|
|
|
22
20
|
const resolveClientEndpointParameters = (options) => {
|
|
23
21
|
return Object.assign(options, {
|
|
@@ -94,6 +92,7 @@ class BedrockAgentCoreClient extends smithyClient.Client {
|
|
|
94
92
|
const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
|
|
95
93
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
96
94
|
this.config = _config_9;
|
|
95
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
98
97
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
99
98
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -113,14 +112,14 @@ class BedrockAgentCoreClient extends smithyClient.Client {
|
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
|
|
116
|
-
class BedrockAgentCoreServiceException extends smithyClient.ServiceException {
|
|
115
|
+
let BedrockAgentCoreServiceException$1 = class BedrockAgentCoreServiceException extends smithyClient.ServiceException {
|
|
117
116
|
constructor(options) {
|
|
118
117
|
super(options);
|
|
119
118
|
Object.setPrototypeOf(this, BedrockAgentCoreServiceException.prototype);
|
|
120
119
|
}
|
|
121
|
-
}
|
|
120
|
+
};
|
|
122
121
|
|
|
123
|
-
class AccessDeniedException extends BedrockAgentCoreServiceException {
|
|
122
|
+
let AccessDeniedException$1 = class AccessDeniedException extends BedrockAgentCoreServiceException$1 {
|
|
124
123
|
name = "AccessDeniedException";
|
|
125
124
|
$fault = "client";
|
|
126
125
|
constructor(opts) {
|
|
@@ -131,8 +130,8 @@ class AccessDeniedException extends BedrockAgentCoreServiceException {
|
|
|
131
130
|
});
|
|
132
131
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
133
132
|
}
|
|
134
|
-
}
|
|
135
|
-
class InternalServerException extends BedrockAgentCoreServiceException {
|
|
133
|
+
};
|
|
134
|
+
let InternalServerException$1 = class InternalServerException extends BedrockAgentCoreServiceException$1 {
|
|
136
135
|
name = "InternalServerException";
|
|
137
136
|
$fault = "server";
|
|
138
137
|
constructor(opts) {
|
|
@@ -143,8 +142,8 @@ class InternalServerException extends BedrockAgentCoreServiceException {
|
|
|
143
142
|
});
|
|
144
143
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
145
144
|
}
|
|
146
|
-
}
|
|
147
|
-
class ResourceNotFoundException extends BedrockAgentCoreServiceException {
|
|
145
|
+
};
|
|
146
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends BedrockAgentCoreServiceException$1 {
|
|
148
147
|
name = "ResourceNotFoundException";
|
|
149
148
|
$fault = "client";
|
|
150
149
|
constructor(opts) {
|
|
@@ -155,8 +154,8 @@ class ResourceNotFoundException extends BedrockAgentCoreServiceException {
|
|
|
155
154
|
});
|
|
156
155
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
157
156
|
}
|
|
158
|
-
}
|
|
159
|
-
class RuntimeClientError extends BedrockAgentCoreServiceException {
|
|
157
|
+
};
|
|
158
|
+
let RuntimeClientError$1 = class RuntimeClientError extends BedrockAgentCoreServiceException$1 {
|
|
160
159
|
name = "RuntimeClientError";
|
|
161
160
|
$fault = "client";
|
|
162
161
|
constructor(opts) {
|
|
@@ -167,8 +166,8 @@ class RuntimeClientError extends BedrockAgentCoreServiceException {
|
|
|
167
166
|
});
|
|
168
167
|
Object.setPrototypeOf(this, RuntimeClientError.prototype);
|
|
169
168
|
}
|
|
170
|
-
}
|
|
171
|
-
class ServiceQuotaExceededException extends BedrockAgentCoreServiceException {
|
|
169
|
+
};
|
|
170
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BedrockAgentCoreServiceException$1 {
|
|
172
171
|
name = "ServiceQuotaExceededException";
|
|
173
172
|
$fault = "client";
|
|
174
173
|
constructor(opts) {
|
|
@@ -179,8 +178,8 @@ class ServiceQuotaExceededException extends BedrockAgentCoreServiceException {
|
|
|
179
178
|
});
|
|
180
179
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
181
180
|
}
|
|
182
|
-
}
|
|
183
|
-
class ThrottlingException extends BedrockAgentCoreServiceException {
|
|
181
|
+
};
|
|
182
|
+
let ThrottlingException$1 = class ThrottlingException extends BedrockAgentCoreServiceException$1 {
|
|
184
183
|
name = "ThrottlingException";
|
|
185
184
|
$fault = "client";
|
|
186
185
|
constructor(opts) {
|
|
@@ -191,7 +190,7 @@ class ThrottlingException extends BedrockAgentCoreServiceException {
|
|
|
191
190
|
});
|
|
192
191
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
193
192
|
}
|
|
194
|
-
}
|
|
193
|
+
};
|
|
195
194
|
const ValidationExceptionReason = {
|
|
196
195
|
CANNOT_PARSE: "CannotParse",
|
|
197
196
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -199,7 +198,7 @@ const ValidationExceptionReason = {
|
|
|
199
198
|
RESOURCE_CONFLICT: "ResourceConflict",
|
|
200
199
|
ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
|
|
201
200
|
};
|
|
202
|
-
class ValidationException extends BedrockAgentCoreServiceException {
|
|
201
|
+
let ValidationException$1 = class ValidationException extends BedrockAgentCoreServiceException$1 {
|
|
203
202
|
name = "ValidationException";
|
|
204
203
|
$fault = "client";
|
|
205
204
|
reason;
|
|
@@ -214,8 +213,8 @@ class ValidationException extends BedrockAgentCoreServiceException {
|
|
|
214
213
|
this.reason = opts.reason;
|
|
215
214
|
this.fieldList = opts.fieldList;
|
|
216
215
|
}
|
|
217
|
-
}
|
|
218
|
-
class ConflictException extends BedrockAgentCoreServiceException {
|
|
216
|
+
};
|
|
217
|
+
let ConflictException$1 = class ConflictException extends BedrockAgentCoreServiceException$1 {
|
|
219
218
|
name = "ConflictException";
|
|
220
219
|
$fault = "client";
|
|
221
220
|
constructor(opts) {
|
|
@@ -226,8 +225,8 @@ class ConflictException extends BedrockAgentCoreServiceException {
|
|
|
226
225
|
});
|
|
227
226
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
228
227
|
}
|
|
229
|
-
}
|
|
230
|
-
class UnauthorizedException extends BedrockAgentCoreServiceException {
|
|
228
|
+
};
|
|
229
|
+
let UnauthorizedException$1 = class UnauthorizedException extends BedrockAgentCoreServiceException$1 {
|
|
231
230
|
name = "UnauthorizedException";
|
|
232
231
|
$fault = "client";
|
|
233
232
|
constructor(opts) {
|
|
@@ -238,7 +237,7 @@ class UnauthorizedException extends BedrockAgentCoreServiceException {
|
|
|
238
237
|
});
|
|
239
238
|
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
240
239
|
}
|
|
241
|
-
}
|
|
240
|
+
};
|
|
242
241
|
const BrowserSessionStatus = {
|
|
243
242
|
READY: "READY",
|
|
244
243
|
TERMINATED: "TERMINATED",
|
|
@@ -344,7 +343,7 @@ const MemoryRecordStatus = {
|
|
|
344
343
|
FAILED: "FAILED",
|
|
345
344
|
SUCCEEDED: "SUCCEEDED",
|
|
346
345
|
};
|
|
347
|
-
class ServiceException extends BedrockAgentCoreServiceException {
|
|
346
|
+
let ServiceException$1 = class ServiceException extends BedrockAgentCoreServiceException$1 {
|
|
348
347
|
name = "ServiceException";
|
|
349
348
|
$fault = "server";
|
|
350
349
|
constructor(opts) {
|
|
@@ -355,8 +354,8 @@ class ServiceException extends BedrockAgentCoreServiceException {
|
|
|
355
354
|
});
|
|
356
355
|
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
357
356
|
}
|
|
358
|
-
}
|
|
359
|
-
class ThrottledException extends BedrockAgentCoreServiceException {
|
|
357
|
+
};
|
|
358
|
+
let ThrottledException$1 = class ThrottledException extends BedrockAgentCoreServiceException$1 {
|
|
360
359
|
name = "ThrottledException";
|
|
361
360
|
$fault = "client";
|
|
362
361
|
constructor(opts) {
|
|
@@ -367,7 +366,7 @@ class ThrottledException extends BedrockAgentCoreServiceException {
|
|
|
367
366
|
});
|
|
368
367
|
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
369
368
|
}
|
|
370
|
-
}
|
|
369
|
+
};
|
|
371
370
|
exports.MetadataValue = void 0;
|
|
372
371
|
(function (MetadataValue) {
|
|
373
372
|
MetadataValue.visit = (value, visitor) => {
|
|
@@ -400,7 +399,7 @@ exports.PayloadType = void 0;
|
|
|
400
399
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
401
400
|
};
|
|
402
401
|
})(exports.PayloadType || (exports.PayloadType = {}));
|
|
403
|
-
class InvalidInputException extends BedrockAgentCoreServiceException {
|
|
402
|
+
let InvalidInputException$1 = class InvalidInputException extends BedrockAgentCoreServiceException$1 {
|
|
404
403
|
name = "InvalidInputException";
|
|
405
404
|
$fault = "client";
|
|
406
405
|
constructor(opts) {
|
|
@@ -411,7 +410,7 @@ class InvalidInputException extends BedrockAgentCoreServiceException {
|
|
|
411
410
|
});
|
|
412
411
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
413
412
|
}
|
|
414
|
-
}
|
|
413
|
+
};
|
|
415
414
|
exports.LeftExpression = void 0;
|
|
416
415
|
(function (LeftExpression) {
|
|
417
416
|
LeftExpression.visit = (value, visitor) => {
|
|
@@ -433,1795 +432,1766 @@ exports.RightExpression = void 0;
|
|
|
433
432
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
434
433
|
};
|
|
435
434
|
})(exports.RightExpression || (exports.RightExpression = {}));
|
|
436
|
-
const InvokeAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
437
|
-
...obj,
|
|
438
|
-
...(obj.payload && { payload: smithyClient.SENSITIVE_STRING }),
|
|
439
|
-
});
|
|
440
|
-
const InvokeAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.response && { response: smithyClient.SENSITIVE_STRING }),
|
|
443
|
-
});
|
|
444
|
-
const UserIdentifierFilterSensitiveLog = (obj) => {
|
|
445
|
-
if (obj.userToken !== undefined)
|
|
446
|
-
return { userToken: smithyClient.SENSITIVE_STRING };
|
|
447
|
-
if (obj.userId !== undefined)
|
|
448
|
-
return { userId: obj.userId };
|
|
449
|
-
if (obj.$unknown !== undefined)
|
|
450
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
451
|
-
};
|
|
452
|
-
const CompleteResourceTokenAuthRequestFilterSensitiveLog = (obj) => ({
|
|
453
|
-
...obj,
|
|
454
|
-
...(obj.userIdentifier && { userIdentifier: UserIdentifierFilterSensitiveLog(obj.userIdentifier) }),
|
|
455
|
-
});
|
|
456
|
-
const GetResourceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
...(obj.workloadIdentityToken && { workloadIdentityToken: smithyClient.SENSITIVE_STRING }),
|
|
459
|
-
});
|
|
460
|
-
const GetResourceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
461
|
-
...obj,
|
|
462
|
-
...(obj.apiKey && { apiKey: smithyClient.SENSITIVE_STRING }),
|
|
463
|
-
});
|
|
464
|
-
const GetResourceOauth2TokenRequestFilterSensitiveLog = (obj) => ({
|
|
465
|
-
...obj,
|
|
466
|
-
...(obj.workloadIdentityToken && { workloadIdentityToken: smithyClient.SENSITIVE_STRING }),
|
|
467
|
-
...(obj.customParameters && { customParameters: smithyClient.SENSITIVE_STRING }),
|
|
468
|
-
...(obj.customState && { customState: smithyClient.SENSITIVE_STRING }),
|
|
469
|
-
});
|
|
470
|
-
const GetResourceOauth2TokenResponseFilterSensitiveLog = (obj) => ({
|
|
471
|
-
...obj,
|
|
472
|
-
...(obj.authorizationUrl && { authorizationUrl: smithyClient.SENSITIVE_STRING }),
|
|
473
|
-
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
474
|
-
});
|
|
475
|
-
const GetWorkloadAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
476
|
-
...obj,
|
|
477
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithyClient.SENSITIVE_STRING }),
|
|
478
|
-
});
|
|
479
|
-
const GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = (obj) => ({
|
|
480
|
-
...obj,
|
|
481
|
-
...(obj.userToken && { userToken: smithyClient.SENSITIVE_STRING }),
|
|
482
|
-
});
|
|
483
|
-
const GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithyClient.SENSITIVE_STRING }),
|
|
486
|
-
});
|
|
487
|
-
const GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = (obj) => ({
|
|
488
|
-
...obj,
|
|
489
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithyClient.SENSITIVE_STRING }),
|
|
490
|
-
});
|
|
491
|
-
const InputContentBlockFilterSensitiveLog = (obj) => ({
|
|
492
|
-
...obj,
|
|
493
|
-
...(obj.blob && { blob: smithyClient.SENSITIVE_STRING }),
|
|
494
|
-
});
|
|
495
|
-
const ToolArgumentsFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
...(obj.content && { content: obj.content.map((item) => InputContentBlockFilterSensitiveLog(item)) }),
|
|
498
|
-
});
|
|
499
|
-
const InvokeCodeInterpreterRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
...(obj.arguments && { arguments: ToolArgumentsFilterSensitiveLog(obj.arguments) }),
|
|
502
|
-
});
|
|
503
|
-
const CodeInterpreterStreamOutputFilterSensitiveLog = (obj) => {
|
|
504
|
-
if (obj.result !== undefined)
|
|
505
|
-
return { result: obj.result };
|
|
506
|
-
if (obj.accessDeniedException !== undefined)
|
|
507
|
-
return { accessDeniedException: obj.accessDeniedException };
|
|
508
|
-
if (obj.conflictException !== undefined)
|
|
509
|
-
return { conflictException: obj.conflictException };
|
|
510
|
-
if (obj.internalServerException !== undefined)
|
|
511
|
-
return { internalServerException: obj.internalServerException };
|
|
512
|
-
if (obj.resourceNotFoundException !== undefined)
|
|
513
|
-
return { resourceNotFoundException: obj.resourceNotFoundException };
|
|
514
|
-
if (obj.serviceQuotaExceededException !== undefined)
|
|
515
|
-
return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
|
|
516
|
-
if (obj.throttlingException !== undefined)
|
|
517
|
-
return { throttlingException: obj.throttlingException };
|
|
518
|
-
if (obj.validationException !== undefined)
|
|
519
|
-
return { validationException: obj.validationException };
|
|
520
|
-
if (obj.$unknown !== undefined)
|
|
521
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
522
|
-
};
|
|
523
|
-
const InvokeCodeInterpreterResponseFilterSensitiveLog = (obj) => ({
|
|
524
|
-
...obj,
|
|
525
|
-
...(obj.stream && { stream: "STREAMING_CONTENT" }),
|
|
526
|
-
});
|
|
527
|
-
const MemoryContentFilterSensitiveLog = (obj) => {
|
|
528
|
-
if (obj.text !== undefined)
|
|
529
|
-
return { text: smithyClient.SENSITIVE_STRING };
|
|
530
|
-
if (obj.$unknown !== undefined)
|
|
531
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
532
|
-
};
|
|
533
|
-
const MemoryRecordCreateInputFilterSensitiveLog = (obj) => ({
|
|
534
|
-
...obj,
|
|
535
|
-
...(obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }),
|
|
536
|
-
});
|
|
537
|
-
const BatchCreateMemoryRecordsInputFilterSensitiveLog = (obj) => ({
|
|
538
|
-
...obj,
|
|
539
|
-
...(obj.records && { records: obj.records.map((item) => MemoryRecordCreateInputFilterSensitiveLog(item)) }),
|
|
540
|
-
});
|
|
541
|
-
const MemoryRecordUpdateInputFilterSensitiveLog = (obj) => ({
|
|
542
|
-
...obj,
|
|
543
|
-
...(obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }),
|
|
544
|
-
});
|
|
545
|
-
const BatchUpdateMemoryRecordsInputFilterSensitiveLog = (obj) => ({
|
|
546
|
-
...obj,
|
|
547
|
-
...(obj.records && { records: obj.records.map((item) => MemoryRecordUpdateInputFilterSensitiveLog(item)) }),
|
|
548
|
-
});
|
|
549
|
-
const ContentFilterSensitiveLog = (obj) => {
|
|
550
|
-
if (obj.text !== undefined)
|
|
551
|
-
return { text: smithyClient.SENSITIVE_STRING };
|
|
552
|
-
if (obj.$unknown !== undefined)
|
|
553
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
554
|
-
};
|
|
555
|
-
const ConversationalFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.content && { content: ContentFilterSensitiveLog(obj.content) }),
|
|
558
|
-
});
|
|
559
|
-
const PayloadTypeFilterSensitiveLog = (obj) => {
|
|
560
|
-
if (obj.conversational !== undefined)
|
|
561
|
-
return { conversational: ConversationalFilterSensitiveLog(obj.conversational) };
|
|
562
|
-
if (obj.blob !== undefined)
|
|
563
|
-
return { blob: obj.blob };
|
|
564
|
-
if (obj.$unknown !== undefined)
|
|
565
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
566
|
-
};
|
|
567
|
-
const CreateEventInputFilterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
...(obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) }),
|
|
570
|
-
...(obj.metadata && {
|
|
571
|
-
metadata: Object.entries(obj.metadata).reduce((acc, [key, value]) => ((acc[key] = value), acc), {}),
|
|
572
|
-
}),
|
|
573
|
-
});
|
|
574
|
-
const EventFilterSensitiveLog = (obj) => ({
|
|
575
|
-
...obj,
|
|
576
|
-
...(obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) }),
|
|
577
|
-
...(obj.metadata && {
|
|
578
|
-
metadata: Object.entries(obj.metadata).reduce((acc, [key, value]) => ((acc[key] = value), acc), {}),
|
|
579
|
-
}),
|
|
580
|
-
});
|
|
581
|
-
const CreateEventOutputFilterSensitiveLog = (obj) => ({
|
|
582
|
-
...obj,
|
|
583
|
-
...(obj.event && { event: EventFilterSensitiveLog(obj.event) }),
|
|
584
|
-
});
|
|
585
|
-
const GetEventOutputFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
...(obj.event && { event: EventFilterSensitiveLog(obj.event) }),
|
|
588
|
-
});
|
|
589
|
-
const MemoryRecordFilterSensitiveLog = (obj) => ({
|
|
590
|
-
...obj,
|
|
591
|
-
...(obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }),
|
|
592
|
-
});
|
|
593
|
-
const GetMemoryRecordOutputFilterSensitiveLog = (obj) => ({
|
|
594
|
-
...obj,
|
|
595
|
-
...(obj.memoryRecord && { memoryRecord: MemoryRecordFilterSensitiveLog(obj.memoryRecord) }),
|
|
596
|
-
});
|
|
597
|
-
const ListEventsOutputFilterSensitiveLog = (obj) => ({
|
|
598
|
-
...obj,
|
|
599
|
-
...(obj.events && { events: obj.events.map((item) => EventFilterSensitiveLog(item)) }),
|
|
600
|
-
});
|
|
601
|
-
const MemoryRecordSummaryFilterSensitiveLog = (obj) => ({
|
|
602
|
-
...obj,
|
|
603
|
-
...(obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }),
|
|
604
|
-
});
|
|
605
|
-
const ListMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
...(obj.memoryRecordSummaries && {
|
|
608
|
-
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => MemoryRecordSummaryFilterSensitiveLog(item)),
|
|
609
|
-
}),
|
|
610
|
-
});
|
|
611
|
-
const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
...(obj.searchQuery && { searchQuery: smithyClient.SENSITIVE_STRING }),
|
|
614
|
-
});
|
|
615
|
-
const RetrieveMemoryRecordsInputFilterSensitiveLog = (obj) => ({
|
|
616
|
-
...obj,
|
|
617
|
-
...(obj.searchCriteria && { searchCriteria: SearchCriteriaFilterSensitiveLog(obj.searchCriteria) }),
|
|
618
|
-
});
|
|
619
|
-
const RetrieveMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
620
|
-
...obj,
|
|
621
|
-
...(obj.memoryRecordSummaries && {
|
|
622
|
-
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => MemoryRecordSummaryFilterSensitiveLog(item)),
|
|
623
|
-
}),
|
|
624
|
-
});
|
|
625
435
|
|
|
626
|
-
const
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
const
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
const
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
const
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
const
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
const
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
const
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
const
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
const
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
const
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
const
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
const
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
const
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
807
|
-
customParameters: (_) => smithyClient._json(_),
|
|
808
|
-
customState: [],
|
|
809
|
-
forceAuthentication: [],
|
|
810
|
-
oauth2Flow: [],
|
|
811
|
-
resourceCredentialProviderName: [],
|
|
812
|
-
resourceOauth2ReturnUrl: [],
|
|
813
|
-
scopes: (_) => smithyClient._json(_),
|
|
814
|
-
sessionUri: [],
|
|
815
|
-
workloadIdentityToken: [],
|
|
816
|
-
}));
|
|
817
|
-
b.m("POST").h(headers).b(body);
|
|
818
|
-
return b.build();
|
|
819
|
-
};
|
|
820
|
-
const se_GetWorkloadAccessTokenCommand = async (input, context) => {
|
|
821
|
-
const b = core.requestBuilder(input, context);
|
|
822
|
-
const headers = {
|
|
823
|
-
"content-type": "application/json",
|
|
824
|
-
};
|
|
825
|
-
b.bp("/identities/GetWorkloadAccessToken");
|
|
826
|
-
let body;
|
|
827
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
828
|
-
workloadName: [],
|
|
829
|
-
}));
|
|
830
|
-
b.m("POST").h(headers).b(body);
|
|
831
|
-
return b.build();
|
|
832
|
-
};
|
|
833
|
-
const se_GetWorkloadAccessTokenForJWTCommand = async (input, context) => {
|
|
834
|
-
const b = core.requestBuilder(input, context);
|
|
835
|
-
const headers = {
|
|
836
|
-
"content-type": "application/json",
|
|
837
|
-
};
|
|
838
|
-
b.bp("/identities/GetWorkloadAccessTokenForJWT");
|
|
839
|
-
let body;
|
|
840
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
841
|
-
userToken: [],
|
|
842
|
-
workloadName: [],
|
|
843
|
-
}));
|
|
844
|
-
b.m("POST").h(headers).b(body);
|
|
845
|
-
return b.build();
|
|
846
|
-
};
|
|
847
|
-
const se_GetWorkloadAccessTokenForUserIdCommand = async (input, context) => {
|
|
848
|
-
const b = core.requestBuilder(input, context);
|
|
849
|
-
const headers = {
|
|
850
|
-
"content-type": "application/json",
|
|
851
|
-
};
|
|
852
|
-
b.bp("/identities/GetWorkloadAccessTokenForUserId");
|
|
853
|
-
let body;
|
|
854
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
855
|
-
userId: [],
|
|
856
|
-
workloadName: [],
|
|
857
|
-
}));
|
|
858
|
-
b.m("POST").h(headers).b(body);
|
|
859
|
-
return b.build();
|
|
860
|
-
};
|
|
861
|
-
const se_InvokeAgentRuntimeCommand = async (input, context) => {
|
|
862
|
-
const b = core.requestBuilder(input, context);
|
|
863
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
864
|
-
[_ct]: input[_cT] || "application/octet-stream",
|
|
865
|
-
[_a]: input[_a],
|
|
866
|
-
[_msi]: input[_mSI],
|
|
867
|
-
[_xabarsi]: input[_rSI] ?? uuid.v4(),
|
|
868
|
-
[_mpv]: input[_mPV],
|
|
869
|
-
[_xabarui]: input[_rUI],
|
|
870
|
-
[_xati]: input[_tI],
|
|
871
|
-
[_t]: input[_tP],
|
|
872
|
-
[_tr]: input[_tS],
|
|
873
|
-
[_b]: input[_b],
|
|
874
|
-
});
|
|
875
|
-
b.bp("/runtimes/{agentRuntimeArn}/invocations");
|
|
876
|
-
b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
|
|
877
|
-
const query = smithyClient.map({
|
|
878
|
-
[_q]: [, input[_q]],
|
|
879
|
-
[_aI]: [, input[_aI]],
|
|
880
|
-
});
|
|
881
|
-
let body;
|
|
882
|
-
if (input.payload !== undefined) {
|
|
883
|
-
body = input.payload;
|
|
884
|
-
}
|
|
885
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
886
|
-
return b.build();
|
|
887
|
-
};
|
|
888
|
-
const se_InvokeCodeInterpreterCommand = async (input, context) => {
|
|
889
|
-
const b = core.requestBuilder(input, context);
|
|
890
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
891
|
-
"content-type": "application/json",
|
|
892
|
-
[_xacisi]: input[_sI],
|
|
893
|
-
[_xati]: input[_tI],
|
|
894
|
-
[_t]: input[_tP],
|
|
895
|
-
});
|
|
896
|
-
b.bp("/code-interpreters/{codeInterpreterIdentifier}/tools/invoke");
|
|
897
|
-
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
898
|
-
let body;
|
|
899
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
900
|
-
arguments: (_) => se_ToolArguments(_, context),
|
|
901
|
-
name: [],
|
|
902
|
-
}));
|
|
903
|
-
b.m("POST").h(headers).b(body);
|
|
904
|
-
return b.build();
|
|
905
|
-
};
|
|
906
|
-
const se_ListActorsCommand = async (input, context) => {
|
|
907
|
-
const b = core.requestBuilder(input, context);
|
|
908
|
-
const headers = {
|
|
909
|
-
"content-type": "application/json",
|
|
910
|
-
};
|
|
911
|
-
b.bp("/memories/{memoryId}/actors");
|
|
912
|
-
b.p("memoryId", () => input.memoryId, "{memoryId}", false);
|
|
913
|
-
let body;
|
|
914
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
915
|
-
maxResults: [],
|
|
916
|
-
nextToken: [],
|
|
917
|
-
}));
|
|
918
|
-
b.m("POST").h(headers).b(body);
|
|
919
|
-
return b.build();
|
|
920
|
-
};
|
|
921
|
-
const se_ListBrowserSessionsCommand = async (input, context) => {
|
|
922
|
-
const b = core.requestBuilder(input, context);
|
|
923
|
-
const headers = {
|
|
924
|
-
"content-type": "application/json",
|
|
925
|
-
};
|
|
926
|
-
b.bp("/browsers/{browserIdentifier}/sessions/list");
|
|
927
|
-
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
928
|
-
let body;
|
|
929
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
930
|
-
maxResults: [],
|
|
931
|
-
nextToken: [],
|
|
932
|
-
status: [],
|
|
933
|
-
}));
|
|
934
|
-
b.m("POST").h(headers).b(body);
|
|
935
|
-
return b.build();
|
|
936
|
-
};
|
|
937
|
-
const se_ListCodeInterpreterSessionsCommand = async (input, context) => {
|
|
938
|
-
const b = core.requestBuilder(input, context);
|
|
939
|
-
const headers = {
|
|
940
|
-
"content-type": "application/json",
|
|
941
|
-
};
|
|
942
|
-
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/list");
|
|
943
|
-
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
944
|
-
let body;
|
|
945
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
946
|
-
maxResults: [],
|
|
947
|
-
nextToken: [],
|
|
948
|
-
status: [],
|
|
949
|
-
}));
|
|
950
|
-
b.m("POST").h(headers).b(body);
|
|
951
|
-
return b.build();
|
|
952
|
-
};
|
|
953
|
-
const se_ListEventsCommand = async (input, context) => {
|
|
954
|
-
const b = core.requestBuilder(input, context);
|
|
955
|
-
const headers = {
|
|
956
|
-
"content-type": "application/json",
|
|
957
|
-
};
|
|
958
|
-
b.bp("/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}");
|
|
959
|
-
b.p("memoryId", () => input.memoryId, "{memoryId}", false);
|
|
960
|
-
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
961
|
-
b.p("actorId", () => input.actorId, "{actorId}", false);
|
|
962
|
-
let body;
|
|
963
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
964
|
-
filter: (_) => smithyClient._json(_),
|
|
965
|
-
includePayloads: [],
|
|
966
|
-
maxResults: [],
|
|
967
|
-
nextToken: [],
|
|
968
|
-
}));
|
|
969
|
-
b.m("POST").h(headers).b(body);
|
|
970
|
-
return b.build();
|
|
971
|
-
};
|
|
972
|
-
const se_ListMemoryRecordsCommand = async (input, context) => {
|
|
973
|
-
const b = core.requestBuilder(input, context);
|
|
974
|
-
const headers = {
|
|
975
|
-
"content-type": "application/json",
|
|
976
|
-
};
|
|
977
|
-
b.bp("/memories/{memoryId}/memoryRecords");
|
|
978
|
-
b.p("memoryId", () => input.memoryId, "{memoryId}", false);
|
|
979
|
-
let body;
|
|
980
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
981
|
-
maxResults: [],
|
|
982
|
-
memoryStrategyId: [],
|
|
983
|
-
namespace: [],
|
|
984
|
-
nextToken: [],
|
|
985
|
-
}));
|
|
986
|
-
b.m("POST").h(headers).b(body);
|
|
987
|
-
return b.build();
|
|
988
|
-
};
|
|
989
|
-
const se_ListSessionsCommand = async (input, context) => {
|
|
990
|
-
const b = core.requestBuilder(input, context);
|
|
991
|
-
const headers = {
|
|
992
|
-
"content-type": "application/json",
|
|
993
|
-
};
|
|
994
|
-
b.bp("/memories/{memoryId}/actor/{actorId}/sessions");
|
|
995
|
-
b.p("memoryId", () => input.memoryId, "{memoryId}", false);
|
|
996
|
-
b.p("actorId", () => input.actorId, "{actorId}", false);
|
|
997
|
-
let body;
|
|
998
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
999
|
-
maxResults: [],
|
|
1000
|
-
nextToken: [],
|
|
1001
|
-
}));
|
|
1002
|
-
b.m("POST").h(headers).b(body);
|
|
1003
|
-
return b.build();
|
|
1004
|
-
};
|
|
1005
|
-
const se_RetrieveMemoryRecordsCommand = async (input, context) => {
|
|
1006
|
-
const b = core.requestBuilder(input, context);
|
|
1007
|
-
const headers = {
|
|
1008
|
-
"content-type": "application/json",
|
|
1009
|
-
};
|
|
1010
|
-
b.bp("/memories/{memoryId}/retrieve");
|
|
1011
|
-
b.p("memoryId", () => input.memoryId, "{memoryId}", false);
|
|
1012
|
-
let body;
|
|
1013
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1014
|
-
maxResults: [],
|
|
1015
|
-
namespace: [],
|
|
1016
|
-
nextToken: [],
|
|
1017
|
-
searchCriteria: (_) => smithyClient._json(_),
|
|
1018
|
-
}));
|
|
1019
|
-
b.m("POST").h(headers).b(body);
|
|
1020
|
-
return b.build();
|
|
1021
|
-
};
|
|
1022
|
-
const se_StartBrowserSessionCommand = async (input, context) => {
|
|
1023
|
-
const b = core.requestBuilder(input, context);
|
|
1024
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1025
|
-
"content-type": "application/json",
|
|
1026
|
-
[_xati]: input[_tI],
|
|
1027
|
-
[_t]: input[_tP],
|
|
1028
|
-
});
|
|
1029
|
-
b.bp("/browsers/{browserIdentifier}/sessions/start");
|
|
1030
|
-
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
1031
|
-
let body;
|
|
1032
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1033
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1034
|
-
name: [],
|
|
1035
|
-
sessionTimeoutSeconds: [],
|
|
1036
|
-
viewPort: (_) => smithyClient._json(_),
|
|
1037
|
-
}));
|
|
1038
|
-
b.m("PUT").h(headers).b(body);
|
|
1039
|
-
return b.build();
|
|
1040
|
-
};
|
|
1041
|
-
const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
1042
|
-
const b = core.requestBuilder(input, context);
|
|
1043
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1044
|
-
"content-type": "application/json",
|
|
1045
|
-
[_xati]: input[_tI],
|
|
1046
|
-
[_t]: input[_tP],
|
|
1047
|
-
});
|
|
1048
|
-
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/start");
|
|
1049
|
-
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
1050
|
-
let body;
|
|
1051
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1052
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1053
|
-
name: [],
|
|
1054
|
-
sessionTimeoutSeconds: [],
|
|
1055
|
-
}));
|
|
1056
|
-
b.m("PUT").h(headers).b(body);
|
|
1057
|
-
return b.build();
|
|
1058
|
-
};
|
|
1059
|
-
const se_StopBrowserSessionCommand = async (input, context) => {
|
|
1060
|
-
const b = core.requestBuilder(input, context);
|
|
1061
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1062
|
-
"content-type": "application/json",
|
|
1063
|
-
[_xati]: input[_tI],
|
|
1064
|
-
[_t]: input[_tP],
|
|
1065
|
-
});
|
|
1066
|
-
b.bp("/browsers/{browserIdentifier}/sessions/stop");
|
|
1067
|
-
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
1068
|
-
const query = smithyClient.map({
|
|
1069
|
-
[_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
|
|
1070
|
-
});
|
|
1071
|
-
let body;
|
|
1072
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1073
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1074
|
-
}));
|
|
1075
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
1076
|
-
return b.build();
|
|
1077
|
-
};
|
|
1078
|
-
const se_StopCodeInterpreterSessionCommand = async (input, context) => {
|
|
1079
|
-
const b = core.requestBuilder(input, context);
|
|
1080
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1081
|
-
"content-type": "application/json",
|
|
1082
|
-
[_xati]: input[_tI],
|
|
1083
|
-
[_t]: input[_tP],
|
|
1084
|
-
});
|
|
1085
|
-
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/stop");
|
|
1086
|
-
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
1087
|
-
const query = smithyClient.map({
|
|
1088
|
-
[_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
|
|
1089
|
-
});
|
|
1090
|
-
let body;
|
|
1091
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1092
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1093
|
-
}));
|
|
1094
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
1095
|
-
return b.build();
|
|
1096
|
-
};
|
|
1097
|
-
const se_StopRuntimeSessionCommand = async (input, context) => {
|
|
1098
|
-
const b = core.requestBuilder(input, context);
|
|
1099
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1100
|
-
"content-type": "application/json",
|
|
1101
|
-
[_xabarsi]: input[_rSI],
|
|
1102
|
-
});
|
|
1103
|
-
b.bp("/runtimes/{agentRuntimeArn}/stopruntimesession");
|
|
1104
|
-
b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
|
|
1105
|
-
const query = smithyClient.map({
|
|
1106
|
-
[_q]: [, input[_q]],
|
|
1107
|
-
});
|
|
1108
|
-
let body;
|
|
1109
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1110
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1111
|
-
}));
|
|
1112
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
1113
|
-
return b.build();
|
|
1114
|
-
};
|
|
1115
|
-
const se_UpdateBrowserStreamCommand = async (input, context) => {
|
|
1116
|
-
const b = core.requestBuilder(input, context);
|
|
1117
|
-
const headers = {
|
|
1118
|
-
"content-type": "application/json",
|
|
1119
|
-
};
|
|
1120
|
-
b.bp("/browsers/{browserIdentifier}/sessions/streams/update");
|
|
1121
|
-
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
1122
|
-
const query = smithyClient.map({
|
|
1123
|
-
[_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
|
|
1124
|
-
});
|
|
1125
|
-
let body;
|
|
1126
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1127
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1128
|
-
streamUpdate: (_) => smithyClient._json(_),
|
|
1129
|
-
}));
|
|
1130
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
1131
|
-
return b.build();
|
|
1132
|
-
};
|
|
1133
|
-
const de_BatchCreateMemoryRecordsCommand = async (output, context) => {
|
|
1134
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1135
|
-
return de_CommandError(output, context);
|
|
1136
|
-
}
|
|
1137
|
-
const contents = smithyClient.map({
|
|
1138
|
-
$metadata: deserializeMetadata(output),
|
|
1139
|
-
});
|
|
1140
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1141
|
-
const doc = smithyClient.take(data, {
|
|
1142
|
-
failedRecords: smithyClient._json,
|
|
1143
|
-
successfulRecords: smithyClient._json,
|
|
1144
|
-
});
|
|
1145
|
-
Object.assign(contents, doc);
|
|
1146
|
-
return contents;
|
|
1147
|
-
};
|
|
1148
|
-
const de_BatchDeleteMemoryRecordsCommand = async (output, context) => {
|
|
1149
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1150
|
-
return de_CommandError(output, context);
|
|
1151
|
-
}
|
|
1152
|
-
const contents = smithyClient.map({
|
|
1153
|
-
$metadata: deserializeMetadata(output),
|
|
1154
|
-
});
|
|
1155
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1156
|
-
const doc = smithyClient.take(data, {
|
|
1157
|
-
failedRecords: smithyClient._json,
|
|
1158
|
-
successfulRecords: smithyClient._json,
|
|
1159
|
-
});
|
|
1160
|
-
Object.assign(contents, doc);
|
|
1161
|
-
return contents;
|
|
1162
|
-
};
|
|
1163
|
-
const de_BatchUpdateMemoryRecordsCommand = async (output, context) => {
|
|
1164
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1165
|
-
return de_CommandError(output, context);
|
|
1166
|
-
}
|
|
1167
|
-
const contents = smithyClient.map({
|
|
1168
|
-
$metadata: deserializeMetadata(output),
|
|
1169
|
-
});
|
|
1170
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1171
|
-
const doc = smithyClient.take(data, {
|
|
1172
|
-
failedRecords: smithyClient._json,
|
|
1173
|
-
successfulRecords: smithyClient._json,
|
|
1174
|
-
});
|
|
1175
|
-
Object.assign(contents, doc);
|
|
1176
|
-
return contents;
|
|
1177
|
-
};
|
|
1178
|
-
const de_CompleteResourceTokenAuthCommand = async (output, context) => {
|
|
1179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1180
|
-
return de_CommandError(output, context);
|
|
1181
|
-
}
|
|
1182
|
-
const contents = smithyClient.map({
|
|
1183
|
-
$metadata: deserializeMetadata(output),
|
|
1184
|
-
});
|
|
1185
|
-
await smithyClient.collectBody(output.body, context);
|
|
1186
|
-
return contents;
|
|
1187
|
-
};
|
|
1188
|
-
const de_CreateEventCommand = async (output, context) => {
|
|
1189
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1190
|
-
return de_CommandError(output, context);
|
|
1191
|
-
}
|
|
1192
|
-
const contents = smithyClient.map({
|
|
1193
|
-
$metadata: deserializeMetadata(output),
|
|
1194
|
-
});
|
|
1195
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1196
|
-
const doc = smithyClient.take(data, {
|
|
1197
|
-
event: (_) => de_Event(_),
|
|
1198
|
-
});
|
|
1199
|
-
Object.assign(contents, doc);
|
|
1200
|
-
return contents;
|
|
1201
|
-
};
|
|
1202
|
-
const de_DeleteEventCommand = async (output, context) => {
|
|
1203
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1204
|
-
return de_CommandError(output, context);
|
|
1205
|
-
}
|
|
1206
|
-
const contents = smithyClient.map({
|
|
1207
|
-
$metadata: deserializeMetadata(output),
|
|
1208
|
-
});
|
|
1209
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1210
|
-
const doc = smithyClient.take(data, {
|
|
1211
|
-
eventId: smithyClient.expectString,
|
|
1212
|
-
});
|
|
1213
|
-
Object.assign(contents, doc);
|
|
1214
|
-
return contents;
|
|
1215
|
-
};
|
|
1216
|
-
const de_DeleteMemoryRecordCommand = async (output, context) => {
|
|
1217
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1218
|
-
return de_CommandError(output, context);
|
|
1219
|
-
}
|
|
1220
|
-
const contents = smithyClient.map({
|
|
1221
|
-
$metadata: deserializeMetadata(output),
|
|
1222
|
-
});
|
|
1223
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1224
|
-
const doc = smithyClient.take(data, {
|
|
1225
|
-
memoryRecordId: smithyClient.expectString,
|
|
1226
|
-
});
|
|
1227
|
-
Object.assign(contents, doc);
|
|
1228
|
-
return contents;
|
|
1229
|
-
};
|
|
1230
|
-
const de_GetAgentCardCommand = async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = smithyClient.map({
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
[_rSI]: [, output.headers[_xabarsi]],
|
|
1237
|
-
});
|
|
1238
|
-
const data = await collectBodyString(output.body, context);
|
|
1239
|
-
contents.agentCard = data;
|
|
1240
|
-
contents.agentCard = JSON.parse(data);
|
|
1241
|
-
smithyClient.map(contents, {
|
|
1242
|
-
statusCode: [, output.statusCode],
|
|
1243
|
-
});
|
|
1244
|
-
return contents;
|
|
1245
|
-
};
|
|
1246
|
-
const de_GetBrowserSessionCommand = async (output, context) => {
|
|
1247
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1248
|
-
return de_CommandError(output, context);
|
|
1249
|
-
}
|
|
1250
|
-
const contents = smithyClient.map({
|
|
1251
|
-
$metadata: deserializeMetadata(output),
|
|
1252
|
-
});
|
|
1253
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1254
|
-
const doc = smithyClient.take(data, {
|
|
1255
|
-
browserIdentifier: smithyClient.expectString,
|
|
1256
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1257
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1258
|
-
name: smithyClient.expectString,
|
|
1259
|
-
sessionId: smithyClient.expectString,
|
|
1260
|
-
sessionReplayArtifact: smithyClient.expectString,
|
|
1261
|
-
sessionTimeoutSeconds: smithyClient.expectInt32,
|
|
1262
|
-
status: smithyClient.expectString,
|
|
1263
|
-
streams: smithyClient._json,
|
|
1264
|
-
viewPort: smithyClient._json,
|
|
1265
|
-
});
|
|
1266
|
-
Object.assign(contents, doc);
|
|
1267
|
-
return contents;
|
|
1268
|
-
};
|
|
1269
|
-
const de_GetCodeInterpreterSessionCommand = async (output, context) => {
|
|
1270
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1271
|
-
return de_CommandError(output, context);
|
|
1272
|
-
}
|
|
1273
|
-
const contents = smithyClient.map({
|
|
1274
|
-
$metadata: deserializeMetadata(output),
|
|
1275
|
-
});
|
|
1276
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1277
|
-
const doc = smithyClient.take(data, {
|
|
1278
|
-
codeInterpreterIdentifier: smithyClient.expectString,
|
|
1279
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1280
|
-
name: smithyClient.expectString,
|
|
1281
|
-
sessionId: smithyClient.expectString,
|
|
1282
|
-
sessionTimeoutSeconds: smithyClient.expectInt32,
|
|
1283
|
-
status: smithyClient.expectString,
|
|
1284
|
-
});
|
|
1285
|
-
Object.assign(contents, doc);
|
|
1286
|
-
return contents;
|
|
1287
|
-
};
|
|
1288
|
-
const de_GetEventCommand = async (output, context) => {
|
|
1289
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1290
|
-
return de_CommandError(output, context);
|
|
1291
|
-
}
|
|
1292
|
-
const contents = smithyClient.map({
|
|
1293
|
-
$metadata: deserializeMetadata(output),
|
|
1294
|
-
});
|
|
1295
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1296
|
-
const doc = smithyClient.take(data, {
|
|
1297
|
-
event: (_) => de_Event(_),
|
|
1298
|
-
});
|
|
1299
|
-
Object.assign(contents, doc);
|
|
1300
|
-
return contents;
|
|
1301
|
-
};
|
|
1302
|
-
const de_GetMemoryRecordCommand = async (output, context) => {
|
|
1303
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1304
|
-
return de_CommandError(output, context);
|
|
1305
|
-
}
|
|
1306
|
-
const contents = smithyClient.map({
|
|
1307
|
-
$metadata: deserializeMetadata(output),
|
|
1308
|
-
});
|
|
1309
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1310
|
-
const doc = smithyClient.take(data, {
|
|
1311
|
-
memoryRecord: (_) => de_MemoryRecord(_),
|
|
1312
|
-
});
|
|
1313
|
-
Object.assign(contents, doc);
|
|
1314
|
-
return contents;
|
|
1315
|
-
};
|
|
1316
|
-
const de_GetResourceApiKeyCommand = async (output, context) => {
|
|
1317
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1318
|
-
return de_CommandError(output, context);
|
|
1319
|
-
}
|
|
1320
|
-
const contents = smithyClient.map({
|
|
1321
|
-
$metadata: deserializeMetadata(output),
|
|
1322
|
-
});
|
|
1323
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1324
|
-
const doc = smithyClient.take(data, {
|
|
1325
|
-
apiKey: smithyClient.expectString,
|
|
1326
|
-
});
|
|
1327
|
-
Object.assign(contents, doc);
|
|
1328
|
-
return contents;
|
|
1329
|
-
};
|
|
1330
|
-
const de_GetResourceOauth2TokenCommand = async (output, context) => {
|
|
1331
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1332
|
-
return de_CommandError(output, context);
|
|
1333
|
-
}
|
|
1334
|
-
const contents = smithyClient.map({
|
|
1335
|
-
$metadata: deserializeMetadata(output),
|
|
1336
|
-
});
|
|
1337
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1338
|
-
const doc = smithyClient.take(data, {
|
|
1339
|
-
accessToken: smithyClient.expectString,
|
|
1340
|
-
authorizationUrl: smithyClient.expectString,
|
|
1341
|
-
sessionStatus: smithyClient.expectString,
|
|
1342
|
-
sessionUri: smithyClient.expectString,
|
|
1343
|
-
});
|
|
1344
|
-
Object.assign(contents, doc);
|
|
1345
|
-
return contents;
|
|
1346
|
-
};
|
|
1347
|
-
const de_GetWorkloadAccessTokenCommand = async (output, context) => {
|
|
1348
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1349
|
-
return de_CommandError(output, context);
|
|
1350
|
-
}
|
|
1351
|
-
const contents = smithyClient.map({
|
|
1352
|
-
$metadata: deserializeMetadata(output),
|
|
1353
|
-
});
|
|
1354
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1355
|
-
const doc = smithyClient.take(data, {
|
|
1356
|
-
workloadAccessToken: smithyClient.expectString,
|
|
1357
|
-
});
|
|
1358
|
-
Object.assign(contents, doc);
|
|
1359
|
-
return contents;
|
|
1360
|
-
};
|
|
1361
|
-
const de_GetWorkloadAccessTokenForJWTCommand = async (output, context) => {
|
|
1362
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1363
|
-
return de_CommandError(output, context);
|
|
1364
|
-
}
|
|
1365
|
-
const contents = smithyClient.map({
|
|
1366
|
-
$metadata: deserializeMetadata(output),
|
|
1367
|
-
});
|
|
1368
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1369
|
-
const doc = smithyClient.take(data, {
|
|
1370
|
-
workloadAccessToken: smithyClient.expectString,
|
|
1371
|
-
});
|
|
1372
|
-
Object.assign(contents, doc);
|
|
1373
|
-
return contents;
|
|
1374
|
-
};
|
|
1375
|
-
const de_GetWorkloadAccessTokenForUserIdCommand = async (output, context) => {
|
|
1376
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1377
|
-
return de_CommandError(output, context);
|
|
1378
|
-
}
|
|
1379
|
-
const contents = smithyClient.map({
|
|
1380
|
-
$metadata: deserializeMetadata(output),
|
|
1381
|
-
});
|
|
1382
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1383
|
-
const doc = smithyClient.take(data, {
|
|
1384
|
-
workloadAccessToken: smithyClient.expectString,
|
|
1385
|
-
});
|
|
1386
|
-
Object.assign(contents, doc);
|
|
1387
|
-
return contents;
|
|
1388
|
-
};
|
|
1389
|
-
const de_InvokeAgentRuntimeCommand = async (output, context) => {
|
|
1390
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1391
|
-
return de_CommandError(output, context);
|
|
1392
|
-
}
|
|
1393
|
-
const contents = smithyClient.map({
|
|
1394
|
-
$metadata: deserializeMetadata(output),
|
|
1395
|
-
[_rSI]: [, output.headers[_xabarsi]],
|
|
1396
|
-
[_mSI]: [, output.headers[_msi]],
|
|
1397
|
-
[_mPV]: [, output.headers[_mpv]],
|
|
1398
|
-
[_tI]: [, output.headers[_xati]],
|
|
1399
|
-
[_tP]: [, output.headers[_t]],
|
|
1400
|
-
[_tS]: [, output.headers[_tr]],
|
|
1401
|
-
[_b]: [, output.headers[_b]],
|
|
1402
|
-
[_cT]: [, output.headers[_ct]],
|
|
1403
|
-
});
|
|
1404
|
-
const data = output.body;
|
|
1405
|
-
context.sdkStreamMixin(data);
|
|
1406
|
-
contents.response = data;
|
|
1407
|
-
smithyClient.map(contents, {
|
|
1408
|
-
statusCode: [, output.statusCode],
|
|
1409
|
-
});
|
|
1410
|
-
return contents;
|
|
1411
|
-
};
|
|
1412
|
-
const de_InvokeCodeInterpreterCommand = async (output, context) => {
|
|
1413
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1414
|
-
return de_CommandError(output, context);
|
|
1415
|
-
}
|
|
1416
|
-
const contents = smithyClient.map({
|
|
1417
|
-
$metadata: deserializeMetadata(output),
|
|
1418
|
-
[_sI]: [, output.headers[_xacisi]],
|
|
1419
|
-
});
|
|
1420
|
-
const data = output.body;
|
|
1421
|
-
contents.stream = de_CodeInterpreterStreamOutput(data, context);
|
|
1422
|
-
return contents;
|
|
1423
|
-
};
|
|
1424
|
-
const de_ListActorsCommand = async (output, context) => {
|
|
1425
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1426
|
-
return de_CommandError(output, context);
|
|
1427
|
-
}
|
|
1428
|
-
const contents = smithyClient.map({
|
|
1429
|
-
$metadata: deserializeMetadata(output),
|
|
1430
|
-
});
|
|
1431
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1432
|
-
const doc = smithyClient.take(data, {
|
|
1433
|
-
actorSummaries: smithyClient._json,
|
|
1434
|
-
nextToken: smithyClient.expectString,
|
|
1435
|
-
});
|
|
1436
|
-
Object.assign(contents, doc);
|
|
1437
|
-
return contents;
|
|
1438
|
-
};
|
|
1439
|
-
const de_ListBrowserSessionsCommand = async (output, context) => {
|
|
1440
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1441
|
-
return de_CommandError(output, context);
|
|
1442
|
-
}
|
|
1443
|
-
const contents = smithyClient.map({
|
|
1444
|
-
$metadata: deserializeMetadata(output),
|
|
1445
|
-
});
|
|
1446
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1447
|
-
const doc = smithyClient.take(data, {
|
|
1448
|
-
items: (_) => de_BrowserSessionSummaries(_),
|
|
1449
|
-
nextToken: smithyClient.expectString,
|
|
1450
|
-
});
|
|
1451
|
-
Object.assign(contents, doc);
|
|
1452
|
-
return contents;
|
|
1453
|
-
};
|
|
1454
|
-
const de_ListCodeInterpreterSessionsCommand = async (output, context) => {
|
|
1455
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
-
return de_CommandError(output, context);
|
|
1457
|
-
}
|
|
1458
|
-
const contents = smithyClient.map({
|
|
1459
|
-
$metadata: deserializeMetadata(output),
|
|
1460
|
-
});
|
|
1461
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1462
|
-
const doc = smithyClient.take(data, {
|
|
1463
|
-
items: (_) => de_CodeInterpreterSessionSummaries(_),
|
|
1464
|
-
nextToken: smithyClient.expectString,
|
|
1465
|
-
});
|
|
1466
|
-
Object.assign(contents, doc);
|
|
1467
|
-
return contents;
|
|
1468
|
-
};
|
|
1469
|
-
const de_ListEventsCommand = async (output, context) => {
|
|
1470
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1471
|
-
return de_CommandError(output, context);
|
|
1472
|
-
}
|
|
1473
|
-
const contents = smithyClient.map({
|
|
1474
|
-
$metadata: deserializeMetadata(output),
|
|
1475
|
-
});
|
|
1476
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1477
|
-
const doc = smithyClient.take(data, {
|
|
1478
|
-
events: (_) => de_EventList(_),
|
|
1479
|
-
nextToken: smithyClient.expectString,
|
|
1480
|
-
});
|
|
1481
|
-
Object.assign(contents, doc);
|
|
1482
|
-
return contents;
|
|
1483
|
-
};
|
|
1484
|
-
const de_ListMemoryRecordsCommand = async (output, context) => {
|
|
1485
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1486
|
-
return de_CommandError(output, context);
|
|
1487
|
-
}
|
|
1488
|
-
const contents = smithyClient.map({
|
|
1489
|
-
$metadata: deserializeMetadata(output),
|
|
1490
|
-
});
|
|
1491
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1492
|
-
const doc = smithyClient.take(data, {
|
|
1493
|
-
memoryRecordSummaries: (_) => de_MemoryRecordSummaryList(_),
|
|
1494
|
-
nextToken: smithyClient.expectString,
|
|
1495
|
-
});
|
|
1496
|
-
Object.assign(contents, doc);
|
|
1497
|
-
return contents;
|
|
1498
|
-
};
|
|
1499
|
-
const de_ListSessionsCommand = async (output, context) => {
|
|
1500
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1501
|
-
return de_CommandError(output, context);
|
|
1502
|
-
}
|
|
1503
|
-
const contents = smithyClient.map({
|
|
1504
|
-
$metadata: deserializeMetadata(output),
|
|
1505
|
-
});
|
|
1506
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1507
|
-
const doc = smithyClient.take(data, {
|
|
1508
|
-
nextToken: smithyClient.expectString,
|
|
1509
|
-
sessionSummaries: (_) => de_SessionSummaryList(_),
|
|
1510
|
-
});
|
|
1511
|
-
Object.assign(contents, doc);
|
|
1512
|
-
return contents;
|
|
1513
|
-
};
|
|
1514
|
-
const de_RetrieveMemoryRecordsCommand = async (output, context) => {
|
|
1515
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1516
|
-
return de_CommandError(output, context);
|
|
1517
|
-
}
|
|
1518
|
-
const contents = smithyClient.map({
|
|
1519
|
-
$metadata: deserializeMetadata(output),
|
|
1520
|
-
});
|
|
1521
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1522
|
-
const doc = smithyClient.take(data, {
|
|
1523
|
-
memoryRecordSummaries: (_) => de_MemoryRecordSummaryList(_),
|
|
1524
|
-
nextToken: smithyClient.expectString,
|
|
1525
|
-
});
|
|
1526
|
-
Object.assign(contents, doc);
|
|
1527
|
-
return contents;
|
|
1528
|
-
};
|
|
1529
|
-
const de_StartBrowserSessionCommand = async (output, context) => {
|
|
1530
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1531
|
-
return de_CommandError(output, context);
|
|
1532
|
-
}
|
|
1533
|
-
const contents = smithyClient.map({
|
|
1534
|
-
$metadata: deserializeMetadata(output),
|
|
1535
|
-
});
|
|
1536
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1537
|
-
const doc = smithyClient.take(data, {
|
|
1538
|
-
browserIdentifier: smithyClient.expectString,
|
|
1539
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1540
|
-
sessionId: smithyClient.expectString,
|
|
1541
|
-
streams: smithyClient._json,
|
|
1542
|
-
});
|
|
1543
|
-
Object.assign(contents, doc);
|
|
1544
|
-
return contents;
|
|
1545
|
-
};
|
|
1546
|
-
const de_StartCodeInterpreterSessionCommand = async (output, context) => {
|
|
1547
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1548
|
-
return de_CommandError(output, context);
|
|
1549
|
-
}
|
|
1550
|
-
const contents = smithyClient.map({
|
|
1551
|
-
$metadata: deserializeMetadata(output),
|
|
1552
|
-
});
|
|
1553
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1554
|
-
const doc = smithyClient.take(data, {
|
|
1555
|
-
codeInterpreterIdentifier: smithyClient.expectString,
|
|
1556
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1557
|
-
sessionId: smithyClient.expectString,
|
|
1558
|
-
});
|
|
1559
|
-
Object.assign(contents, doc);
|
|
1560
|
-
return contents;
|
|
1561
|
-
};
|
|
1562
|
-
const de_StopBrowserSessionCommand = async (output, context) => {
|
|
1563
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1564
|
-
return de_CommandError(output, context);
|
|
1565
|
-
}
|
|
1566
|
-
const contents = smithyClient.map({
|
|
1567
|
-
$metadata: deserializeMetadata(output),
|
|
1568
|
-
});
|
|
1569
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1570
|
-
const doc = smithyClient.take(data, {
|
|
1571
|
-
browserIdentifier: smithyClient.expectString,
|
|
1572
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1573
|
-
sessionId: smithyClient.expectString,
|
|
1574
|
-
});
|
|
1575
|
-
Object.assign(contents, doc);
|
|
1576
|
-
return contents;
|
|
1577
|
-
};
|
|
1578
|
-
const de_StopCodeInterpreterSessionCommand = async (output, context) => {
|
|
1579
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1580
|
-
return de_CommandError(output, context);
|
|
1581
|
-
}
|
|
1582
|
-
const contents = smithyClient.map({
|
|
1583
|
-
$metadata: deserializeMetadata(output),
|
|
1584
|
-
});
|
|
1585
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1586
|
-
const doc = smithyClient.take(data, {
|
|
1587
|
-
codeInterpreterIdentifier: smithyClient.expectString,
|
|
1588
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1589
|
-
sessionId: smithyClient.expectString,
|
|
1590
|
-
});
|
|
1591
|
-
Object.assign(contents, doc);
|
|
1592
|
-
return contents;
|
|
1593
|
-
};
|
|
1594
|
-
const de_StopRuntimeSessionCommand = async (output, context) => {
|
|
1595
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1596
|
-
return de_CommandError(output, context);
|
|
1597
|
-
}
|
|
1598
|
-
const contents = smithyClient.map({
|
|
1599
|
-
$metadata: deserializeMetadata(output),
|
|
1600
|
-
[_rSI]: [, output.headers[_xabarsi]],
|
|
1601
|
-
});
|
|
1602
|
-
smithyClient.map(contents, {
|
|
1603
|
-
statusCode: [, output.statusCode],
|
|
1604
|
-
});
|
|
1605
|
-
await smithyClient.collectBody(output.body, context);
|
|
1606
|
-
return contents;
|
|
1607
|
-
};
|
|
1608
|
-
const de_UpdateBrowserStreamCommand = async (output, context) => {
|
|
1609
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1610
|
-
return de_CommandError(output, context);
|
|
1611
|
-
}
|
|
1612
|
-
const contents = smithyClient.map({
|
|
1613
|
-
$metadata: deserializeMetadata(output),
|
|
1614
|
-
});
|
|
1615
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1616
|
-
const doc = smithyClient.take(data, {
|
|
1617
|
-
browserIdentifier: smithyClient.expectString,
|
|
1618
|
-
sessionId: smithyClient.expectString,
|
|
1619
|
-
streams: smithyClient._json,
|
|
1620
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1621
|
-
});
|
|
1622
|
-
Object.assign(contents, doc);
|
|
1623
|
-
return contents;
|
|
1624
|
-
};
|
|
1625
|
-
const de_CommandError = async (output, context) => {
|
|
1626
|
-
const parsedOutput = {
|
|
1627
|
-
...output,
|
|
1628
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1629
|
-
};
|
|
1630
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1631
|
-
switch (errorCode) {
|
|
1632
|
-
case "AccessDeniedException":
|
|
1633
|
-
case "com.amazonaws.bedrockagentcore#AccessDeniedException":
|
|
1634
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1635
|
-
case "ResourceNotFoundException":
|
|
1636
|
-
case "com.amazonaws.bedrockagentcore#ResourceNotFoundException":
|
|
1637
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1638
|
-
case "ServiceException":
|
|
1639
|
-
case "com.amazonaws.bedrockagentcore#ServiceException":
|
|
1640
|
-
throw await de_ServiceExceptionRes(parsedOutput);
|
|
1641
|
-
case "ServiceQuotaExceededException":
|
|
1642
|
-
case "com.amazonaws.bedrockagentcore#ServiceQuotaExceededException":
|
|
1643
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1644
|
-
case "ThrottledException":
|
|
1645
|
-
case "com.amazonaws.bedrockagentcore#ThrottledException":
|
|
1646
|
-
throw await de_ThrottledExceptionRes(parsedOutput);
|
|
1647
|
-
case "ValidationException":
|
|
1648
|
-
case "com.amazonaws.bedrockagentcore#ValidationException":
|
|
1649
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1650
|
-
case "InternalServerException":
|
|
1651
|
-
case "com.amazonaws.bedrockagentcore#InternalServerException":
|
|
1652
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1653
|
-
case "ThrottlingException":
|
|
1654
|
-
case "com.amazonaws.bedrockagentcore#ThrottlingException":
|
|
1655
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1656
|
-
case "UnauthorizedException":
|
|
1657
|
-
case "com.amazonaws.bedrockagentcore#UnauthorizedException":
|
|
1658
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
1659
|
-
case "InvalidInputException":
|
|
1660
|
-
case "com.amazonaws.bedrockagentcore#InvalidInputException":
|
|
1661
|
-
throw await de_InvalidInputExceptionRes(parsedOutput);
|
|
1662
|
-
case "RuntimeClientError":
|
|
1663
|
-
case "com.amazonaws.bedrockagentcore#RuntimeClientError":
|
|
1664
|
-
throw await de_RuntimeClientErrorRes(parsedOutput);
|
|
1665
|
-
case "ConflictException":
|
|
1666
|
-
case "com.amazonaws.bedrockagentcore#ConflictException":
|
|
1667
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1668
|
-
default:
|
|
1669
|
-
const parsedBody = parsedOutput.body;
|
|
1670
|
-
return throwDefaultError({
|
|
1671
|
-
output,
|
|
1672
|
-
parsedBody,
|
|
1673
|
-
errorCode,
|
|
1674
|
-
});
|
|
1675
|
-
}
|
|
1676
|
-
};
|
|
1677
|
-
const throwDefaultError = smithyClient.withBaseException(BedrockAgentCoreServiceException);
|
|
1678
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1679
|
-
const contents = smithyClient.map({});
|
|
1680
|
-
const data = parsedOutput.body;
|
|
1681
|
-
const doc = smithyClient.take(data, {
|
|
1682
|
-
message: smithyClient.expectString,
|
|
1683
|
-
});
|
|
1684
|
-
Object.assign(contents, doc);
|
|
1685
|
-
const exception = new AccessDeniedException({
|
|
1686
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1687
|
-
...contents,
|
|
1688
|
-
});
|
|
1689
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1690
|
-
};
|
|
1691
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1692
|
-
const contents = smithyClient.map({});
|
|
1693
|
-
const data = parsedOutput.body;
|
|
1694
|
-
const doc = smithyClient.take(data, {
|
|
1695
|
-
message: smithyClient.expectString,
|
|
1696
|
-
});
|
|
1697
|
-
Object.assign(contents, doc);
|
|
1698
|
-
const exception = new ConflictException({
|
|
1699
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1700
|
-
...contents,
|
|
1701
|
-
});
|
|
1702
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1703
|
-
};
|
|
1704
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1705
|
-
const contents = smithyClient.map({});
|
|
1706
|
-
const data = parsedOutput.body;
|
|
1707
|
-
const doc = smithyClient.take(data, {
|
|
1708
|
-
message: smithyClient.expectString,
|
|
1709
|
-
});
|
|
1710
|
-
Object.assign(contents, doc);
|
|
1711
|
-
const exception = new InternalServerException({
|
|
1712
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1713
|
-
...contents,
|
|
1714
|
-
});
|
|
1715
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1716
|
-
};
|
|
1717
|
-
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1718
|
-
const contents = smithyClient.map({});
|
|
1719
|
-
const data = parsedOutput.body;
|
|
1720
|
-
const doc = smithyClient.take(data, {
|
|
1721
|
-
message: smithyClient.expectString,
|
|
1722
|
-
});
|
|
1723
|
-
Object.assign(contents, doc);
|
|
1724
|
-
const exception = new InvalidInputException({
|
|
1725
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1726
|
-
...contents,
|
|
1727
|
-
});
|
|
1728
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1729
|
-
};
|
|
1730
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1731
|
-
const contents = smithyClient.map({});
|
|
1732
|
-
const data = parsedOutput.body;
|
|
1733
|
-
const doc = smithyClient.take(data, {
|
|
1734
|
-
message: smithyClient.expectString,
|
|
1735
|
-
});
|
|
1736
|
-
Object.assign(contents, doc);
|
|
1737
|
-
const exception = new ResourceNotFoundException({
|
|
1738
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1739
|
-
...contents,
|
|
1740
|
-
});
|
|
1741
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1742
|
-
};
|
|
1743
|
-
const de_RuntimeClientErrorRes = async (parsedOutput, context) => {
|
|
1744
|
-
const contents = smithyClient.map({});
|
|
1745
|
-
const data = parsedOutput.body;
|
|
1746
|
-
const doc = smithyClient.take(data, {
|
|
1747
|
-
message: smithyClient.expectString,
|
|
1748
|
-
});
|
|
1749
|
-
Object.assign(contents, doc);
|
|
1750
|
-
const exception = new RuntimeClientError({
|
|
1751
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1752
|
-
...contents,
|
|
1753
|
-
});
|
|
1754
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1755
|
-
};
|
|
1756
|
-
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
1757
|
-
const contents = smithyClient.map({});
|
|
1758
|
-
const data = parsedOutput.body;
|
|
1759
|
-
const doc = smithyClient.take(data, {
|
|
1760
|
-
message: smithyClient.expectString,
|
|
1761
|
-
});
|
|
1762
|
-
Object.assign(contents, doc);
|
|
1763
|
-
const exception = new ServiceException({
|
|
1764
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1765
|
-
...contents,
|
|
1766
|
-
});
|
|
1767
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1768
|
-
};
|
|
1769
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1770
|
-
const contents = smithyClient.map({});
|
|
1771
|
-
const data = parsedOutput.body;
|
|
1772
|
-
const doc = smithyClient.take(data, {
|
|
1773
|
-
message: smithyClient.expectString,
|
|
1774
|
-
});
|
|
1775
|
-
Object.assign(contents, doc);
|
|
1776
|
-
const exception = new ServiceQuotaExceededException({
|
|
1777
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1778
|
-
...contents,
|
|
1779
|
-
});
|
|
1780
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1781
|
-
};
|
|
1782
|
-
const de_ThrottledExceptionRes = async (parsedOutput, context) => {
|
|
1783
|
-
const contents = smithyClient.map({});
|
|
1784
|
-
const data = parsedOutput.body;
|
|
1785
|
-
const doc = smithyClient.take(data, {
|
|
1786
|
-
message: smithyClient.expectString,
|
|
1787
|
-
});
|
|
1788
|
-
Object.assign(contents, doc);
|
|
1789
|
-
const exception = new ThrottledException({
|
|
1790
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1791
|
-
...contents,
|
|
1792
|
-
});
|
|
1793
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1794
|
-
};
|
|
1795
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1796
|
-
const contents = smithyClient.map({});
|
|
1797
|
-
const data = parsedOutput.body;
|
|
1798
|
-
const doc = smithyClient.take(data, {
|
|
1799
|
-
message: smithyClient.expectString,
|
|
1800
|
-
});
|
|
1801
|
-
Object.assign(contents, doc);
|
|
1802
|
-
const exception = new ThrottlingException({
|
|
1803
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1804
|
-
...contents,
|
|
1805
|
-
});
|
|
1806
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1807
|
-
};
|
|
1808
|
-
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1809
|
-
const contents = smithyClient.map({});
|
|
1810
|
-
const data = parsedOutput.body;
|
|
1811
|
-
const doc = smithyClient.take(data, {
|
|
1812
|
-
message: smithyClient.expectString,
|
|
1813
|
-
});
|
|
1814
|
-
Object.assign(contents, doc);
|
|
1815
|
-
const exception = new UnauthorizedException({
|
|
1816
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1817
|
-
...contents,
|
|
1818
|
-
});
|
|
1819
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1820
|
-
};
|
|
1821
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1822
|
-
const contents = smithyClient.map({});
|
|
1823
|
-
const data = parsedOutput.body;
|
|
1824
|
-
const doc = smithyClient.take(data, {
|
|
1825
|
-
fieldList: smithyClient._json,
|
|
1826
|
-
message: smithyClient.expectString,
|
|
1827
|
-
reason: smithyClient.expectString,
|
|
1828
|
-
});
|
|
1829
|
-
Object.assign(contents, doc);
|
|
1830
|
-
const exception = new ValidationException({
|
|
1831
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1832
|
-
...contents,
|
|
1833
|
-
});
|
|
1834
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1835
|
-
};
|
|
1836
|
-
const de_CodeInterpreterStreamOutput = (output, context) => {
|
|
1837
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1838
|
-
if (event["result"] != null) {
|
|
1839
|
-
return {
|
|
1840
|
-
result: await de_CodeInterpreterResult_event(event["result"], context),
|
|
1841
|
-
};
|
|
1842
|
-
}
|
|
1843
|
-
if (event["accessDeniedException"] != null) {
|
|
1844
|
-
return {
|
|
1845
|
-
accessDeniedException: await de_AccessDeniedException_event(event["accessDeniedException"], context),
|
|
1846
|
-
};
|
|
1847
|
-
}
|
|
1848
|
-
if (event["conflictException"] != null) {
|
|
1849
|
-
return {
|
|
1850
|
-
conflictException: await de_ConflictException_event(event["conflictException"], context),
|
|
1851
|
-
};
|
|
1852
|
-
}
|
|
1853
|
-
if (event["internalServerException"] != null) {
|
|
1854
|
-
return {
|
|
1855
|
-
internalServerException: await de_InternalServerException_event(event["internalServerException"], context),
|
|
1856
|
-
};
|
|
1857
|
-
}
|
|
1858
|
-
if (event["resourceNotFoundException"] != null) {
|
|
1859
|
-
return {
|
|
1860
|
-
resourceNotFoundException: await de_ResourceNotFoundException_event(event["resourceNotFoundException"], context),
|
|
1861
|
-
};
|
|
1862
|
-
}
|
|
1863
|
-
if (event["serviceQuotaExceededException"] != null) {
|
|
1864
|
-
return {
|
|
1865
|
-
serviceQuotaExceededException: await de_ServiceQuotaExceededException_event(event["serviceQuotaExceededException"], context),
|
|
1866
|
-
};
|
|
1867
|
-
}
|
|
1868
|
-
if (event["throttlingException"] != null) {
|
|
1869
|
-
return {
|
|
1870
|
-
throttlingException: await de_ThrottlingException_event(event["throttlingException"], context),
|
|
1871
|
-
};
|
|
1872
|
-
}
|
|
1873
|
-
if (event["validationException"] != null) {
|
|
1874
|
-
return {
|
|
1875
|
-
validationException: await de_ValidationException_event(event["validationException"], context),
|
|
1876
|
-
};
|
|
1877
|
-
}
|
|
1878
|
-
return { $unknown: event };
|
|
1879
|
-
});
|
|
1880
|
-
};
|
|
1881
|
-
const de_AccessDeniedException_event = async (output, context) => {
|
|
1882
|
-
const parsedOutput = {
|
|
1883
|
-
...output,
|
|
1884
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1885
|
-
};
|
|
1886
|
-
return de_AccessDeniedExceptionRes(parsedOutput);
|
|
1887
|
-
};
|
|
1888
|
-
const de_CodeInterpreterResult_event = async (output, context) => {
|
|
1889
|
-
const contents = {};
|
|
1890
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1891
|
-
Object.assign(contents, de_CodeInterpreterResult(data, context));
|
|
1892
|
-
return contents;
|
|
1893
|
-
};
|
|
1894
|
-
const de_ConflictException_event = async (output, context) => {
|
|
1895
|
-
const parsedOutput = {
|
|
1896
|
-
...output,
|
|
1897
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1898
|
-
};
|
|
1899
|
-
return de_ConflictExceptionRes(parsedOutput);
|
|
1900
|
-
};
|
|
1901
|
-
const de_InternalServerException_event = async (output, context) => {
|
|
1902
|
-
const parsedOutput = {
|
|
1903
|
-
...output,
|
|
1904
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1905
|
-
};
|
|
1906
|
-
return de_InternalServerExceptionRes(parsedOutput);
|
|
1907
|
-
};
|
|
1908
|
-
const de_ResourceNotFoundException_event = async (output, context) => {
|
|
1909
|
-
const parsedOutput = {
|
|
1910
|
-
...output,
|
|
1911
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1912
|
-
};
|
|
1913
|
-
return de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1914
|
-
};
|
|
1915
|
-
const de_ServiceQuotaExceededException_event = async (output, context) => {
|
|
1916
|
-
const parsedOutput = {
|
|
1917
|
-
...output,
|
|
1918
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1919
|
-
};
|
|
1920
|
-
return de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1921
|
-
};
|
|
1922
|
-
const de_ThrottlingException_event = async (output, context) => {
|
|
1923
|
-
const parsedOutput = {
|
|
1924
|
-
...output,
|
|
1925
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1926
|
-
};
|
|
1927
|
-
return de_ThrottlingExceptionRes(parsedOutput);
|
|
1928
|
-
};
|
|
1929
|
-
const de_ValidationException_event = async (output, context) => {
|
|
1930
|
-
const parsedOutput = {
|
|
1931
|
-
...output,
|
|
1932
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1933
|
-
};
|
|
1934
|
-
return de_ValidationExceptionRes(parsedOutput);
|
|
1935
|
-
};
|
|
1936
|
-
const se_Document = (input, context) => {
|
|
1937
|
-
return input;
|
|
1938
|
-
};
|
|
1939
|
-
const se_InputContentBlock = (input, context) => {
|
|
1940
|
-
return smithyClient.take(input, {
|
|
1941
|
-
blob: context.base64Encoder,
|
|
1942
|
-
path: [],
|
|
1943
|
-
text: [],
|
|
1944
|
-
});
|
|
1945
|
-
};
|
|
1946
|
-
const se_InputContentBlockList = (input, context) => {
|
|
1947
|
-
return input
|
|
1948
|
-
.filter((e) => e != null)
|
|
1949
|
-
.map((entry) => {
|
|
1950
|
-
return se_InputContentBlock(entry, context);
|
|
1951
|
-
});
|
|
1952
|
-
};
|
|
1953
|
-
const se_MemoryRecordCreateInput = (input, context) => {
|
|
1954
|
-
return smithyClient.take(input, {
|
|
1955
|
-
content: smithyClient._json,
|
|
1956
|
-
memoryStrategyId: [],
|
|
1957
|
-
namespaces: smithyClient._json,
|
|
1958
|
-
requestIdentifier: [],
|
|
1959
|
-
timestamp: (_) => _.getTime() / 1_000,
|
|
1960
|
-
});
|
|
1961
|
-
};
|
|
1962
|
-
const se_MemoryRecordsCreateInputList = (input, context) => {
|
|
1963
|
-
return input
|
|
1964
|
-
.filter((e) => e != null)
|
|
1965
|
-
.map((entry) => {
|
|
1966
|
-
return se_MemoryRecordCreateInput(entry);
|
|
1967
|
-
});
|
|
1968
|
-
};
|
|
1969
|
-
const se_MemoryRecordsUpdateInputList = (input, context) => {
|
|
1970
|
-
return input
|
|
1971
|
-
.filter((e) => e != null)
|
|
1972
|
-
.map((entry) => {
|
|
1973
|
-
return se_MemoryRecordUpdateInput(entry);
|
|
1974
|
-
});
|
|
1975
|
-
};
|
|
1976
|
-
const se_MemoryRecordUpdateInput = (input, context) => {
|
|
1977
|
-
return smithyClient.take(input, {
|
|
1978
|
-
content: smithyClient._json,
|
|
1979
|
-
memoryRecordId: [],
|
|
1980
|
-
memoryStrategyId: [],
|
|
1981
|
-
namespaces: smithyClient._json,
|
|
1982
|
-
timestamp: (_) => _.getTime() / 1_000,
|
|
1983
|
-
});
|
|
1984
|
-
};
|
|
1985
|
-
const se_PayloadType = (input, context) => {
|
|
1986
|
-
return exports.PayloadType.visit(input, {
|
|
1987
|
-
blob: (value) => ({ blob: se_Document(value) }),
|
|
1988
|
-
conversational: (value) => ({ conversational: smithyClient._json(value) }),
|
|
1989
|
-
_: (name, value) => ({ [name]: value }),
|
|
1990
|
-
});
|
|
1991
|
-
};
|
|
1992
|
-
const se_PayloadTypeList = (input, context) => {
|
|
1993
|
-
return input
|
|
1994
|
-
.filter((e) => e != null)
|
|
1995
|
-
.map((entry) => {
|
|
1996
|
-
return se_PayloadType(entry);
|
|
1997
|
-
});
|
|
1998
|
-
};
|
|
1999
|
-
const se_ToolArguments = (input, context) => {
|
|
2000
|
-
return smithyClient.take(input, {
|
|
2001
|
-
clearContext: [],
|
|
2002
|
-
code: [],
|
|
2003
|
-
command: [],
|
|
2004
|
-
content: (_) => se_InputContentBlockList(_, context),
|
|
2005
|
-
directoryPath: [],
|
|
2006
|
-
language: [],
|
|
2007
|
-
path: [],
|
|
2008
|
-
paths: smithyClient._json,
|
|
2009
|
-
taskId: [],
|
|
2010
|
-
});
|
|
2011
|
-
};
|
|
2012
|
-
const de_BrowserSessionSummaries = (output, context) => {
|
|
2013
|
-
const retVal = (output || [])
|
|
2014
|
-
.filter((e) => e != null)
|
|
2015
|
-
.map((entry) => {
|
|
2016
|
-
return de_BrowserSessionSummary(entry);
|
|
2017
|
-
});
|
|
2018
|
-
return retVal;
|
|
2019
|
-
};
|
|
2020
|
-
const de_BrowserSessionSummary = (output, context) => {
|
|
2021
|
-
return smithyClient.take(output, {
|
|
2022
|
-
browserIdentifier: smithyClient.expectString,
|
|
2023
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2024
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2025
|
-
name: smithyClient.expectString,
|
|
2026
|
-
sessionId: smithyClient.expectString,
|
|
2027
|
-
status: smithyClient.expectString,
|
|
2028
|
-
});
|
|
2029
|
-
};
|
|
2030
|
-
const de_CodeInterpreterResult = (output, context) => {
|
|
2031
|
-
return smithyClient.take(output, {
|
|
2032
|
-
content: (_) => de_ContentBlockList(_, context),
|
|
2033
|
-
isError: smithyClient.expectBoolean,
|
|
2034
|
-
structuredContent: (_) => de_ToolResultStructuredContent(_),
|
|
2035
|
-
});
|
|
2036
|
-
};
|
|
2037
|
-
const de_CodeInterpreterSessionSummaries = (output, context) => {
|
|
2038
|
-
const retVal = (output || [])
|
|
2039
|
-
.filter((e) => e != null)
|
|
2040
|
-
.map((entry) => {
|
|
2041
|
-
return de_CodeInterpreterSessionSummary(entry);
|
|
2042
|
-
});
|
|
2043
|
-
return retVal;
|
|
2044
|
-
};
|
|
2045
|
-
const de_CodeInterpreterSessionSummary = (output, context) => {
|
|
2046
|
-
return smithyClient.take(output, {
|
|
2047
|
-
codeInterpreterIdentifier: smithyClient.expectString,
|
|
2048
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2049
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2050
|
-
name: smithyClient.expectString,
|
|
2051
|
-
sessionId: smithyClient.expectString,
|
|
2052
|
-
status: smithyClient.expectString,
|
|
2053
|
-
});
|
|
2054
|
-
};
|
|
2055
|
-
const de_ContentBlock = (output, context) => {
|
|
2056
|
-
return smithyClient.take(output, {
|
|
2057
|
-
data: context.base64Decoder,
|
|
2058
|
-
description: smithyClient.expectString,
|
|
2059
|
-
mimeType: smithyClient.expectString,
|
|
2060
|
-
name: smithyClient.expectString,
|
|
2061
|
-
resource: (_) => de_ResourceContent(_, context),
|
|
2062
|
-
size: smithyClient.expectLong,
|
|
2063
|
-
text: smithyClient.expectString,
|
|
2064
|
-
type: smithyClient.expectString,
|
|
2065
|
-
uri: smithyClient.expectString,
|
|
2066
|
-
});
|
|
2067
|
-
};
|
|
2068
|
-
const de_ContentBlockList = (output, context) => {
|
|
2069
|
-
const retVal = (output || [])
|
|
2070
|
-
.filter((e) => e != null)
|
|
2071
|
-
.map((entry) => {
|
|
2072
|
-
return de_ContentBlock(entry, context);
|
|
2073
|
-
});
|
|
2074
|
-
return retVal;
|
|
2075
|
-
};
|
|
2076
|
-
const de_Document = (output, context) => {
|
|
2077
|
-
return output;
|
|
2078
|
-
};
|
|
2079
|
-
const de_Event = (output, context) => {
|
|
2080
|
-
return smithyClient.take(output, {
|
|
2081
|
-
actorId: smithyClient.expectString,
|
|
2082
|
-
branch: smithyClient._json,
|
|
2083
|
-
eventId: smithyClient.expectString,
|
|
2084
|
-
eventTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2085
|
-
memoryId: smithyClient.expectString,
|
|
2086
|
-
metadata: smithyClient._json,
|
|
2087
|
-
payload: (_) => de_PayloadTypeList(_),
|
|
2088
|
-
sessionId: smithyClient.expectString,
|
|
2089
|
-
});
|
|
2090
|
-
};
|
|
2091
|
-
const de_EventList = (output, context) => {
|
|
2092
|
-
const retVal = (output || [])
|
|
2093
|
-
.filter((e) => e != null)
|
|
2094
|
-
.map((entry) => {
|
|
2095
|
-
return de_Event(entry);
|
|
2096
|
-
});
|
|
2097
|
-
return retVal;
|
|
2098
|
-
};
|
|
2099
|
-
const de_MemoryRecord = (output, context) => {
|
|
2100
|
-
return smithyClient.take(output, {
|
|
2101
|
-
content: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
2102
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2103
|
-
memoryRecordId: smithyClient.expectString,
|
|
2104
|
-
memoryStrategyId: smithyClient.expectString,
|
|
2105
|
-
namespaces: smithyClient._json,
|
|
2106
|
-
});
|
|
2107
|
-
};
|
|
2108
|
-
const de_MemoryRecordSummary = (output, context) => {
|
|
2109
|
-
return smithyClient.take(output, {
|
|
2110
|
-
content: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
2111
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2112
|
-
memoryRecordId: smithyClient.expectString,
|
|
2113
|
-
memoryStrategyId: smithyClient.expectString,
|
|
2114
|
-
namespaces: smithyClient._json,
|
|
2115
|
-
score: smithyClient.limitedParseDouble,
|
|
2116
|
-
});
|
|
2117
|
-
};
|
|
2118
|
-
const de_MemoryRecordSummaryList = (output, context) => {
|
|
2119
|
-
const retVal = (output || [])
|
|
2120
|
-
.filter((e) => e != null)
|
|
2121
|
-
.map((entry) => {
|
|
2122
|
-
return de_MemoryRecordSummary(entry);
|
|
2123
|
-
});
|
|
2124
|
-
return retVal;
|
|
2125
|
-
};
|
|
2126
|
-
const de_PayloadType = (output, context) => {
|
|
2127
|
-
if (output.blob != null) {
|
|
2128
|
-
return {
|
|
2129
|
-
blob: de_Document(output.blob),
|
|
2130
|
-
};
|
|
2131
|
-
}
|
|
2132
|
-
if (output.conversational != null) {
|
|
2133
|
-
return {
|
|
2134
|
-
conversational: smithyClient._json(output.conversational),
|
|
2135
|
-
};
|
|
2136
|
-
}
|
|
2137
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2138
|
-
};
|
|
2139
|
-
const de_PayloadTypeList = (output, context) => {
|
|
2140
|
-
const retVal = (output || [])
|
|
2141
|
-
.filter((e) => e != null)
|
|
2142
|
-
.map((entry) => {
|
|
2143
|
-
return de_PayloadType(core$1.awsExpectUnion(entry));
|
|
2144
|
-
});
|
|
2145
|
-
return retVal;
|
|
2146
|
-
};
|
|
2147
|
-
const de_ResourceContent = (output, context) => {
|
|
2148
|
-
return smithyClient.take(output, {
|
|
2149
|
-
blob: context.base64Decoder,
|
|
2150
|
-
mimeType: smithyClient.expectString,
|
|
2151
|
-
text: smithyClient.expectString,
|
|
2152
|
-
type: smithyClient.expectString,
|
|
2153
|
-
uri: smithyClient.expectString,
|
|
2154
|
-
});
|
|
2155
|
-
};
|
|
2156
|
-
const de_SessionSummary = (output, context) => {
|
|
2157
|
-
return smithyClient.take(output, {
|
|
2158
|
-
actorId: smithyClient.expectString,
|
|
2159
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2160
|
-
sessionId: smithyClient.expectString,
|
|
2161
|
-
});
|
|
2162
|
-
};
|
|
2163
|
-
const de_SessionSummaryList = (output, context) => {
|
|
2164
|
-
const retVal = (output || [])
|
|
2165
|
-
.filter((e) => e != null)
|
|
2166
|
-
.map((entry) => {
|
|
2167
|
-
return de_SessionSummary(entry);
|
|
2168
|
-
});
|
|
2169
|
-
return retVal;
|
|
2170
|
-
};
|
|
2171
|
-
const de_ToolResultStructuredContent = (output, context) => {
|
|
2172
|
-
return smithyClient.take(output, {
|
|
2173
|
-
executionTime: smithyClient.limitedParseDouble,
|
|
2174
|
-
exitCode: smithyClient.expectInt32,
|
|
2175
|
-
stderr: smithyClient.expectString,
|
|
2176
|
-
stdout: smithyClient.expectString,
|
|
2177
|
-
taskId: smithyClient.expectString,
|
|
2178
|
-
taskStatus: smithyClient.expectString,
|
|
2179
|
-
});
|
|
2180
|
-
};
|
|
2181
|
-
const deserializeMetadata = (output) => ({
|
|
2182
|
-
httpStatusCode: output.statusCode,
|
|
2183
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2184
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2185
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2186
|
-
});
|
|
2187
|
-
const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
436
|
+
const _A = "Accept";
|
|
437
|
+
const _ADE = "AccessDeniedException";
|
|
438
|
+
const _AKT = "ApiKeyType";
|
|
439
|
+
const _AS = "ActorSummary";
|
|
440
|
+
const _ASL = "ActorSummaryList";
|
|
441
|
+
const _ASU = "AutomationStreamUpdate";
|
|
442
|
+
const _ASu = "AutomationStream";
|
|
443
|
+
const _ATT = "AccessTokenType";
|
|
444
|
+
const _AUT = "AuthorizationUrlType";
|
|
445
|
+
const _B = "Body";
|
|
446
|
+
const _BCMR = "BatchCreateMemoryRecords";
|
|
447
|
+
const _BCMRI = "BatchCreateMemoryRecordsInput";
|
|
448
|
+
const _BCMRO = "BatchCreateMemoryRecordsOutput";
|
|
449
|
+
const _BDMR = "BatchDeleteMemoryRecords";
|
|
450
|
+
const _BDMRI = "BatchDeleteMemoryRecordsInput";
|
|
451
|
+
const _BDMRO = "BatchDeleteMemoryRecordsOutput";
|
|
452
|
+
const _BF = "BranchFilter";
|
|
453
|
+
const _BSS = "BrowserSessionStream";
|
|
454
|
+
const _BSSr = "BrowserSessionSummary";
|
|
455
|
+
const _BSSro = "BrowserSessionSummaries";
|
|
456
|
+
const _BUMR = "BatchUpdateMemoryRecords";
|
|
457
|
+
const _BUMRI = "BatchUpdateMemoryRecordsInput";
|
|
458
|
+
const _BUMRO = "BatchUpdateMemoryRecordsOutput";
|
|
459
|
+
const _Br = "Branch";
|
|
460
|
+
const _C = "Conversational";
|
|
461
|
+
const _CB = "ContentBlock";
|
|
462
|
+
const _CBL = "ContentBlockList";
|
|
463
|
+
const _CE = "ConflictException";
|
|
464
|
+
const _CEI = "CreateEventInput";
|
|
465
|
+
const _CEO = "CreateEventOutput";
|
|
466
|
+
const _CEr = "CreateEvent";
|
|
467
|
+
const _CIR = "CodeInterpreterResult";
|
|
468
|
+
const _CISO = "CodeInterpreterStreamOutput";
|
|
469
|
+
const _CISS = "CodeInterpreterSessionSummary";
|
|
470
|
+
const _CISSo = "CodeInterpreterSessionSummaries";
|
|
471
|
+
const _CRPT = "CustomRequestParametersType";
|
|
472
|
+
const _CRTA = "CompleteResourceTokenAuth";
|
|
473
|
+
const _CRTAR = "CompleteResourceTokenAuthRequest";
|
|
474
|
+
const _CRTARo = "CompleteResourceTokenAuthResponse";
|
|
475
|
+
const _CRVT = "CustomRequestValueType";
|
|
476
|
+
const _CT = "Content-Type";
|
|
477
|
+
const _Co = "Content";
|
|
478
|
+
const _DE = "DeleteEvent";
|
|
479
|
+
const _DEI = "DeleteEventInput";
|
|
480
|
+
const _DEO = "DeleteEventOutput";
|
|
481
|
+
const _DMR = "DeleteMemoryRecord";
|
|
482
|
+
const _DMRI = "DeleteMemoryRecordInput";
|
|
483
|
+
const _DMRO = "DeleteMemoryRecordOutput";
|
|
484
|
+
const _E = "Event";
|
|
485
|
+
const _EL = "EventList";
|
|
486
|
+
const _EMFE = "EventMetadataFilterExpression";
|
|
487
|
+
const _EMFL = "EventMetadataFilterList";
|
|
488
|
+
const _FI = "FilterInput";
|
|
489
|
+
const _GAC = "GetAgentCard";
|
|
490
|
+
const _GACR = "GetAgentCardRequest";
|
|
491
|
+
const _GACRe = "GetAgentCardResponse";
|
|
492
|
+
const _GBS = "GetBrowserSession";
|
|
493
|
+
const _GBSR = "GetBrowserSessionRequest";
|
|
494
|
+
const _GBSRe = "GetBrowserSessionResponse";
|
|
495
|
+
const _GCIS = "GetCodeInterpreterSession";
|
|
496
|
+
const _GCISR = "GetCodeInterpreterSessionRequest";
|
|
497
|
+
const _GCISRe = "GetCodeInterpreterSessionResponse";
|
|
498
|
+
const _GE = "GetEvent";
|
|
499
|
+
const _GEI = "GetEventInput";
|
|
500
|
+
const _GEO = "GetEventOutput";
|
|
501
|
+
const _GMR = "GetMemoryRecord";
|
|
502
|
+
const _GMRI = "GetMemoryRecordInput";
|
|
503
|
+
const _GMRO = "GetMemoryRecordOutput";
|
|
504
|
+
const _GRAK = "GetResourceApiKey";
|
|
505
|
+
const _GRAKR = "GetResourceApiKeyRequest";
|
|
506
|
+
const _GRAKRe = "GetResourceApiKeyResponse";
|
|
507
|
+
const _GROT = "GetResourceOauth2Token";
|
|
508
|
+
const _GROTR = "GetResourceOauth2TokenRequest";
|
|
509
|
+
const _GROTRe = "GetResourceOauth2TokenResponse";
|
|
510
|
+
const _GWAT = "GetWorkloadAccessToken";
|
|
511
|
+
const _GWATFJWT = "GetWorkloadAccessTokenForJWT";
|
|
512
|
+
const _GWATFJWTR = "GetWorkloadAccessTokenForJWTRequest";
|
|
513
|
+
const _GWATFJWTRe = "GetWorkloadAccessTokenForJWTResponse";
|
|
514
|
+
const _GWATFUI = "GetWorkloadAccessTokenForUserId";
|
|
515
|
+
const _GWATFUIR = "GetWorkloadAccessTokenForUserIdRequest";
|
|
516
|
+
const _GWATFUIRe = "GetWorkloadAccessTokenForUserIdResponse";
|
|
517
|
+
const _GWATR = "GetWorkloadAccessTokenRequest";
|
|
518
|
+
const _GWATRe = "GetWorkloadAccessTokenResponse";
|
|
519
|
+
const _IAR = "InvokeAgentRuntime";
|
|
520
|
+
const _IARR = "InvokeAgentRuntimeRequest";
|
|
521
|
+
const _IARRn = "InvokeAgentRuntimeResponse";
|
|
522
|
+
const _ICB = "InputContentBlock";
|
|
523
|
+
const _ICBL = "InputContentBlockList";
|
|
524
|
+
const _ICI = "InvokeCodeInterpreter";
|
|
525
|
+
const _ICIR = "InvokeCodeInterpreterRequest";
|
|
526
|
+
const _ICIRn = "InvokeCodeInterpreterResponse";
|
|
527
|
+
const _IIE = "InvalidInputException";
|
|
528
|
+
const _ISE = "InternalServerException";
|
|
529
|
+
const _LA = "ListActors";
|
|
530
|
+
const _LAI = "ListActorsInput";
|
|
531
|
+
const _LAO = "ListActorsOutput";
|
|
532
|
+
const _LBS = "ListBrowserSessions";
|
|
533
|
+
const _LBSR = "ListBrowserSessionsRequest";
|
|
534
|
+
const _LBSRi = "ListBrowserSessionsResponse";
|
|
535
|
+
const _LCIS = "ListCodeInterpreterSessions";
|
|
536
|
+
const _LCISR = "ListCodeInterpreterSessionsRequest";
|
|
537
|
+
const _LCISRi = "ListCodeInterpreterSessionsResponse";
|
|
538
|
+
const _LE = "LeftExpression";
|
|
539
|
+
const _LEI = "ListEventsInput";
|
|
540
|
+
const _LEO = "ListEventsOutput";
|
|
541
|
+
const _LEi = "ListEvents";
|
|
542
|
+
const _LMR = "ListMemoryRecords";
|
|
543
|
+
const _LMRI = "ListMemoryRecordsInput";
|
|
544
|
+
const _LMRO = "ListMemoryRecordsOutput";
|
|
545
|
+
const _LS = "ListSessions";
|
|
546
|
+
const _LSI = "ListSessionsInput";
|
|
547
|
+
const _LSO = "ListSessionsOutput";
|
|
548
|
+
const _LVS = "LiveViewStream";
|
|
549
|
+
const _MC = "MemoryContent";
|
|
550
|
+
const _MM = "MetadataMap";
|
|
551
|
+
const _MPV = "Mcp-Protocol-Version";
|
|
552
|
+
const _MR = "MemoryRecord";
|
|
553
|
+
const _MRCI = "MemoryRecordCreateInput";
|
|
554
|
+
const _MRCIL = "MemoryRecordsCreateInputList";
|
|
555
|
+
const _MRDI = "MemoryRecordDeleteInput";
|
|
556
|
+
const _MRDIL = "MemoryRecordsDeleteInputList";
|
|
557
|
+
const _MRO = "MemoryRecordOutput";
|
|
558
|
+
const _MROL = "MemoryRecordsOutputList";
|
|
559
|
+
const _MRS = "MemoryRecordSummary";
|
|
560
|
+
const _MRSL = "MemoryRecordSummaryList";
|
|
561
|
+
const _MRUI = "MemoryRecordUpdateInput";
|
|
562
|
+
const _MRUIL = "MemoryRecordsUpdateInputList";
|
|
563
|
+
const _MSI = "Mcp-Session-Id";
|
|
564
|
+
const _MV = "MetadataValue";
|
|
565
|
+
const _PT = "PayloadType";
|
|
566
|
+
const _PTL = "PayloadTypeList";
|
|
567
|
+
const _RC = "ResourceContent";
|
|
568
|
+
const _RCE = "RuntimeClientError";
|
|
569
|
+
const _RE = "RightExpression";
|
|
570
|
+
const _RMR = "RetrieveMemoryRecords";
|
|
571
|
+
const _RMRI = "RetrieveMemoryRecordsInput";
|
|
572
|
+
const _RMRO = "RetrieveMemoryRecordsOutput";
|
|
573
|
+
const _RNFE = "ResourceNotFoundException";
|
|
574
|
+
const _RS = "ResponseStream";
|
|
575
|
+
const _S = "State";
|
|
576
|
+
const _SBS = "StartBrowserSession";
|
|
577
|
+
const _SBSR = "StartBrowserSessionRequest";
|
|
578
|
+
const _SBSRt = "StartBrowserSessionResponse";
|
|
579
|
+
const _SBSRto = "StopBrowserSessionRequest";
|
|
580
|
+
const _SBSRtop = "StopBrowserSessionResponse";
|
|
581
|
+
const _SBSt = "StopBrowserSession";
|
|
582
|
+
const _SC = "SearchCriteria";
|
|
583
|
+
const _SCIS = "StartCodeInterpreterSession";
|
|
584
|
+
const _SCISR = "StartCodeInterpreterSessionRequest";
|
|
585
|
+
const _SCISRt = "StartCodeInterpreterSessionResponse";
|
|
586
|
+
const _SCISRto = "StopCodeInterpreterSessionRequest";
|
|
587
|
+
const _SCISRtop = "StopCodeInterpreterSessionResponse";
|
|
588
|
+
const _SCISt = "StopCodeInterpreterSession";
|
|
589
|
+
const _SE = "ServiceException";
|
|
590
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
591
|
+
const _SRS = "StopRuntimeSession";
|
|
592
|
+
const _SRSR = "StopRuntimeSessionRequest";
|
|
593
|
+
const _SRSRt = "StopRuntimeSessionResponse";
|
|
594
|
+
const _SS = "SensitiveString";
|
|
595
|
+
const _SSL = "SessionSummaryList";
|
|
596
|
+
const _SSe = "SessionSummary";
|
|
597
|
+
const _SU = "StreamUpdate";
|
|
598
|
+
const _TA = "ToolArguments";
|
|
599
|
+
const _TE = "ThrottledException";
|
|
600
|
+
const _TEh = "ThrottlingException";
|
|
601
|
+
const _TRSC = "ToolResultStructuredContent";
|
|
602
|
+
const _UBS = "UpdateBrowserStream";
|
|
603
|
+
const _UBSR = "UpdateBrowserStreamRequest";
|
|
604
|
+
const _UBSRp = "UpdateBrowserStreamResponse";
|
|
605
|
+
const _UE = "UnauthorizedException";
|
|
606
|
+
const _UI = "UserIdentifier";
|
|
607
|
+
const _UTT = "UserTokenType";
|
|
608
|
+
const _VE = "ValidationException";
|
|
609
|
+
const _VEF = "ValidationExceptionField";
|
|
610
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
611
|
+
const _VP = "ViewPort";
|
|
612
|
+
const _WITT = "WorkloadIdentityTokenType";
|
|
613
|
+
const _XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id";
|
|
614
|
+
const _XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id";
|
|
615
|
+
const _XATI = "X-Amzn-Trace-Id";
|
|
2188
616
|
const _a = "accept";
|
|
2189
|
-
const
|
|
2190
|
-
const
|
|
2191
|
-
const
|
|
2192
|
-
const
|
|
617
|
+
const _aC = "agentCard";
|
|
618
|
+
const _aDE = "accessDeniedException";
|
|
619
|
+
const _aI = "actorId";
|
|
620
|
+
const _aIc = "accountId";
|
|
621
|
+
const _aK = "apiKey";
|
|
622
|
+
const _aRA = "agentRuntimeArn";
|
|
623
|
+
const _aS = "automationStream";
|
|
624
|
+
const _aSU = "automationStreamUpdate";
|
|
625
|
+
const _aSc = "actorSummaries";
|
|
626
|
+
const _aT = "accessToken";
|
|
627
|
+
const _aU = "authorizationUrl";
|
|
628
|
+
const _ar = "arguments";
|
|
629
|
+
const _b = "branch";
|
|
630
|
+
const _bI = "browserIdentifier";
|
|
631
|
+
const _ba = "baggage";
|
|
632
|
+
const _bl = "blob";
|
|
633
|
+
const _c = "client";
|
|
634
|
+
const _cA = "createdAt";
|
|
635
|
+
const _cC = "clearContext";
|
|
636
|
+
const _cE = "conflictException";
|
|
637
|
+
const _cII = "codeInterpreterIdentifier";
|
|
638
|
+
const _cP = "customParameters";
|
|
639
|
+
const _cS = "customState";
|
|
640
|
+
const _cT = "clientToken";
|
|
641
|
+
const _cTo = "contentType";
|
|
642
|
+
const _co = "content";
|
|
643
|
+
const _cod = "code";
|
|
644
|
+
const _com = "command";
|
|
645
|
+
const _con = "conversational";
|
|
646
|
+
const _d = "data";
|
|
647
|
+
const _dP = "directoryPath";
|
|
648
|
+
const _de = "description";
|
|
649
|
+
const _e = "error";
|
|
650
|
+
const _eC = "errorCode";
|
|
651
|
+
const _eCx = "exitCode";
|
|
652
|
+
const _eI = "eventId";
|
|
653
|
+
const _eM = "eventMetadata";
|
|
654
|
+
const _eMr = "errorMessage";
|
|
655
|
+
const _eT = "eventTimestamp";
|
|
656
|
+
const _eTx = "executionTime";
|
|
657
|
+
const _ev = "event";
|
|
658
|
+
const _eve = "events";
|
|
659
|
+
const _f = "filter";
|
|
660
|
+
const _fA = "forceAuthentication";
|
|
661
|
+
const _fL = "fieldList";
|
|
662
|
+
const _fR = "failedRecords";
|
|
663
|
+
const _h = "height";
|
|
664
|
+
const _hE = "httpError";
|
|
665
|
+
const _hH = "httpHeader";
|
|
666
|
+
const _hQ = "httpQuery";
|
|
667
|
+
const _ht = "http";
|
|
668
|
+
const _i = "items";
|
|
669
|
+
const _iE = "isError";
|
|
670
|
+
const _iP = "includePayloads";
|
|
671
|
+
const _iPB = "includeParentBranches";
|
|
672
|
+
const _iSE = "internalServerException";
|
|
673
|
+
const _iT = "idempotencyToken";
|
|
674
|
+
const _l = "left";
|
|
675
|
+
const _lUA = "lastUpdatedAt";
|
|
676
|
+
const _lVS = "liveViewStream";
|
|
677
|
+
const _la = "language";
|
|
678
|
+
const _m = "message";
|
|
679
|
+
const _mI = "memoryId";
|
|
680
|
+
const _mK = "metadataKey";
|
|
2193
681
|
const _mPV = "mcpProtocolVersion";
|
|
682
|
+
const _mR = "memoryRecord";
|
|
683
|
+
const _mRI = "memoryRecordId";
|
|
684
|
+
const _mRS = "memoryRecordSummaries";
|
|
685
|
+
const _mRa = "maxResults";
|
|
2194
686
|
const _mSI = "mcpSessionId";
|
|
2195
|
-
const
|
|
2196
|
-
const
|
|
687
|
+
const _mSIe = "memoryStrategyId";
|
|
688
|
+
const _mT = "mimeType";
|
|
689
|
+
const _mV = "metadataValue";
|
|
690
|
+
const _me = "metadata";
|
|
691
|
+
const _n = "name";
|
|
692
|
+
const _nT = "nextToken";
|
|
693
|
+
const _na = "namespace";
|
|
694
|
+
const _nam = "namespaces";
|
|
695
|
+
const _o = "operator";
|
|
696
|
+
const _oF = "oauth2Flow";
|
|
697
|
+
const _p = "payload";
|
|
698
|
+
const _pa = "path";
|
|
699
|
+
const _pat = "paths";
|
|
2197
700
|
const _q = "qualifier";
|
|
701
|
+
const _r = "records";
|
|
702
|
+
const _rCPN = "resourceCredentialProviderName";
|
|
703
|
+
const _rEI = "rootEventId";
|
|
704
|
+
const _rI = "requestIdentifier";
|
|
705
|
+
const _rNFE = "resourceNotFoundException";
|
|
706
|
+
const _rORU = "resourceOauth2ReturnUrl";
|
|
2198
707
|
const _rSI = "runtimeSessionId";
|
|
2199
708
|
const _rUI = "runtimeUserId";
|
|
709
|
+
const _re = "resource";
|
|
710
|
+
const _rea = "reason";
|
|
711
|
+
const _res = "response";
|
|
712
|
+
const _resu = "result";
|
|
713
|
+
const _ri = "right";
|
|
714
|
+
const _ro = "role";
|
|
715
|
+
const _s = "streaming";
|
|
716
|
+
const _sC = "structuredContent";
|
|
717
|
+
const _sCe = "searchCriteria";
|
|
718
|
+
const _sCt = "statusCode";
|
|
719
|
+
const _sE = "streamEndpoint";
|
|
2200
720
|
const _sI = "sessionId";
|
|
2201
|
-
const
|
|
721
|
+
const _sQ = "searchQuery";
|
|
722
|
+
const _sQEE = "serviceQuotaExceededException";
|
|
723
|
+
const _sR = "successfulRecords";
|
|
724
|
+
const _sRA = "sessionReplayArtifact";
|
|
725
|
+
const _sS = "streamStatus";
|
|
726
|
+
const _sSe = "sessionStatus";
|
|
727
|
+
const _sSes = "sessionSummaries";
|
|
728
|
+
const _sTS = "sessionTimeoutSeconds";
|
|
729
|
+
const _sU = "sessionUri";
|
|
730
|
+
const _sUt = "streamUpdate";
|
|
731
|
+
const _sV = "stringValue";
|
|
732
|
+
const _sc = "scopes";
|
|
733
|
+
const _sco = "score";
|
|
734
|
+
const _se = "sensitive";
|
|
735
|
+
const _ser = "server";
|
|
736
|
+
const _si = "size";
|
|
737
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
|
|
738
|
+
const _st = "status";
|
|
739
|
+
const _std = "stdout";
|
|
740
|
+
const _stde = "stderr";
|
|
741
|
+
const _str = "streams";
|
|
742
|
+
const _stre = "stream";
|
|
743
|
+
const _t = "type";
|
|
744
|
+
const _tE = "throttlingException";
|
|
2202
745
|
const _tI = "traceId";
|
|
746
|
+
const _tIa = "taskId";
|
|
747
|
+
const _tK = "topK";
|
|
2203
748
|
const _tP = "traceParent";
|
|
2204
749
|
const _tS = "traceState";
|
|
2205
|
-
const
|
|
2206
|
-
const
|
|
2207
|
-
const
|
|
750
|
+
const _tSa = "taskStatus";
|
|
751
|
+
const _te = "text";
|
|
752
|
+
const _ti = "timestamp";
|
|
753
|
+
const _tr = "traceparent";
|
|
754
|
+
const _tra = "tracestate";
|
|
755
|
+
const _u = "uri";
|
|
756
|
+
const _uA = "updatedAt";
|
|
757
|
+
const _uI = "userIdentifier";
|
|
758
|
+
const _uIs = "userId";
|
|
759
|
+
const _uT = "userToken";
|
|
760
|
+
const _vE = "validationException";
|
|
761
|
+
const _vP = "viewPort";
|
|
762
|
+
const _w = "width";
|
|
763
|
+
const _wAT = "workloadAccessToken";
|
|
764
|
+
const _wIT = "workloadIdentityToken";
|
|
765
|
+
const _wN = "workloadName";
|
|
2208
766
|
const _xacisi = "x-amzn-code-interpreter-session-id";
|
|
2209
|
-
const
|
|
767
|
+
const n0 = "com.amazonaws.bedrockagentcore";
|
|
768
|
+
var AccessTokenType = [0, n0, _ATT, 8, 0];
|
|
769
|
+
var ApiKeyType = [0, n0, _AKT, 8, 0];
|
|
770
|
+
var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
|
|
771
|
+
var Body = [0, n0, _B, 8, 21];
|
|
772
|
+
var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
|
|
773
|
+
var ResponseStream = [
|
|
774
|
+
0,
|
|
775
|
+
n0,
|
|
776
|
+
_RS,
|
|
777
|
+
{
|
|
778
|
+
[_s]: 1,
|
|
779
|
+
[_se]: 1,
|
|
780
|
+
},
|
|
781
|
+
42,
|
|
782
|
+
];
|
|
783
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
784
|
+
var State = [0, n0, _S, 8, 0];
|
|
785
|
+
var UserTokenType = [0, n0, _UTT, 8, 0];
|
|
786
|
+
var WorkloadIdentityTokenType = [0, n0, _WITT, 8, 0];
|
|
787
|
+
var AccessDeniedException = [
|
|
788
|
+
-3,
|
|
789
|
+
n0,
|
|
790
|
+
_ADE,
|
|
791
|
+
{
|
|
792
|
+
[_e]: _c,
|
|
793
|
+
[_hE]: 403,
|
|
794
|
+
},
|
|
795
|
+
[_m],
|
|
796
|
+
[0],
|
|
797
|
+
];
|
|
798
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
799
|
+
var ActorSummary = [3, n0, _AS, 0, [_aI], [0]];
|
|
800
|
+
var AutomationStream = [3, n0, _ASu, 0, [_sE, _sS], [0, 0]];
|
|
801
|
+
var AutomationStreamUpdate = [3, n0, _ASU, 0, [_sS], [0]];
|
|
802
|
+
var BatchCreateMemoryRecordsInput = [
|
|
803
|
+
3,
|
|
804
|
+
n0,
|
|
805
|
+
_BCMRI,
|
|
806
|
+
0,
|
|
807
|
+
[_mI, _r, _cT],
|
|
808
|
+
[
|
|
809
|
+
[0, 1],
|
|
810
|
+
[() => MemoryRecordsCreateInputList, 0],
|
|
811
|
+
[0, 4],
|
|
812
|
+
],
|
|
813
|
+
];
|
|
814
|
+
var BatchCreateMemoryRecordsOutput = [
|
|
815
|
+
3,
|
|
816
|
+
n0,
|
|
817
|
+
_BCMRO,
|
|
818
|
+
0,
|
|
819
|
+
[_sR, _fR],
|
|
820
|
+
[() => MemoryRecordsOutputList, () => MemoryRecordsOutputList],
|
|
821
|
+
];
|
|
822
|
+
var BatchDeleteMemoryRecordsInput = [
|
|
823
|
+
3,
|
|
824
|
+
n0,
|
|
825
|
+
_BDMRI,
|
|
826
|
+
0,
|
|
827
|
+
[_mI, _r],
|
|
828
|
+
[[0, 1], () => MemoryRecordsDeleteInputList],
|
|
829
|
+
];
|
|
830
|
+
var BatchDeleteMemoryRecordsOutput = [
|
|
831
|
+
3,
|
|
832
|
+
n0,
|
|
833
|
+
_BDMRO,
|
|
834
|
+
0,
|
|
835
|
+
[_sR, _fR],
|
|
836
|
+
[() => MemoryRecordsOutputList, () => MemoryRecordsOutputList],
|
|
837
|
+
];
|
|
838
|
+
var BatchUpdateMemoryRecordsInput = [
|
|
839
|
+
3,
|
|
840
|
+
n0,
|
|
841
|
+
_BUMRI,
|
|
842
|
+
0,
|
|
843
|
+
[_mI, _r],
|
|
844
|
+
[
|
|
845
|
+
[0, 1],
|
|
846
|
+
[() => MemoryRecordsUpdateInputList, 0],
|
|
847
|
+
],
|
|
848
|
+
];
|
|
849
|
+
var BatchUpdateMemoryRecordsOutput = [
|
|
850
|
+
3,
|
|
851
|
+
n0,
|
|
852
|
+
_BUMRO,
|
|
853
|
+
0,
|
|
854
|
+
[_sR, _fR],
|
|
855
|
+
[() => MemoryRecordsOutputList, () => MemoryRecordsOutputList],
|
|
856
|
+
];
|
|
857
|
+
var Branch = [3, n0, _Br, 0, [_rEI, _n], [0, 0]];
|
|
858
|
+
var BranchFilter = [3, n0, _BF, 0, [_n, _iPB], [0, 2]];
|
|
859
|
+
var BrowserSessionStream = [
|
|
860
|
+
3,
|
|
861
|
+
n0,
|
|
862
|
+
_BSS,
|
|
863
|
+
0,
|
|
864
|
+
[_aS, _lVS],
|
|
865
|
+
[() => AutomationStream, () => LiveViewStream],
|
|
866
|
+
];
|
|
867
|
+
var BrowserSessionSummary = [
|
|
868
|
+
3,
|
|
869
|
+
n0,
|
|
870
|
+
_BSSr,
|
|
871
|
+
0,
|
|
872
|
+
[_bI, _sI, _n, _st, _cA, _lUA],
|
|
873
|
+
[0, 0, 0, 0, 5, 5],
|
|
874
|
+
];
|
|
875
|
+
var CodeInterpreterResult = [
|
|
876
|
+
3,
|
|
877
|
+
n0,
|
|
878
|
+
_CIR,
|
|
879
|
+
0,
|
|
880
|
+
[_co, _sC, _iE],
|
|
881
|
+
[() => ContentBlockList, () => ToolResultStructuredContent, 2],
|
|
882
|
+
];
|
|
883
|
+
var CodeInterpreterSessionSummary = [
|
|
884
|
+
3,
|
|
885
|
+
n0,
|
|
886
|
+
_CISS,
|
|
887
|
+
0,
|
|
888
|
+
[_cII, _sI, _n, _st, _cA, _lUA],
|
|
889
|
+
[0, 0, 0, 0, 5, 5],
|
|
890
|
+
];
|
|
891
|
+
var CompleteResourceTokenAuthRequest = [
|
|
892
|
+
3,
|
|
893
|
+
n0,
|
|
894
|
+
_CRTAR,
|
|
895
|
+
0,
|
|
896
|
+
[_uI, _sU],
|
|
897
|
+
[[() => UserIdentifier, 0], 0],
|
|
898
|
+
];
|
|
899
|
+
var CompleteResourceTokenAuthResponse = [3, n0, _CRTARo, 0, [], []];
|
|
900
|
+
var ConflictException = [
|
|
901
|
+
-3,
|
|
902
|
+
n0,
|
|
903
|
+
_CE,
|
|
904
|
+
{
|
|
905
|
+
[_e]: _c,
|
|
906
|
+
[_hE]: 409,
|
|
907
|
+
},
|
|
908
|
+
[_m],
|
|
909
|
+
[0],
|
|
910
|
+
];
|
|
911
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
912
|
+
var ContentBlock = [
|
|
913
|
+
3,
|
|
914
|
+
n0,
|
|
915
|
+
_CB,
|
|
916
|
+
0,
|
|
917
|
+
[_t, _te, _d, _mT, _u, _n, _de, _si, _re],
|
|
918
|
+
[0, 0, 21, 0, 0, 0, 0, 1, () => ResourceContent],
|
|
919
|
+
];
|
|
920
|
+
var Conversational = [3, n0, _C, 0, [_co, _ro], [[() => Content, 0], 0]];
|
|
921
|
+
var CreateEventInput = [
|
|
922
|
+
3,
|
|
923
|
+
n0,
|
|
924
|
+
_CEI,
|
|
925
|
+
0,
|
|
926
|
+
[_mI, _aI, _sI, _eT, _p, _b, _cT, _me],
|
|
927
|
+
[[0, 1], 0, 0, 4, [() => PayloadTypeList, 0], () => Branch, [0, 4], () => MetadataMap],
|
|
928
|
+
];
|
|
929
|
+
var CreateEventOutput = [3, n0, _CEO, 0, [_ev], [[() => Event, 0]]];
|
|
930
|
+
var DeleteEventInput = [
|
|
931
|
+
3,
|
|
932
|
+
n0,
|
|
933
|
+
_DEI,
|
|
934
|
+
0,
|
|
935
|
+
[_mI, _sI, _eI, _aI],
|
|
936
|
+
[
|
|
937
|
+
[0, 1],
|
|
938
|
+
[0, 1],
|
|
939
|
+
[0, 1],
|
|
940
|
+
[0, 1],
|
|
941
|
+
],
|
|
942
|
+
];
|
|
943
|
+
var DeleteEventOutput = [3, n0, _DEO, 0, [_eI], [0]];
|
|
944
|
+
var DeleteMemoryRecordInput = [
|
|
945
|
+
3,
|
|
946
|
+
n0,
|
|
947
|
+
_DMRI,
|
|
948
|
+
0,
|
|
949
|
+
[_mI, _mRI],
|
|
950
|
+
[
|
|
951
|
+
[0, 1],
|
|
952
|
+
[0, 1],
|
|
953
|
+
],
|
|
954
|
+
];
|
|
955
|
+
var DeleteMemoryRecordOutput = [3, n0, _DMRO, 0, [_mRI], [0]];
|
|
956
|
+
var Event = [
|
|
957
|
+
3,
|
|
958
|
+
n0,
|
|
959
|
+
_E,
|
|
960
|
+
0,
|
|
961
|
+
[_mI, _aI, _sI, _eI, _eT, _p, _b, _me],
|
|
962
|
+
[0, 0, 0, 0, 4, [() => PayloadTypeList, 0], () => Branch, () => MetadataMap],
|
|
963
|
+
];
|
|
964
|
+
var EventMetadataFilterExpression = [
|
|
965
|
+
3,
|
|
966
|
+
n0,
|
|
967
|
+
_EMFE,
|
|
968
|
+
0,
|
|
969
|
+
[_l, _o, _ri],
|
|
970
|
+
[() => LeftExpression, 0, () => RightExpression],
|
|
971
|
+
];
|
|
972
|
+
var FilterInput = [
|
|
973
|
+
3,
|
|
974
|
+
n0,
|
|
975
|
+
_FI,
|
|
976
|
+
0,
|
|
977
|
+
[_b, _eM],
|
|
978
|
+
[() => BranchFilter, () => EventMetadataFilterList],
|
|
979
|
+
];
|
|
980
|
+
var GetAgentCardRequest = [
|
|
981
|
+
3,
|
|
982
|
+
n0,
|
|
983
|
+
_GACR,
|
|
984
|
+
0,
|
|
985
|
+
[_rSI, _aRA, _q],
|
|
986
|
+
[
|
|
987
|
+
[
|
|
988
|
+
0,
|
|
989
|
+
{
|
|
990
|
+
[_hH]: _XABARSI,
|
|
991
|
+
[_iT]: 1,
|
|
992
|
+
},
|
|
993
|
+
],
|
|
994
|
+
[0, 1],
|
|
995
|
+
[
|
|
996
|
+
0,
|
|
997
|
+
{
|
|
998
|
+
[_hQ]: _q,
|
|
999
|
+
},
|
|
1000
|
+
],
|
|
1001
|
+
],
|
|
1002
|
+
];
|
|
1003
|
+
var GetAgentCardResponse = [
|
|
1004
|
+
3,
|
|
1005
|
+
n0,
|
|
1006
|
+
_GACRe,
|
|
1007
|
+
0,
|
|
1008
|
+
[_rSI, _aC, _sCt],
|
|
1009
|
+
[
|
|
1010
|
+
[
|
|
1011
|
+
0,
|
|
1012
|
+
{
|
|
1013
|
+
[_hH]: _XABARSI,
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
1016
|
+
[15, 16],
|
|
1017
|
+
[1, 32],
|
|
1018
|
+
],
|
|
1019
|
+
];
|
|
1020
|
+
var GetBrowserSessionRequest = [
|
|
1021
|
+
3,
|
|
1022
|
+
n0,
|
|
1023
|
+
_GBSR,
|
|
1024
|
+
0,
|
|
1025
|
+
[_bI, _sI],
|
|
1026
|
+
[
|
|
1027
|
+
[0, 1],
|
|
1028
|
+
[
|
|
1029
|
+
0,
|
|
1030
|
+
{
|
|
1031
|
+
[_hQ]: _sI,
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
],
|
|
1035
|
+
];
|
|
1036
|
+
var GetBrowserSessionResponse = [
|
|
1037
|
+
3,
|
|
1038
|
+
n0,
|
|
1039
|
+
_GBSRe,
|
|
1040
|
+
0,
|
|
1041
|
+
[_bI, _sI, _n, _cA, _vP, _sTS, _st, _str, _sRA, _lUA],
|
|
1042
|
+
[0, 0, 0, 5, () => ViewPort, 1, 0, () => BrowserSessionStream, 0, 5],
|
|
1043
|
+
];
|
|
1044
|
+
var GetCodeInterpreterSessionRequest = [
|
|
1045
|
+
3,
|
|
1046
|
+
n0,
|
|
1047
|
+
_GCISR,
|
|
1048
|
+
0,
|
|
1049
|
+
[_cII, _sI],
|
|
1050
|
+
[
|
|
1051
|
+
[0, 1],
|
|
1052
|
+
[
|
|
1053
|
+
0,
|
|
1054
|
+
{
|
|
1055
|
+
[_hQ]: _sI,
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
],
|
|
1059
|
+
];
|
|
1060
|
+
var GetCodeInterpreterSessionResponse = [
|
|
1061
|
+
3,
|
|
1062
|
+
n0,
|
|
1063
|
+
_GCISRe,
|
|
1064
|
+
0,
|
|
1065
|
+
[_cII, _sI, _n, _cA, _sTS, _st],
|
|
1066
|
+
[0, 0, 0, 5, 1, 0],
|
|
1067
|
+
];
|
|
1068
|
+
var GetEventInput = [
|
|
1069
|
+
3,
|
|
1070
|
+
n0,
|
|
1071
|
+
_GEI,
|
|
1072
|
+
0,
|
|
1073
|
+
[_mI, _sI, _aI, _eI],
|
|
1074
|
+
[
|
|
1075
|
+
[0, 1],
|
|
1076
|
+
[0, 1],
|
|
1077
|
+
[0, 1],
|
|
1078
|
+
[0, 1],
|
|
1079
|
+
],
|
|
1080
|
+
];
|
|
1081
|
+
var GetEventOutput = [3, n0, _GEO, 0, [_ev], [[() => Event, 0]]];
|
|
1082
|
+
var GetMemoryRecordInput = [
|
|
1083
|
+
3,
|
|
1084
|
+
n0,
|
|
1085
|
+
_GMRI,
|
|
1086
|
+
0,
|
|
1087
|
+
[_mI, _mRI],
|
|
1088
|
+
[
|
|
1089
|
+
[0, 1],
|
|
1090
|
+
[0, 1],
|
|
1091
|
+
],
|
|
1092
|
+
];
|
|
1093
|
+
var GetMemoryRecordOutput = [3, n0, _GMRO, 0, [_mR], [[() => MemoryRecord, 0]]];
|
|
1094
|
+
var GetResourceApiKeyRequest = [
|
|
1095
|
+
3,
|
|
1096
|
+
n0,
|
|
1097
|
+
_GRAKR,
|
|
1098
|
+
0,
|
|
1099
|
+
[_wIT, _rCPN],
|
|
1100
|
+
[[() => WorkloadIdentityTokenType, 0], 0],
|
|
1101
|
+
];
|
|
1102
|
+
var GetResourceApiKeyResponse = [3, n0, _GRAKRe, 0, [_aK], [[() => ApiKeyType, 0]]];
|
|
1103
|
+
var GetResourceOauth2TokenRequest = [
|
|
1104
|
+
3,
|
|
1105
|
+
n0,
|
|
1106
|
+
_GROTR,
|
|
1107
|
+
0,
|
|
1108
|
+
[_wIT, _rCPN, _sc, _oF, _sU, _rORU, _fA, _cP, _cS],
|
|
1109
|
+
[
|
|
1110
|
+
[() => WorkloadIdentityTokenType, 0],
|
|
1111
|
+
0,
|
|
1112
|
+
64 | 0,
|
|
1113
|
+
0,
|
|
1114
|
+
0,
|
|
1115
|
+
0,
|
|
1116
|
+
2,
|
|
1117
|
+
[() => CustomRequestParametersType, 0],
|
|
1118
|
+
[() => State, 0],
|
|
1119
|
+
],
|
|
1120
|
+
];
|
|
1121
|
+
var GetResourceOauth2TokenResponse = [
|
|
1122
|
+
3,
|
|
1123
|
+
n0,
|
|
1124
|
+
_GROTRe,
|
|
1125
|
+
0,
|
|
1126
|
+
[_aU, _aT, _sU, _sSe],
|
|
1127
|
+
[[() => AuthorizationUrlType, 0], [() => AccessTokenType, 0], 0, 0],
|
|
1128
|
+
];
|
|
1129
|
+
var GetWorkloadAccessTokenForJWTRequest = [
|
|
1130
|
+
3,
|
|
1131
|
+
n0,
|
|
1132
|
+
_GWATFJWTR,
|
|
1133
|
+
0,
|
|
1134
|
+
[_wN, _uT],
|
|
1135
|
+
[0, [() => UserTokenType, 0]],
|
|
1136
|
+
];
|
|
1137
|
+
var GetWorkloadAccessTokenForJWTResponse = [
|
|
1138
|
+
3,
|
|
1139
|
+
n0,
|
|
1140
|
+
_GWATFJWTRe,
|
|
1141
|
+
0,
|
|
1142
|
+
[_wAT],
|
|
1143
|
+
[[() => WorkloadIdentityTokenType, 0]],
|
|
1144
|
+
];
|
|
1145
|
+
var GetWorkloadAccessTokenForUserIdRequest = [3, n0, _GWATFUIR, 0, [_wN, _uIs], [0, 0]];
|
|
1146
|
+
var GetWorkloadAccessTokenForUserIdResponse = [
|
|
1147
|
+
3,
|
|
1148
|
+
n0,
|
|
1149
|
+
_GWATFUIRe,
|
|
1150
|
+
0,
|
|
1151
|
+
[_wAT],
|
|
1152
|
+
[[() => WorkloadIdentityTokenType, 0]],
|
|
1153
|
+
];
|
|
1154
|
+
var GetWorkloadAccessTokenRequest = [3, n0, _GWATR, 0, [_wN], [0]];
|
|
1155
|
+
var GetWorkloadAccessTokenResponse = [
|
|
1156
|
+
3,
|
|
1157
|
+
n0,
|
|
1158
|
+
_GWATRe,
|
|
1159
|
+
0,
|
|
1160
|
+
[_wAT],
|
|
1161
|
+
[[() => WorkloadIdentityTokenType, 0]],
|
|
1162
|
+
];
|
|
1163
|
+
var InputContentBlock = [3, n0, _ICB, 0, [_pa, _te, _bl], [0, 0, [() => Body, 0]]];
|
|
1164
|
+
var InternalServerException = [
|
|
1165
|
+
-3,
|
|
1166
|
+
n0,
|
|
1167
|
+
_ISE,
|
|
1168
|
+
{
|
|
1169
|
+
[_e]: _ser,
|
|
1170
|
+
[_hE]: 500,
|
|
1171
|
+
},
|
|
1172
|
+
[_m],
|
|
1173
|
+
[0],
|
|
1174
|
+
];
|
|
1175
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
1176
|
+
var InvalidInputException = [
|
|
1177
|
+
-3,
|
|
1178
|
+
n0,
|
|
1179
|
+
_IIE,
|
|
1180
|
+
{
|
|
1181
|
+
[_e]: _c,
|
|
1182
|
+
[_hE]: 400,
|
|
1183
|
+
},
|
|
1184
|
+
[_m],
|
|
1185
|
+
[0],
|
|
1186
|
+
];
|
|
1187
|
+
schema.TypeRegistry.for(n0).registerError(InvalidInputException, InvalidInputException$1);
|
|
1188
|
+
var InvokeAgentRuntimeRequest = [
|
|
1189
|
+
3,
|
|
1190
|
+
n0,
|
|
1191
|
+
_IARR,
|
|
1192
|
+
0,
|
|
1193
|
+
[_cTo, _a, _mSI, _rSI, _mPV, _rUI, _tI, _tP, _tS, _ba, _aRA, _q, _aIc, _p],
|
|
1194
|
+
[
|
|
1195
|
+
[
|
|
1196
|
+
0,
|
|
1197
|
+
{
|
|
1198
|
+
[_hH]: _CT,
|
|
1199
|
+
},
|
|
1200
|
+
],
|
|
1201
|
+
[
|
|
1202
|
+
0,
|
|
1203
|
+
{
|
|
1204
|
+
[_hH]: _A,
|
|
1205
|
+
},
|
|
1206
|
+
],
|
|
1207
|
+
[
|
|
1208
|
+
0,
|
|
1209
|
+
{
|
|
1210
|
+
[_hH]: _MSI,
|
|
1211
|
+
},
|
|
1212
|
+
],
|
|
1213
|
+
[
|
|
1214
|
+
0,
|
|
1215
|
+
{
|
|
1216
|
+
[_hH]: _XABARSI,
|
|
1217
|
+
[_iT]: 1,
|
|
1218
|
+
},
|
|
1219
|
+
],
|
|
1220
|
+
[
|
|
1221
|
+
0,
|
|
1222
|
+
{
|
|
1223
|
+
[_hH]: _MPV,
|
|
1224
|
+
},
|
|
1225
|
+
],
|
|
1226
|
+
[
|
|
1227
|
+
0,
|
|
1228
|
+
{
|
|
1229
|
+
[_hH]: _XABARUI,
|
|
1230
|
+
},
|
|
1231
|
+
],
|
|
1232
|
+
[
|
|
1233
|
+
0,
|
|
1234
|
+
{
|
|
1235
|
+
[_hH]: _XATI,
|
|
1236
|
+
},
|
|
1237
|
+
],
|
|
1238
|
+
[
|
|
1239
|
+
0,
|
|
1240
|
+
{
|
|
1241
|
+
[_hH]: _tr,
|
|
1242
|
+
},
|
|
1243
|
+
],
|
|
1244
|
+
[
|
|
1245
|
+
0,
|
|
1246
|
+
{
|
|
1247
|
+
[_hH]: _tra,
|
|
1248
|
+
},
|
|
1249
|
+
],
|
|
1250
|
+
[
|
|
1251
|
+
0,
|
|
1252
|
+
{
|
|
1253
|
+
[_hH]: _ba,
|
|
1254
|
+
},
|
|
1255
|
+
],
|
|
1256
|
+
[0, 1],
|
|
1257
|
+
[
|
|
1258
|
+
0,
|
|
1259
|
+
{
|
|
1260
|
+
[_hQ]: _q,
|
|
1261
|
+
},
|
|
1262
|
+
],
|
|
1263
|
+
[
|
|
1264
|
+
0,
|
|
1265
|
+
{
|
|
1266
|
+
[_hQ]: _aIc,
|
|
1267
|
+
},
|
|
1268
|
+
],
|
|
1269
|
+
[() => Body, 16],
|
|
1270
|
+
],
|
|
1271
|
+
];
|
|
1272
|
+
var InvokeAgentRuntimeResponse = [
|
|
1273
|
+
3,
|
|
1274
|
+
n0,
|
|
1275
|
+
_IARRn,
|
|
1276
|
+
0,
|
|
1277
|
+
[_rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _cTo, _res, _sCt],
|
|
1278
|
+
[
|
|
1279
|
+
[
|
|
1280
|
+
0,
|
|
1281
|
+
{
|
|
1282
|
+
[_hH]: _XABARSI,
|
|
1283
|
+
},
|
|
1284
|
+
],
|
|
1285
|
+
[
|
|
1286
|
+
0,
|
|
1287
|
+
{
|
|
1288
|
+
[_hH]: _MSI,
|
|
1289
|
+
},
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
0,
|
|
1293
|
+
{
|
|
1294
|
+
[_hH]: _MPV,
|
|
1295
|
+
},
|
|
1296
|
+
],
|
|
1297
|
+
[
|
|
1298
|
+
0,
|
|
1299
|
+
{
|
|
1300
|
+
[_hH]: _XATI,
|
|
1301
|
+
},
|
|
1302
|
+
],
|
|
1303
|
+
[
|
|
1304
|
+
0,
|
|
1305
|
+
{
|
|
1306
|
+
[_hH]: _tr,
|
|
1307
|
+
},
|
|
1308
|
+
],
|
|
1309
|
+
[
|
|
1310
|
+
0,
|
|
1311
|
+
{
|
|
1312
|
+
[_hH]: _tra,
|
|
1313
|
+
},
|
|
1314
|
+
],
|
|
1315
|
+
[
|
|
1316
|
+
0,
|
|
1317
|
+
{
|
|
1318
|
+
[_hH]: _ba,
|
|
1319
|
+
},
|
|
1320
|
+
],
|
|
1321
|
+
[
|
|
1322
|
+
0,
|
|
1323
|
+
{
|
|
1324
|
+
[_hH]: _CT,
|
|
1325
|
+
},
|
|
1326
|
+
],
|
|
1327
|
+
[() => ResponseStream, 16],
|
|
1328
|
+
[1, 32],
|
|
1329
|
+
],
|
|
1330
|
+
];
|
|
1331
|
+
var InvokeCodeInterpreterRequest = [
|
|
1332
|
+
3,
|
|
1333
|
+
n0,
|
|
1334
|
+
_ICIR,
|
|
1335
|
+
0,
|
|
1336
|
+
[_cII, _sI, _tI, _tP, _n, _ar],
|
|
1337
|
+
[
|
|
1338
|
+
[0, 1],
|
|
1339
|
+
[
|
|
1340
|
+
0,
|
|
1341
|
+
{
|
|
1342
|
+
[_hH]: _xacisi,
|
|
1343
|
+
},
|
|
1344
|
+
],
|
|
1345
|
+
[
|
|
1346
|
+
0,
|
|
1347
|
+
{
|
|
1348
|
+
[_hH]: _XATI,
|
|
1349
|
+
},
|
|
1350
|
+
],
|
|
1351
|
+
[
|
|
1352
|
+
0,
|
|
1353
|
+
{
|
|
1354
|
+
[_hH]: _tr,
|
|
1355
|
+
},
|
|
1356
|
+
],
|
|
1357
|
+
0,
|
|
1358
|
+
[() => ToolArguments, 0],
|
|
1359
|
+
],
|
|
1360
|
+
];
|
|
1361
|
+
var InvokeCodeInterpreterResponse = [
|
|
1362
|
+
3,
|
|
1363
|
+
n0,
|
|
1364
|
+
_ICIRn,
|
|
1365
|
+
0,
|
|
1366
|
+
[_sI, _stre],
|
|
1367
|
+
[
|
|
1368
|
+
[
|
|
1369
|
+
0,
|
|
1370
|
+
{
|
|
1371
|
+
[_hH]: _xacisi,
|
|
1372
|
+
},
|
|
1373
|
+
],
|
|
1374
|
+
[() => CodeInterpreterStreamOutput, 16],
|
|
1375
|
+
],
|
|
1376
|
+
];
|
|
1377
|
+
var ListActorsInput = [3, n0, _LAI, 0, [_mI, _mRa, _nT], [[0, 1], 1, 0]];
|
|
1378
|
+
var ListActorsOutput = [3, n0, _LAO, 0, [_aSc, _nT], [() => ActorSummaryList, 0]];
|
|
1379
|
+
var ListBrowserSessionsRequest = [
|
|
1380
|
+
3,
|
|
1381
|
+
n0,
|
|
1382
|
+
_LBSR,
|
|
1383
|
+
0,
|
|
1384
|
+
[_bI, _mRa, _nT, _st],
|
|
1385
|
+
[[0, 1], 1, 0, 0],
|
|
1386
|
+
];
|
|
1387
|
+
var ListBrowserSessionsResponse = [
|
|
1388
|
+
3,
|
|
1389
|
+
n0,
|
|
1390
|
+
_LBSRi,
|
|
1391
|
+
0,
|
|
1392
|
+
[_i, _nT],
|
|
1393
|
+
[() => BrowserSessionSummaries, 0],
|
|
1394
|
+
];
|
|
1395
|
+
var ListCodeInterpreterSessionsRequest = [
|
|
1396
|
+
3,
|
|
1397
|
+
n0,
|
|
1398
|
+
_LCISR,
|
|
1399
|
+
0,
|
|
1400
|
+
[_cII, _mRa, _nT, _st],
|
|
1401
|
+
[[0, 1], 1, 0, 0],
|
|
1402
|
+
];
|
|
1403
|
+
var ListCodeInterpreterSessionsResponse = [
|
|
1404
|
+
3,
|
|
1405
|
+
n0,
|
|
1406
|
+
_LCISRi,
|
|
1407
|
+
0,
|
|
1408
|
+
[_i, _nT],
|
|
1409
|
+
[() => CodeInterpreterSessionSummaries, 0],
|
|
1410
|
+
];
|
|
1411
|
+
var ListEventsInput = [
|
|
1412
|
+
3,
|
|
1413
|
+
n0,
|
|
1414
|
+
_LEI,
|
|
1415
|
+
0,
|
|
1416
|
+
[_mI, _sI, _aI, _iP, _f, _mRa, _nT],
|
|
1417
|
+
[[0, 1], [0, 1], [0, 1], 2, () => FilterInput, 1, 0],
|
|
1418
|
+
];
|
|
1419
|
+
var ListEventsOutput = [3, n0, _LEO, 0, [_eve, _nT], [[() => EventList, 0], 0]];
|
|
1420
|
+
var ListMemoryRecordsInput = [
|
|
1421
|
+
3,
|
|
1422
|
+
n0,
|
|
1423
|
+
_LMRI,
|
|
1424
|
+
0,
|
|
1425
|
+
[_mI, _na, _mSIe, _mRa, _nT],
|
|
1426
|
+
[[0, 1], 0, 0, 1, 0],
|
|
1427
|
+
];
|
|
1428
|
+
var ListMemoryRecordsOutput = [
|
|
1429
|
+
3,
|
|
1430
|
+
n0,
|
|
1431
|
+
_LMRO,
|
|
1432
|
+
0,
|
|
1433
|
+
[_mRS, _nT],
|
|
1434
|
+
[[() => MemoryRecordSummaryList, 0], 0],
|
|
1435
|
+
];
|
|
1436
|
+
var ListSessionsInput = [3, n0, _LSI, 0, [_mI, _aI, _mRa, _nT], [[0, 1], [0, 1], 1, 0]];
|
|
1437
|
+
var ListSessionsOutput = [3, n0, _LSO, 0, [_sSes, _nT], [() => SessionSummaryList, 0]];
|
|
1438
|
+
var LiveViewStream = [3, n0, _LVS, 0, [_sE], [0]];
|
|
1439
|
+
var MemoryRecord = [
|
|
1440
|
+
3,
|
|
1441
|
+
n0,
|
|
1442
|
+
_MR,
|
|
1443
|
+
0,
|
|
1444
|
+
[_mRI, _co, _mSIe, _nam, _cA],
|
|
1445
|
+
[0, [() => MemoryContent, 0], 0, 64 | 0, 4],
|
|
1446
|
+
];
|
|
1447
|
+
var MemoryRecordCreateInput = [
|
|
1448
|
+
3,
|
|
1449
|
+
n0,
|
|
1450
|
+
_MRCI,
|
|
1451
|
+
0,
|
|
1452
|
+
[_rI, _nam, _co, _ti, _mSIe],
|
|
1453
|
+
[0, 64 | 0, [() => MemoryContent, 0], 4, 0],
|
|
1454
|
+
];
|
|
1455
|
+
var MemoryRecordDeleteInput = [3, n0, _MRDI, 0, [_mRI], [0]];
|
|
1456
|
+
var MemoryRecordOutput = [3, n0, _MRO, 0, [_mRI, _st, _rI, _eC, _eMr], [0, 0, 0, 1, 0]];
|
|
1457
|
+
var MemoryRecordSummary = [
|
|
1458
|
+
3,
|
|
1459
|
+
n0,
|
|
1460
|
+
_MRS,
|
|
1461
|
+
0,
|
|
1462
|
+
[_mRI, _co, _mSIe, _nam, _cA, _sco],
|
|
1463
|
+
[0, [() => MemoryContent, 0], 0, 64 | 0, 4, 1],
|
|
1464
|
+
];
|
|
1465
|
+
var MemoryRecordUpdateInput = [
|
|
1466
|
+
3,
|
|
1467
|
+
n0,
|
|
1468
|
+
_MRUI,
|
|
1469
|
+
0,
|
|
1470
|
+
[_mRI, _ti, _co, _nam, _mSIe],
|
|
1471
|
+
[0, 4, [() => MemoryContent, 0], 64 | 0, 0],
|
|
1472
|
+
];
|
|
1473
|
+
var ResourceContent = [3, n0, _RC, 0, [_t, _u, _mT, _te, _bl], [0, 0, 0, 0, 21]];
|
|
1474
|
+
var ResourceNotFoundException = [
|
|
1475
|
+
-3,
|
|
1476
|
+
n0,
|
|
1477
|
+
_RNFE,
|
|
1478
|
+
{
|
|
1479
|
+
[_e]: _c,
|
|
1480
|
+
[_hE]: 404,
|
|
1481
|
+
},
|
|
1482
|
+
[_m],
|
|
1483
|
+
[0],
|
|
1484
|
+
];
|
|
1485
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
1486
|
+
var RetrieveMemoryRecordsInput = [
|
|
1487
|
+
3,
|
|
1488
|
+
n0,
|
|
1489
|
+
_RMRI,
|
|
1490
|
+
0,
|
|
1491
|
+
[_mI, _na, _sCe, _nT, _mRa],
|
|
1492
|
+
[[0, 1], 0, [() => SearchCriteria, 0], 0, 1],
|
|
1493
|
+
];
|
|
1494
|
+
var RetrieveMemoryRecordsOutput = [
|
|
1495
|
+
3,
|
|
1496
|
+
n0,
|
|
1497
|
+
_RMRO,
|
|
1498
|
+
0,
|
|
1499
|
+
[_mRS, _nT],
|
|
1500
|
+
[[() => MemoryRecordSummaryList, 0], 0],
|
|
1501
|
+
];
|
|
1502
|
+
var RuntimeClientError = [
|
|
1503
|
+
-3,
|
|
1504
|
+
n0,
|
|
1505
|
+
_RCE,
|
|
1506
|
+
{
|
|
1507
|
+
[_e]: _c,
|
|
1508
|
+
[_hE]: 424,
|
|
1509
|
+
},
|
|
1510
|
+
[_m],
|
|
1511
|
+
[0],
|
|
1512
|
+
];
|
|
1513
|
+
schema.TypeRegistry.for(n0).registerError(RuntimeClientError, RuntimeClientError$1);
|
|
1514
|
+
var SearchCriteria = [
|
|
1515
|
+
3,
|
|
1516
|
+
n0,
|
|
1517
|
+
_SC,
|
|
1518
|
+
0,
|
|
1519
|
+
[_sQ, _mSIe, _tK],
|
|
1520
|
+
[[() => SensitiveString, 0], 0, 1],
|
|
1521
|
+
];
|
|
1522
|
+
var ServiceException = [
|
|
1523
|
+
-3,
|
|
1524
|
+
n0,
|
|
1525
|
+
_SE,
|
|
1526
|
+
{
|
|
1527
|
+
[_e]: _ser,
|
|
1528
|
+
[_hE]: 500,
|
|
1529
|
+
},
|
|
1530
|
+
[_m],
|
|
1531
|
+
[0],
|
|
1532
|
+
];
|
|
1533
|
+
schema.TypeRegistry.for(n0).registerError(ServiceException, ServiceException$1);
|
|
1534
|
+
var ServiceQuotaExceededException = [
|
|
1535
|
+
-3,
|
|
1536
|
+
n0,
|
|
1537
|
+
_SQEE,
|
|
1538
|
+
{
|
|
1539
|
+
[_e]: _c,
|
|
1540
|
+
[_hE]: 402,
|
|
1541
|
+
},
|
|
1542
|
+
[_m],
|
|
1543
|
+
[0],
|
|
1544
|
+
];
|
|
1545
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
1546
|
+
var SessionSummary = [3, n0, _SSe, 0, [_sI, _aI, _cA], [0, 0, 4]];
|
|
1547
|
+
var StartBrowserSessionRequest = [
|
|
1548
|
+
3,
|
|
1549
|
+
n0,
|
|
1550
|
+
_SBSR,
|
|
1551
|
+
0,
|
|
1552
|
+
[_tI, _tP, _bI, _n, _sTS, _vP, _cT],
|
|
1553
|
+
[
|
|
1554
|
+
[
|
|
1555
|
+
0,
|
|
1556
|
+
{
|
|
1557
|
+
[_hH]: _XATI,
|
|
1558
|
+
},
|
|
1559
|
+
],
|
|
1560
|
+
[
|
|
1561
|
+
0,
|
|
1562
|
+
{
|
|
1563
|
+
[_hH]: _tr,
|
|
1564
|
+
},
|
|
1565
|
+
],
|
|
1566
|
+
[0, 1],
|
|
1567
|
+
0,
|
|
1568
|
+
1,
|
|
1569
|
+
() => ViewPort,
|
|
1570
|
+
[0, 4],
|
|
1571
|
+
],
|
|
1572
|
+
];
|
|
1573
|
+
var StartBrowserSessionResponse = [
|
|
1574
|
+
3,
|
|
1575
|
+
n0,
|
|
1576
|
+
_SBSRt,
|
|
1577
|
+
0,
|
|
1578
|
+
[_bI, _sI, _cA, _str],
|
|
1579
|
+
[0, 0, 5, () => BrowserSessionStream],
|
|
1580
|
+
];
|
|
1581
|
+
var StartCodeInterpreterSessionRequest = [
|
|
1582
|
+
3,
|
|
1583
|
+
n0,
|
|
1584
|
+
_SCISR,
|
|
1585
|
+
0,
|
|
1586
|
+
[_tI, _tP, _cII, _n, _sTS, _cT],
|
|
1587
|
+
[
|
|
1588
|
+
[
|
|
1589
|
+
0,
|
|
1590
|
+
{
|
|
1591
|
+
[_hH]: _XATI,
|
|
1592
|
+
},
|
|
1593
|
+
],
|
|
1594
|
+
[
|
|
1595
|
+
0,
|
|
1596
|
+
{
|
|
1597
|
+
[_hH]: _tr,
|
|
1598
|
+
},
|
|
1599
|
+
],
|
|
1600
|
+
[0, 1],
|
|
1601
|
+
0,
|
|
1602
|
+
1,
|
|
1603
|
+
[0, 4],
|
|
1604
|
+
],
|
|
1605
|
+
];
|
|
1606
|
+
var StartCodeInterpreterSessionResponse = [
|
|
1607
|
+
3,
|
|
1608
|
+
n0,
|
|
1609
|
+
_SCISRt,
|
|
1610
|
+
0,
|
|
1611
|
+
[_cII, _sI, _cA],
|
|
1612
|
+
[0, 0, 5],
|
|
1613
|
+
];
|
|
1614
|
+
var StopBrowserSessionRequest = [
|
|
1615
|
+
3,
|
|
1616
|
+
n0,
|
|
1617
|
+
_SBSRto,
|
|
1618
|
+
0,
|
|
1619
|
+
[_tI, _tP, _bI, _sI, _cT],
|
|
1620
|
+
[
|
|
1621
|
+
[
|
|
1622
|
+
0,
|
|
1623
|
+
{
|
|
1624
|
+
[_hH]: _XATI,
|
|
1625
|
+
},
|
|
1626
|
+
],
|
|
1627
|
+
[
|
|
1628
|
+
0,
|
|
1629
|
+
{
|
|
1630
|
+
[_hH]: _tr,
|
|
1631
|
+
},
|
|
1632
|
+
],
|
|
1633
|
+
[0, 1],
|
|
1634
|
+
[
|
|
1635
|
+
0,
|
|
1636
|
+
{
|
|
1637
|
+
[_hQ]: _sI,
|
|
1638
|
+
},
|
|
1639
|
+
],
|
|
1640
|
+
[0, 4],
|
|
1641
|
+
],
|
|
1642
|
+
];
|
|
1643
|
+
var StopBrowserSessionResponse = [3, n0, _SBSRtop, 0, [_bI, _sI, _lUA], [0, 0, 5]];
|
|
1644
|
+
var StopCodeInterpreterSessionRequest = [
|
|
1645
|
+
3,
|
|
1646
|
+
n0,
|
|
1647
|
+
_SCISRto,
|
|
1648
|
+
0,
|
|
1649
|
+
[_tI, _tP, _cII, _sI, _cT],
|
|
1650
|
+
[
|
|
1651
|
+
[
|
|
1652
|
+
0,
|
|
1653
|
+
{
|
|
1654
|
+
[_hH]: _XATI,
|
|
1655
|
+
},
|
|
1656
|
+
],
|
|
1657
|
+
[
|
|
1658
|
+
0,
|
|
1659
|
+
{
|
|
1660
|
+
[_hH]: _tr,
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
[0, 1],
|
|
1664
|
+
[
|
|
1665
|
+
0,
|
|
1666
|
+
{
|
|
1667
|
+
[_hQ]: _sI,
|
|
1668
|
+
},
|
|
1669
|
+
],
|
|
1670
|
+
[0, 4],
|
|
1671
|
+
],
|
|
1672
|
+
];
|
|
1673
|
+
var StopCodeInterpreterSessionResponse = [
|
|
1674
|
+
3,
|
|
1675
|
+
n0,
|
|
1676
|
+
_SCISRtop,
|
|
1677
|
+
0,
|
|
1678
|
+
[_cII, _sI, _lUA],
|
|
1679
|
+
[0, 0, 5],
|
|
1680
|
+
];
|
|
1681
|
+
var StopRuntimeSessionRequest = [
|
|
1682
|
+
3,
|
|
1683
|
+
n0,
|
|
1684
|
+
_SRSR,
|
|
1685
|
+
0,
|
|
1686
|
+
[_rSI, _aRA, _q, _cT],
|
|
1687
|
+
[
|
|
1688
|
+
[
|
|
1689
|
+
0,
|
|
1690
|
+
{
|
|
1691
|
+
[_hH]: _XABARSI,
|
|
1692
|
+
},
|
|
1693
|
+
],
|
|
1694
|
+
[0, 1],
|
|
1695
|
+
[
|
|
1696
|
+
0,
|
|
1697
|
+
{
|
|
1698
|
+
[_hQ]: _q,
|
|
1699
|
+
},
|
|
1700
|
+
],
|
|
1701
|
+
[0, 4],
|
|
1702
|
+
],
|
|
1703
|
+
];
|
|
1704
|
+
var StopRuntimeSessionResponse = [
|
|
1705
|
+
3,
|
|
1706
|
+
n0,
|
|
1707
|
+
_SRSRt,
|
|
1708
|
+
0,
|
|
1709
|
+
[_rSI, _sCt],
|
|
1710
|
+
[
|
|
1711
|
+
[
|
|
1712
|
+
0,
|
|
1713
|
+
{
|
|
1714
|
+
[_hH]: _XABARSI,
|
|
1715
|
+
},
|
|
1716
|
+
],
|
|
1717
|
+
[1, 32],
|
|
1718
|
+
],
|
|
1719
|
+
];
|
|
1720
|
+
var ThrottledException = [
|
|
1721
|
+
-3,
|
|
1722
|
+
n0,
|
|
1723
|
+
_TE,
|
|
1724
|
+
{
|
|
1725
|
+
[_e]: _c,
|
|
1726
|
+
[_hE]: 429,
|
|
1727
|
+
},
|
|
1728
|
+
[_m],
|
|
1729
|
+
[0],
|
|
1730
|
+
];
|
|
1731
|
+
schema.TypeRegistry.for(n0).registerError(ThrottledException, ThrottledException$1);
|
|
1732
|
+
var ThrottlingException = [
|
|
1733
|
+
-3,
|
|
1734
|
+
n0,
|
|
1735
|
+
_TEh,
|
|
1736
|
+
{
|
|
1737
|
+
[_e]: _c,
|
|
1738
|
+
[_hE]: 429,
|
|
1739
|
+
},
|
|
1740
|
+
[_m],
|
|
1741
|
+
[0],
|
|
1742
|
+
];
|
|
1743
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1744
|
+
var ToolArguments = [
|
|
1745
|
+
3,
|
|
1746
|
+
n0,
|
|
1747
|
+
_TA,
|
|
1748
|
+
0,
|
|
1749
|
+
[_cod, _la, _cC, _com, _pa, _pat, _co, _dP, _tIa],
|
|
1750
|
+
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0],
|
|
1751
|
+
];
|
|
1752
|
+
var ToolResultStructuredContent = [
|
|
1753
|
+
3,
|
|
1754
|
+
n0,
|
|
1755
|
+
_TRSC,
|
|
1756
|
+
0,
|
|
1757
|
+
[_tIa, _tSa, _std, _stde, _eCx, _eTx],
|
|
1758
|
+
[0, 0, 0, 0, 1, 1],
|
|
1759
|
+
];
|
|
1760
|
+
var UnauthorizedException = [
|
|
1761
|
+
-3,
|
|
1762
|
+
n0,
|
|
1763
|
+
_UE,
|
|
1764
|
+
{
|
|
1765
|
+
[_e]: _c,
|
|
1766
|
+
[_hE]: 401,
|
|
1767
|
+
},
|
|
1768
|
+
[_m],
|
|
1769
|
+
[0],
|
|
1770
|
+
];
|
|
1771
|
+
schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
|
|
1772
|
+
var UpdateBrowserStreamRequest = [
|
|
1773
|
+
3,
|
|
1774
|
+
n0,
|
|
1775
|
+
_UBSR,
|
|
1776
|
+
0,
|
|
1777
|
+
[_bI, _sI, _sUt, _cT],
|
|
1778
|
+
[
|
|
1779
|
+
[0, 1],
|
|
1780
|
+
[
|
|
1781
|
+
0,
|
|
1782
|
+
{
|
|
1783
|
+
[_hQ]: _sI,
|
|
1784
|
+
},
|
|
1785
|
+
],
|
|
1786
|
+
() => StreamUpdate,
|
|
1787
|
+
[0, 4],
|
|
1788
|
+
],
|
|
1789
|
+
];
|
|
1790
|
+
var UpdateBrowserStreamResponse = [
|
|
1791
|
+
3,
|
|
1792
|
+
n0,
|
|
1793
|
+
_UBSRp,
|
|
1794
|
+
0,
|
|
1795
|
+
[_bI, _sI, _str, _uA],
|
|
1796
|
+
[0, 0, () => BrowserSessionStream, 5],
|
|
1797
|
+
];
|
|
1798
|
+
var ValidationException = [
|
|
1799
|
+
-3,
|
|
1800
|
+
n0,
|
|
1801
|
+
_VE,
|
|
1802
|
+
{
|
|
1803
|
+
[_e]: _c,
|
|
1804
|
+
[_hE]: 400,
|
|
1805
|
+
},
|
|
1806
|
+
[_m, _rea, _fL],
|
|
1807
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
1808
|
+
];
|
|
1809
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1810
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
1811
|
+
var ViewPort = [3, n0, _VP, 0, [_w, _h], [1, 1]];
|
|
1812
|
+
var BedrockAgentCoreServiceException = [
|
|
1813
|
+
-3,
|
|
1814
|
+
_sm,
|
|
1815
|
+
"BedrockAgentCoreServiceException",
|
|
1816
|
+
0,
|
|
1817
|
+
[],
|
|
1818
|
+
[],
|
|
1819
|
+
];
|
|
1820
|
+
schema.TypeRegistry.for(_sm).registerError(BedrockAgentCoreServiceException, BedrockAgentCoreServiceException$1);
|
|
1821
|
+
var ActorSummaryList = [1, n0, _ASL, 0, () => ActorSummary];
|
|
1822
|
+
var BrowserSessionSummaries = [1, n0, _BSSro, 0, () => BrowserSessionSummary];
|
|
1823
|
+
var CodeInterpreterSessionSummaries = [1, n0, _CISSo, 0, () => CodeInterpreterSessionSummary];
|
|
1824
|
+
var ContentBlockList = [1, n0, _CBL, 0, () => ContentBlock];
|
|
1825
|
+
var EventList = [1, n0, _EL, 0, [() => Event, 0]];
|
|
1826
|
+
var EventMetadataFilterList = [1, n0, _EMFL, 0, () => EventMetadataFilterExpression];
|
|
1827
|
+
var InputContentBlockList = [1, n0, _ICBL, 0, [() => InputContentBlock, 0]];
|
|
1828
|
+
var MemoryRecordsCreateInputList = [1, n0, _MRCIL, 0, [() => MemoryRecordCreateInput, 0]];
|
|
1829
|
+
var MemoryRecordsDeleteInputList = [1, n0, _MRDIL, 0, () => MemoryRecordDeleteInput];
|
|
1830
|
+
var MemoryRecordsOutputList = [1, n0, _MROL, 0, () => MemoryRecordOutput];
|
|
1831
|
+
var MemoryRecordSummaryList = [1, n0, _MRSL, 0, [() => MemoryRecordSummary, 0]];
|
|
1832
|
+
var MemoryRecordsUpdateInputList = [1, n0, _MRUIL, 0, [() => MemoryRecordUpdateInput, 0]];
|
|
1833
|
+
var PayloadTypeList = [1, n0, _PTL, 0, [() => PayloadType, 0]];
|
|
1834
|
+
var SessionSummaryList = [1, n0, _SSL, 0, () => SessionSummary];
|
|
1835
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
1836
|
+
var CustomRequestParametersType = [2, n0, _CRPT, 0, [0, 0], [() => CustomRequestValueType, 0]];
|
|
1837
|
+
var MetadataMap = [2, n0, _MM, 0, 0, () => MetadataValue];
|
|
1838
|
+
var CodeInterpreterStreamOutput = [
|
|
1839
|
+
3,
|
|
1840
|
+
n0,
|
|
1841
|
+
_CISO,
|
|
1842
|
+
{
|
|
1843
|
+
[_s]: 1,
|
|
1844
|
+
},
|
|
1845
|
+
[_resu, _aDE, _cE, _iSE, _rNFE, _sQEE, _tE, _vE],
|
|
1846
|
+
[
|
|
1847
|
+
() => CodeInterpreterResult,
|
|
1848
|
+
[() => AccessDeniedException, 0],
|
|
1849
|
+
[() => ConflictException, 0],
|
|
1850
|
+
[() => InternalServerException, 0],
|
|
1851
|
+
[() => ResourceNotFoundException, 0],
|
|
1852
|
+
[() => ServiceQuotaExceededException, 0],
|
|
1853
|
+
[() => ThrottlingException, 0],
|
|
1854
|
+
[() => ValidationException, 0],
|
|
1855
|
+
],
|
|
1856
|
+
];
|
|
1857
|
+
var Content = [3, n0, _Co, 0, [_te], [[() => SensitiveString, 0]]];
|
|
1858
|
+
var LeftExpression = [3, n0, _LE, 0, [_mK], [0]];
|
|
1859
|
+
var MemoryContent = [3, n0, _MC, 0, [_te], [[() => SensitiveString, 0]]];
|
|
1860
|
+
var MetadataValue = [3, n0, _MV, 0, [_sV], [0]];
|
|
1861
|
+
var PayloadType = [3, n0, _PT, 0, [_con, _bl], [[() => Conversational, 0], 15]];
|
|
1862
|
+
var RightExpression = [3, n0, _RE, 0, [_mV], [() => MetadataValue]];
|
|
1863
|
+
var StreamUpdate = [3, n0, _SU, 0, [_aSU], [() => AutomationStreamUpdate]];
|
|
1864
|
+
var UserIdentifier = [3, n0, _UI, 0, [_uT, _uIs], [[() => UserTokenType, 0], 0]];
|
|
1865
|
+
var BatchCreateMemoryRecords = [
|
|
1866
|
+
9,
|
|
1867
|
+
n0,
|
|
1868
|
+
_BCMR,
|
|
1869
|
+
{
|
|
1870
|
+
[_ht]: ["POST", "/memories/{memoryId}/memoryRecords/batchCreate", 201],
|
|
1871
|
+
},
|
|
1872
|
+
() => BatchCreateMemoryRecordsInput,
|
|
1873
|
+
() => BatchCreateMemoryRecordsOutput,
|
|
1874
|
+
];
|
|
1875
|
+
var BatchDeleteMemoryRecords = [
|
|
1876
|
+
9,
|
|
1877
|
+
n0,
|
|
1878
|
+
_BDMR,
|
|
1879
|
+
{
|
|
1880
|
+
[_ht]: ["POST", "/memories/{memoryId}/memoryRecords/batchDelete", 200],
|
|
1881
|
+
},
|
|
1882
|
+
() => BatchDeleteMemoryRecordsInput,
|
|
1883
|
+
() => BatchDeleteMemoryRecordsOutput,
|
|
1884
|
+
];
|
|
1885
|
+
var BatchUpdateMemoryRecords = [
|
|
1886
|
+
9,
|
|
1887
|
+
n0,
|
|
1888
|
+
_BUMR,
|
|
1889
|
+
{
|
|
1890
|
+
[_ht]: ["POST", "/memories/{memoryId}/memoryRecords/batchUpdate", 200],
|
|
1891
|
+
},
|
|
1892
|
+
() => BatchUpdateMemoryRecordsInput,
|
|
1893
|
+
() => BatchUpdateMemoryRecordsOutput,
|
|
1894
|
+
];
|
|
1895
|
+
var CompleteResourceTokenAuth = [
|
|
1896
|
+
9,
|
|
1897
|
+
n0,
|
|
1898
|
+
_CRTA,
|
|
1899
|
+
{
|
|
1900
|
+
[_ht]: ["POST", "/identities/CompleteResourceTokenAuth", 200],
|
|
1901
|
+
},
|
|
1902
|
+
() => CompleteResourceTokenAuthRequest,
|
|
1903
|
+
() => CompleteResourceTokenAuthResponse,
|
|
1904
|
+
];
|
|
1905
|
+
var CreateEvent = [
|
|
1906
|
+
9,
|
|
1907
|
+
n0,
|
|
1908
|
+
_CEr,
|
|
1909
|
+
{
|
|
1910
|
+
[_ht]: ["POST", "/memories/{memoryId}/events", 201],
|
|
1911
|
+
},
|
|
1912
|
+
() => CreateEventInput,
|
|
1913
|
+
() => CreateEventOutput,
|
|
1914
|
+
];
|
|
1915
|
+
var DeleteEvent = [
|
|
1916
|
+
9,
|
|
1917
|
+
n0,
|
|
1918
|
+
_DE,
|
|
1919
|
+
{
|
|
1920
|
+
[_ht]: ["DELETE", "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", 200],
|
|
1921
|
+
},
|
|
1922
|
+
() => DeleteEventInput,
|
|
1923
|
+
() => DeleteEventOutput,
|
|
1924
|
+
];
|
|
1925
|
+
var DeleteMemoryRecord = [
|
|
1926
|
+
9,
|
|
1927
|
+
n0,
|
|
1928
|
+
_DMR,
|
|
1929
|
+
{
|
|
1930
|
+
[_ht]: ["DELETE", "/memories/{memoryId}/memoryRecords/{memoryRecordId}", 200],
|
|
1931
|
+
},
|
|
1932
|
+
() => DeleteMemoryRecordInput,
|
|
1933
|
+
() => DeleteMemoryRecordOutput,
|
|
1934
|
+
];
|
|
1935
|
+
var GetAgentCard = [
|
|
1936
|
+
9,
|
|
1937
|
+
n0,
|
|
1938
|
+
_GAC,
|
|
1939
|
+
{
|
|
1940
|
+
[_ht]: ["GET", "/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json", 200],
|
|
1941
|
+
},
|
|
1942
|
+
() => GetAgentCardRequest,
|
|
1943
|
+
() => GetAgentCardResponse,
|
|
1944
|
+
];
|
|
1945
|
+
var GetBrowserSession = [
|
|
1946
|
+
9,
|
|
1947
|
+
n0,
|
|
1948
|
+
_GBS,
|
|
1949
|
+
{
|
|
1950
|
+
[_ht]: ["GET", "/browsers/{browserIdentifier}/sessions/get", 200],
|
|
1951
|
+
},
|
|
1952
|
+
() => GetBrowserSessionRequest,
|
|
1953
|
+
() => GetBrowserSessionResponse,
|
|
1954
|
+
];
|
|
1955
|
+
var GetCodeInterpreterSession = [
|
|
1956
|
+
9,
|
|
1957
|
+
n0,
|
|
1958
|
+
_GCIS,
|
|
1959
|
+
{
|
|
1960
|
+
[_ht]: ["GET", "/code-interpreters/{codeInterpreterIdentifier}/sessions/get", 200],
|
|
1961
|
+
},
|
|
1962
|
+
() => GetCodeInterpreterSessionRequest,
|
|
1963
|
+
() => GetCodeInterpreterSessionResponse,
|
|
1964
|
+
];
|
|
1965
|
+
var GetEvent = [
|
|
1966
|
+
9,
|
|
1967
|
+
n0,
|
|
1968
|
+
_GE,
|
|
1969
|
+
{
|
|
1970
|
+
[_ht]: ["GET", "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", 200],
|
|
1971
|
+
},
|
|
1972
|
+
() => GetEventInput,
|
|
1973
|
+
() => GetEventOutput,
|
|
1974
|
+
];
|
|
1975
|
+
var GetMemoryRecord = [
|
|
1976
|
+
9,
|
|
1977
|
+
n0,
|
|
1978
|
+
_GMR,
|
|
1979
|
+
{
|
|
1980
|
+
[_ht]: ["GET", "/memories/{memoryId}/memoryRecord/{memoryRecordId}", 200],
|
|
1981
|
+
},
|
|
1982
|
+
() => GetMemoryRecordInput,
|
|
1983
|
+
() => GetMemoryRecordOutput,
|
|
1984
|
+
];
|
|
1985
|
+
var GetResourceApiKey = [
|
|
1986
|
+
9,
|
|
1987
|
+
n0,
|
|
1988
|
+
_GRAK,
|
|
1989
|
+
{
|
|
1990
|
+
[_ht]: ["POST", "/identities/api-key", 200],
|
|
1991
|
+
},
|
|
1992
|
+
() => GetResourceApiKeyRequest,
|
|
1993
|
+
() => GetResourceApiKeyResponse,
|
|
1994
|
+
];
|
|
1995
|
+
var GetResourceOauth2Token = [
|
|
1996
|
+
9,
|
|
1997
|
+
n0,
|
|
1998
|
+
_GROT,
|
|
1999
|
+
{
|
|
2000
|
+
[_ht]: ["POST", "/identities/oauth2/token", 200],
|
|
2001
|
+
},
|
|
2002
|
+
() => GetResourceOauth2TokenRequest,
|
|
2003
|
+
() => GetResourceOauth2TokenResponse,
|
|
2004
|
+
];
|
|
2005
|
+
var GetWorkloadAccessToken = [
|
|
2006
|
+
9,
|
|
2007
|
+
n0,
|
|
2008
|
+
_GWAT,
|
|
2009
|
+
{
|
|
2010
|
+
[_ht]: ["POST", "/identities/GetWorkloadAccessToken", 200],
|
|
2011
|
+
},
|
|
2012
|
+
() => GetWorkloadAccessTokenRequest,
|
|
2013
|
+
() => GetWorkloadAccessTokenResponse,
|
|
2014
|
+
];
|
|
2015
|
+
var GetWorkloadAccessTokenForJWT = [
|
|
2016
|
+
9,
|
|
2017
|
+
n0,
|
|
2018
|
+
_GWATFJWT,
|
|
2019
|
+
{
|
|
2020
|
+
[_ht]: ["POST", "/identities/GetWorkloadAccessTokenForJWT", 200],
|
|
2021
|
+
},
|
|
2022
|
+
() => GetWorkloadAccessTokenForJWTRequest,
|
|
2023
|
+
() => GetWorkloadAccessTokenForJWTResponse,
|
|
2024
|
+
];
|
|
2025
|
+
var GetWorkloadAccessTokenForUserId = [
|
|
2026
|
+
9,
|
|
2027
|
+
n0,
|
|
2028
|
+
_GWATFUI,
|
|
2029
|
+
{
|
|
2030
|
+
[_ht]: ["POST", "/identities/GetWorkloadAccessTokenForUserId", 200],
|
|
2031
|
+
},
|
|
2032
|
+
() => GetWorkloadAccessTokenForUserIdRequest,
|
|
2033
|
+
() => GetWorkloadAccessTokenForUserIdResponse,
|
|
2034
|
+
];
|
|
2035
|
+
var InvokeAgentRuntime = [
|
|
2036
|
+
9,
|
|
2037
|
+
n0,
|
|
2038
|
+
_IAR,
|
|
2039
|
+
{
|
|
2040
|
+
[_ht]: ["POST", "/runtimes/{agentRuntimeArn}/invocations", 200],
|
|
2041
|
+
},
|
|
2042
|
+
() => InvokeAgentRuntimeRequest,
|
|
2043
|
+
() => InvokeAgentRuntimeResponse,
|
|
2044
|
+
];
|
|
2045
|
+
var InvokeCodeInterpreter = [
|
|
2046
|
+
9,
|
|
2047
|
+
n0,
|
|
2048
|
+
_ICI,
|
|
2049
|
+
{
|
|
2050
|
+
[_ht]: ["POST", "/code-interpreters/{codeInterpreterIdentifier}/tools/invoke", 200],
|
|
2051
|
+
},
|
|
2052
|
+
() => InvokeCodeInterpreterRequest,
|
|
2053
|
+
() => InvokeCodeInterpreterResponse,
|
|
2054
|
+
];
|
|
2055
|
+
var ListActors = [
|
|
2056
|
+
9,
|
|
2057
|
+
n0,
|
|
2058
|
+
_LA,
|
|
2059
|
+
{
|
|
2060
|
+
[_ht]: ["POST", "/memories/{memoryId}/actors", 200],
|
|
2061
|
+
},
|
|
2062
|
+
() => ListActorsInput,
|
|
2063
|
+
() => ListActorsOutput,
|
|
2064
|
+
];
|
|
2065
|
+
var ListBrowserSessions = [
|
|
2066
|
+
9,
|
|
2067
|
+
n0,
|
|
2068
|
+
_LBS,
|
|
2069
|
+
{
|
|
2070
|
+
[_ht]: ["POST", "/browsers/{browserIdentifier}/sessions/list", 200],
|
|
2071
|
+
},
|
|
2072
|
+
() => ListBrowserSessionsRequest,
|
|
2073
|
+
() => ListBrowserSessionsResponse,
|
|
2074
|
+
];
|
|
2075
|
+
var ListCodeInterpreterSessions = [
|
|
2076
|
+
9,
|
|
2077
|
+
n0,
|
|
2078
|
+
_LCIS,
|
|
2079
|
+
{
|
|
2080
|
+
[_ht]: ["POST", "/code-interpreters/{codeInterpreterIdentifier}/sessions/list", 200],
|
|
2081
|
+
},
|
|
2082
|
+
() => ListCodeInterpreterSessionsRequest,
|
|
2083
|
+
() => ListCodeInterpreterSessionsResponse,
|
|
2084
|
+
];
|
|
2085
|
+
var ListEvents = [
|
|
2086
|
+
9,
|
|
2087
|
+
n0,
|
|
2088
|
+
_LEi,
|
|
2089
|
+
{
|
|
2090
|
+
[_ht]: ["POST", "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}", 200],
|
|
2091
|
+
},
|
|
2092
|
+
() => ListEventsInput,
|
|
2093
|
+
() => ListEventsOutput,
|
|
2094
|
+
];
|
|
2095
|
+
var ListMemoryRecords = [
|
|
2096
|
+
9,
|
|
2097
|
+
n0,
|
|
2098
|
+
_LMR,
|
|
2099
|
+
{
|
|
2100
|
+
[_ht]: ["POST", "/memories/{memoryId}/memoryRecords", 200],
|
|
2101
|
+
},
|
|
2102
|
+
() => ListMemoryRecordsInput,
|
|
2103
|
+
() => ListMemoryRecordsOutput,
|
|
2104
|
+
];
|
|
2105
|
+
var ListSessions = [
|
|
2106
|
+
9,
|
|
2107
|
+
n0,
|
|
2108
|
+
_LS,
|
|
2109
|
+
{
|
|
2110
|
+
[_ht]: ["POST", "/memories/{memoryId}/actor/{actorId}/sessions", 200],
|
|
2111
|
+
},
|
|
2112
|
+
() => ListSessionsInput,
|
|
2113
|
+
() => ListSessionsOutput,
|
|
2114
|
+
];
|
|
2115
|
+
var RetrieveMemoryRecords = [
|
|
2116
|
+
9,
|
|
2117
|
+
n0,
|
|
2118
|
+
_RMR,
|
|
2119
|
+
{
|
|
2120
|
+
[_ht]: ["POST", "/memories/{memoryId}/retrieve", 200],
|
|
2121
|
+
},
|
|
2122
|
+
() => RetrieveMemoryRecordsInput,
|
|
2123
|
+
() => RetrieveMemoryRecordsOutput,
|
|
2124
|
+
];
|
|
2125
|
+
var StartBrowserSession = [
|
|
2126
|
+
9,
|
|
2127
|
+
n0,
|
|
2128
|
+
_SBS,
|
|
2129
|
+
{
|
|
2130
|
+
[_ht]: ["PUT", "/browsers/{browserIdentifier}/sessions/start", 200],
|
|
2131
|
+
},
|
|
2132
|
+
() => StartBrowserSessionRequest,
|
|
2133
|
+
() => StartBrowserSessionResponse,
|
|
2134
|
+
];
|
|
2135
|
+
var StartCodeInterpreterSession = [
|
|
2136
|
+
9,
|
|
2137
|
+
n0,
|
|
2138
|
+
_SCIS,
|
|
2139
|
+
{
|
|
2140
|
+
[_ht]: ["PUT", "/code-interpreters/{codeInterpreterIdentifier}/sessions/start", 200],
|
|
2141
|
+
},
|
|
2142
|
+
() => StartCodeInterpreterSessionRequest,
|
|
2143
|
+
() => StartCodeInterpreterSessionResponse,
|
|
2144
|
+
];
|
|
2145
|
+
var StopBrowserSession = [
|
|
2146
|
+
9,
|
|
2147
|
+
n0,
|
|
2148
|
+
_SBSt,
|
|
2149
|
+
{
|
|
2150
|
+
[_ht]: ["PUT", "/browsers/{browserIdentifier}/sessions/stop", 200],
|
|
2151
|
+
},
|
|
2152
|
+
() => StopBrowserSessionRequest,
|
|
2153
|
+
() => StopBrowserSessionResponse,
|
|
2154
|
+
];
|
|
2155
|
+
var StopCodeInterpreterSession = [
|
|
2156
|
+
9,
|
|
2157
|
+
n0,
|
|
2158
|
+
_SCISt,
|
|
2159
|
+
{
|
|
2160
|
+
[_ht]: ["PUT", "/code-interpreters/{codeInterpreterIdentifier}/sessions/stop", 200],
|
|
2161
|
+
},
|
|
2162
|
+
() => StopCodeInterpreterSessionRequest,
|
|
2163
|
+
() => StopCodeInterpreterSessionResponse,
|
|
2164
|
+
];
|
|
2165
|
+
var StopRuntimeSession = [
|
|
2166
|
+
9,
|
|
2167
|
+
n0,
|
|
2168
|
+
_SRS,
|
|
2169
|
+
{
|
|
2170
|
+
[_ht]: ["POST", "/runtimes/{agentRuntimeArn}/stopruntimesession", 200],
|
|
2171
|
+
},
|
|
2172
|
+
() => StopRuntimeSessionRequest,
|
|
2173
|
+
() => StopRuntimeSessionResponse,
|
|
2174
|
+
];
|
|
2175
|
+
var UpdateBrowserStream = [
|
|
2176
|
+
9,
|
|
2177
|
+
n0,
|
|
2178
|
+
_UBS,
|
|
2179
|
+
{
|
|
2180
|
+
[_ht]: ["PUT", "/browsers/{browserIdentifier}/sessions/streams/update", 200],
|
|
2181
|
+
},
|
|
2182
|
+
() => UpdateBrowserStreamRequest,
|
|
2183
|
+
() => UpdateBrowserStreamResponse,
|
|
2184
|
+
];
|
|
2210
2185
|
|
|
2211
2186
|
class BatchCreateMemoryRecordsCommand extends smithyClient.Command
|
|
2212
2187
|
.classBuilder()
|
|
2213
2188
|
.ep(commonParams)
|
|
2214
2189
|
.m(function (Command, cs, config, o) {
|
|
2215
|
-
return [
|
|
2216
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2217
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2218
|
-
];
|
|
2190
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2219
2191
|
})
|
|
2220
2192
|
.s("AmazonBedrockAgentCore", "BatchCreateMemoryRecords", {})
|
|
2221
2193
|
.n("BedrockAgentCoreClient", "BatchCreateMemoryRecordsCommand")
|
|
2222
|
-
.
|
|
2223
|
-
.ser(se_BatchCreateMemoryRecordsCommand)
|
|
2224
|
-
.de(de_BatchCreateMemoryRecordsCommand)
|
|
2194
|
+
.sc(BatchCreateMemoryRecords)
|
|
2225
2195
|
.build() {
|
|
2226
2196
|
}
|
|
2227
2197
|
|
|
@@ -2229,16 +2199,11 @@ class BatchDeleteMemoryRecordsCommand extends smithyClient.Command
|
|
|
2229
2199
|
.classBuilder()
|
|
2230
2200
|
.ep(commonParams)
|
|
2231
2201
|
.m(function (Command, cs, config, o) {
|
|
2232
|
-
return [
|
|
2233
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2234
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2235
|
-
];
|
|
2202
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2236
2203
|
})
|
|
2237
2204
|
.s("AmazonBedrockAgentCore", "BatchDeleteMemoryRecords", {})
|
|
2238
2205
|
.n("BedrockAgentCoreClient", "BatchDeleteMemoryRecordsCommand")
|
|
2239
|
-
.
|
|
2240
|
-
.ser(se_BatchDeleteMemoryRecordsCommand)
|
|
2241
|
-
.de(de_BatchDeleteMemoryRecordsCommand)
|
|
2206
|
+
.sc(BatchDeleteMemoryRecords)
|
|
2242
2207
|
.build() {
|
|
2243
2208
|
}
|
|
2244
2209
|
|
|
@@ -2246,16 +2211,11 @@ class BatchUpdateMemoryRecordsCommand extends smithyClient.Command
|
|
|
2246
2211
|
.classBuilder()
|
|
2247
2212
|
.ep(commonParams)
|
|
2248
2213
|
.m(function (Command, cs, config, o) {
|
|
2249
|
-
return [
|
|
2250
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2251
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2252
|
-
];
|
|
2214
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2253
2215
|
})
|
|
2254
2216
|
.s("AmazonBedrockAgentCore", "BatchUpdateMemoryRecords", {})
|
|
2255
2217
|
.n("BedrockAgentCoreClient", "BatchUpdateMemoryRecordsCommand")
|
|
2256
|
-
.
|
|
2257
|
-
.ser(se_BatchUpdateMemoryRecordsCommand)
|
|
2258
|
-
.de(de_BatchUpdateMemoryRecordsCommand)
|
|
2218
|
+
.sc(BatchUpdateMemoryRecords)
|
|
2259
2219
|
.build() {
|
|
2260
2220
|
}
|
|
2261
2221
|
|
|
@@ -2263,16 +2223,11 @@ class CompleteResourceTokenAuthCommand extends smithyClient.Command
|
|
|
2263
2223
|
.classBuilder()
|
|
2264
2224
|
.ep(commonParams)
|
|
2265
2225
|
.m(function (Command, cs, config, o) {
|
|
2266
|
-
return [
|
|
2267
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2268
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2269
|
-
];
|
|
2226
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2270
2227
|
})
|
|
2271
2228
|
.s("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
|
|
2272
2229
|
.n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
|
|
2273
|
-
.
|
|
2274
|
-
.ser(se_CompleteResourceTokenAuthCommand)
|
|
2275
|
-
.de(de_CompleteResourceTokenAuthCommand)
|
|
2230
|
+
.sc(CompleteResourceTokenAuth)
|
|
2276
2231
|
.build() {
|
|
2277
2232
|
}
|
|
2278
2233
|
|
|
@@ -2280,16 +2235,11 @@ class CreateEventCommand extends smithyClient.Command
|
|
|
2280
2235
|
.classBuilder()
|
|
2281
2236
|
.ep(commonParams)
|
|
2282
2237
|
.m(function (Command, cs, config, o) {
|
|
2283
|
-
return [
|
|
2284
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2285
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2286
|
-
];
|
|
2238
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2287
2239
|
})
|
|
2288
2240
|
.s("AmazonBedrockAgentCore", "CreateEvent", {})
|
|
2289
2241
|
.n("BedrockAgentCoreClient", "CreateEventCommand")
|
|
2290
|
-
.
|
|
2291
|
-
.ser(se_CreateEventCommand)
|
|
2292
|
-
.de(de_CreateEventCommand)
|
|
2242
|
+
.sc(CreateEvent)
|
|
2293
2243
|
.build() {
|
|
2294
2244
|
}
|
|
2295
2245
|
|
|
@@ -2297,16 +2247,11 @@ class DeleteEventCommand extends smithyClient.Command
|
|
|
2297
2247
|
.classBuilder()
|
|
2298
2248
|
.ep(commonParams)
|
|
2299
2249
|
.m(function (Command, cs, config, o) {
|
|
2300
|
-
return [
|
|
2301
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2302
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2303
|
-
];
|
|
2250
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2304
2251
|
})
|
|
2305
2252
|
.s("AmazonBedrockAgentCore", "DeleteEvent", {})
|
|
2306
2253
|
.n("BedrockAgentCoreClient", "DeleteEventCommand")
|
|
2307
|
-
.
|
|
2308
|
-
.ser(se_DeleteEventCommand)
|
|
2309
|
-
.de(de_DeleteEventCommand)
|
|
2254
|
+
.sc(DeleteEvent)
|
|
2310
2255
|
.build() {
|
|
2311
2256
|
}
|
|
2312
2257
|
|
|
@@ -2314,16 +2259,11 @@ class DeleteMemoryRecordCommand extends smithyClient.Command
|
|
|
2314
2259
|
.classBuilder()
|
|
2315
2260
|
.ep(commonParams)
|
|
2316
2261
|
.m(function (Command, cs, config, o) {
|
|
2317
|
-
return [
|
|
2318
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2319
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2320
|
-
];
|
|
2262
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2321
2263
|
})
|
|
2322
2264
|
.s("AmazonBedrockAgentCore", "DeleteMemoryRecord", {})
|
|
2323
2265
|
.n("BedrockAgentCoreClient", "DeleteMemoryRecordCommand")
|
|
2324
|
-
.
|
|
2325
|
-
.ser(se_DeleteMemoryRecordCommand)
|
|
2326
|
-
.de(de_DeleteMemoryRecordCommand)
|
|
2266
|
+
.sc(DeleteMemoryRecord)
|
|
2327
2267
|
.build() {
|
|
2328
2268
|
}
|
|
2329
2269
|
|
|
@@ -2331,16 +2271,11 @@ class GetAgentCardCommand extends smithyClient.Command
|
|
|
2331
2271
|
.classBuilder()
|
|
2332
2272
|
.ep(commonParams)
|
|
2333
2273
|
.m(function (Command, cs, config, o) {
|
|
2334
|
-
return [
|
|
2335
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2336
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2337
|
-
];
|
|
2274
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2338
2275
|
})
|
|
2339
2276
|
.s("AmazonBedrockAgentCore", "GetAgentCard", {})
|
|
2340
2277
|
.n("BedrockAgentCoreClient", "GetAgentCardCommand")
|
|
2341
|
-
.
|
|
2342
|
-
.ser(se_GetAgentCardCommand)
|
|
2343
|
-
.de(de_GetAgentCardCommand)
|
|
2278
|
+
.sc(GetAgentCard)
|
|
2344
2279
|
.build() {
|
|
2345
2280
|
}
|
|
2346
2281
|
|
|
@@ -2348,16 +2283,11 @@ class GetBrowserSessionCommand extends smithyClient.Command
|
|
|
2348
2283
|
.classBuilder()
|
|
2349
2284
|
.ep(commonParams)
|
|
2350
2285
|
.m(function (Command, cs, config, o) {
|
|
2351
|
-
return [
|
|
2352
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2353
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2354
|
-
];
|
|
2286
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2355
2287
|
})
|
|
2356
2288
|
.s("AmazonBedrockAgentCore", "GetBrowserSession", {})
|
|
2357
2289
|
.n("BedrockAgentCoreClient", "GetBrowserSessionCommand")
|
|
2358
|
-
.
|
|
2359
|
-
.ser(se_GetBrowserSessionCommand)
|
|
2360
|
-
.de(de_GetBrowserSessionCommand)
|
|
2290
|
+
.sc(GetBrowserSession)
|
|
2361
2291
|
.build() {
|
|
2362
2292
|
}
|
|
2363
2293
|
|
|
@@ -2365,16 +2295,11 @@ class GetCodeInterpreterSessionCommand extends smithyClient.Command
|
|
|
2365
2295
|
.classBuilder()
|
|
2366
2296
|
.ep(commonParams)
|
|
2367
2297
|
.m(function (Command, cs, config, o) {
|
|
2368
|
-
return [
|
|
2369
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2370
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2371
|
-
];
|
|
2298
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2372
2299
|
})
|
|
2373
2300
|
.s("AmazonBedrockAgentCore", "GetCodeInterpreterSession", {})
|
|
2374
2301
|
.n("BedrockAgentCoreClient", "GetCodeInterpreterSessionCommand")
|
|
2375
|
-
.
|
|
2376
|
-
.ser(se_GetCodeInterpreterSessionCommand)
|
|
2377
|
-
.de(de_GetCodeInterpreterSessionCommand)
|
|
2302
|
+
.sc(GetCodeInterpreterSession)
|
|
2378
2303
|
.build() {
|
|
2379
2304
|
}
|
|
2380
2305
|
|
|
@@ -2382,16 +2307,11 @@ class GetEventCommand extends smithyClient.Command
|
|
|
2382
2307
|
.classBuilder()
|
|
2383
2308
|
.ep(commonParams)
|
|
2384
2309
|
.m(function (Command, cs, config, o) {
|
|
2385
|
-
return [
|
|
2386
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2387
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2388
|
-
];
|
|
2310
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2389
2311
|
})
|
|
2390
2312
|
.s("AmazonBedrockAgentCore", "GetEvent", {})
|
|
2391
2313
|
.n("BedrockAgentCoreClient", "GetEventCommand")
|
|
2392
|
-
.
|
|
2393
|
-
.ser(se_GetEventCommand)
|
|
2394
|
-
.de(de_GetEventCommand)
|
|
2314
|
+
.sc(GetEvent)
|
|
2395
2315
|
.build() {
|
|
2396
2316
|
}
|
|
2397
2317
|
|
|
@@ -2399,16 +2319,11 @@ class GetMemoryRecordCommand extends smithyClient.Command
|
|
|
2399
2319
|
.classBuilder()
|
|
2400
2320
|
.ep(commonParams)
|
|
2401
2321
|
.m(function (Command, cs, config, o) {
|
|
2402
|
-
return [
|
|
2403
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2404
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2405
|
-
];
|
|
2322
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2406
2323
|
})
|
|
2407
2324
|
.s("AmazonBedrockAgentCore", "GetMemoryRecord", {})
|
|
2408
2325
|
.n("BedrockAgentCoreClient", "GetMemoryRecordCommand")
|
|
2409
|
-
.
|
|
2410
|
-
.ser(se_GetMemoryRecordCommand)
|
|
2411
|
-
.de(de_GetMemoryRecordCommand)
|
|
2326
|
+
.sc(GetMemoryRecord)
|
|
2412
2327
|
.build() {
|
|
2413
2328
|
}
|
|
2414
2329
|
|
|
@@ -2416,16 +2331,11 @@ class GetResourceApiKeyCommand extends smithyClient.Command
|
|
|
2416
2331
|
.classBuilder()
|
|
2417
2332
|
.ep(commonParams)
|
|
2418
2333
|
.m(function (Command, cs, config, o) {
|
|
2419
|
-
return [
|
|
2420
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2421
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2422
|
-
];
|
|
2334
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2423
2335
|
})
|
|
2424
2336
|
.s("AmazonBedrockAgentCore", "GetResourceApiKey", {})
|
|
2425
2337
|
.n("BedrockAgentCoreClient", "GetResourceApiKeyCommand")
|
|
2426
|
-
.
|
|
2427
|
-
.ser(se_GetResourceApiKeyCommand)
|
|
2428
|
-
.de(de_GetResourceApiKeyCommand)
|
|
2338
|
+
.sc(GetResourceApiKey)
|
|
2429
2339
|
.build() {
|
|
2430
2340
|
}
|
|
2431
2341
|
|
|
@@ -2433,16 +2343,11 @@ class GetResourceOauth2TokenCommand extends smithyClient.Command
|
|
|
2433
2343
|
.classBuilder()
|
|
2434
2344
|
.ep(commonParams)
|
|
2435
2345
|
.m(function (Command, cs, config, o) {
|
|
2436
|
-
return [
|
|
2437
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2438
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2439
|
-
];
|
|
2346
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2440
2347
|
})
|
|
2441
2348
|
.s("AmazonBedrockAgentCore", "GetResourceOauth2Token", {})
|
|
2442
2349
|
.n("BedrockAgentCoreClient", "GetResourceOauth2TokenCommand")
|
|
2443
|
-
.
|
|
2444
|
-
.ser(se_GetResourceOauth2TokenCommand)
|
|
2445
|
-
.de(de_GetResourceOauth2TokenCommand)
|
|
2350
|
+
.sc(GetResourceOauth2Token)
|
|
2446
2351
|
.build() {
|
|
2447
2352
|
}
|
|
2448
2353
|
|
|
@@ -2450,16 +2355,11 @@ class GetWorkloadAccessTokenCommand extends smithyClient.Command
|
|
|
2450
2355
|
.classBuilder()
|
|
2451
2356
|
.ep(commonParams)
|
|
2452
2357
|
.m(function (Command, cs, config, o) {
|
|
2453
|
-
return [
|
|
2454
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2455
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2456
|
-
];
|
|
2358
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2457
2359
|
})
|
|
2458
2360
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessToken", {})
|
|
2459
2361
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenCommand")
|
|
2460
|
-
.
|
|
2461
|
-
.ser(se_GetWorkloadAccessTokenCommand)
|
|
2462
|
-
.de(de_GetWorkloadAccessTokenCommand)
|
|
2362
|
+
.sc(GetWorkloadAccessToken)
|
|
2463
2363
|
.build() {
|
|
2464
2364
|
}
|
|
2465
2365
|
|
|
@@ -2467,16 +2367,11 @@ class GetWorkloadAccessTokenForJWTCommand extends smithyClient.Command
|
|
|
2467
2367
|
.classBuilder()
|
|
2468
2368
|
.ep(commonParams)
|
|
2469
2369
|
.m(function (Command, cs, config, o) {
|
|
2470
|
-
return [
|
|
2471
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2472
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2473
|
-
];
|
|
2370
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2474
2371
|
})
|
|
2475
2372
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForJWT", {})
|
|
2476
2373
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForJWTCommand")
|
|
2477
|
-
.
|
|
2478
|
-
.ser(se_GetWorkloadAccessTokenForJWTCommand)
|
|
2479
|
-
.de(de_GetWorkloadAccessTokenForJWTCommand)
|
|
2374
|
+
.sc(GetWorkloadAccessTokenForJWT)
|
|
2480
2375
|
.build() {
|
|
2481
2376
|
}
|
|
2482
2377
|
|
|
@@ -2484,16 +2379,11 @@ class GetWorkloadAccessTokenForUserIdCommand extends smithyClient.Command
|
|
|
2484
2379
|
.classBuilder()
|
|
2485
2380
|
.ep(commonParams)
|
|
2486
2381
|
.m(function (Command, cs, config, o) {
|
|
2487
|
-
return [
|
|
2488
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2489
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2490
|
-
];
|
|
2382
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2491
2383
|
})
|
|
2492
2384
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForUserId", {})
|
|
2493
2385
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForUserIdCommand")
|
|
2494
|
-
.
|
|
2495
|
-
.ser(se_GetWorkloadAccessTokenForUserIdCommand)
|
|
2496
|
-
.de(de_GetWorkloadAccessTokenForUserIdCommand)
|
|
2386
|
+
.sc(GetWorkloadAccessTokenForUserId)
|
|
2497
2387
|
.build() {
|
|
2498
2388
|
}
|
|
2499
2389
|
|
|
@@ -2501,16 +2391,11 @@ class InvokeAgentRuntimeCommand extends smithyClient.Command
|
|
|
2501
2391
|
.classBuilder()
|
|
2502
2392
|
.ep(commonParams)
|
|
2503
2393
|
.m(function (Command, cs, config, o) {
|
|
2504
|
-
return [
|
|
2505
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2506
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2507
|
-
];
|
|
2394
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2508
2395
|
})
|
|
2509
2396
|
.s("AmazonBedrockAgentCore", "InvokeAgentRuntime", {})
|
|
2510
2397
|
.n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommand")
|
|
2511
|
-
.
|
|
2512
|
-
.ser(se_InvokeAgentRuntimeCommand)
|
|
2513
|
-
.de(de_InvokeAgentRuntimeCommand)
|
|
2398
|
+
.sc(InvokeAgentRuntime)
|
|
2514
2399
|
.build() {
|
|
2515
2400
|
}
|
|
2516
2401
|
|
|
@@ -2518,10 +2403,7 @@ class InvokeCodeInterpreterCommand extends smithyClient.Command
|
|
|
2518
2403
|
.classBuilder()
|
|
2519
2404
|
.ep(commonParams)
|
|
2520
2405
|
.m(function (Command, cs, config, o) {
|
|
2521
|
-
return [
|
|
2522
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2523
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2524
|
-
];
|
|
2406
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2525
2407
|
})
|
|
2526
2408
|
.s("AmazonBedrockAgentCore", "InvokeCodeInterpreter", {
|
|
2527
2409
|
eventStream: {
|
|
@@ -2529,9 +2411,7 @@ class InvokeCodeInterpreterCommand extends smithyClient.Command
|
|
|
2529
2411
|
},
|
|
2530
2412
|
})
|
|
2531
2413
|
.n("BedrockAgentCoreClient", "InvokeCodeInterpreterCommand")
|
|
2532
|
-
.
|
|
2533
|
-
.ser(se_InvokeCodeInterpreterCommand)
|
|
2534
|
-
.de(de_InvokeCodeInterpreterCommand)
|
|
2414
|
+
.sc(InvokeCodeInterpreter)
|
|
2535
2415
|
.build() {
|
|
2536
2416
|
}
|
|
2537
2417
|
|
|
@@ -2539,16 +2419,11 @@ class ListActorsCommand extends smithyClient.Command
|
|
|
2539
2419
|
.classBuilder()
|
|
2540
2420
|
.ep(commonParams)
|
|
2541
2421
|
.m(function (Command, cs, config, o) {
|
|
2542
|
-
return [
|
|
2543
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2544
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2545
|
-
];
|
|
2422
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2546
2423
|
})
|
|
2547
2424
|
.s("AmazonBedrockAgentCore", "ListActors", {})
|
|
2548
2425
|
.n("BedrockAgentCoreClient", "ListActorsCommand")
|
|
2549
|
-
.
|
|
2550
|
-
.ser(se_ListActorsCommand)
|
|
2551
|
-
.de(de_ListActorsCommand)
|
|
2426
|
+
.sc(ListActors)
|
|
2552
2427
|
.build() {
|
|
2553
2428
|
}
|
|
2554
2429
|
|
|
@@ -2556,16 +2431,11 @@ class ListBrowserSessionsCommand extends smithyClient.Command
|
|
|
2556
2431
|
.classBuilder()
|
|
2557
2432
|
.ep(commonParams)
|
|
2558
2433
|
.m(function (Command, cs, config, o) {
|
|
2559
|
-
return [
|
|
2560
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2561
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2562
|
-
];
|
|
2434
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2563
2435
|
})
|
|
2564
2436
|
.s("AmazonBedrockAgentCore", "ListBrowserSessions", {})
|
|
2565
2437
|
.n("BedrockAgentCoreClient", "ListBrowserSessionsCommand")
|
|
2566
|
-
.
|
|
2567
|
-
.ser(se_ListBrowserSessionsCommand)
|
|
2568
|
-
.de(de_ListBrowserSessionsCommand)
|
|
2438
|
+
.sc(ListBrowserSessions)
|
|
2569
2439
|
.build() {
|
|
2570
2440
|
}
|
|
2571
2441
|
|
|
@@ -2573,16 +2443,11 @@ class ListCodeInterpreterSessionsCommand extends smithyClient.Command
|
|
|
2573
2443
|
.classBuilder()
|
|
2574
2444
|
.ep(commonParams)
|
|
2575
2445
|
.m(function (Command, cs, config, o) {
|
|
2576
|
-
return [
|
|
2577
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2578
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2579
|
-
];
|
|
2446
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2580
2447
|
})
|
|
2581
2448
|
.s("AmazonBedrockAgentCore", "ListCodeInterpreterSessions", {})
|
|
2582
2449
|
.n("BedrockAgentCoreClient", "ListCodeInterpreterSessionsCommand")
|
|
2583
|
-
.
|
|
2584
|
-
.ser(se_ListCodeInterpreterSessionsCommand)
|
|
2585
|
-
.de(de_ListCodeInterpreterSessionsCommand)
|
|
2450
|
+
.sc(ListCodeInterpreterSessions)
|
|
2586
2451
|
.build() {
|
|
2587
2452
|
}
|
|
2588
2453
|
|
|
@@ -2590,16 +2455,11 @@ class ListEventsCommand extends smithyClient.Command
|
|
|
2590
2455
|
.classBuilder()
|
|
2591
2456
|
.ep(commonParams)
|
|
2592
2457
|
.m(function (Command, cs, config, o) {
|
|
2593
|
-
return [
|
|
2594
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2595
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2596
|
-
];
|
|
2458
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2597
2459
|
})
|
|
2598
2460
|
.s("AmazonBedrockAgentCore", "ListEvents", {})
|
|
2599
2461
|
.n("BedrockAgentCoreClient", "ListEventsCommand")
|
|
2600
|
-
.
|
|
2601
|
-
.ser(se_ListEventsCommand)
|
|
2602
|
-
.de(de_ListEventsCommand)
|
|
2462
|
+
.sc(ListEvents)
|
|
2603
2463
|
.build() {
|
|
2604
2464
|
}
|
|
2605
2465
|
|
|
@@ -2607,16 +2467,11 @@ class ListMemoryRecordsCommand extends smithyClient.Command
|
|
|
2607
2467
|
.classBuilder()
|
|
2608
2468
|
.ep(commonParams)
|
|
2609
2469
|
.m(function (Command, cs, config, o) {
|
|
2610
|
-
return [
|
|
2611
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2612
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2613
|
-
];
|
|
2470
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2614
2471
|
})
|
|
2615
2472
|
.s("AmazonBedrockAgentCore", "ListMemoryRecords", {})
|
|
2616
2473
|
.n("BedrockAgentCoreClient", "ListMemoryRecordsCommand")
|
|
2617
|
-
.
|
|
2618
|
-
.ser(se_ListMemoryRecordsCommand)
|
|
2619
|
-
.de(de_ListMemoryRecordsCommand)
|
|
2474
|
+
.sc(ListMemoryRecords)
|
|
2620
2475
|
.build() {
|
|
2621
2476
|
}
|
|
2622
2477
|
|
|
@@ -2624,16 +2479,11 @@ class ListSessionsCommand extends smithyClient.Command
|
|
|
2624
2479
|
.classBuilder()
|
|
2625
2480
|
.ep(commonParams)
|
|
2626
2481
|
.m(function (Command, cs, config, o) {
|
|
2627
|
-
return [
|
|
2628
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2629
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2630
|
-
];
|
|
2482
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2631
2483
|
})
|
|
2632
2484
|
.s("AmazonBedrockAgentCore", "ListSessions", {})
|
|
2633
2485
|
.n("BedrockAgentCoreClient", "ListSessionsCommand")
|
|
2634
|
-
.
|
|
2635
|
-
.ser(se_ListSessionsCommand)
|
|
2636
|
-
.de(de_ListSessionsCommand)
|
|
2486
|
+
.sc(ListSessions)
|
|
2637
2487
|
.build() {
|
|
2638
2488
|
}
|
|
2639
2489
|
|
|
@@ -2641,16 +2491,11 @@ class RetrieveMemoryRecordsCommand extends smithyClient.Command
|
|
|
2641
2491
|
.classBuilder()
|
|
2642
2492
|
.ep(commonParams)
|
|
2643
2493
|
.m(function (Command, cs, config, o) {
|
|
2644
|
-
return [
|
|
2645
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2646
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2647
|
-
];
|
|
2494
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2648
2495
|
})
|
|
2649
2496
|
.s("AmazonBedrockAgentCore", "RetrieveMemoryRecords", {})
|
|
2650
2497
|
.n("BedrockAgentCoreClient", "RetrieveMemoryRecordsCommand")
|
|
2651
|
-
.
|
|
2652
|
-
.ser(se_RetrieveMemoryRecordsCommand)
|
|
2653
|
-
.de(de_RetrieveMemoryRecordsCommand)
|
|
2498
|
+
.sc(RetrieveMemoryRecords)
|
|
2654
2499
|
.build() {
|
|
2655
2500
|
}
|
|
2656
2501
|
|
|
@@ -2658,16 +2503,11 @@ class StartBrowserSessionCommand extends smithyClient.Command
|
|
|
2658
2503
|
.classBuilder()
|
|
2659
2504
|
.ep(commonParams)
|
|
2660
2505
|
.m(function (Command, cs, config, o) {
|
|
2661
|
-
return [
|
|
2662
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2663
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2664
|
-
];
|
|
2506
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2665
2507
|
})
|
|
2666
2508
|
.s("AmazonBedrockAgentCore", "StartBrowserSession", {})
|
|
2667
2509
|
.n("BedrockAgentCoreClient", "StartBrowserSessionCommand")
|
|
2668
|
-
.
|
|
2669
|
-
.ser(se_StartBrowserSessionCommand)
|
|
2670
|
-
.de(de_StartBrowserSessionCommand)
|
|
2510
|
+
.sc(StartBrowserSession)
|
|
2671
2511
|
.build() {
|
|
2672
2512
|
}
|
|
2673
2513
|
|
|
@@ -2675,16 +2515,11 @@ class StartCodeInterpreterSessionCommand extends smithyClient.Command
|
|
|
2675
2515
|
.classBuilder()
|
|
2676
2516
|
.ep(commonParams)
|
|
2677
2517
|
.m(function (Command, cs, config, o) {
|
|
2678
|
-
return [
|
|
2679
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2680
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2681
|
-
];
|
|
2518
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2682
2519
|
})
|
|
2683
2520
|
.s("AmazonBedrockAgentCore", "StartCodeInterpreterSession", {})
|
|
2684
2521
|
.n("BedrockAgentCoreClient", "StartCodeInterpreterSessionCommand")
|
|
2685
|
-
.
|
|
2686
|
-
.ser(se_StartCodeInterpreterSessionCommand)
|
|
2687
|
-
.de(de_StartCodeInterpreterSessionCommand)
|
|
2522
|
+
.sc(StartCodeInterpreterSession)
|
|
2688
2523
|
.build() {
|
|
2689
2524
|
}
|
|
2690
2525
|
|
|
@@ -2692,16 +2527,11 @@ class StopBrowserSessionCommand extends smithyClient.Command
|
|
|
2692
2527
|
.classBuilder()
|
|
2693
2528
|
.ep(commonParams)
|
|
2694
2529
|
.m(function (Command, cs, config, o) {
|
|
2695
|
-
return [
|
|
2696
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2697
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2698
|
-
];
|
|
2530
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2699
2531
|
})
|
|
2700
2532
|
.s("AmazonBedrockAgentCore", "StopBrowserSession", {})
|
|
2701
2533
|
.n("BedrockAgentCoreClient", "StopBrowserSessionCommand")
|
|
2702
|
-
.
|
|
2703
|
-
.ser(se_StopBrowserSessionCommand)
|
|
2704
|
-
.de(de_StopBrowserSessionCommand)
|
|
2534
|
+
.sc(StopBrowserSession)
|
|
2705
2535
|
.build() {
|
|
2706
2536
|
}
|
|
2707
2537
|
|
|
@@ -2709,16 +2539,11 @@ class StopCodeInterpreterSessionCommand extends smithyClient.Command
|
|
|
2709
2539
|
.classBuilder()
|
|
2710
2540
|
.ep(commonParams)
|
|
2711
2541
|
.m(function (Command, cs, config, o) {
|
|
2712
|
-
return [
|
|
2713
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2714
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2715
|
-
];
|
|
2542
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2716
2543
|
})
|
|
2717
2544
|
.s("AmazonBedrockAgentCore", "StopCodeInterpreterSession", {})
|
|
2718
2545
|
.n("BedrockAgentCoreClient", "StopCodeInterpreterSessionCommand")
|
|
2719
|
-
.
|
|
2720
|
-
.ser(se_StopCodeInterpreterSessionCommand)
|
|
2721
|
-
.de(de_StopCodeInterpreterSessionCommand)
|
|
2546
|
+
.sc(StopCodeInterpreterSession)
|
|
2722
2547
|
.build() {
|
|
2723
2548
|
}
|
|
2724
2549
|
|
|
@@ -2726,16 +2551,11 @@ class StopRuntimeSessionCommand extends smithyClient.Command
|
|
|
2726
2551
|
.classBuilder()
|
|
2727
2552
|
.ep(commonParams)
|
|
2728
2553
|
.m(function (Command, cs, config, o) {
|
|
2729
|
-
return [
|
|
2730
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2731
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2732
|
-
];
|
|
2554
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2733
2555
|
})
|
|
2734
2556
|
.s("AmazonBedrockAgentCore", "StopRuntimeSession", {})
|
|
2735
2557
|
.n("BedrockAgentCoreClient", "StopRuntimeSessionCommand")
|
|
2736
|
-
.
|
|
2737
|
-
.ser(se_StopRuntimeSessionCommand)
|
|
2738
|
-
.de(de_StopRuntimeSessionCommand)
|
|
2558
|
+
.sc(StopRuntimeSession)
|
|
2739
2559
|
.build() {
|
|
2740
2560
|
}
|
|
2741
2561
|
|
|
@@ -2743,16 +2563,11 @@ class UpdateBrowserStreamCommand extends smithyClient.Command
|
|
|
2743
2563
|
.classBuilder()
|
|
2744
2564
|
.ep(commonParams)
|
|
2745
2565
|
.m(function (Command, cs, config, o) {
|
|
2746
|
-
return [
|
|
2747
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2748
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2749
|
-
];
|
|
2566
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2750
2567
|
})
|
|
2751
2568
|
.s("AmazonBedrockAgentCore", "UpdateBrowserStream", {})
|
|
2752
2569
|
.n("BedrockAgentCoreClient", "UpdateBrowserStreamCommand")
|
|
2753
|
-
.
|
|
2754
|
-
.ser(se_UpdateBrowserStreamCommand)
|
|
2755
|
-
.de(de_UpdateBrowserStreamCommand)
|
|
2570
|
+
.sc(UpdateBrowserStream)
|
|
2756
2571
|
.build() {
|
|
2757
2572
|
}
|
|
2758
2573
|
|
|
@@ -2812,88 +2627,53 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2812
2627
|
enumerable: true,
|
|
2813
2628
|
get: function () { return smithyClient.Client; }
|
|
2814
2629
|
});
|
|
2815
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
2630
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2816
2631
|
exports.AutomationStreamStatus = AutomationStreamStatus;
|
|
2817
2632
|
exports.BatchCreateMemoryRecordsCommand = BatchCreateMemoryRecordsCommand;
|
|
2818
|
-
exports.BatchCreateMemoryRecordsInputFilterSensitiveLog = BatchCreateMemoryRecordsInputFilterSensitiveLog;
|
|
2819
2633
|
exports.BatchDeleteMemoryRecordsCommand = BatchDeleteMemoryRecordsCommand;
|
|
2820
2634
|
exports.BatchUpdateMemoryRecordsCommand = BatchUpdateMemoryRecordsCommand;
|
|
2821
|
-
exports.BatchUpdateMemoryRecordsInputFilterSensitiveLog = BatchUpdateMemoryRecordsInputFilterSensitiveLog;
|
|
2822
2635
|
exports.BedrockAgentCore = BedrockAgentCore;
|
|
2823
2636
|
exports.BedrockAgentCoreClient = BedrockAgentCoreClient;
|
|
2824
|
-
exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException;
|
|
2637
|
+
exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException$1;
|
|
2825
2638
|
exports.BrowserSessionStatus = BrowserSessionStatus;
|
|
2826
2639
|
exports.CodeInterpreterSessionStatus = CodeInterpreterSessionStatus;
|
|
2827
|
-
exports.CodeInterpreterStreamOutputFilterSensitiveLog = CodeInterpreterStreamOutputFilterSensitiveLog;
|
|
2828
2640
|
exports.CompleteResourceTokenAuthCommand = CompleteResourceTokenAuthCommand;
|
|
2829
|
-
exports.
|
|
2830
|
-
exports.ConflictException = ConflictException;
|
|
2641
|
+
exports.ConflictException = ConflictException$1;
|
|
2831
2642
|
exports.ContentBlockType = ContentBlockType;
|
|
2832
|
-
exports.ContentFilterSensitiveLog = ContentFilterSensitiveLog;
|
|
2833
|
-
exports.ConversationalFilterSensitiveLog = ConversationalFilterSensitiveLog;
|
|
2834
2643
|
exports.CreateEventCommand = CreateEventCommand;
|
|
2835
|
-
exports.CreateEventInputFilterSensitiveLog = CreateEventInputFilterSensitiveLog;
|
|
2836
|
-
exports.CreateEventOutputFilterSensitiveLog = CreateEventOutputFilterSensitiveLog;
|
|
2837
2644
|
exports.DeleteEventCommand = DeleteEventCommand;
|
|
2838
2645
|
exports.DeleteMemoryRecordCommand = DeleteMemoryRecordCommand;
|
|
2839
|
-
exports.EventFilterSensitiveLog = EventFilterSensitiveLog;
|
|
2840
2646
|
exports.GetAgentCardCommand = GetAgentCardCommand;
|
|
2841
2647
|
exports.GetBrowserSessionCommand = GetBrowserSessionCommand;
|
|
2842
2648
|
exports.GetCodeInterpreterSessionCommand = GetCodeInterpreterSessionCommand;
|
|
2843
2649
|
exports.GetEventCommand = GetEventCommand;
|
|
2844
|
-
exports.GetEventOutputFilterSensitiveLog = GetEventOutputFilterSensitiveLog;
|
|
2845
2650
|
exports.GetMemoryRecordCommand = GetMemoryRecordCommand;
|
|
2846
|
-
exports.GetMemoryRecordOutputFilterSensitiveLog = GetMemoryRecordOutputFilterSensitiveLog;
|
|
2847
2651
|
exports.GetResourceApiKeyCommand = GetResourceApiKeyCommand;
|
|
2848
|
-
exports.GetResourceApiKeyRequestFilterSensitiveLog = GetResourceApiKeyRequestFilterSensitiveLog;
|
|
2849
|
-
exports.GetResourceApiKeyResponseFilterSensitiveLog = GetResourceApiKeyResponseFilterSensitiveLog;
|
|
2850
2652
|
exports.GetResourceOauth2TokenCommand = GetResourceOauth2TokenCommand;
|
|
2851
|
-
exports.GetResourceOauth2TokenRequestFilterSensitiveLog = GetResourceOauth2TokenRequestFilterSensitiveLog;
|
|
2852
|
-
exports.GetResourceOauth2TokenResponseFilterSensitiveLog = GetResourceOauth2TokenResponseFilterSensitiveLog;
|
|
2853
2653
|
exports.GetWorkloadAccessTokenCommand = GetWorkloadAccessTokenCommand;
|
|
2854
2654
|
exports.GetWorkloadAccessTokenForJWTCommand = GetWorkloadAccessTokenForJWTCommand;
|
|
2855
|
-
exports.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog;
|
|
2856
|
-
exports.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog;
|
|
2857
2655
|
exports.GetWorkloadAccessTokenForUserIdCommand = GetWorkloadAccessTokenForUserIdCommand;
|
|
2858
|
-
exports.
|
|
2859
|
-
exports.
|
|
2860
|
-
exports.InputContentBlockFilterSensitiveLog = InputContentBlockFilterSensitiveLog;
|
|
2861
|
-
exports.InternalServerException = InternalServerException;
|
|
2862
|
-
exports.InvalidInputException = InvalidInputException;
|
|
2656
|
+
exports.InternalServerException = InternalServerException$1;
|
|
2657
|
+
exports.InvalidInputException = InvalidInputException$1;
|
|
2863
2658
|
exports.InvokeAgentRuntimeCommand = InvokeAgentRuntimeCommand;
|
|
2864
|
-
exports.InvokeAgentRuntimeRequestFilterSensitiveLog = InvokeAgentRuntimeRequestFilterSensitiveLog;
|
|
2865
|
-
exports.InvokeAgentRuntimeResponseFilterSensitiveLog = InvokeAgentRuntimeResponseFilterSensitiveLog;
|
|
2866
2659
|
exports.InvokeCodeInterpreterCommand = InvokeCodeInterpreterCommand;
|
|
2867
|
-
exports.InvokeCodeInterpreterRequestFilterSensitiveLog = InvokeCodeInterpreterRequestFilterSensitiveLog;
|
|
2868
|
-
exports.InvokeCodeInterpreterResponseFilterSensitiveLog = InvokeCodeInterpreterResponseFilterSensitiveLog;
|
|
2869
2660
|
exports.ListActorsCommand = ListActorsCommand;
|
|
2870
2661
|
exports.ListBrowserSessionsCommand = ListBrowserSessionsCommand;
|
|
2871
2662
|
exports.ListCodeInterpreterSessionsCommand = ListCodeInterpreterSessionsCommand;
|
|
2872
2663
|
exports.ListEventsCommand = ListEventsCommand;
|
|
2873
|
-
exports.ListEventsOutputFilterSensitiveLog = ListEventsOutputFilterSensitiveLog;
|
|
2874
2664
|
exports.ListMemoryRecordsCommand = ListMemoryRecordsCommand;
|
|
2875
|
-
exports.ListMemoryRecordsOutputFilterSensitiveLog = ListMemoryRecordsOutputFilterSensitiveLog;
|
|
2876
2665
|
exports.ListSessionsCommand = ListSessionsCommand;
|
|
2877
|
-
exports.MemoryContentFilterSensitiveLog = MemoryContentFilterSensitiveLog;
|
|
2878
|
-
exports.MemoryRecordCreateInputFilterSensitiveLog = MemoryRecordCreateInputFilterSensitiveLog;
|
|
2879
|
-
exports.MemoryRecordFilterSensitiveLog = MemoryRecordFilterSensitiveLog;
|
|
2880
2666
|
exports.MemoryRecordStatus = MemoryRecordStatus;
|
|
2881
|
-
exports.MemoryRecordSummaryFilterSensitiveLog = MemoryRecordSummaryFilterSensitiveLog;
|
|
2882
|
-
exports.MemoryRecordUpdateInputFilterSensitiveLog = MemoryRecordUpdateInputFilterSensitiveLog;
|
|
2883
2667
|
exports.Oauth2FlowType = Oauth2FlowType;
|
|
2884
2668
|
exports.OperatorType = OperatorType;
|
|
2885
|
-
exports.PayloadTypeFilterSensitiveLog = PayloadTypeFilterSensitiveLog;
|
|
2886
2669
|
exports.ProgrammingLanguage = ProgrammingLanguage;
|
|
2887
2670
|
exports.ResourceContentType = ResourceContentType;
|
|
2888
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2671
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2889
2672
|
exports.RetrieveMemoryRecordsCommand = RetrieveMemoryRecordsCommand;
|
|
2890
|
-
exports.RetrieveMemoryRecordsInputFilterSensitiveLog = RetrieveMemoryRecordsInputFilterSensitiveLog;
|
|
2891
|
-
exports.RetrieveMemoryRecordsOutputFilterSensitiveLog = RetrieveMemoryRecordsOutputFilterSensitiveLog;
|
|
2892
2673
|
exports.Role = Role;
|
|
2893
|
-
exports.RuntimeClientError = RuntimeClientError;
|
|
2894
|
-
exports.
|
|
2895
|
-
exports.
|
|
2896
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2674
|
+
exports.RuntimeClientError = RuntimeClientError$1;
|
|
2675
|
+
exports.ServiceException = ServiceException$1;
|
|
2676
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2897
2677
|
exports.SessionStatus = SessionStatus;
|
|
2898
2678
|
exports.StartBrowserSessionCommand = StartBrowserSessionCommand;
|
|
2899
2679
|
exports.StartCodeInterpreterSessionCommand = StartCodeInterpreterSessionCommand;
|
|
@@ -2901,14 +2681,12 @@ exports.StopBrowserSessionCommand = StopBrowserSessionCommand;
|
|
|
2901
2681
|
exports.StopCodeInterpreterSessionCommand = StopCodeInterpreterSessionCommand;
|
|
2902
2682
|
exports.StopRuntimeSessionCommand = StopRuntimeSessionCommand;
|
|
2903
2683
|
exports.TaskStatus = TaskStatus;
|
|
2904
|
-
exports.ThrottledException = ThrottledException;
|
|
2905
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2906
|
-
exports.ToolArgumentsFilterSensitiveLog = ToolArgumentsFilterSensitiveLog;
|
|
2684
|
+
exports.ThrottledException = ThrottledException$1;
|
|
2685
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
2907
2686
|
exports.ToolName = ToolName;
|
|
2908
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
2687
|
+
exports.UnauthorizedException = UnauthorizedException$1;
|
|
2909
2688
|
exports.UpdateBrowserStreamCommand = UpdateBrowserStreamCommand;
|
|
2910
|
-
exports.
|
|
2911
|
-
exports.ValidationException = ValidationException;
|
|
2689
|
+
exports.ValidationException = ValidationException$1;
|
|
2912
2690
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2913
2691
|
exports.paginateListActors = paginateListActors;
|
|
2914
2692
|
exports.paginateListEvents = paginateListEvents;
|