@aws-sdk/client-bedrock-agent-runtime 3.490.0 → 3.496.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BedrockAgentRuntimeServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class BedrockAgentRuntimeServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, BedrockAgentRuntimeServiceException.prototype);
10
- }
11
- }
12
- exports.BedrockAgentRuntimeServiceException = BedrockAgentRuntimeServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,439 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RetrieveRequestFilterSensitiveLog = exports.KnowledgeBaseQueryFilterSensitiveLog = exports.RetrieveAndGenerateResponseFilterSensitiveLog = exports.RetrieveAndGenerateOutputFilterSensitiveLog = exports.RetrieveAndGenerateRequestFilterSensitiveLog = exports.RetrieveAndGenerateInputFilterSensitiveLog = exports.InvokeAgentResponseFilterSensitiveLog = exports.ResponseStreamFilterSensitiveLog = exports.TracePartFilterSensitiveLog = exports.TraceFilterSensitiveLog = exports.PreProcessingTraceFilterSensitiveLog = exports.PreProcessingModelInvocationOutputFilterSensitiveLog = exports.PreProcessingParsedResponseFilterSensitiveLog = exports.PostProcessingTraceFilterSensitiveLog = exports.PostProcessingModelInvocationOutputFilterSensitiveLog = exports.PostProcessingParsedResponseFilterSensitiveLog = exports.OrchestrationTraceFilterSensitiveLog = exports.RationaleFilterSensitiveLog = exports.ObservationFilterSensitiveLog = exports.RepromptResponseFilterSensitiveLog = exports.FinalResponseFilterSensitiveLog = exports.ModelInvocationInputFilterSensitiveLog = exports.InvocationInputFilterSensitiveLog = exports.KnowledgeBaseLookupInputFilterSensitiveLog = exports.FailureTraceFilterSensitiveLog = exports.PayloadPartFilterSensitiveLog = exports.InvokeAgentRequestFilterSensitiveLog = exports.ActionGroupInvocationOutputFilterSensitiveLog = exports.ActionGroupInvocationInputFilterSensitiveLog = exports.RetrieveAndGenerateType = exports.ResponseStream = exports.ValidationException = exports.Trace = exports.PreProcessingTrace = exports.PostProcessingTrace = exports.OrchestrationTrace = exports.Type = exports.Source = exports.PromptType = exports.CreationMode = exports.InvocationType = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.RetrievalResultLocationType = exports.InternalServerException = exports.DependencyFailedException = exports.ConflictException = exports.BadGatewayException = exports.AccessDeniedException = void 0;
4
- exports.RetrieveResponseFilterSensitiveLog = void 0;
5
- const smithy_client_1 = require("@smithy/smithy-client");
6
- const BedrockAgentRuntimeServiceException_1 = require("./BedrockAgentRuntimeServiceException");
7
- class AccessDeniedException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- this.name = "AccessDeniedException";
15
- this.$fault = "client";
16
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- class BadGatewayException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "BadGatewayException",
24
- $fault: "server",
25
- ...opts,
26
- });
27
- this.name = "BadGatewayException";
28
- this.$fault = "server";
29
- Object.setPrototypeOf(this, BadGatewayException.prototype);
30
- this.resourceName = opts.resourceName;
31
- }
32
- }
33
- exports.BadGatewayException = BadGatewayException;
34
- class ConflictException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
35
- constructor(opts) {
36
- super({
37
- name: "ConflictException",
38
- $fault: "client",
39
- ...opts,
40
- });
41
- this.name = "ConflictException";
42
- this.$fault = "client";
43
- Object.setPrototypeOf(this, ConflictException.prototype);
44
- }
45
- }
46
- exports.ConflictException = ConflictException;
47
- class DependencyFailedException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
48
- constructor(opts) {
49
- super({
50
- name: "DependencyFailedException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- this.name = "DependencyFailedException";
55
- this.$fault = "client";
56
- Object.setPrototypeOf(this, DependencyFailedException.prototype);
57
- this.resourceName = opts.resourceName;
58
- }
59
- }
60
- exports.DependencyFailedException = DependencyFailedException;
61
- class InternalServerException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
62
- constructor(opts) {
63
- super({
64
- name: "InternalServerException",
65
- $fault: "server",
66
- ...opts,
67
- });
68
- this.name = "InternalServerException";
69
- this.$fault = "server";
70
- Object.setPrototypeOf(this, InternalServerException.prototype);
71
- }
72
- }
73
- exports.InternalServerException = InternalServerException;
74
- exports.RetrievalResultLocationType = {
75
- S3: "S3",
76
- };
77
- class ResourceNotFoundException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
78
- constructor(opts) {
79
- super({
80
- name: "ResourceNotFoundException",
81
- $fault: "client",
82
- ...opts,
83
- });
84
- this.name = "ResourceNotFoundException";
85
- this.$fault = "client";
86
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
87
- }
88
- }
89
- exports.ResourceNotFoundException = ResourceNotFoundException;
90
- class ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
91
- constructor(opts) {
92
- super({
93
- name: "ServiceQuotaExceededException",
94
- $fault: "client",
95
- ...opts,
96
- });
97
- this.name = "ServiceQuotaExceededException";
98
- this.$fault = "client";
99
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
100
- }
101
- }
102
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
103
- class ThrottlingException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
104
- constructor(opts) {
105
- super({
106
- name: "ThrottlingException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- this.name = "ThrottlingException";
111
- this.$fault = "client";
112
- Object.setPrototypeOf(this, ThrottlingException.prototype);
113
- }
114
- }
115
- exports.ThrottlingException = ThrottlingException;
116
- exports.InvocationType = {
117
- ACTION_GROUP: "ACTION_GROUP",
118
- FINISH: "FINISH",
119
- KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
120
- };
121
- exports.CreationMode = {
122
- DEFAULT: "DEFAULT",
123
- OVERRIDDEN: "OVERRIDDEN",
124
- };
125
- exports.PromptType = {
126
- KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION",
127
- ORCHESTRATION: "ORCHESTRATION",
128
- POST_PROCESSING: "POST_PROCESSING",
129
- PRE_PROCESSING: "PRE_PROCESSING",
130
- };
131
- exports.Source = {
132
- ACTION_GROUP: "ACTION_GROUP",
133
- KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
134
- PARSER: "PARSER",
135
- };
136
- exports.Type = {
137
- ACTION_GROUP: "ACTION_GROUP",
138
- ASK_USER: "ASK_USER",
139
- FINISH: "FINISH",
140
- KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
141
- REPROMPT: "REPROMPT",
142
- };
143
- var OrchestrationTrace;
144
- (function (OrchestrationTrace) {
145
- OrchestrationTrace.visit = (value, visitor) => {
146
- if (value.rationale !== undefined)
147
- return visitor.rationale(value.rationale);
148
- if (value.invocationInput !== undefined)
149
- return visitor.invocationInput(value.invocationInput);
150
- if (value.observation !== undefined)
151
- return visitor.observation(value.observation);
152
- if (value.modelInvocationInput !== undefined)
153
- return visitor.modelInvocationInput(value.modelInvocationInput);
154
- return visitor._(value.$unknown[0], value.$unknown[1]);
155
- };
156
- })(OrchestrationTrace = exports.OrchestrationTrace || (exports.OrchestrationTrace = {}));
157
- var PostProcessingTrace;
158
- (function (PostProcessingTrace) {
159
- PostProcessingTrace.visit = (value, visitor) => {
160
- if (value.modelInvocationInput !== undefined)
161
- return visitor.modelInvocationInput(value.modelInvocationInput);
162
- if (value.modelInvocationOutput !== undefined)
163
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
164
- return visitor._(value.$unknown[0], value.$unknown[1]);
165
- };
166
- })(PostProcessingTrace = exports.PostProcessingTrace || (exports.PostProcessingTrace = {}));
167
- var PreProcessingTrace;
168
- (function (PreProcessingTrace) {
169
- PreProcessingTrace.visit = (value, visitor) => {
170
- if (value.modelInvocationInput !== undefined)
171
- return visitor.modelInvocationInput(value.modelInvocationInput);
172
- if (value.modelInvocationOutput !== undefined)
173
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
174
- return visitor._(value.$unknown[0], value.$unknown[1]);
175
- };
176
- })(PreProcessingTrace = exports.PreProcessingTrace || (exports.PreProcessingTrace = {}));
177
- var Trace;
178
- (function (Trace) {
179
- Trace.visit = (value, visitor) => {
180
- if (value.preProcessingTrace !== undefined)
181
- return visitor.preProcessingTrace(value.preProcessingTrace);
182
- if (value.orchestrationTrace !== undefined)
183
- return visitor.orchestrationTrace(value.orchestrationTrace);
184
- if (value.postProcessingTrace !== undefined)
185
- return visitor.postProcessingTrace(value.postProcessingTrace);
186
- if (value.failureTrace !== undefined)
187
- return visitor.failureTrace(value.failureTrace);
188
- return visitor._(value.$unknown[0], value.$unknown[1]);
189
- };
190
- })(Trace = exports.Trace || (exports.Trace = {}));
191
- class ValidationException extends BedrockAgentRuntimeServiceException_1.BedrockAgentRuntimeServiceException {
192
- constructor(opts) {
193
- super({
194
- name: "ValidationException",
195
- $fault: "client",
196
- ...opts,
197
- });
198
- this.name = "ValidationException";
199
- this.$fault = "client";
200
- Object.setPrototypeOf(this, ValidationException.prototype);
201
- }
202
- }
203
- exports.ValidationException = ValidationException;
204
- var ResponseStream;
205
- (function (ResponseStream) {
206
- ResponseStream.visit = (value, visitor) => {
207
- if (value.chunk !== undefined)
208
- return visitor.chunk(value.chunk);
209
- if (value.trace !== undefined)
210
- return visitor.trace(value.trace);
211
- if (value.internalServerException !== undefined)
212
- return visitor.internalServerException(value.internalServerException);
213
- if (value.validationException !== undefined)
214
- return visitor.validationException(value.validationException);
215
- if (value.resourceNotFoundException !== undefined)
216
- return visitor.resourceNotFoundException(value.resourceNotFoundException);
217
- if (value.serviceQuotaExceededException !== undefined)
218
- return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
219
- if (value.throttlingException !== undefined)
220
- return visitor.throttlingException(value.throttlingException);
221
- if (value.accessDeniedException !== undefined)
222
- return visitor.accessDeniedException(value.accessDeniedException);
223
- if (value.conflictException !== undefined)
224
- return visitor.conflictException(value.conflictException);
225
- if (value.dependencyFailedException !== undefined)
226
- return visitor.dependencyFailedException(value.dependencyFailedException);
227
- if (value.badGatewayException !== undefined)
228
- return visitor.badGatewayException(value.badGatewayException);
229
- return visitor._(value.$unknown[0], value.$unknown[1]);
230
- };
231
- })(ResponseStream = exports.ResponseStream || (exports.ResponseStream = {}));
232
- exports.RetrieveAndGenerateType = {
233
- KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
234
- };
235
- const ActionGroupInvocationInputFilterSensitiveLog = (obj) => ({
236
- ...obj,
237
- ...(obj.actionGroupName && { actionGroupName: smithy_client_1.SENSITIVE_STRING }),
238
- ...(obj.verb && { verb: smithy_client_1.SENSITIVE_STRING }),
239
- ...(obj.apiPath && { apiPath: smithy_client_1.SENSITIVE_STRING }),
240
- });
241
- exports.ActionGroupInvocationInputFilterSensitiveLog = ActionGroupInvocationInputFilterSensitiveLog;
242
- const ActionGroupInvocationOutputFilterSensitiveLog = (obj) => ({
243
- ...obj,
244
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
245
- });
246
- exports.ActionGroupInvocationOutputFilterSensitiveLog = ActionGroupInvocationOutputFilterSensitiveLog;
247
- const InvokeAgentRequestFilterSensitiveLog = (obj) => ({
248
- ...obj,
249
- ...(obj.inputText && { inputText: smithy_client_1.SENSITIVE_STRING }),
250
- });
251
- exports.InvokeAgentRequestFilterSensitiveLog = InvokeAgentRequestFilterSensitiveLog;
252
- const PayloadPartFilterSensitiveLog = (obj) => ({
253
- ...obj,
254
- ...(obj.bytes && { bytes: smithy_client_1.SENSITIVE_STRING }),
255
- });
256
- exports.PayloadPartFilterSensitiveLog = PayloadPartFilterSensitiveLog;
257
- const FailureTraceFilterSensitiveLog = (obj) => ({
258
- ...obj,
259
- ...(obj.failureReason && { failureReason: smithy_client_1.SENSITIVE_STRING }),
260
- });
261
- exports.FailureTraceFilterSensitiveLog = FailureTraceFilterSensitiveLog;
262
- const KnowledgeBaseLookupInputFilterSensitiveLog = (obj) => ({
263
- ...obj,
264
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
265
- ...(obj.knowledgeBaseId && { knowledgeBaseId: smithy_client_1.SENSITIVE_STRING }),
266
- });
267
- exports.KnowledgeBaseLookupInputFilterSensitiveLog = KnowledgeBaseLookupInputFilterSensitiveLog;
268
- const InvocationInputFilterSensitiveLog = (obj) => ({
269
- ...obj,
270
- ...(obj.actionGroupInvocationInput && {
271
- actionGroupInvocationInput: (0, exports.ActionGroupInvocationInputFilterSensitiveLog)(obj.actionGroupInvocationInput),
272
- }),
273
- ...(obj.knowledgeBaseLookupInput && {
274
- knowledgeBaseLookupInput: (0, exports.KnowledgeBaseLookupInputFilterSensitiveLog)(obj.knowledgeBaseLookupInput),
275
- }),
276
- });
277
- exports.InvocationInputFilterSensitiveLog = InvocationInputFilterSensitiveLog;
278
- const ModelInvocationInputFilterSensitiveLog = (obj) => ({
279
- ...obj,
280
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
281
- });
282
- exports.ModelInvocationInputFilterSensitiveLog = ModelInvocationInputFilterSensitiveLog;
283
- const FinalResponseFilterSensitiveLog = (obj) => ({
284
- ...obj,
285
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
286
- });
287
- exports.FinalResponseFilterSensitiveLog = FinalResponseFilterSensitiveLog;
288
- const RepromptResponseFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- ...(obj.source && { source: smithy_client_1.SENSITIVE_STRING }),
291
- });
292
- exports.RepromptResponseFilterSensitiveLog = RepromptResponseFilterSensitiveLog;
293
- const ObservationFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- ...(obj.actionGroupInvocationOutput && {
296
- actionGroupInvocationOutput: (0, exports.ActionGroupInvocationOutputFilterSensitiveLog)(obj.actionGroupInvocationOutput),
297
- }),
298
- ...(obj.finalResponse && { finalResponse: (0, exports.FinalResponseFilterSensitiveLog)(obj.finalResponse) }),
299
- ...(obj.repromptResponse && { repromptResponse: smithy_client_1.SENSITIVE_STRING }),
300
- });
301
- exports.ObservationFilterSensitiveLog = ObservationFilterSensitiveLog;
302
- const RationaleFilterSensitiveLog = (obj) => ({
303
- ...obj,
304
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
305
- });
306
- exports.RationaleFilterSensitiveLog = RationaleFilterSensitiveLog;
307
- const OrchestrationTraceFilterSensitiveLog = (obj) => {
308
- if (obj.rationale !== undefined)
309
- return { rationale: smithy_client_1.SENSITIVE_STRING };
310
- if (obj.invocationInput !== undefined)
311
- return { invocationInput: smithy_client_1.SENSITIVE_STRING };
312
- if (obj.observation !== undefined)
313
- return { observation: smithy_client_1.SENSITIVE_STRING };
314
- if (obj.modelInvocationInput !== undefined)
315
- return { modelInvocationInput: smithy_client_1.SENSITIVE_STRING };
316
- if (obj.$unknown !== undefined)
317
- return { [obj.$unknown[0]]: "UNKNOWN" };
318
- };
319
- exports.OrchestrationTraceFilterSensitiveLog = OrchestrationTraceFilterSensitiveLog;
320
- const PostProcessingParsedResponseFilterSensitiveLog = (obj) => ({
321
- ...obj,
322
- ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
323
- });
324
- exports.PostProcessingParsedResponseFilterSensitiveLog = PostProcessingParsedResponseFilterSensitiveLog;
325
- const PostProcessingModelInvocationOutputFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.parsedResponse && { parsedResponse: smithy_client_1.SENSITIVE_STRING }),
328
- });
329
- exports.PostProcessingModelInvocationOutputFilterSensitiveLog = PostProcessingModelInvocationOutputFilterSensitiveLog;
330
- const PostProcessingTraceFilterSensitiveLog = (obj) => {
331
- if (obj.modelInvocationInput !== undefined)
332
- return { modelInvocationInput: smithy_client_1.SENSITIVE_STRING };
333
- if (obj.modelInvocationOutput !== undefined)
334
- return { modelInvocationOutput: smithy_client_1.SENSITIVE_STRING };
335
- if (obj.$unknown !== undefined)
336
- return { [obj.$unknown[0]]: "UNKNOWN" };
337
- };
338
- exports.PostProcessingTraceFilterSensitiveLog = PostProcessingTraceFilterSensitiveLog;
339
- const PreProcessingParsedResponseFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- ...(obj.rationale && { rationale: smithy_client_1.SENSITIVE_STRING }),
342
- });
343
- exports.PreProcessingParsedResponseFilterSensitiveLog = PreProcessingParsedResponseFilterSensitiveLog;
344
- const PreProcessingModelInvocationOutputFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- ...(obj.parsedResponse && { parsedResponse: smithy_client_1.SENSITIVE_STRING }),
347
- });
348
- exports.PreProcessingModelInvocationOutputFilterSensitiveLog = PreProcessingModelInvocationOutputFilterSensitiveLog;
349
- const PreProcessingTraceFilterSensitiveLog = (obj) => {
350
- if (obj.modelInvocationInput !== undefined)
351
- return { modelInvocationInput: smithy_client_1.SENSITIVE_STRING };
352
- if (obj.modelInvocationOutput !== undefined)
353
- return { modelInvocationOutput: smithy_client_1.SENSITIVE_STRING };
354
- if (obj.$unknown !== undefined)
355
- return { [obj.$unknown[0]]: "UNKNOWN" };
356
- };
357
- exports.PreProcessingTraceFilterSensitiveLog = PreProcessingTraceFilterSensitiveLog;
358
- const TraceFilterSensitiveLog = (obj) => {
359
- if (obj.preProcessingTrace !== undefined)
360
- return { preProcessingTrace: smithy_client_1.SENSITIVE_STRING };
361
- if (obj.orchestrationTrace !== undefined)
362
- return { orchestrationTrace: smithy_client_1.SENSITIVE_STRING };
363
- if (obj.postProcessingTrace !== undefined)
364
- return { postProcessingTrace: smithy_client_1.SENSITIVE_STRING };
365
- if (obj.failureTrace !== undefined)
366
- return { failureTrace: smithy_client_1.SENSITIVE_STRING };
367
- if (obj.$unknown !== undefined)
368
- return { [obj.$unknown[0]]: "UNKNOWN" };
369
- };
370
- exports.TraceFilterSensitiveLog = TraceFilterSensitiveLog;
371
- const TracePartFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- ...(obj.trace && { trace: smithy_client_1.SENSITIVE_STRING }),
374
- });
375
- exports.TracePartFilterSensitiveLog = TracePartFilterSensitiveLog;
376
- const ResponseStreamFilterSensitiveLog = (obj) => {
377
- if (obj.chunk !== undefined)
378
- return { chunk: smithy_client_1.SENSITIVE_STRING };
379
- if (obj.trace !== undefined)
380
- return { trace: smithy_client_1.SENSITIVE_STRING };
381
- if (obj.internalServerException !== undefined)
382
- return { internalServerException: obj.internalServerException };
383
- if (obj.validationException !== undefined)
384
- return { validationException: obj.validationException };
385
- if (obj.resourceNotFoundException !== undefined)
386
- return { resourceNotFoundException: obj.resourceNotFoundException };
387
- if (obj.serviceQuotaExceededException !== undefined)
388
- return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
389
- if (obj.throttlingException !== undefined)
390
- return { throttlingException: obj.throttlingException };
391
- if (obj.accessDeniedException !== undefined)
392
- return { accessDeniedException: obj.accessDeniedException };
393
- if (obj.conflictException !== undefined)
394
- return { conflictException: obj.conflictException };
395
- if (obj.dependencyFailedException !== undefined)
396
- return { dependencyFailedException: obj.dependencyFailedException };
397
- if (obj.badGatewayException !== undefined)
398
- return { badGatewayException: obj.badGatewayException };
399
- if (obj.$unknown !== undefined)
400
- return { [obj.$unknown[0]]: "UNKNOWN" };
401
- };
402
- exports.ResponseStreamFilterSensitiveLog = ResponseStreamFilterSensitiveLog;
403
- const InvokeAgentResponseFilterSensitiveLog = (obj) => ({
404
- ...obj,
405
- ...(obj.completion && { completion: "STREAMING_CONTENT" }),
406
- });
407
- exports.InvokeAgentResponseFilterSensitiveLog = InvokeAgentResponseFilterSensitiveLog;
408
- const RetrieveAndGenerateInputFilterSensitiveLog = (obj) => ({
409
- ...obj,
410
- });
411
- exports.RetrieveAndGenerateInputFilterSensitiveLog = RetrieveAndGenerateInputFilterSensitiveLog;
412
- const RetrieveAndGenerateRequestFilterSensitiveLog = (obj) => ({
413
- ...obj,
414
- ...(obj.input && { input: smithy_client_1.SENSITIVE_STRING }),
415
- });
416
- exports.RetrieveAndGenerateRequestFilterSensitiveLog = RetrieveAndGenerateRequestFilterSensitiveLog;
417
- const RetrieveAndGenerateOutputFilterSensitiveLog = (obj) => ({
418
- ...obj,
419
- });
420
- exports.RetrieveAndGenerateOutputFilterSensitiveLog = RetrieveAndGenerateOutputFilterSensitiveLog;
421
- const RetrieveAndGenerateResponseFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.output && { output: smithy_client_1.SENSITIVE_STRING }),
424
- });
425
- exports.RetrieveAndGenerateResponseFilterSensitiveLog = RetrieveAndGenerateResponseFilterSensitiveLog;
426
- const KnowledgeBaseQueryFilterSensitiveLog = (obj) => ({
427
- ...obj,
428
- });
429
- exports.KnowledgeBaseQueryFilterSensitiveLog = KnowledgeBaseQueryFilterSensitiveLog;
430
- const RetrieveRequestFilterSensitiveLog = (obj) => ({
431
- ...obj,
432
- ...(obj.retrievalQuery && { retrievalQuery: smithy_client_1.SENSITIVE_STRING }),
433
- });
434
- exports.RetrieveRequestFilterSensitiveLog = RetrieveRequestFilterSensitiveLog;
435
- const RetrieveResponseFilterSensitiveLog = (obj) => ({
436
- ...obj,
437
- ...(obj.retrievalResults && { retrievalResults: smithy_client_1.SENSITIVE_STRING }),
438
- });
439
- exports.RetrieveResponseFilterSensitiveLog = RetrieveResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateRetrieve = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BedrockAgentRuntimeClient_1 = require("../BedrockAgentRuntimeClient");
6
- const RetrieveCommand_1 = require("../commands/RetrieveCommand");
7
- exports.paginateRetrieve = (0, core_1.createPaginator)(BedrockAgentRuntimeClient_1.BedrockAgentRuntimeClient, RetrieveCommand_1.RetrieveCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
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("./RetrievePaginator"), exports);
1
+ module.exports = require("../index.js");