@aws-sdk/client-bedrock-agent-runtime 3.687.0 → 3.691.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.
@@ -14,25 +14,25 @@ export declare const ExecutionType: {
14
14
  };
15
15
  export type ExecutionType = (typeof ExecutionType)[keyof typeof ExecutionType];
16
16
  export interface Parameter {
17
- name?: string;
18
- type?: string;
19
- value?: string;
17
+ name?: string | undefined;
18
+ type?: string | undefined;
19
+ value?: string | undefined;
20
20
  }
21
21
  export interface RequestBody {
22
- content?: Record<string, Parameter[]>;
22
+ content?: Record<string, Parameter[]> | undefined;
23
23
  }
24
24
  export interface ActionGroupInvocationInput {
25
- actionGroupName?: string;
26
- verb?: string;
27
- apiPath?: string;
28
- parameters?: Parameter[];
29
- requestBody?: RequestBody;
30
- function?: string;
31
- executionType?: ExecutionType;
32
- invocationId?: string;
25
+ actionGroupName?: string | undefined;
26
+ verb?: string | undefined;
27
+ apiPath?: string | undefined;
28
+ parameters?: Parameter[] | undefined;
29
+ requestBody?: RequestBody | undefined;
30
+ function?: string | undefined;
31
+ executionType?: ExecutionType | undefined;
32
+ invocationId?: string | undefined;
33
33
  }
34
34
  export interface ActionGroupInvocationOutput {
35
- text?: string;
35
+ text?: string | undefined;
36
36
  }
