@aws-sdk/client-bedrock-agentcore 3.891.0 → 3.894.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 +2696 -10
- package/package.json +20 -20
- package/dist-cjs/BedrockAgentCore.js +0 -63
- package/dist-cjs/BedrockAgentCoreClient.js +0 -54
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateEventCommand.js +0 -27
- package/dist-cjs/commands/DeleteEventCommand.js +0 -26
- package/dist-cjs/commands/DeleteMemoryRecordCommand.js +0 -26
- package/dist-cjs/commands/GetBrowserSessionCommand.js +0 -26
- package/dist-cjs/commands/GetCodeInterpreterSessionCommand.js +0 -26
- package/dist-cjs/commands/GetEventCommand.js +0 -27
- package/dist-cjs/commands/GetMemoryRecordCommand.js +0 -27
- package/dist-cjs/commands/GetResourceApiKeyCommand.js +0 -27
- package/dist-cjs/commands/GetResourceOauth2TokenCommand.js +0 -27
- package/dist-cjs/commands/GetWorkloadAccessTokenCommand.js +0 -27
- package/dist-cjs/commands/GetWorkloadAccessTokenForJWTCommand.js +0 -27
- package/dist-cjs/commands/GetWorkloadAccessTokenForUserIdCommand.js +0 -27
- package/dist-cjs/commands/InvokeAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/InvokeCodeInterpreterCommand.js +0 -31
- package/dist-cjs/commands/ListActorsCommand.js +0 -26
- package/dist-cjs/commands/ListBrowserSessionsCommand.js +0 -26
- package/dist-cjs/commands/ListCodeInterpreterSessionsCommand.js +0 -26
- package/dist-cjs/commands/ListEventsCommand.js +0 -27
- package/dist-cjs/commands/ListMemoryRecordsCommand.js +0 -27
- package/dist-cjs/commands/ListSessionsCommand.js +0 -26
- package/dist-cjs/commands/RetrieveMemoryRecordsCommand.js +0 -27
- package/dist-cjs/commands/StartBrowserSessionCommand.js +0 -26
- package/dist-cjs/commands/StartCodeInterpreterSessionCommand.js +0 -26
- package/dist-cjs/commands/StopBrowserSessionCommand.js +0 -26
- package/dist-cjs/commands/StopCodeInterpreterSessionCommand.js +0 -26
- package/dist-cjs/commands/UpdateBrowserStreamCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -29
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -468
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListActorsPaginator.js +0 -7
- package/dist-cjs/pagination/ListEventsPaginator.js +0 -7
- package/dist-cjs/pagination/ListMemoryRecordsPaginator.js +0 -7
- package/dist-cjs/pagination/ListSessionsPaginator.js +0 -7
- package/dist-cjs/pagination/RetrieveMemoryRecordsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -9
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1422
- package/dist-cjs/runtimeExtensions.js +0 -13
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetEventOutputFilterSensitiveLog = exports.CreateEventOutputFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.CreateEventInputFilterSensitiveLog = exports.PayloadTypeFilterSensitiveLog = exports.ConversationalFilterSensitiveLog = exports.ContentFilterSensitiveLog = exports.InvokeCodeInterpreterResponseFilterSensitiveLog = exports.CodeInterpreterStreamOutputFilterSensitiveLog = exports.InvokeCodeInterpreterRequestFilterSensitiveLog = exports.ToolArgumentsFilterSensitiveLog = exports.InputContentBlockFilterSensitiveLog = exports.GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = exports.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = exports.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = exports.GetWorkloadAccessTokenResponseFilterSensitiveLog = exports.GetResourceOauth2TokenResponseFilterSensitiveLog = exports.GetResourceOauth2TokenRequestFilterSensitiveLog = exports.GetResourceApiKeyResponseFilterSensitiveLog = exports.GetResourceApiKeyRequestFilterSensitiveLog = exports.InvokeAgentRuntimeResponseFilterSensitiveLog = exports.InvokeAgentRuntimeRequestFilterSensitiveLog = exports.MemoryContent = exports.ThrottledException = exports.ServiceException = exports.InvalidInputException = exports.PayloadType = exports.Role = exports.Content = exports.CodeInterpreterStreamOutput = exports.TaskStatus = exports.ContentBlockType = exports.ResourceContentType = exports.ToolName = exports.ProgrammingLanguage = exports.Oauth2FlowType = exports.UnauthorizedException = exports.CodeInterpreterSessionStatus = exports.StreamUpdate = exports.ConflictException = exports.AutomationStreamStatus = exports.BrowserSessionStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.RuntimeClientError = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.RetrieveMemoryRecordsOutputFilterSensitiveLog = exports.RetrieveMemoryRecordsInputFilterSensitiveLog = exports.SearchCriteriaFilterSensitiveLog = exports.ListMemoryRecordsOutputFilterSensitiveLog = exports.MemoryRecordSummaryFilterSensitiveLog = exports.ListEventsOutputFilterSensitiveLog = exports.GetMemoryRecordOutputFilterSensitiveLog = exports.MemoryRecordFilterSensitiveLog = exports.MemoryContentFilterSensitiveLog = void 0;
|
|
5
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
-
const BedrockAgentCoreServiceException_1 = require("./BedrockAgentCoreServiceException");
|
|
7
|
-
class AccessDeniedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
8
|
-
name = "AccessDeniedException";
|
|
9
|
-
$fault = "client";
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "AccessDeniedException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
-
class InternalServerException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
21
|
-
name = "InternalServerException";
|
|
22
|
-
$fault = "server";
|
|
23
|
-
constructor(opts) {
|
|
24
|
-
super({
|
|
25
|
-
name: "InternalServerException",
|
|
26
|
-
$fault: "server",
|
|
27
|
-
...opts,
|
|
28
|
-
});
|
|
29
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
exports.InternalServerException = InternalServerException;
|
|
33
|
-
class ResourceNotFoundException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
34
|
-
name = "ResourceNotFoundException";
|
|
35
|
-
$fault = "client";
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "ResourceNotFoundException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
46
|
-
class RuntimeClientError extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
47
|
-
name = "RuntimeClientError";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "RuntimeClientError",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, RuntimeClientError.prototype);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.RuntimeClientError = RuntimeClientError;
|
|
59
|
-
class ServiceQuotaExceededException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
60
|
-
name = "ServiceQuotaExceededException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "ServiceQuotaExceededException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
72
|
-
class ThrottlingException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
73
|
-
name = "ThrottlingException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ThrottlingException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.ThrottlingException = ThrottlingException;
|
|
85
|
-
exports.ValidationExceptionReason = {
|
|
86
|
-
CANNOT_PARSE: "CannotParse",
|
|
87
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
88
|
-
IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException",
|
|
89
|
-
RESOURCE_CONFLICT: "ResourceConflict",
|
|
90
|
-
ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
|
|
91
|
-
};
|
|
92
|
-
class ValidationException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
93
|
-
name = "ValidationException";
|
|
94
|
-
$fault = "client";
|
|
95
|
-
reason;
|
|
96
|
-
fieldList;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "ValidationException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
104
|
-
this.reason = opts.reason;
|
|
105
|
-
this.fieldList = opts.fieldList;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.ValidationException = ValidationException;
|
|
109
|
-
exports.BrowserSessionStatus = {
|
|
110
|
-
READY: "READY",
|
|
111
|
-
TERMINATED: "TERMINATED",
|
|
112
|
-
};
|
|
113
|
-
exports.AutomationStreamStatus = {
|
|
114
|
-
DISABLED: "DISABLED",
|
|
115
|
-
ENABLED: "ENABLED",
|
|
116
|
-
};
|
|
117
|
-
class ConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
118
|
-
name = "ConflictException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "ConflictException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
exports.ConflictException = ConflictException;
|
|
130
|
-
var StreamUpdate;
|
|
131
|
-
(function (StreamUpdate) {
|
|
132
|
-
StreamUpdate.visit = (value, visitor) => {
|
|
133
|
-
if (value.automationStreamUpdate !== undefined)
|
|
134
|
-
return visitor.automationStreamUpdate(value.automationStreamUpdate);
|
|
135
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
136
|
-
};
|
|
137
|
-
})(StreamUpdate || (exports.StreamUpdate = StreamUpdate = {}));
|
|
138
|
-
exports.CodeInterpreterSessionStatus = {
|
|
139
|
-
READY: "READY",
|
|
140
|
-
TERMINATED: "TERMINATED",
|
|
141
|
-
};
|
|
142
|
-
class UnauthorizedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
143
|
-
name = "UnauthorizedException";
|
|
144
|
-
$fault = "client";
|
|
145
|
-
constructor(opts) {
|
|
146
|
-
super({
|
|
147
|
-
name: "UnauthorizedException",
|
|
148
|
-
$fault: "client",
|
|
149
|
-
...opts,
|
|
150
|
-
});
|
|
151
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
155
|
-
exports.Oauth2FlowType = {
|
|
156
|
-
M2M: "M2M",
|
|
157
|
-
USER_FEDERATION: "USER_FEDERATION",
|
|
158
|
-
};
|
|
159
|
-
exports.ProgrammingLanguage = {
|
|
160
|
-
JAVASCRIPT: "javascript",
|
|
161
|
-
PYTHON: "python",
|
|
162
|
-
TYPESCRIPT: "typescript",
|
|
163
|
-
};
|
|
164
|
-
exports.ToolName = {
|
|
165
|
-
EXECUTE_CODE: "executeCode",
|
|
166
|
-
EXECUTE_COMMAND: "executeCommand",
|
|
167
|
-
GET_TASK: "getTask",
|
|
168
|
-
LIST_FILES: "listFiles",
|
|
169
|
-
READ_FILES: "readFiles",
|
|
170
|
-
REMOVE_FILES: "removeFiles",
|
|
171
|
-
START_COMMAND_EXECUTION: "startCommandExecution",
|
|
172
|
-
STOP_TASK: "stopTask",
|
|
173
|
-
WRITE_FILES: "writeFiles",
|
|
174
|
-
};
|
|
175
|
-
exports.ResourceContentType = {
|
|
176
|
-
BLOB: "blob",
|
|
177
|
-
TEXT: "text",
|
|
178
|
-
};
|
|
179
|
-
exports.ContentBlockType = {
|
|
180
|
-
EMBEDDED_RESOURCE: "resource",
|
|
181
|
-
IMAGE: "image",
|
|
182
|
-
RESOURCE_LINK: "resource_link",
|
|
183
|
-
TEXT: "text",
|
|
184
|
-
};
|
|
185
|
-
exports.TaskStatus = {
|
|
186
|
-
CANCELED: "canceled",
|
|
187
|
-
COMPLETED: "completed",
|
|
188
|
-
FAILED: "failed",
|
|
189
|
-
SUBMITTED: "submitted",
|
|
190
|
-
WORKING: "working",
|
|
191
|
-
};
|
|
192
|
-
var CodeInterpreterStreamOutput;
|
|
193
|
-
(function (CodeInterpreterStreamOutput) {
|
|
194
|
-
CodeInterpreterStreamOutput.visit = (value, visitor) => {
|
|
195
|
-
if (value.result !== undefined)
|
|
196
|
-
return visitor.result(value.result);
|
|
197
|
-
if (value.accessDeniedException !== undefined)
|
|
198
|
-
return visitor.accessDeniedException(value.accessDeniedException);
|
|
199
|
-
if (value.conflictException !== undefined)
|
|
200
|
-
return visitor.conflictException(value.conflictException);
|
|
201
|
-
if (value.internalServerException !== undefined)
|
|
202
|
-
return visitor.internalServerException(value.internalServerException);
|
|
203
|
-
if (value.resourceNotFoundException !== undefined)
|
|
204
|
-
return visitor.resourceNotFoundException(value.resourceNotFoundException);
|
|
205
|
-
if (value.serviceQuotaExceededException !== undefined)
|
|
206
|
-
return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
|
|
207
|
-
if (value.throttlingException !== undefined)
|
|
208
|
-
return visitor.throttlingException(value.throttlingException);
|
|
209
|
-
if (value.validationException !== undefined)
|
|
210
|
-
return visitor.validationException(value.validationException);
|
|
211
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
212
|
-
};
|
|
213
|
-
})(CodeInterpreterStreamOutput || (exports.CodeInterpreterStreamOutput = CodeInterpreterStreamOutput = {}));
|
|
214
|
-
var Content;
|
|
215
|
-
(function (Content) {
|
|
216
|
-
Content.visit = (value, visitor) => {
|
|
217
|
-
if (value.text !== undefined)
|
|
218
|
-
return visitor.text(value.text);
|
|
219
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
220
|
-
};
|
|
221
|
-
})(Content || (exports.Content = Content = {}));
|
|
222
|
-
exports.Role = {
|
|
223
|
-
ASSISTANT: "ASSISTANT",
|
|
224
|
-
OTHER: "OTHER",
|
|
225
|
-
TOOL: "TOOL",
|
|
226
|
-
USER: "USER",
|
|
227
|
-
};
|
|
228
|
-
var PayloadType;
|
|
229
|
-
(function (PayloadType) {
|
|
230
|
-
PayloadType.visit = (value, visitor) => {
|
|
231
|
-
if (value.conversational !== undefined)
|
|
232
|
-
return visitor.conversational(value.conversational);
|
|
233
|
-
if (value.blob !== undefined)
|
|
234
|
-
return visitor.blob(value.blob);
|
|
235
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
236
|
-
};
|
|
237
|
-
})(PayloadType || (exports.PayloadType = PayloadType = {}));
|
|
238
|
-
class InvalidInputException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
239
|
-
name = "InvalidInputException";
|
|
240
|
-
$fault = "client";
|
|
241
|
-
constructor(opts) {
|
|
242
|
-
super({
|
|
243
|
-
name: "InvalidInputException",
|
|
244
|
-
$fault: "client",
|
|
245
|
-
...opts,
|
|
246
|
-
});
|
|
247
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
exports.InvalidInputException = InvalidInputException;
|
|
251
|
-
class ServiceException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
252
|
-
name = "ServiceException";
|
|
253
|
-
$fault = "server";
|
|
254
|
-
constructor(opts) {
|
|
255
|
-
super({
|
|
256
|
-
name: "ServiceException",
|
|
257
|
-
$fault: "server",
|
|
258
|
-
...opts,
|
|
259
|
-
});
|
|
260
|
-
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
exports.ServiceException = ServiceException;
|
|
264
|
-
class ThrottledException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
265
|
-
name = "ThrottledException";
|
|
266
|
-
$fault = "client";
|
|
267
|
-
constructor(opts) {
|
|
268
|
-
super({
|
|
269
|
-
name: "ThrottledException",
|
|
270
|
-
$fault: "client",
|
|
271
|
-
...opts,
|
|
272
|
-
});
|
|
273
|
-
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
exports.ThrottledException = ThrottledException;
|
|
277
|
-
var MemoryContent;
|
|
278
|
-
(function (MemoryContent) {
|
|
279
|
-
MemoryContent.visit = (value, visitor) => {
|
|
280
|
-
if (value.text !== undefined)
|
|
281
|
-
return visitor.text(value.text);
|
|
282
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
283
|
-
};
|
|
284
|
-
})(MemoryContent || (exports.MemoryContent = MemoryContent = {}));
|
|
285
|
-
const InvokeAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
...(obj.payload && { payload: smithy_client_1.SENSITIVE_STRING }),
|
|
288
|
-
});
|
|
289
|
-
exports.InvokeAgentRuntimeRequestFilterSensitiveLog = InvokeAgentRuntimeRequestFilterSensitiveLog;
|
|
290
|
-
const InvokeAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
...(obj.response && { response: smithy_client_1.SENSITIVE_STRING }),
|
|
293
|
-
});
|
|
294
|
-
exports.InvokeAgentRuntimeResponseFilterSensitiveLog = InvokeAgentRuntimeResponseFilterSensitiveLog;
|
|
295
|
-
const GetResourceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
...(obj.workloadIdentityToken && { workloadIdentityToken: smithy_client_1.SENSITIVE_STRING }),
|
|
298
|
-
});
|
|
299
|
-
exports.GetResourceApiKeyRequestFilterSensitiveLog = GetResourceApiKeyRequestFilterSensitiveLog;
|
|
300
|
-
const GetResourceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
301
|
-
...obj,
|
|
302
|
-
...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
|
|
303
|
-
});
|
|
304
|
-
exports.GetResourceApiKeyResponseFilterSensitiveLog = GetResourceApiKeyResponseFilterSensitiveLog;
|
|
305
|
-
const GetResourceOauth2TokenRequestFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
...(obj.workloadIdentityToken && { workloadIdentityToken: smithy_client_1.SENSITIVE_STRING }),
|
|
308
|
-
...(obj.customParameters && { customParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
309
|
-
});
|
|
310
|
-
exports.GetResourceOauth2TokenRequestFilterSensitiveLog = GetResourceOauth2TokenRequestFilterSensitiveLog;
|
|
311
|
-
const GetResourceOauth2TokenResponseFilterSensitiveLog = (obj) => ({
|
|
312
|
-
...obj,
|
|
313
|
-
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
314
|
-
});
|
|
315
|
-
exports.GetResourceOauth2TokenResponseFilterSensitiveLog = GetResourceOauth2TokenResponseFilterSensitiveLog;
|
|
316
|
-
const GetWorkloadAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
319
|
-
});
|
|
320
|
-
exports.GetWorkloadAccessTokenResponseFilterSensitiveLog = GetWorkloadAccessTokenResponseFilterSensitiveLog;
|
|
321
|
-
const GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
...(obj.userToken && { userToken: smithy_client_1.SENSITIVE_STRING }),
|
|
324
|
-
});
|
|
325
|
-
exports.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog;
|
|
326
|
-
const GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
329
|
-
});
|
|
330
|
-
exports.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog;
|
|
331
|
-
const GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
-
...obj,
|
|
333
|
-
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
334
|
-
});
|
|
335
|
-
exports.GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog;
|
|
336
|
-
const InputContentBlockFilterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
...(obj.blob && { blob: smithy_client_1.SENSITIVE_STRING }),
|
|
339
|
-
});
|
|
340
|
-
exports.InputContentBlockFilterSensitiveLog = InputContentBlockFilterSensitiveLog;
|
|
341
|
-
const ToolArgumentsFilterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
...(obj.content && { content: obj.content.map((item) => (0, exports.InputContentBlockFilterSensitiveLog)(item)) }),
|
|
344
|
-
});
|
|
345
|
-
exports.ToolArgumentsFilterSensitiveLog = ToolArgumentsFilterSensitiveLog;
|
|
346
|
-
const InvokeCodeInterpreterRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
...(obj.arguments && { arguments: (0, exports.ToolArgumentsFilterSensitiveLog)(obj.arguments) }),
|
|
349
|
-
});
|
|
350
|
-
exports.InvokeCodeInterpreterRequestFilterSensitiveLog = InvokeCodeInterpreterRequestFilterSensitiveLog;
|
|
351
|
-
const CodeInterpreterStreamOutputFilterSensitiveLog = (obj) => {
|
|
352
|
-
if (obj.result !== undefined)
|
|
353
|
-
return { result: obj.result };
|
|
354
|
-
if (obj.accessDeniedException !== undefined)
|
|
355
|
-
return { accessDeniedException: obj.accessDeniedException };
|
|
356
|
-
if (obj.conflictException !== undefined)
|
|
357
|
-
return { conflictException: obj.conflictException };
|
|
358
|
-
if (obj.internalServerException !== undefined)
|
|
359
|
-
return { internalServerException: obj.internalServerException };
|
|
360
|
-
if (obj.resourceNotFoundException !== undefined)
|
|
361
|
-
return { resourceNotFoundException: obj.resourceNotFoundException };
|
|
362
|
-
if (obj.serviceQuotaExceededException !== undefined)
|
|
363
|
-
return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
|
|
364
|
-
if (obj.throttlingException !== undefined)
|
|
365
|
-
return { throttlingException: obj.throttlingException };
|
|
366
|
-
if (obj.validationException !== undefined)
|
|
367
|
-
return { validationException: obj.validationException };
|
|
368
|
-
if (obj.$unknown !== undefined)
|
|
369
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
370
|
-
};
|
|
371
|
-
exports.CodeInterpreterStreamOutputFilterSensitiveLog = CodeInterpreterStreamOutputFilterSensitiveLog;
|
|
372
|
-
const InvokeCodeInterpreterResponseFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...(obj.stream && { stream: "STREAMING_CONTENT" }),
|
|
375
|
-
});
|
|
376
|
-
exports.InvokeCodeInterpreterResponseFilterSensitiveLog = InvokeCodeInterpreterResponseFilterSensitiveLog;
|
|
377
|
-
const ContentFilterSensitiveLog = (obj) => {
|
|
378
|
-
if (obj.text !== undefined)
|
|
379
|
-
return { text: smithy_client_1.SENSITIVE_STRING };
|
|
380
|
-
if (obj.$unknown !== undefined)
|
|
381
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
382
|
-
};
|
|
383
|
-
exports.ContentFilterSensitiveLog = ContentFilterSensitiveLog;
|
|
384
|
-
const ConversationalFilterSensitiveLog = (obj) => ({
|
|
385
|
-
...obj,
|
|
386
|
-
...(obj.content && { content: (0, exports.ContentFilterSensitiveLog)(obj.content) }),
|
|
387
|
-
});
|
|
388
|
-
exports.ConversationalFilterSensitiveLog = ConversationalFilterSensitiveLog;
|
|
389
|
-
const PayloadTypeFilterSensitiveLog = (obj) => {
|
|
390
|
-
if (obj.conversational !== undefined)
|
|
391
|
-
return { conversational: (0, exports.ConversationalFilterSensitiveLog)(obj.conversational) };
|
|
392
|
-
if (obj.blob !== undefined)
|
|
393
|
-
return { blob: obj.blob };
|
|
394
|
-
if (obj.$unknown !== undefined)
|
|
395
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
396
|
-
};
|
|
397
|
-
exports.PayloadTypeFilterSensitiveLog = PayloadTypeFilterSensitiveLog;
|
|
398
|
-
const CreateEventInputFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
...(obj.payload && { payload: obj.payload.map((item) => (0, exports.PayloadTypeFilterSensitiveLog)(item)) }),
|
|
401
|
-
});
|
|
402
|
-
exports.CreateEventInputFilterSensitiveLog = CreateEventInputFilterSensitiveLog;
|
|
403
|
-
const EventFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.payload && { payload: obj.payload.map((item) => (0, exports.PayloadTypeFilterSensitiveLog)(item)) }),
|
|
406
|
-
});
|
|
407
|
-
exports.EventFilterSensitiveLog = EventFilterSensitiveLog;
|
|
408
|
-
const CreateEventOutputFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
...(obj.event && { event: (0, exports.EventFilterSensitiveLog)(obj.event) }),
|
|
411
|
-
});
|
|
412
|
-
exports.CreateEventOutputFilterSensitiveLog = CreateEventOutputFilterSensitiveLog;
|
|
413
|
-
const GetEventOutputFilterSensitiveLog = (obj) => ({
|
|
414
|
-
...obj,
|
|
415
|
-
...(obj.event && { event: (0, exports.EventFilterSensitiveLog)(obj.event) }),
|
|
416
|
-
});
|
|
417
|
-
exports.GetEventOutputFilterSensitiveLog = GetEventOutputFilterSensitiveLog;
|
|
418
|
-
const MemoryContentFilterSensitiveLog = (obj) => {
|
|
419
|
-
if (obj.text !== undefined)
|
|
420
|
-
return { text: smithy_client_1.SENSITIVE_STRING };
|
|
421
|
-
if (obj.$unknown !== undefined)
|
|
422
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
423
|
-
};
|
|
424
|
-
exports.MemoryContentFilterSensitiveLog = MemoryContentFilterSensitiveLog;
|
|
425
|
-
const MemoryRecordFilterSensitiveLog = (obj) => ({
|
|
426
|
-
...obj,
|
|
427
|
-
...(obj.content && { content: (0, exports.MemoryContentFilterSensitiveLog)(obj.content) }),
|
|
428
|
-
});
|
|
429
|
-
exports.MemoryRecordFilterSensitiveLog = MemoryRecordFilterSensitiveLog;
|
|
430
|
-
const GetMemoryRecordOutputFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
...(obj.memoryRecord && { memoryRecord: (0, exports.MemoryRecordFilterSensitiveLog)(obj.memoryRecord) }),
|
|
433
|
-
});
|
|
434
|
-
exports.GetMemoryRecordOutputFilterSensitiveLog = GetMemoryRecordOutputFilterSensitiveLog;
|
|
435
|
-
const ListEventsOutputFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
...(obj.events && { events: obj.events.map((item) => (0, exports.EventFilterSensitiveLog)(item)) }),
|
|
438
|
-
});
|
|
439
|
-
exports.ListEventsOutputFilterSensitiveLog = ListEventsOutputFilterSensitiveLog;
|
|
440
|
-
const MemoryRecordSummaryFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.content && { content: (0, exports.MemoryContentFilterSensitiveLog)(obj.content) }),
|
|
443
|
-
});
|
|
444
|
-
exports.MemoryRecordSummaryFilterSensitiveLog = MemoryRecordSummaryFilterSensitiveLog;
|
|
445
|
-
const ListMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
446
|
-
...obj,
|
|
447
|
-
...(obj.memoryRecordSummaries && {
|
|
448
|
-
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => (0, exports.MemoryRecordSummaryFilterSensitiveLog)(item)),
|
|
449
|
-
}),
|
|
450
|
-
});
|
|
451
|
-
exports.ListMemoryRecordsOutputFilterSensitiveLog = ListMemoryRecordsOutputFilterSensitiveLog;
|
|
452
|
-
const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
453
|
-
...obj,
|
|
454
|
-
...(obj.searchQuery && { searchQuery: smithy_client_1.SENSITIVE_STRING }),
|
|
455
|
-
});
|
|
456
|
-
exports.SearchCriteriaFilterSensitiveLog = SearchCriteriaFilterSensitiveLog;
|
|
457
|
-
const RetrieveMemoryRecordsInputFilterSensitiveLog = (obj) => ({
|
|
458
|
-
...obj,
|
|
459
|
-
...(obj.searchCriteria && { searchCriteria: (0, exports.SearchCriteriaFilterSensitiveLog)(obj.searchCriteria) }),
|
|
460
|
-
});
|
|
461
|
-
exports.RetrieveMemoryRecordsInputFilterSensitiveLog = RetrieveMemoryRecordsInputFilterSensitiveLog;
|
|
462
|
-
const RetrieveMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
...(obj.memoryRecordSummaries && {
|
|
465
|
-
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => (0, exports.MemoryRecordSummaryFilterSensitiveLog)(item)),
|
|
466
|
-
}),
|
|
467
|
-
});
|
|
468
|
-
exports.RetrieveMemoryRecordsOutputFilterSensitiveLog = RetrieveMemoryRecordsOutputFilterSensitiveLog;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListActors = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
-
const ListActorsCommand_1 = require("../commands/ListActorsCommand");
|
|
7
|
-
exports.paginateListActors = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListActorsCommand_1.ListActorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListEvents = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
-
const ListEventsCommand_1 = require("../commands/ListEventsCommand");
|
|
7
|
-
exports.paginateListEvents = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListEventsCommand_1.ListEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListMemoryRecords = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
-
const ListMemoryRecordsCommand_1 = require("../commands/ListMemoryRecordsCommand");
|
|
7
|
-
exports.paginateListMemoryRecords = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListMemoryRecordsCommand_1.ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSessions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
-
const ListSessionsCommand_1 = require("../commands/ListSessionsCommand");
|
|
7
|
-
exports.paginateListSessions = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListSessionsCommand_1.ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateRetrieveMemoryRecords = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
-
const RetrieveMemoryRecordsCommand_1 = require("../commands/RetrieveMemoryRecordsCommand");
|
|
7
|
-
exports.paginateRetrieveMemoryRecords = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, RetrieveMemoryRecordsCommand_1.RetrieveMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListActorsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListEventsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListMemoryRecordsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListSessionsPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./RetrieveMemoryRecordsPaginator"), exports);
|