37
37
  export declare const ActionInvocationType: {
38
38
  readonly RESULT: "RESULT";
@@ -44,7 +44,7 @@ export type ActionInvocationType =
44
44
  export declare class BadGatewayException extends __BaseException {
45
45
  readonly name: "BadGatewayException";
46
46
  readonly $fault: "server";
47
- resourceName?: string;
47
+ resourceName?: string | undefined;
48
48
  constructor(
49
49
  opts: __ExceptionOptionType<BadGatewayException, __BaseException>
50
50
  );
@@ -57,7 +57,7 @@ export declare class ConflictException extends __BaseException {
57
57
  export declare class DependencyFailedException extends __BaseException {
58
58
  readonly name: "DependencyFailedException";
59
59
  readonly $fault: "client";
60
- resourceName?: string;
60
+ resourceName?: string | undefined;
61
61
  constructor(
62
62
  opts: __ExceptionOptionType<DependencyFailedException, __BaseException>
63
63
  );
@@ -96,6 +96,7 @@ export interface InvokeFlowRequest {
96
96
  flowIdentifier: string | undefined;
97
97
  flowAliasIdentifier: string | undefined;
98
98
  inputs: FlowInput[] | undefined;
99
+ enableTrace?: boolean | undefined;
99
100
  }
100
101
  export declare const FlowCompletionReason: {
101
102
  readonly SUCCESS: "SUCCESS";
@@ -138,6 +139,109 @@ export interface FlowOutputEvent {
138
139
  nodeType: NodeType | undefined;
139
140
  content: FlowOutputContent | undefined;
140
141
  }
142
+ export interface FlowTraceCondition {
143
+ conditionName: string | undefined;
144
+ }
145
+ export interface FlowTraceConditionNodeResultEvent {
146
+ nodeName: string | undefined;
147
+ timestamp: Date | undefined;
148
+ satisfiedConditions: FlowTraceCondition[] | undefined;
149
+ }
150
+ export type FlowTraceNodeInputContent =
151
+ | FlowTraceNodeInputContent.DocumentMember
152
+ | FlowTraceNodeInputContent.$UnknownMember;
153
+ export declare namespace FlowTraceNodeInputContent {
154
+ interface DocumentMember {
155
+ document: __DocumentType;
156
+ $unknown?: never;
157
+ }
158
+ interface $UnknownMember {
159
+ document?: never;
160
+ $unknown: [string, any];
161
+ }
162
+ interface Visitor<T> {
163
+ document: (value: __DocumentType) => T;
164
+ _: (name: string, value: any) => T;
165
+ }
166
+ const visit: <T>(value: FlowTraceNodeInputContent, visitor: Visitor<T>) => T;
167
+ }
168
+ export interface FlowTraceNodeInputField {
169
+ nodeInputName: string | undefined;
170
+ content: FlowTraceNodeInputContent | undefined;
171
+ }
172
+ export interface FlowTraceNodeInputEvent {
173
+ nodeName: string | undefined;
174
+ timestamp: Date | undefined;
175
+ fields: FlowTraceNodeInputField[] | undefined;
176
+ }
177
+ export type FlowTraceNodeOutputContent =
178
+ | FlowTraceNodeOutputContent.DocumentMember
179
+ | FlowTraceNodeOutputContent.$UnknownMember;
180
+ export declare namespace FlowTraceNodeOutputContent {
181
+ interface DocumentMember {
182
+ document: __DocumentType;
183
+ $unknown?: never;
184
+ }
185
+ interface $UnknownMember {
186
+ document?: never;
187
+ $unknown: [string, any];
188
+ }
189
+ interface Visitor<T> {
190
+ document: (value: __DocumentType) => T;
191
+ _: (name: string, value: any) => T;
192
+ }
193
+ const visit: <T>(value: FlowTraceNodeOutputContent, visitor: Visitor<T>) => T;
194
+ }
195
+ export interface FlowTraceNodeOutputField {
196
+ nodeOutputName: string | undefined;
197
+ content: FlowTraceNodeOutputContent | undefined;
198
+ }
199
+ export interface FlowTraceNodeOutputEvent {
200
+ nodeName: string | undefined;
201
+ timestamp: Date | undefined;
202
+ fields: FlowTraceNodeOutputField[] | undefined;
203
+ }
204
+ export type FlowTrace =
205
+ | FlowTrace.ConditionNodeResultTraceMember
206
+ | FlowTrace.NodeInputTraceMember
207
+ | FlowTrace.NodeOutputTraceMember
208
+ | FlowTrace.$UnknownMember;
209
+ export declare namespace FlowTrace {
210
+ interface NodeInputTraceMember {
211
+ nodeInputTrace: FlowTraceNodeInputEvent;
212
+ nodeOutputTrace?: never;
213
+ conditionNodeResultTrace?: never;
214
+ $unknown?: never;
215
+ }
216
+ interface NodeOutputTraceMember {
217
+ nodeInputTrace?: never;
218
+ nodeOutputTrace: FlowTraceNodeOutputEvent;
219
+ conditionNodeResultTrace?: never;
220
+ $unknown?: never;
221
+ }
222
+ interface ConditionNodeResultTraceMember {
223
+ nodeInputTrace?: never;
224
+ nodeOutputTrace?: never;
225
+ conditionNodeResultTrace: FlowTraceConditionNodeResultEvent;
226
+ $unknown?: never;
227
+ }
228
+ interface $UnknownMember {
229
+ nodeInputTrace?: never;
230
+ nodeOutputTrace?: never;
231
+ conditionNodeResultTrace?: never;
232
+ $unknown: [string, any];
233
+ }
234
+ interface Visitor<T> {
235
+ nodeInputTrace: (value: FlowTraceNodeInputEvent) => T;
236
+ nodeOutputTrace: (value: FlowTraceNodeOutputEvent) => T;
237
+ conditionNodeResultTrace: (value: FlowTraceConditionNodeResultEvent) => T;
238
+ _: (name: string, value: any) => T;
239
+ }
240
+ const visit: <T>(value: FlowTrace, visitor: Visitor<T>) => T;
241
+ }
242
+ export interface FlowTraceEvent {
243
+ trace: FlowTrace | undefined;
244
+ }
141
245
  export declare class ResourceNotFoundException extends __BaseException {
142
246
  readonly name: "ResourceNotFoundException";
143
247
  readonly $fault: "client";
@@ -173,6 +277,7 @@ export type FlowResponseStream =
173
277
  | FlowResponseStream.DependencyFailedExceptionMember
174
278
  | FlowResponseStream.FlowCompletionEventMember
175
279
  | FlowResponseStream.FlowOutputEventMember
280
+ | FlowResponseStream.FlowTraceEventMember
176
281
  | FlowResponseStream.InternalServerExceptionMember
177
282
  | FlowResponseStream.ResourceNotFoundExceptionMember
178
283
  | FlowResponseStream.ServiceQuotaExceededExceptionMember
@@ -183,6 +288,7 @@ export declare namespace FlowResponseStream {
183
288
  interface FlowOutputEventMember {
184
289
  flowOutputEvent: FlowOutputEvent;
185
290
  flowCompletionEvent?: never;
291
+ flowTraceEvent?: never;
186
292
  internalServerException?: never;
187
293
  validationException?: never;
188
294
  resourceNotFoundException?: never;
@@ -197,6 +303,22 @@ export declare namespace FlowResponseStream {
197
303
  interface FlowCompletionEventMember {
198
304
  flowOutputEvent?: never;
199
305
  flowCompletionEvent: FlowCompletionEvent;
306
+ flowTraceEvent?: never;
307
+ internalServerException?: never;
308
+ validationException?: never;
309
+ resourceNotFoundException?: never;
310
+ serviceQuotaExceededException?: never;
311
+ throttlingException?: never;
312
+ accessDeniedException?: never;
313
+ conflictException?: never;
314
+ dependencyFailedException?: never;
315
+ badGatewayException?: never;
316
+ $unknown?: never;
317
+ }
318
+ interface FlowTraceEventMember {
319
+ flowOutputEvent?: never;
320
+ flowCompletionEvent?: never;
321
+ flowTraceEvent: FlowTraceEvent;
200
322
  internalServerException?: never;
201
323
  validationException?: never;
202
324
  resourceNotFoundException?: never;
@@ -211,6 +333,7 @@ export declare namespace FlowResponseStream {
211
333
  interface InternalServerExceptionMember {
212
334
  flowOutputEvent?: never;
213
335
  flowCompletionEvent?: never;
336
+ flowTraceEvent?: never;
214
337
  internalServerException: InternalServerException;
215
338
  validationException?: never;
216
339
  resourceNotFoundException?: never;
@@ -225,6 +348,7 @@ export declare namespace FlowResponseStream {
225
348
  interface ValidationExceptionMember {
226
349
  flowOutputEvent?: never;
227
350
  flowCompletionEvent?: never;
351
+ flowTraceEvent?: never;
228
352
  internalServerException?: never;
229
353
  validationException: ValidationException;
230
354
  resourceNotFoundException?: never;
@@ -239,6 +363,7 @@ export declare namespace FlowResponseStream {
239
363
  interface ResourceNotFoundExceptionMember {
240
364
  flowOutputEvent?: never;
241
365
  flowCompletionEvent?: never;
366
+ flowTraceEvent?: never;
242
367
  internalServerException?: never;
243
368
  validationException?: never;
244
369
  resourceNotFoundException: ResourceNotFoundException;
@@ -253,6 +378,7 @@ export declare namespace FlowResponseStream {
253
378
  interface ServiceQuotaExceededExceptionMember {
254
379
  flowOutputEvent?: never;
255
380
  flowCompletionEvent?: never;
381
+ flowTraceEvent?: never;
256
382
  internalServerException?: never;
257
383
  validationException?: never;
258
384
  resourceNotFoundException?: never;
@@ -267,6 +393,7 @@ export declare namespace FlowResponseStream {
267
393
  interface ThrottlingExceptionMember {
268
394
  flowOutputEvent?: never;
269
395
  flowCompletionEvent?: never;
396
+ flowTraceEvent?: never;
270
397
  internalServerException?: never;
271
398
  validationException?: never;
272
399
  resourceNotFoundException?: never;
@@ -281,6 +408,7 @@ export declare namespace FlowResponseStream {
281
408
  interface AccessDeniedExceptionMember {
282
409
  flowOutputEvent?: never;
283
410
  flowCompletionEvent?: never;
411
+ flowTraceEvent?: never;
284
412
  internalServerException?: never;
285
413
  validationException?: never;
286
414
  resourceNotFoundException?: never;
@@ -295,6 +423,7 @@ export declare namespace FlowResponseStream {
295
423
  interface ConflictExceptionMember {
296
424
  flowOutputEvent?: never;
297
425
  flowCompletionEvent?: never;
426
+ flowTraceEvent?: never;
298
427
  internalServerException?: never;
299
428
  validationException?: never;
300
429
  resourceNotFoundException?: never;
@@ -309,6 +438,7 @@ export declare namespace FlowResponseStream {
309
438
  interface DependencyFailedExceptionMember {
310
439
  flowOutputEvent?: never;
311
440
  flowCompletionEvent?: never;
441
+ flowTraceEvent?: never;
312
442
  internalServerException?: never;
313
443
  validationException?: never;
314
444
  resourceNotFoundException?: never;
@@ -323,6 +453,7 @@ export declare namespace FlowResponseStream {
323
453
  interface BadGatewayExceptionMember {
324
454
  flowOutputEvent?: never;
325
455
  flowCompletionEvent?: never;
456
+ flowTraceEvent?: never;
326
457
  internalServerException?: never;
327
458
  validationException?: never;
328
459
  resourceNotFoundException?: never;
@@ -337,6 +468,7 @@ export declare namespace FlowResponseStream {
337
468
  interface $UnknownMember {
338
469
  flowOutputEvent?: never;
339
470
  flowCompletionEvent?: never;
471
+ flowTraceEvent?: never;
340
472
  internalServerException?: never;
341
473
  validationException?: never;
342
474
  resourceNotFoundException?: never;
@@ -351,6 +483,7 @@ export declare namespace FlowResponseStream {
351
483
  interface Visitor<T> {
352
484
  flowOutputEvent: (value: FlowOutputEvent) => T;
353
485
  flowCompletionEvent: (value: FlowCompletionEvent) => T;
486
+ flowTraceEvent: (value: FlowTraceEvent) => T;
354
487
  internalServerException: (value: InternalServerException) => T;
355
488
  validationException: (value: ValidationException) => T;
356
489
  resourceNotFoundException: (value: ResourceNotFoundException) => T;
@@ -382,8 +515,8 @@ export type FileSourceType =
382
515
  (typeof FileSourceType)[keyof typeof FileSourceType];
383
516
  export interface FileSource {
384
517
  sourceType: FileSourceType | undefined;
385
- s3Location?: S3ObjectFile;
386
- byteContent?: ByteContentFile;
518
+ s3Location?: S3ObjectFile | undefined;
519
+ byteContent?: ByteContentFile | undefined;
387
520
  }
388
521
  export declare const FileUseCase: {
389
522
  readonly CHAT: "CHAT";
@@ -411,7 +544,7 @@ export declare const ConfirmationState: {
411
544
  export type ConfirmationState =
412
545
  (typeof ConfirmationState)[keyof typeof ConfirmationState];
413
546
  export interface ContentBody {
414
- body?: string;
547
+ body?: string | undefined;
415
548
  }
416
549
  export declare const ResponseState: {
417
550
  readonly FAILURE: "FAILURE";
@@ -420,19 +553,19 @@ export declare const ResponseState: {
420
553
  export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
421
554
  export interface ApiResult {
422
555
  actionGroup: string | undefined;
423
- httpMethod?: string;
424
- apiPath?: string;
425
- confirmationState?: ConfirmationState;
426
- responseBody?: Record<string, ContentBody>;
427
- httpStatusCode?: number;
428
- responseState?: ResponseState;
556
+ httpMethod?: string | undefined;
557
+ apiPath?: string | undefined;
558
+ confirmationState?: ConfirmationState | undefined;
559
+ responseBody?: Record<string, ContentBody> | undefined;
560
+ httpStatusCode?: number | undefined;
561
+ responseState?: ResponseState | undefined;
429
562
  }
430
563
  export interface FunctionResult {
431
564
  actionGroup: string | undefined;
432
- confirmationState?: ConfirmationState;
433
- function?: string;
434
- responseBody?: Record<string, ContentBody>;
435
- responseState?: ResponseState;
565
+ confirmationState?: ConfirmationState | undefined;
566
+ function?: string | undefined;
567
+ responseBody?: Record<string, ContentBody> | undefined;
568
+ responseState?: ResponseState | undefined;
436
569
  }
437
570
  export type InvocationResultMember =
438
571
  | InvocationResultMember.ApiResultMember
@@ -462,30 +595,30 @@ export declare namespace InvocationResultMember {
462
595
  const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
463
596
  }
464
597
  export interface Span {
465
- start?: number;
466
- end?: number;
598
+ start?: number | undefined;
599
+ end?: number | undefined;
467
600
  }
468
601
  export interface TextResponsePart {
469
- text?: string;
470
- span?: Span;
602
+ text?: string | undefined;
603
+ span?: Span | undefined;
471
604
  }
472
605
  export interface GeneratedResponsePart {
473
- textResponsePart?: TextResponsePart;
606
+ textResponsePart?: TextResponsePart | undefined;
474
607
  }
475
608
  export interface RetrievalResultContent {
476
609
  text: string | undefined;
477
610
  }
478
611
  export interface RetrievalResultConfluenceLocation {
479
- url?: string;
612
+ url?: string | undefined;
480
613
  }
481
614
  export interface RetrievalResultS3Location {
482
- uri?: string;
615
+ uri?: string | undefined;
483
616
  }
484
617
  export interface RetrievalResultSalesforceLocation {
485
- url?: string;
618
+ url?: string | undefined;
486
619
  }
487
620
  export interface RetrievalResultSharePointLocation {
488
- url?: string;
621
+ url?: string | undefined;
489
622
  }
490
623
  export declare const RetrievalResultLocationType: {
491
624
  readonly CONFLUENCE: "CONFLUENCE";
@@ -497,69 +630,69 @@ export declare const RetrievalResultLocationType: {
497
630
  export type RetrievalResultLocationType =
498
631
  (typeof RetrievalResultLocationType)[keyof typeof RetrievalResultLocationType];
499
632
  export interface RetrievalResultWebLocation {
500
- url?: string;
633
+ url?: string | undefined;
501
634
  }
502
635
  export interface RetrievalResultLocation {
503
636
  type: RetrievalResultLocationType | undefined;
504
- s3Location?: RetrievalResultS3Location;
505
- webLocation?: RetrievalResultWebLocation;
506
- confluenceLocation?: RetrievalResultConfluenceLocation;
507
- salesforceLocation?: RetrievalResultSalesforceLocation;
508
- sharePointLocation?: RetrievalResultSharePointLocation;
637
+ s3Location?: RetrievalResultS3Location | undefined;
638
+ webLocation?: RetrievalResultWebLocation | undefined;
639
+ confluenceLocation?: RetrievalResultConfluenceLocation | undefined;
640
+ salesforceLocation?: RetrievalResultSalesforceLocation | undefined;
641
+ sharePointLocation?: RetrievalResultSharePointLocation | undefined;
509
642
  }
510
643
  export interface RetrievedReference {
511
- content?: RetrievalResultContent;
512
- location?: RetrievalResultLocation;
513
- metadata?: Record<string, __DocumentType>;
644
+ content?: RetrievalResultContent | undefined;
645
+ location?: RetrievalResultLocation | undefined;
646
+ metadata?: Record<string, __DocumentType> | undefined;
514
647
  }
515
648
  export interface Citation {
516
- generatedResponsePart?: GeneratedResponsePart;
517
- retrievedReferences?: RetrievedReference[];
649
+ generatedResponsePart?: GeneratedResponsePart | undefined;
650
+ retrievedReferences?: RetrievedReference[] | undefined;
518
651
  }
519
652
  export interface Attribution {
520
- citations?: Citation[];
653
+ citations?: Citation[] | undefined;
521
654
  }
522
655
  export interface PayloadPart {
523
- bytes?: Uint8Array;
524
- attribution?: Attribution;
656
+ bytes?: Uint8Array | undefined;
657
+ attribution?: Attribution | undefined;
525
658
  }
526
659
  export interface OutputFile {
527
- name?: string;
528
- type?: string;
529
- bytes?: Uint8Array;
660
+ name?: string | undefined;
661
+ type?: string | undefined;
662
+ bytes?: Uint8Array | undefined;
530
663
  }
531
664
  export interface FilePart {
532
- files?: OutputFile[];
665
+ files?: OutputFile[] | undefined;
533
666
  }
534
667
  export interface ApiParameter {
535
- name?: string;
536
- type?: string;
537
- value?: string;
668
+ name?: string | undefined;
669
+ type?: string | undefined;
670
+ value?: string | undefined;
538
671
  }
539
672
  export interface PropertyParameters {
540
- properties?: Parameter[];
673
+ properties?: Parameter[] | undefined;
541
674
  }
542
675
  export interface ApiRequestBody {
543
- content?: Record<string, PropertyParameters>;
676
+ content?: Record<string, PropertyParameters> | undefined;
544
677
  }
545
678
  export interface ApiInvocationInput {
546
679
  actionGroup: string | undefined;
547
- httpMethod?: string;
548
- apiPath?: string;
549
- parameters?: ApiParameter[];
550
- requestBody?: ApiRequestBody;
551
- actionInvocationType?: ActionInvocationType;
680
+ httpMethod?: string | undefined;
681
+ apiPath?: string | undefined;
682
+ parameters?: ApiParameter[] | undefined;
683
+ requestBody?: ApiRequestBody | undefined;
684
+ actionInvocationType?: ActionInvocationType | undefined;
552
685
  }
553
686
  export interface FunctionParameter {
554
- name?: string;
555
- type?: string;
556
- value?: string;
687
+ name?: string | undefined;
688
+ type?: string | undefined;
689
+ value?: string | undefined;
557
690
  }
558
691
  export interface FunctionInvocationInput {
559
692
  actionGroup: string | undefined;
560
- parameters?: FunctionParameter[];
561
- function?: string;
562
- actionInvocationType?: ActionInvocationType;
693
+ parameters?: FunctionParameter[] | undefined;
694
+ function?: string | undefined;
695
+ actionInvocationType?: ActionInvocationType | undefined;
563
696
  }
564
697
  export type InvocationInputMember =
565
698
  | InvocationInputMember.ApiInvocationInputMember
@@ -589,12 +722,12 @@ export declare namespace InvocationInputMember {
589
722
  const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
590
723
  }
591
724
  export interface ReturnControlPayload {
592
- invocationInputs?: InvocationInputMember[];
593
- invocationId?: string;
725
+ invocationInputs?: InvocationInputMember[] | undefined;
726
+ invocationId?: string | undefined;
594
727
  }
595
728
  export interface FailureTrace {
596
- traceId?: string;
597
- failureReason?: string;
729
+ traceId?: string | undefined;
730
+ failureReason?: string | undefined;
598
731
  }
599
732
  export declare const GuardrailAction: {
600
733
  readonly INTERVENED: "INTERVENED";
@@ -626,12 +759,12 @@ export declare const GuardrailContentFilterType: {
626
759
  export type GuardrailContentFilterType =
627
760
  (typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
628
761
  export interface GuardrailContentFilter {
629
- type?: GuardrailContentFilterType;
630
- confidence?: GuardrailContentFilterConfidence;
631
- action?: GuardrailContentPolicyAction;
762
+ type?: GuardrailContentFilterType | undefined;
763
+ confidence?: GuardrailContentFilterConfidence | undefined;
764
+ action?: GuardrailContentPolicyAction | undefined;
632
765
  }
633
766
  export interface GuardrailContentPolicyAssessment {
634
- filters?: GuardrailContentFilter[];
767
+ filters?: GuardrailContentFilter[] | undefined;
635
768
  }
636
769
  export declare const GuardrailSensitiveInformationPolicyAction: {
637
770
  readonly ANONYMIZED: "ANONYMIZED";
@@ -675,19 +808,19 @@ export declare const GuardrailPiiEntityType: {
675
808
  export type GuardrailPiiEntityType =
676
809
  (typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
677
810
  export interface GuardrailPiiEntityFilter {
678
- type?: GuardrailPiiEntityType;
679
- match?: string;
680
- action?: GuardrailSensitiveInformationPolicyAction;
811
+ type?: GuardrailPiiEntityType | undefined;
812
+ match?: string | undefined;
813
+ action?: GuardrailSensitiveInformationPolicyAction | undefined;
681
814
  }
682
815
  export interface GuardrailRegexFilter {
683
- name?: string;
684
- regex?: string;
685
- match?: string;
686
- action?: GuardrailSensitiveInformationPolicyAction;
816
+ name?: string | undefined;
817
+ regex?: string | undefined;
818
+ match?: string | undefined;
819
+ action?: GuardrailSensitiveInformationPolicyAction | undefined;
687
820
  }
688
821
  export interface GuardrailSensitiveInformationPolicyAssessment {
689
- piiEntities?: GuardrailPiiEntityFilter[];
690
- regexes?: GuardrailRegexFilter[];
822
+ piiEntities?: GuardrailPiiEntityFilter[] | undefined;
823
+ regexes?: GuardrailRegexFilter[] | undefined;
691
824
  }
692
825
  export declare const GuardrailTopicPolicyAction: {
693
826
  readonly BLOCKED: "BLOCKED";
@@ -700,12 +833,12 @@ export declare const GuardrailTopicType: {
700
833
  export type GuardrailTopicType =
701
834
  (typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
702
835
  export interface GuardrailTopic {
703
- name?: string;
704
- type?: GuardrailTopicType;
705
- action?: GuardrailTopicPolicyAction;
836
+ name?: string | undefined;
837
+ type?: GuardrailTopicType | undefined;
838
+ action?: GuardrailTopicPolicyAction | undefined;
706
839
  }
707
840
  export interface GuardrailTopicPolicyAssessment {
708
- topics?: GuardrailTopic[];
841
+ topics?: GuardrailTopic[] | undefined;
709
842
  }
710
843
  export declare const GuardrailWordPolicyAction: {
711
844
  readonly BLOCKED: "BLOCKED";
@@ -713,8 +846,8 @@ export declare const GuardrailWordPolicyAction: {
713
846
  export type GuardrailWordPolicyAction =
714
847
  (typeof GuardrailWordPolicyAction)[keyof typeof GuardrailWordPolicyAction];
715
848
  export interface GuardrailCustomWord {
716
- match?: string;
717
- action?: GuardrailWordPolicyAction;
849
+ match?: string | undefined;
850
+ action?: GuardrailWordPolicyAction | undefined;
718
851
  }
719
852
  export declare const GuardrailManagedWordType: {
720
853
  readonly PROFANITY: "PROFANITY";
@@ -722,29 +855,31 @@ export declare const GuardrailManagedWordType: {
722
855
  export type GuardrailManagedWordType =
723
856
  (typeof GuardrailManagedWordType)[keyof typeof GuardrailManagedWordType];
724
857
  export interface GuardrailManagedWord {
725
- match?: string;
726
- type?: GuardrailManagedWordType;
727
- action?: GuardrailWordPolicyAction;
858
+ match?: string | undefined;
859
+ type?: GuardrailManagedWordType | undefined;
860
+ action?: GuardrailWordPolicyAction | undefined;
728
861
  }
729
862
  export interface GuardrailWordPolicyAssessment {
730
- customWords?: GuardrailCustomWord[];
731
- managedWordLists?: GuardrailManagedWord[];
863
+ customWords?: GuardrailCustomWord[] | undefined;
864
+ managedWordLists?: GuardrailManagedWord[] | undefined;
732
865
  }
733
866
  export interface GuardrailAssessment {
734
- topicPolicy?: GuardrailTopicPolicyAssessment;
735
- contentPolicy?: GuardrailContentPolicyAssessment;
736
- wordPolicy?: GuardrailWordPolicyAssessment;
737
- sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicyAssessment;
867
+ topicPolicy?: GuardrailTopicPolicyAssessment | undefined;
868
+ contentPolicy?: GuardrailContentPolicyAssessment | undefined;
869
+ wordPolicy?: GuardrailWordPolicyAssessment | undefined;
870
+ sensitiveInformationPolicy?:
871
+ | GuardrailSensitiveInformationPolicyAssessment
872
+ | undefined;
738
873
  }
739
874
  export interface GuardrailTrace {
740
- action?: GuardrailAction;
741
- traceId?: string;
742
- inputAssessments?: GuardrailAssessment[];
743
- outputAssessments?: GuardrailAssessment[];
875
+ action?: GuardrailAction | undefined;
876
+ traceId?: string | undefined;
877
+ inputAssessments?: GuardrailAssessment[] | undefined;
878
+ outputAssessments?: GuardrailAssessment[] | undefined;
744
879
  }
745
880
  export interface CodeInterpreterInvocationInput {
746
- code?: string;
747
- files?: string[];
881
+ code?: string | undefined;
882
+ files?: string[] | undefined;
748
883
  }
749
884
  export declare const InvocationType: {
750
885
  readonly ACTION_GROUP: "ACTION_GROUP";
@@ -755,22 +890,22 @@ export declare const InvocationType: {
755
890
  export type InvocationType =
756
891
  (typeof InvocationType)[keyof typeof InvocationType];
757
892
  export interface KnowledgeBaseLookupInput {
758
- text?: string;
759
- knowledgeBaseId?: string;
893
+ text?: string | undefined;
894
+ knowledgeBaseId?: string | undefined;
760
895
  }
761
896
  export interface InvocationInput {
762
- traceId?: string;
763
- invocationType?: InvocationType;
764
- actionGroupInvocationInput?: ActionGroupInvocationInput;
765
- knowledgeBaseLookupInput?: KnowledgeBaseLookupInput;
766
- codeInterpreterInvocationInput?: CodeInterpreterInvocationInput;
897
+ traceId?: string | undefined;
898
+ invocationType?: InvocationType | undefined;
899
+ actionGroupInvocationInput?: ActionGroupInvocationInput | undefined;
900
+ knowledgeBaseLookupInput?: KnowledgeBaseLookupInput | undefined;
901
+ codeInterpreterInvocationInput?: CodeInterpreterInvocationInput | undefined;
767
902
  }
768
903
  export interface InferenceConfiguration {
769
- temperature?: number;
770
- topP?: number;
771
- topK?: number;
772
- maximumLength?: number;
773
- stopSequences?: string[];
904
+ temperature?: number | undefined;
905
+ topP?: number | undefined;
906
+ topK?: number | undefined;
907
+ maximumLength?: number | undefined;
908
+ stopSequences?: string[] | undefined;
774
909
  }
775
910
  export declare const CreationMode: {
776
911
  readonly DEFAULT: "DEFAULT";
@@ -785,40 +920,40 @@ export declare const PromptType: {
785
920
  };
786
921
  export type PromptType = (typeof PromptType)[keyof typeof PromptType];
787
922
  export interface ModelInvocationInput {
788
- traceId?: string;
789
- text?: string;
790
- type?: PromptType;
791
- inferenceConfiguration?: InferenceConfiguration;
792
- overrideLambda?: string;
793
- promptCreationMode?: CreationMode;
794
- parserMode?: CreationMode;
923
+ traceId?: string | undefined;
924
+ text?: string | undefined;
925
+ type?: PromptType | undefined;
926
+ overrideLambda?: string | undefined;
927
+ promptCreationMode?: CreationMode | undefined;
928
+ inferenceConfiguration?: InferenceConfiguration | undefined;
929
+ parserMode?: CreationMode | undefined;
795
930
  }
796
931
  export interface Usage {
797
- inputTokens?: number;
798
- outputTokens?: number;
932
+ inputTokens?: number | undefined;
933
+ outputTokens?: number | undefined;
799
934
  }
800
935
  export interface Metadata {
801
- usage?: Usage;
936
+ usage?: Usage | undefined;
802
937
  }
803
938
  export interface RawResponse {
804
- content?: string;
939
+ content?: string | undefined;
805
940
  }
806
941
  export interface OrchestrationModelInvocationOutput {
807
- traceId?: string;
808
- rawResponse?: RawResponse;
809
- metadata?: Metadata;
942
+ traceId?: string | undefined;
943
+ rawResponse?: RawResponse | undefined;
944
+ metadata?: Metadata | undefined;
810
945
  }
811
946
  export interface CodeInterpreterInvocationOutput {
812
- executionOutput?: string;
813
- executionError?: string;
814
- files?: string[];
815
- executionTimeout?: boolean;
947
+ executionOutput?: string | undefined;
948
+ executionError?: string | undefined;
949
+ files?: string[] | undefined;
950
+ executionTimeout?: boolean | undefined;
816
951
  }
817
952
  export interface FinalResponse {
818
- text?: string;
953
+ text?: string | undefined;
819
954
  }
820
955
  export interface KnowledgeBaseLookupOutput {
821
- retrievedReferences?: RetrievedReference[];
956
+ retrievedReferences?: RetrievedReference[] | undefined;
822
957
  }
823
958
  export declare const Source: {
824
959
  readonly ACTION_GROUP: "ACTION_GROUP";
@@ -827,8 +962,8 @@ export declare const Source: {
827
962
  };
828
963
  export type Source = (typeof Source)[keyof typeof Source];
829
964
  export interface RepromptResponse {
830
- text?: string;
831
- source?: Source;
965
+ text?: string | undefined;
966
+ source?: Source | undefined;
832
967
  }
833
968
  export declare const Type: {
834
969
  readonly ACTION_GROUP: "ACTION_GROUP";
@@ -839,17 +974,17 @@ export declare const Type: {
839
974
  };
840
975
  export type Type = (typeof Type)[keyof typeof Type];
841
976
  export interface Observation {
842
- traceId?: string;
843
- type?: Type;
844
- actionGroupInvocationOutput?: ActionGroupInvocationOutput;
845
- knowledgeBaseLookupOutput?: KnowledgeBaseLookupOutput;
846
- finalResponse?: FinalResponse;
847
- repromptResponse?: RepromptResponse;
848
- codeInterpreterInvocationOutput?: CodeInterpreterInvocationOutput;
977
+ traceId?: string | undefined;
978
+ type?: Type | undefined;
979
+ actionGroupInvocationOutput?: ActionGroupInvocationOutput | undefined;
980
+ knowledgeBaseLookupOutput?: KnowledgeBaseLookupOutput | undefined;
981
+ finalResponse?: FinalResponse | undefined;
982
+ repromptResponse?: RepromptResponse | undefined;
983
+ codeInterpreterInvocationOutput?: CodeInterpreterInvocationOutput | undefined;
849
984
  }
850
985
  export interface Rationale {
851
- traceId?: string;
852
- text?: string;
986
+ traceId?: string | undefined;
987
+ text?: string | undefined;
853
988
  }
854
989
  export type OrchestrationTrace =
855
990
  | OrchestrationTrace.InvocationInputMember
@@ -918,13 +1053,13 @@ export declare namespace OrchestrationTrace {
918
1053
  const visit: <T>(value: OrchestrationTrace, visitor: Visitor<T>) => T;
919
1054
  }
920
1055
  export interface PostProcessingParsedResponse {
921
- text?: string;
1056
+ text?: string | undefined;
922
1057
  }
923
1058
  export interface PostProcessingModelInvocationOutput {
924
- traceId?: string;
925
- parsedResponse?: PostProcessingParsedResponse;
926
- rawResponse?: RawResponse;
927
- metadata?: Metadata;
1059
+ traceId?: string | undefined;
1060
+ parsedResponse?: PostProcessingParsedResponse | undefined;
1061
+ rawResponse?: RawResponse | undefined;
1062
+ metadata?: Metadata | undefined;
928
1063
  }
929
1064
  export type PostProcessingTrace =
930
1065
  | PostProcessingTrace.ModelInvocationInputMember
@@ -954,14 +1089,14 @@ export declare namespace PostProcessingTrace {
954
1089
  const visit: <T>(value: PostProcessingTrace, visitor: Visitor<T>) => T;
955
1090
  }
956
1091
  export interface PreProcessingParsedResponse {
957
- rationale?: string;
958
- isValid?: boolean;
1092
+ rationale?: string | undefined;
1093
+ isValid?: boolean | undefined;
959
1094
  }
960
1095
  export interface PreProcessingModelInvocationOutput {
961
- traceId?: string;
962
- parsedResponse?: PreProcessingParsedResponse;
963
- rawResponse?: RawResponse;
964
- metadata?: Metadata;
1096
+ traceId?: string | undefined;
1097
+ parsedResponse?: PreProcessingParsedResponse | undefined;
1098
+ rawResponse?: RawResponse | undefined;
1099
+ metadata?: Metadata | undefined;
965
1100
  }
966
1101
  export type PreProcessingTrace =
967
1102
  | PreProcessingTrace.ModelInvocationInputMember
@@ -1057,11 +1192,11 @@ export declare namespace Trace {
1057
1192
  const visit: <T>(value: Trace, visitor: Visitor<T>) => T;
1058
1193
  }
1059
1194
  export interface TracePart {
1060
- agentId?: string;
1061
- agentAliasId?: string;
1062
- sessionId?: string;
1063
- agentVersion?: string;
1064
- trace?: Trace;
1195
+ agentId?: string | undefined;
1196
+ agentAliasId?: string | undefined;
1197
+ sessionId?: string | undefined;
1198
+ agentVersion?: string | undefined;
1199
+ trace?: Trace | undefined;
1065
1200
  }
1066
1201
  export type ResponseStream =
1067
1202
  | ResponseStream.AccessDeniedExceptionMember
@@ -1325,12 +1460,12 @@ export interface InvokeAgentResponse {
1325
1460
  completion: AsyncIterable<ResponseStream> | undefined;
1326
1461
  contentType: string | undefined;
1327
1462
  sessionId: string | undefined;
1328
- memoryId?: string;
1463
+ memoryId?: string | undefined;
1329
1464
  }
1330
1465
  export interface DeleteAgentMemoryRequest {
1331
1466
  agentId: string | undefined;
1332
1467
  agentAliasId: string | undefined;
1333
- memoryId?: string;
1468
+ memoryId?: string | undefined;
1334
1469
  }
1335
1470
  export interface DeleteAgentMemoryResponse {}
1336
1471
  export declare const MemoryType: {
@@ -1338,19 +1473,19 @@ export declare const MemoryType: {
1338
1473
  };
1339
1474
  export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
1340
1475
  export interface GetAgentMemoryRequest {
1341
- nextToken?: string;
1342
- maxItems?: number;
1476
+ nextToken?: string | undefined;
1477
+ maxItems?: number | undefined;
1343
1478
  agentId: string | undefined;
1344
1479
  agentAliasId: string | undefined;
1345
1480
  memoryType: MemoryType | undefined;
1346
1481
  memoryId: string | undefined;
1347
1482
  }
1348
1483
  export interface MemorySessionSummary {
1349
- memoryId?: string;
1350
- sessionId?: string;
1351
- sessionStartTime?: Date;
1352
- sessionExpiryTime?: Date;
1353
- summaryText?: string;
1484
+ memoryId?: string | undefined;
1485
+ sessionId?: string | undefined;
1486
+ sessionStartTime?: Date | undefined;
1487
+ sessionExpiryTime?: Date | undefined;
1488
+ summaryText?: string | undefined;
1354
1489
  }
1355
1490
  export type Memory = Memory.SessionSummaryMember | Memory.$UnknownMember;
1356
1491
  export declare namespace Memory {
@@ -1369,8 +1504,8 @@ export declare namespace Memory {
1369
1504
  const visit: <T>(value: Memory, visitor: Visitor<T>) => T;
1370
1505
  }
1371
1506
  export interface GetAgentMemoryResponse {
1372
- nextToken?: string;
1373
- memoryContents?: Memory[];
1507
+ nextToken?: string | undefined;
1508
+ memoryContents?: Memory[] | undefined;
1374
1509
  }
1375
1510
  export interface RetrieveAndGenerateInput {
1376
1511
  text: string | undefined;
@@ -1380,22 +1515,22 @@ export interface GuardrailConfiguration {
1380
1515
  guardrailVersion: string | undefined;
1381
1516
  }
1382
1517
  export interface TextInferenceConfig {
1383
- temperature?: number;
1384
- topP?: number;
1385
- maxTokens?: number;
1386
- stopSequences?: string[];
1518
+ temperature?: number | undefined;
1519
+ topP?: number | undefined;
1520
+ maxTokens?: number | undefined;
1521
+ stopSequences?: string[] | undefined;
1387
1522
  }
1388
1523
  export interface InferenceConfig {
1389
- textInferenceConfig?: TextInferenceConfig;
1524
+ textInferenceConfig?: TextInferenceConfig | undefined;
1390
1525
  }
1391
1526
  export interface PromptTemplate {
1392
- textPromptTemplate?: string;
1527
+ textPromptTemplate?: string | undefined;
1393
1528
  }
1394
1529
  export interface ExternalSourcesGenerationConfiguration {
1395
- promptTemplate?: PromptTemplate;
1396
- guardrailConfiguration?: GuardrailConfiguration;
1397
- inferenceConfig?: InferenceConfig;
1398
- additionalModelRequestFields?: Record<string, __DocumentType>;
1530
+ promptTemplate?: PromptTemplate | undefined;
1531
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
1532
+ inferenceConfig?: InferenceConfig | undefined;
1533
+ additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
1399
1534
  }
1400
1535
  export interface ByteContentDoc {
1401
1536
  identifier: string | undefined;
@@ -1413,19 +1548,19 @@ export type ExternalSourceType =
1413
1548
  (typeof ExternalSourceType)[keyof typeof ExternalSourceType];
1414
1549
  export interface ExternalSource {
1415
1550
  sourceType: ExternalSourceType | undefined;
1416
- s3Location?: S3ObjectDoc;
1417
- byteContent?: ByteContentDoc;
1551
+ s3Location?: S3ObjectDoc | undefined;
1552
+ byteContent?: ByteContentDoc | undefined;
1418
1553
  }
1419
1554
  export interface ExternalSourcesRetrieveAndGenerateConfiguration {
1420
1555
  modelArn: string | undefined;
1421
1556
  sources: ExternalSource[] | undefined;
1422
- generationConfiguration?: ExternalSourcesGenerationConfiguration;
1557
+ generationConfiguration?: ExternalSourcesGenerationConfiguration | undefined;
1423
1558
  }
1424
1559
  export interface GenerationConfiguration {
1425
- promptTemplate?: PromptTemplate;
1426
- guardrailConfiguration?: GuardrailConfiguration;
1427
- inferenceConfig?: InferenceConfig;
1428
- additionalModelRequestFields?: Record<string, __DocumentType>;
1560
+ promptTemplate?: PromptTemplate | undefined;
1561
+ guardrailConfiguration?: GuardrailConfiguration | undefined;
1562
+ inferenceConfig?: InferenceConfig | undefined;
1563
+ additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
1429
1564
  }
1430
1565
  export declare const QueryTransformationType: {
1431
1566
  readonly QUERY_DECOMPOSITION: "QUERY_DECOMPOSITION";
@@ -1436,10 +1571,12 @@ export interface QueryTransformationConfiguration {
1436
1571
  type: QueryTransformationType | undefined;
1437
1572
  }
1438
1573
  export interface OrchestrationConfiguration {
1439
- promptTemplate?: PromptTemplate;
1440
- inferenceConfig?: InferenceConfig;
1441
- additionalModelRequestFields?: Record<string, __DocumentType>;
1442
- queryTransformationConfiguration?: QueryTransformationConfiguration;
1574
+ promptTemplate?: PromptTemplate | undefined;
1575
+ inferenceConfig?: InferenceConfig | undefined;
1576
+ additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
1577
+ queryTransformationConfiguration?:
1578
+ | QueryTransformationConfiguration
1579
+ | undefined;
1443
1580
  }
1444
1581
  export declare const RetrieveAndGenerateType: {
1445
1582
  readonly EXTERNAL_SOURCES: "EXTERNAL_SOURCES";
@@ -1462,21 +1599,21 @@ export interface RetrieveAndGenerateOutput {
1462
1599
  export interface RetrieveAndGenerateResponse {
1463
1600
  sessionId: string | undefined;
1464
1601
  output: RetrieveAndGenerateOutput | undefined;
1465
- citations?: Citation[];
1466
- guardrailAction?: GuadrailAction;
1602
+ citations?: Citation[] | undefined;
1603
+ guardrailAction?: GuadrailAction | undefined;
1467
1604
  }
1468
1605
  export interface KnowledgeBaseQuery {
1469
1606
  text: string | undefined;
1470
1607
  }
1471
1608
  export interface KnowledgeBaseRetrievalResult {
1472
1609
  content: RetrievalResultContent | undefined;
1473
- location?: RetrievalResultLocation;
1474
- score?: number;
1475
- metadata?: Record<string, __DocumentType>;
1610
+ location?: RetrievalResultLocation | undefined;
1611
+ score?: number | undefined;
1612
+ metadata?: Record<string, __DocumentType> | undefined;
1476
1613
  }
1477
1614
  export interface RetrieveResponse {
1478
1615
  retrievalResults: KnowledgeBaseRetrievalResult[] | undefined;
1479
- nextToken?: string;
1616
+ nextToken?: string | undefined;
1480
1617
  }
1481
1618
  export type RetrievalFilter =
1482
1619
  | RetrievalFilter.AndAllMember
@@ -1737,9 +1874,9 @@ export declare namespace RetrievalFilter {
1737
1874
  const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
1738
1875
  }
1739
1876
  export interface KnowledgeBaseVectorSearchConfiguration {
1740
- numberOfResults?: number;
1741
- overrideSearchType?: SearchType;
1742
- filter?: RetrievalFilter;
1877
+ numberOfResults?: number | undefined;
1878
+ overrideSearchType?: SearchType | undefined;
1879
+ filter?: RetrievalFilter | undefined;
1743
1880
  }
1744
1881
  export interface KnowledgeBaseRetrievalConfiguration {
1745
1882
  vectorSearchConfiguration: KnowledgeBaseVectorSearchConfiguration | undefined;
@@ -1751,44 +1888,50 @@ export interface KnowledgeBaseConfiguration {
1751
1888
  export interface KnowledgeBaseRetrieveAndGenerateConfiguration {
1752
1889
  knowledgeBaseId: string | undefined;
1753
1890
  modelArn: string | undefined;
1754
- retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration;
1755
- generationConfiguration?: GenerationConfiguration;
1756
- orchestrationConfiguration?: OrchestrationConfiguration;
1891
+ retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
1892
+ generationConfiguration?: GenerationConfiguration | undefined;
1893
+ orchestrationConfiguration?: OrchestrationConfiguration | undefined;
1757
1894
  }
1758
1895
  export interface RetrieveRequest {
1759
1896
  knowledgeBaseId: string | undefined;
1760
1897
  retrievalQuery: KnowledgeBaseQuery | undefined;
1761
- retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration;
1762
- nextToken?: string;
1898
+ retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
1899
+ nextToken?: string | undefined;
1763
1900
  }
1764
1901
  export interface RetrieveAndGenerateConfiguration {
1765
1902
  type: RetrieveAndGenerateType | undefined;
1766
- knowledgeBaseConfiguration?: KnowledgeBaseRetrieveAndGenerateConfiguration;
1767
- externalSourcesConfiguration?: ExternalSourcesRetrieveAndGenerateConfiguration;
1903
+ knowledgeBaseConfiguration?:
1904
+ | KnowledgeBaseRetrieveAndGenerateConfiguration
1905
+ | undefined;
1906
+ externalSourcesConfiguration?:
1907
+ | ExternalSourcesRetrieveAndGenerateConfiguration
1908
+ | undefined;
1768
1909
  }
1769
1910
  export interface RetrieveAndGenerateRequest {
1770
- sessionId?: string;
1911
+ sessionId?: string | undefined;
1771
1912
  input: RetrieveAndGenerateInput | undefined;
1772
- retrieveAndGenerateConfiguration?: RetrieveAndGenerateConfiguration;
1773
- sessionConfiguration?: RetrieveAndGenerateSessionConfiguration;
1913
+ retrieveAndGenerateConfiguration?:
1914
+ | RetrieveAndGenerateConfiguration
1915
+ | undefined;
1916
+ sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
1774
1917
  }
1775
1918
  export interface SessionState {
1776
- sessionAttributes?: Record<string, string>;
1777
- promptSessionAttributes?: Record<string, string>;
1778
- returnControlInvocationResults?: InvocationResultMember[];
1779
- invocationId?: string;
1780
- files?: InputFile[];
1781
- knowledgeBaseConfigurations?: KnowledgeBaseConfiguration[];
1919
+ sessionAttributes?: Record<string, string> | undefined;
1920
+ promptSessionAttributes?: Record<string, string> | undefined;
1921
+ returnControlInvocationResults?: InvocationResultMember[] | undefined;
1922
+ invocationId?: string | undefined;
1923
+ files?: InputFile[] | undefined;
1924
+ knowledgeBaseConfigurations?: KnowledgeBaseConfiguration[] | undefined;
1782
1925
  }
1783
1926
  export interface InvokeAgentRequest {
1784
- sessionState?: SessionState;
1927
+ sessionState?: SessionState | undefined;
1785
1928
  agentId: string | undefined;
1786
1929
  agentAliasId: string | undefined;
1787
1930
  sessionId: string | undefined;
1788
- endSession?: boolean;
1789
- enableTrace?: boolean;
1790
- inputText?: string;
1791
- memoryId?: string;
1931
+ endSession?: boolean | undefined;
1932
+ enableTrace?: boolean | undefined;
1933
+ inputText?: string | undefined;
1934
+ memoryId?: string | undefined;
1792
1935
  }
1793
1936
  export declare const ActionGroupInvocationInputFilterSensitiveLog: (
1794
1937
  obj: ActionGroupInvocationInput
@@ -1809,6 +1952,31 @@ export declare const FlowCompletionEventFilterSensitiveLog: (
1809
1952
  export declare const FlowOutputEventFilterSensitiveLog: (
1810
1953
  obj: FlowOutputEvent
1811
1954
  ) => any;
1955
+ export declare const FlowTraceConditionFilterSensitiveLog: (
1956
+ obj: FlowTraceCondition
1957
+ ) => any;
1958
+ export declare const FlowTraceConditionNodeResultEventFilterSensitiveLog: (
1959
+ obj: FlowTraceConditionNodeResultEvent
1960
+ ) => any;
1961
+ export declare const FlowTraceNodeInputContentFilterSensitiveLog: (
1962
+ obj: FlowTraceNodeInputContent
1963
+ ) => any;
1964
+ export declare const FlowTraceNodeInputFieldFilterSensitiveLog: (
1965
+ obj: FlowTraceNodeInputField
1966
+ ) => any;
1967
+ export declare const FlowTraceNodeInputEventFilterSensitiveLog: (
1968
+ obj: FlowTraceNodeInputEvent
1969
+ ) => any;
1970
+ export declare const FlowTraceNodeOutputFieldFilterSensitiveLog: (
1971
+ obj: FlowTraceNodeOutputField
1972
+ ) => any;
1973
+ export declare const FlowTraceNodeOutputEventFilterSensitiveLog: (
1974
+ obj: FlowTraceNodeOutputEvent
1975
+ ) => any;
1976
+ export declare const FlowTraceFilterSensitiveLog: (obj: FlowTrace) => any;
1977
+ export declare const FlowTraceEventFilterSensitiveLog: (
1978
+ obj: FlowTraceEvent
1979
+ ) => any;
1812
1980
  export declare const FlowResponseStreamFilterSensitiveLog: (
1813
1981
  obj: FlowResponseStream
1814
1982
  ) => any;