@aws-sdk/client-bedrock-agent-runtime 3.812.0 → 3.815.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/README.md +48 -0
- package/dist-cjs/index.js +829 -176
- package/dist-es/BedrockAgentRuntime.js +12 -0
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +22 -0
- package/dist-es/commands/GetFlowExecutionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +1 -1
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +23 -0
- package/dist-es/commands/ListFlowExecutionsCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +1 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +1 -2
- package/dist-es/commands/RetrieveCommand.js +1 -2
- package/dist-es/commands/StartFlowExecutionCommand.js +23 -0
- package/dist-es/commands/StopFlowExecutionCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +202 -196
- package/dist-es/models/models_1.js +141 -1
- package/dist-es/pagination/ListFlowExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowExecutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +370 -2
- package/dist-types/BedrockAgentRuntime.d.ts +42 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +8 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +94 -0
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +102 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +164 -0
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +116 -0
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +3521 -3592
- package/dist-types/models/models_1.d.ts +972 -1
- package/dist-types/pagination/ListFlowExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +102 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +393 -507
- package/dist-types/ts3.4/models/models_1.d.ts +490 -2
- package/dist-types/ts3.4/pagination/ListFlowExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -370,6 +370,325 @@ export interface AgentCollaboratorInvocationOutput {
|
|
|
370
370
|
output?: AgentCollaboratorOutputPayload | undefined;
|
|
371
371
|
metadata?: Metadata | undefined;
|
|
372
372
|
}
|
|
373
|
+
export interface GetExecutionFlowSnapshotRequest {
|
|
374
|
+
flowIdentifier: string | undefined;
|
|
375
|
+
flowAliasIdentifier: string | undefined;
|
|
376
|
+
executionIdentifier: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface GetExecutionFlowSnapshotResponse {
|
|
379
|
+
flowIdentifier: string | undefined;
|
|
380
|
+
flowAliasIdentifier: string | undefined;
|
|
381
|
+
flowVersion: string | undefined;
|
|
382
|
+
executionRoleArn: string | undefined;
|
|
383
|
+
definition: string | undefined;
|
|
384
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
385
|
+
}
|
|
386
|
+
export declare class InternalServerException extends __BaseException {
|
|
387
|
+
readonly name: "InternalServerException";
|
|
388
|
+
readonly $fault: "server";
|
|
389
|
+
reason?: string | undefined;
|
|
390
|
+
constructor(
|
|
391
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
395
|
+
readonly name: "ResourceNotFoundException";
|
|
396
|
+
readonly $fault: "client";
|
|
397
|
+
constructor(
|
|
398
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
export declare class ThrottlingException extends __BaseException {
|
|
402
|
+
readonly name: "ThrottlingException";
|
|
403
|
+
readonly $fault: "client";
|
|
404
|
+
constructor(
|
|
405
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
export declare class ValidationException extends __BaseException {
|
|
409
|
+
readonly name: "ValidationException";
|
|
410
|
+
readonly $fault: "client";
|
|
411
|
+
constructor(
|
|
412
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
export interface GetFlowExecutionRequest {
|
|
416
|
+
flowIdentifier: string | undefined;
|
|
417
|
+
flowAliasIdentifier: string | undefined;
|
|
418
|
+
executionIdentifier: string | undefined;
|
|
419
|
+
}
|
|
420
|
+
export declare const FlowExecutionErrorType: {
|
|
421
|
+
readonly TIMED_OUT: "ExecutionTimedOut";
|
|
422
|
+
};
|
|
423
|
+
export type FlowExecutionErrorType =
|
|
424
|
+
(typeof FlowExecutionErrorType)[keyof typeof FlowExecutionErrorType];
|
|
425
|
+
export interface FlowExecutionError {
|
|
426
|
+
nodeName?: string | undefined;
|
|
427
|
+
error?: FlowExecutionErrorType | undefined;
|
|
428
|
+
message?: string | undefined;
|
|
429
|
+
}
|
|
430
|
+
export declare const FlowExecutionStatus: {
|
|
431
|
+
readonly ABORTED: "Aborted";
|
|
432
|
+
readonly FAILED: "Failed";
|
|
433
|
+
readonly RUNNING: "Running";
|
|
434
|
+
readonly SUCCEEDED: "Succeeded";
|
|
435
|
+
readonly TIMED_OUT: "TimedOut";
|
|
436
|
+
};
|
|
437
|
+
export type FlowExecutionStatus =
|
|
438
|
+
(typeof FlowExecutionStatus)[keyof typeof FlowExecutionStatus];
|
|
439
|
+
export interface GetFlowExecutionResponse {
|
|
440
|
+
executionArn: string | undefined;
|
|
441
|
+
status: FlowExecutionStatus | undefined;
|
|
442
|
+
startedAt: Date | undefined;
|
|
443
|
+
endedAt?: Date | undefined;
|
|
444
|
+
errors?: FlowExecutionError[] | undefined;
|
|
445
|
+
flowAliasIdentifier: string | undefined;
|
|
446
|
+
flowIdentifier: string | undefined;
|
|
447
|
+
flowVersion: string | undefined;
|
|
448
|
+
}
|
|
449
|
+
export declare const FlowExecutionEventType: {
|
|
450
|
+
readonly FLOW: "Flow";
|
|
451
|
+
readonly NODE: "Node";
|
|
452
|
+
};
|
|
453
|
+
export type FlowExecutionEventType =
|
|
454
|
+
(typeof FlowExecutionEventType)[keyof typeof FlowExecutionEventType];
|
|
455
|
+
export interface ListFlowExecutionEventsRequest {
|
|
456
|
+
flowIdentifier: string | undefined;
|
|
457
|
+
flowAliasIdentifier: string | undefined;
|
|
458
|
+
executionIdentifier: string | undefined;
|
|
459
|
+
maxResults?: number | undefined;
|
|
460
|
+
nextToken?: string | undefined;
|
|
461
|
+
eventType: FlowExecutionEventType | undefined;
|
|
462
|
+
}
|
|
463
|
+
export interface SatisfiedCondition {
|
|
464
|
+
conditionName: string | undefined;
|
|
465
|
+
}
|
|
466
|
+
export interface ConditionResultEvent {
|
|
467
|
+
nodeName: string | undefined;
|
|
468
|
+
timestamp: Date | undefined;
|
|
469
|
+
satisfiedConditions: SatisfiedCondition[] | undefined;
|
|
470
|
+
}
|
|
471
|
+
export declare const FlowErrorCode: {
|
|
472
|
+
readonly INTERNAL_SERVER: "INTERNAL_SERVER";
|
|
473
|
+
readonly NODE_EXECUTION_FAILED: "NODE_EXECUTION_FAILED";
|
|
474
|
+
readonly VALIDATION: "VALIDATION";
|
|
475
|
+
};
|
|
476
|
+
export type FlowErrorCode = (typeof FlowErrorCode)[keyof typeof FlowErrorCode];
|
|
477
|
+
export interface FlowFailureEvent {
|
|
478
|
+
timestamp: Date | undefined;
|
|
479
|
+
errorCode: FlowErrorCode | undefined;
|
|
480
|
+
errorMessage: string | undefined;
|
|
481
|
+
}
|
|
482
|
+
export type FlowExecutionContent =
|
|
483
|
+
| FlowExecutionContent.DocumentMember
|
|
484
|
+
| FlowExecutionContent.$UnknownMember;
|
|
485
|
+
export declare namespace FlowExecutionContent {
|
|
486
|
+
interface DocumentMember {
|
|
487
|
+
document: __DocumentType;
|
|
488
|
+
$unknown?: never;
|
|
489
|
+
}
|
|
490
|
+
interface $UnknownMember {
|
|
491
|
+
document?: never;
|
|
492
|
+
$unknown: [string, any];
|
|
493
|
+
}
|
|
494
|
+
interface Visitor<T> {
|
|
495
|
+
document: (value: __DocumentType) => T;
|
|
496
|
+
_: (name: string, value: any) => T;
|
|
497
|
+
}
|
|
498
|
+
const visit: <T>(value: FlowExecutionContent, visitor: Visitor<T>) => T;
|
|
499
|
+
}
|
|
500
|
+
export interface FlowInputField {
|
|
501
|
+
name: string | undefined;
|
|
502
|
+
content: FlowExecutionContent | undefined;
|
|
503
|
+
}
|
|
504
|
+
export interface FlowExecutionInputEvent {
|
|
505
|
+
nodeName: string | undefined;
|
|
506
|
+
timestamp: Date | undefined;
|
|
507
|
+
fields: FlowInputField[] | undefined;
|
|
508
|
+
}
|
|
509
|
+
export interface FlowOutputField {
|
|
510
|
+
name: string | undefined;
|
|
511
|
+
content: FlowExecutionContent | undefined;
|
|
512
|
+
}
|
|
513
|
+
export interface FlowExecutionOutputEvent {
|
|
514
|
+
nodeName: string | undefined;
|
|
515
|
+
timestamp: Date | undefined;
|
|
516
|
+
fields: FlowOutputField[] | undefined;
|
|
517
|
+
}
|
|
518
|
+
export declare const NodeErrorCode: {
|
|
519
|
+
readonly BAD_GATEWAY: "BAD_GATEWAY";
|
|
520
|
+
readonly DEPENDENCY_FAILED: "DEPENDENCY_FAILED";
|
|
521
|
+
readonly INTERNAL_SERVER: "INTERNAL_SERVER";
|
|
522
|
+
readonly VALIDATION: "VALIDATION";
|
|
523
|
+
};
|
|
524
|
+
export type NodeErrorCode = (typeof NodeErrorCode)[keyof typeof NodeErrorCode];
|
|
525
|
+
export interface NodeFailureEvent {
|
|
526
|
+
nodeName: string | undefined;
|
|
527
|
+
timestamp: Date | undefined;
|
|
528
|
+
errorCode: NodeErrorCode | undefined;
|
|
529
|
+
errorMessage: string | undefined;
|
|
530
|
+
}
|
|
531
|
+
export type NodeExecutionContent =
|
|
532
|
+
| NodeExecutionContent.DocumentMember
|
|
533
|
+
| NodeExecutionContent.$UnknownMember;
|
|
534
|
+
export declare namespace NodeExecutionContent {
|
|
535
|
+
interface DocumentMember {
|
|
536
|
+
document: __DocumentType;
|
|
537
|
+
$unknown?: never;
|
|
538
|
+
}
|
|
539
|
+
interface $UnknownMember {
|
|
540
|
+
document?: never;
|
|
541
|
+
$unknown: [string, any];
|
|
542
|
+
}
|
|
543
|
+
interface Visitor<T> {
|
|
544
|
+
document: (value: __DocumentType) => T;
|
|
545
|
+
_: (name: string, value: any) => T;
|
|
546
|
+
}
|
|
547
|
+
const visit: <T>(value: NodeExecutionContent, visitor: Visitor<T>) => T;
|
|
548
|
+
}
|
|
549
|
+
export interface NodeInputField {
|
|
550
|
+
name: string | undefined;
|
|
551
|
+
content: NodeExecutionContent | undefined;
|
|
552
|
+
}
|
|
553
|
+
export interface NodeInputEvent {
|
|
554
|
+
nodeName: string | undefined;
|
|
555
|
+
timestamp: Date | undefined;
|
|
556
|
+
fields: NodeInputField[] | undefined;
|
|
557
|
+
}
|
|
558
|
+
export interface NodeOutputField {
|
|
559
|
+
name: string | undefined;
|
|
560
|
+
content: NodeExecutionContent | undefined;
|
|
561
|
+
}
|
|
562
|
+
export interface NodeOutputEvent {
|
|
563
|
+
nodeName: string | undefined;
|
|
564
|
+
timestamp: Date | undefined;
|
|
565
|
+
fields: NodeOutputField[] | undefined;
|
|
566
|
+
}
|
|
567
|
+
export type FlowExecutionEvent =
|
|
568
|
+
| FlowExecutionEvent.ConditionResultEventMember
|
|
569
|
+
| FlowExecutionEvent.FlowFailureEventMember
|
|
570
|
+
| FlowExecutionEvent.FlowInputEventMember
|
|
571
|
+
| FlowExecutionEvent.FlowOutputEventMember
|
|
572
|
+
| FlowExecutionEvent.NodeFailureEventMember
|
|
573
|
+
| FlowExecutionEvent.NodeInputEventMember
|
|
574
|
+
| FlowExecutionEvent.NodeOutputEventMember
|
|
575
|
+
| FlowExecutionEvent.$UnknownMember;
|
|
576
|
+
export declare namespace FlowExecutionEvent {
|
|
577
|
+
interface FlowInputEventMember {
|
|
578
|
+
flowInputEvent: FlowExecutionInputEvent;
|
|
579
|
+
flowOutputEvent?: never;
|
|
580
|
+
nodeInputEvent?: never;
|
|
581
|
+
nodeOutputEvent?: never;
|
|
582
|
+
conditionResultEvent?: never;
|
|
583
|
+
nodeFailureEvent?: never;
|
|
584
|
+
flowFailureEvent?: never;
|
|
585
|
+
$unknown?: never;
|
|
586
|
+
}
|
|
587
|
+
interface FlowOutputEventMember {
|
|
588
|
+
flowInputEvent?: never;
|
|
589
|
+
flowOutputEvent: FlowExecutionOutputEvent;
|
|
590
|
+
nodeInputEvent?: never;
|
|
591
|
+
nodeOutputEvent?: never;
|
|
592
|
+
conditionResultEvent?: never;
|
|
593
|
+
nodeFailureEvent?: never;
|
|
594
|
+
flowFailureEvent?: never;
|
|
595
|
+
$unknown?: never;
|
|
596
|
+
}
|
|
597
|
+
interface NodeInputEventMember {
|
|
598
|
+
flowInputEvent?: never;
|
|
599
|
+
flowOutputEvent?: never;
|
|
600
|
+
nodeInputEvent: NodeInputEvent;
|
|
601
|
+
nodeOutputEvent?: never;
|
|
602
|
+
conditionResultEvent?: never;
|
|
603
|
+
nodeFailureEvent?: never;
|
|
604
|
+
flowFailureEvent?: never;
|
|
605
|
+
$unknown?: never;
|
|
606
|
+
}
|
|
607
|
+
interface NodeOutputEventMember {
|
|
608
|
+
flowInputEvent?: never;
|
|
609
|
+
flowOutputEvent?: never;
|
|
610
|
+
nodeInputEvent?: never;
|
|
611
|
+
nodeOutputEvent: NodeOutputEvent;
|
|
612
|
+
conditionResultEvent?: never;
|
|
613
|
+
nodeFailureEvent?: never;
|
|
614
|
+
flowFailureEvent?: never;
|
|
615
|
+
$unknown?: never;
|
|
616
|
+
}
|
|
617
|
+
interface ConditionResultEventMember {
|
|
618
|
+
flowInputEvent?: never;
|
|
619
|
+
flowOutputEvent?: never;
|
|
620
|
+
nodeInputEvent?: never;
|
|
621
|
+
nodeOutputEvent?: never;
|
|
622
|
+
conditionResultEvent: ConditionResultEvent;
|
|
623
|
+
nodeFailureEvent?: never;
|
|
624
|
+
flowFailureEvent?: never;
|
|
625
|
+
$unknown?: never;
|
|
626
|
+
}
|
|
627
|
+
interface NodeFailureEventMember {
|
|
628
|
+
flowInputEvent?: never;
|
|
629
|
+
flowOutputEvent?: never;
|
|
630
|
+
nodeInputEvent?: never;
|
|
631
|
+
nodeOutputEvent?: never;
|
|
632
|
+
conditionResultEvent?: never;
|
|
633
|
+
nodeFailureEvent: NodeFailureEvent;
|
|
634
|
+
flowFailureEvent?: never;
|
|
635
|
+
$unknown?: never;
|
|
636
|
+
}
|
|
637
|
+
interface FlowFailureEventMember {
|
|
638
|
+
flowInputEvent?: never;
|
|
639
|
+
flowOutputEvent?: never;
|
|
640
|
+
nodeInputEvent?: never;
|
|
641
|
+
nodeOutputEvent?: never;
|
|
642
|
+
conditionResultEvent?: never;
|
|
643
|
+
nodeFailureEvent?: never;
|
|
644
|
+
flowFailureEvent: FlowFailureEvent;
|
|
645
|
+
$unknown?: never;
|
|
646
|
+
}
|
|
647
|
+
interface $UnknownMember {
|
|
648
|
+
flowInputEvent?: never;
|
|
649
|
+
flowOutputEvent?: never;
|
|
650
|
+
nodeInputEvent?: never;
|
|
651
|
+
nodeOutputEvent?: never;
|
|
652
|
+
conditionResultEvent?: never;
|
|
653
|
+
nodeFailureEvent?: never;
|
|
654
|
+
flowFailureEvent?: never;
|
|
655
|
+
$unknown: [string, any];
|
|
656
|
+
}
|
|
657
|
+
interface Visitor<T> {
|
|
658
|
+
flowInputEvent: (value: FlowExecutionInputEvent) => T;
|
|
659
|
+
flowOutputEvent: (value: FlowExecutionOutputEvent) => T;
|
|
660
|
+
nodeInputEvent: (value: NodeInputEvent) => T;
|
|
661
|
+
nodeOutputEvent: (value: NodeOutputEvent) => T;
|
|
662
|
+
conditionResultEvent: (value: ConditionResultEvent) => T;
|
|
663
|
+
nodeFailureEvent: (value: NodeFailureEvent) => T;
|
|
664
|
+
flowFailureEvent: (value: FlowFailureEvent) => T;
|
|
665
|
+
_: (name: string, value: any) => T;
|
|
666
|
+
}
|
|
667
|
+
const visit: <T>(value: FlowExecutionEvent, visitor: Visitor<T>) => T;
|
|
668
|
+
}
|
|
669
|
+
export interface ListFlowExecutionEventsResponse {
|
|
670
|
+
flowExecutionEvents: FlowExecutionEvent[] | undefined;
|
|
671
|
+
nextToken?: string | undefined;
|
|
672
|
+
}
|
|
673
|
+
export interface ListFlowExecutionsRequest {
|
|
674
|
+
flowIdentifier: string | undefined;
|
|
675
|
+
flowAliasIdentifier?: string | undefined;
|
|
676
|
+
maxResults?: number | undefined;
|
|
677
|
+
nextToken?: string | undefined;
|
|
678
|
+
}
|
|
679
|
+
export interface FlowExecutionSummary {
|
|
680
|
+
executionArn: string | undefined;
|
|
681
|
+
flowAliasIdentifier: string | undefined;
|
|
682
|
+
flowIdentifier: string | undefined;
|
|
683
|
+
flowVersion: string | undefined;
|
|
684
|
+
status: FlowExecutionStatus | undefined;
|
|
685
|
+
createdAt: Date | undefined;
|
|
686
|
+
endedAt?: Date | undefined;
|
|
687
|
+
}
|
|
688
|
+
export interface ListFlowExecutionsResponse {
|
|
689
|
+
flowExecutionSummaries: FlowExecutionSummary[] | undefined;
|
|
690
|
+
nextToken?: string | undefined;
|
|
691
|
+
}
|
|
373
692
|
export declare class BadGatewayException extends __BaseException {
|
|
374
693
|
readonly name: "BadGatewayException";
|
|
375
694
|
readonly $fault: "server";
|
|
@@ -391,12 +710,11 @@ export declare class DependencyFailedException extends __BaseException {
|
|
|
391
710
|
opts: __ExceptionOptionType<DependencyFailedException, __BaseException>
|
|
392
711
|
);
|
|
393
712
|
}
|
|
394
|
-
export declare class
|
|
395
|
-
readonly name: "
|
|
396
|
-
readonly $fault: "
|
|
397
|
-
reason?: string | undefined;
|
|
713
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
714
|
+
readonly name: "ServiceQuotaExceededException";
|
|
715
|
+
readonly $fault: "client";
|
|
398
716
|
constructor(
|
|
399
|
-
opts: __ExceptionOptionType<
|
|
717
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
400
718
|
);
|
|
401
719
|
}
|
|
402
720
|
export type FlowInputContent =
|
|
@@ -435,6 +753,25 @@ export interface PerformanceConfiguration {
|
|
|
435
753
|
export interface ModelPerformanceConfiguration {
|
|
436
754
|
performanceConfig?: PerformanceConfiguration | undefined;
|
|
437
755
|
}
|
|
756
|
+
export interface StartFlowExecutionRequest {
|
|
757
|
+
flowIdentifier: string | undefined;
|
|
758
|
+
flowAliasIdentifier: string | undefined;
|
|
759
|
+
flowExecutionName?: string | undefined;
|
|
760
|
+
inputs: FlowInput[] | undefined;
|
|
761
|
+
modelPerformanceConfiguration?: ModelPerformanceConfiguration | undefined;
|
|
762
|
+
}
|
|
763
|
+
export interface StartFlowExecutionResponse {
|
|
764
|
+
executionArn?: string | undefined;
|
|
765
|
+
}
|
|
766
|
+
export interface StopFlowExecutionRequest {
|
|
767
|
+
flowIdentifier: string | undefined;
|
|
768
|
+
flowAliasIdentifier: string | undefined;
|
|
769
|
+
executionIdentifier: string | undefined;
|
|
770
|
+
}
|
|
771
|
+
export interface StopFlowExecutionResponse {
|
|
772
|
+
executionArn?: string | undefined;
|
|
773
|
+
status: FlowExecutionStatus | undefined;
|
|
774
|
+
}
|
|
438
775
|
export interface InvokeFlowRequest {
|
|
439
776
|
flowIdentifier: string | undefined;
|
|
440
777
|
flowAliasIdentifier: string | undefined;
|
|
@@ -631,34 +968,6 @@ export declare namespace FlowTrace {
|
|
|
631
968
|
export interface FlowTraceEvent {
|
|
632
969
|
trace: FlowTrace | undefined;
|
|
633
970
|
}
|
|
634
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
635
|
-
readonly name: "ResourceNotFoundException";
|
|
636
|
-
readonly $fault: "client";
|
|
637
|
-
constructor(
|
|
638
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
639
|
-
);
|
|
640
|
-
}
|
|
641
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
642
|
-
readonly name: "ServiceQuotaExceededException";
|
|
643
|
-
readonly $fault: "client";
|
|
644
|
-
constructor(
|
|
645
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
646
|
-
);
|
|
647
|
-
}
|
|
648
|
-
export declare class ThrottlingException extends __BaseException {
|
|
649
|
-
readonly name: "ThrottlingException";
|
|
650
|
-
readonly $fault: "client";
|
|
651
|
-
constructor(
|
|
652
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
653
|
-
);
|
|
654
|
-
}
|
|
655
|
-
export declare class ValidationException extends __BaseException {
|
|
656
|
-
readonly name: "ValidationException";
|
|
657
|
-
readonly $fault: "client";
|
|
658
|
-
constructor(
|
|
659
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
660
|
-
);
|
|
661
|
-
}
|
|
662
971
|
export type FlowResponseStream =
|
|
663
972
|
| FlowResponseStream.AccessDeniedExceptionMember
|
|
664
973
|
| FlowResponseStream.BadGatewayExceptionMember
|
|
@@ -2923,450 +3232,6 @@ export interface GuardrailEvent {
|
|
|
2923
3232
|
export interface RetrieveAndGenerateOutputEvent {
|
|
2924
3233
|
text: string | undefined;
|
|
2925
3234
|
}
|
|
2926
|
-
export type RetrieveAndGenerateStreamResponseOutput =
|
|
2927
|
-
| RetrieveAndGenerateStreamResponseOutput.AccessDeniedExceptionMember
|
|
2928
|
-
| RetrieveAndGenerateStreamResponseOutput.BadGatewayExceptionMember
|
|
2929
|
-
| RetrieveAndGenerateStreamResponseOutput.CitationMember
|
|
2930
|
-
| RetrieveAndGenerateStreamResponseOutput.ConflictExceptionMember
|
|
2931
|
-
| RetrieveAndGenerateStreamResponseOutput.DependencyFailedExceptionMember
|
|
2932
|
-
| RetrieveAndGenerateStreamResponseOutput.GuardrailMember
|
|
2933
|
-
| RetrieveAndGenerateStreamResponseOutput.InternalServerExceptionMember
|
|
2934
|
-
| RetrieveAndGenerateStreamResponseOutput.OutputMember
|
|
2935
|
-
| RetrieveAndGenerateStreamResponseOutput.ResourceNotFoundExceptionMember
|
|
2936
|
-
| RetrieveAndGenerateStreamResponseOutput.ServiceQuotaExceededExceptionMember
|
|
2937
|
-
| RetrieveAndGenerateStreamResponseOutput.ThrottlingExceptionMember
|
|
2938
|
-
| RetrieveAndGenerateStreamResponseOutput.ValidationExceptionMember
|
|
2939
|
-
| RetrieveAndGenerateStreamResponseOutput.$UnknownMember;
|
|
2940
|
-
export declare namespace RetrieveAndGenerateStreamResponseOutput {
|
|
2941
|
-
interface OutputMember {
|
|
2942
|
-
output: RetrieveAndGenerateOutputEvent;
|
|
2943
|
-
citation?: never;
|
|
2944
|
-
guardrail?: never;
|
|
2945
|
-
internalServerException?: never;
|
|
2946
|
-
validationException?: never;
|
|
2947
|
-
resourceNotFoundException?: never;
|
|
2948
|
-
serviceQuotaExceededException?: never;
|
|
2949
|
-
throttlingException?: never;
|
|
2950
|
-
accessDeniedException?: never;
|
|
2951
|
-
conflictException?: never;
|
|
2952
|
-
dependencyFailedException?: never;
|
|
2953
|
-
badGatewayException?: never;
|
|
2954
|
-
$unknown?: never;
|
|
2955
|
-
}
|
|
2956
|
-
interface CitationMember {
|
|
2957
|
-
output?: never;
|
|
2958
|
-
citation: CitationEvent;
|
|
2959
|
-
guardrail?: never;
|
|
2960
|
-
internalServerException?: never;
|
|
2961
|
-
validationException?: never;
|
|
2962
|
-
resourceNotFoundException?: never;
|
|
2963
|
-
serviceQuotaExceededException?: never;
|
|
2964
|
-
throttlingException?: never;
|
|
2965
|
-
accessDeniedException?: never;
|
|
2966
|
-
conflictException?: never;
|
|
2967
|
-
dependencyFailedException?: never;
|
|
2968
|
-
badGatewayException?: never;
|
|
2969
|
-
$unknown?: never;
|
|
2970
|
-
}
|
|
2971
|
-
interface GuardrailMember {
|
|
2972
|
-
output?: never;
|
|
2973
|
-
citation?: never;
|
|
2974
|
-
guardrail: GuardrailEvent;
|
|
2975
|
-
internalServerException?: never;
|
|
2976
|
-
validationException?: never;
|
|
2977
|
-
resourceNotFoundException?: never;
|
|
2978
|
-
serviceQuotaExceededException?: never;
|
|
2979
|
-
throttlingException?: never;
|
|
2980
|
-
accessDeniedException?: never;
|
|
2981
|
-
conflictException?: never;
|
|
2982
|
-
dependencyFailedException?: never;
|
|
2983
|
-
badGatewayException?: never;
|
|
2984
|
-
$unknown?: never;
|
|
2985
|
-
}
|
|
2986
|
-
interface InternalServerExceptionMember {
|
|
2987
|
-
output?: never;
|
|
2988
|
-
citation?: never;
|
|
2989
|
-
guardrail?: never;
|
|
2990
|
-
internalServerException: InternalServerException;
|
|
2991
|
-
validationException?: never;
|
|
2992
|
-
resourceNotFoundException?: never;
|
|
2993
|
-
serviceQuotaExceededException?: never;
|
|
2994
|
-
throttlingException?: never;
|
|
2995
|
-
accessDeniedException?: never;
|
|
2996
|
-
conflictException?: never;
|
|
2997
|
-
dependencyFailedException?: never;
|
|
2998
|
-
badGatewayException?: never;
|
|
2999
|
-
$unknown?: never;
|
|
3000
|
-
}
|
|
3001
|
-
interface ValidationExceptionMember {
|
|
3002
|
-
output?: never;
|
|
3003
|
-
citation?: never;
|
|
3004
|
-
guardrail?: never;
|
|
3005
|
-
internalServerException?: never;
|
|
3006
|
-
validationException: ValidationException;
|
|
3007
|
-
resourceNotFoundException?: never;
|
|
3008
|
-
serviceQuotaExceededException?: never;
|
|
3009
|
-
throttlingException?: never;
|
|
3010
|
-
accessDeniedException?: never;
|
|
3011
|
-
conflictException?: never;
|
|
3012
|
-
dependencyFailedException?: never;
|
|
3013
|
-
badGatewayException?: never;
|
|
3014
|
-
$unknown?: never;
|
|
3015
|
-
}
|
|
3016
|
-
interface ResourceNotFoundExceptionMember {
|
|
3017
|
-
output?: never;
|
|
3018
|
-
citation?: never;
|
|
3019
|
-
guardrail?: never;
|
|
3020
|
-
internalServerException?: never;
|
|
3021
|
-
validationException?: never;
|
|
3022
|
-
resourceNotFoundException: ResourceNotFoundException;
|
|
3023
|
-
serviceQuotaExceededException?: never;
|
|
3024
|
-
throttlingException?: never;
|
|
3025
|
-
accessDeniedException?: never;
|
|
3026
|
-
conflictException?: never;
|
|
3027
|
-
dependencyFailedException?: never;
|
|
3028
|
-
badGatewayException?: never;
|
|
3029
|
-
$unknown?: never;
|
|
3030
|
-
}
|
|
3031
|
-
interface ServiceQuotaExceededExceptionMember {
|
|
3032
|
-
output?: never;
|
|
3033
|
-
citation?: never;
|
|
3034
|
-
guardrail?: never;
|
|
3035
|
-
internalServerException?: never;
|
|
3036
|
-
validationException?: never;
|
|
3037
|
-
resourceNotFoundException?: never;
|
|
3038
|
-
serviceQuotaExceededException: ServiceQuotaExceededException;
|
|
3039
|
-
throttlingException?: never;
|
|
3040
|
-
accessDeniedException?: never;
|
|
3041
|
-
conflictException?: never;
|
|
3042
|
-
dependencyFailedException?: never;
|
|
3043
|
-
badGatewayException?: never;
|
|
3044
|
-
$unknown?: never;
|
|
3045
|
-
}
|
|
3046
|
-
interface ThrottlingExceptionMember {
|
|
3047
|
-
output?: never;
|
|
3048
|
-
citation?: never;
|
|
3049
|
-
guardrail?: never;
|
|
3050
|
-
internalServerException?: never;
|
|
3051
|
-
validationException?: never;
|
|
3052
|
-
resourceNotFoundException?: never;
|
|
3053
|
-
serviceQuotaExceededException?: never;
|
|
3054
|
-
throttlingException: ThrottlingException;
|
|
3055
|
-
accessDeniedException?: never;
|
|
3056
|
-
conflictException?: never;
|
|
3057
|
-
dependencyFailedException?: never;
|
|
3058
|
-
badGatewayException?: never;
|
|
3059
|
-
$unknown?: never;
|
|
3060
|
-
}
|
|
3061
|
-
interface AccessDeniedExceptionMember {
|
|
3062
|
-
output?: never;
|
|
3063
|
-
citation?: never;
|
|
3064
|
-
guardrail?: never;
|
|
3065
|
-
internalServerException?: never;
|
|
3066
|
-
validationException?: never;
|
|
3067
|
-
resourceNotFoundException?: never;
|
|
3068
|
-
serviceQuotaExceededException?: never;
|
|
3069
|
-
throttlingException?: never;
|
|
3070
|
-
accessDeniedException: AccessDeniedException;
|
|
3071
|
-
conflictException?: never;
|
|
3072
|
-
dependencyFailedException?: never;
|
|
3073
|
-
badGatewayException?: never;
|
|
3074
|
-
$unknown?: never;
|
|
3075
|
-
}
|
|
3076
|
-
interface ConflictExceptionMember {
|
|
3077
|
-
output?: never;
|
|
3078
|
-
citation?: never;
|
|
3079
|
-
guardrail?: never;
|
|
3080
|
-
internalServerException?: never;
|
|
3081
|
-
validationException?: never;
|
|
3082
|
-
resourceNotFoundException?: never;
|
|
3083
|
-
serviceQuotaExceededException?: never;
|
|
3084
|
-
throttlingException?: never;
|
|
3085
|
-
accessDeniedException?: never;
|
|
3086
|
-
conflictException: ConflictException;
|
|
3087
|
-
dependencyFailedException?: never;
|
|
3088
|
-
badGatewayException?: never;
|
|
3089
|
-
$unknown?: never;
|
|
3090
|
-
}
|
|
3091
|
-
interface DependencyFailedExceptionMember {
|
|
3092
|
-
output?: never;
|
|
3093
|
-
citation?: never;
|
|
3094
|
-
guardrail?: never;
|
|
3095
|
-
internalServerException?: never;
|
|
3096
|
-
validationException?: never;
|
|
3097
|
-
resourceNotFoundException?: never;
|
|
3098
|
-
serviceQuotaExceededException?: never;
|
|
3099
|
-
throttlingException?: never;
|
|
3100
|
-
accessDeniedException?: never;
|
|
3101
|
-
conflictException?: never;
|
|
3102
|
-
dependencyFailedException: DependencyFailedException;
|
|
3103
|
-
badGatewayException?: never;
|
|
3104
|
-
$unknown?: never;
|
|
3105
|
-
}
|
|
3106
|
-
interface BadGatewayExceptionMember {
|
|
3107
|
-
output?: never;
|
|
3108
|
-
citation?: never;
|
|
3109
|
-
guardrail?: never;
|
|
3110
|
-
internalServerException?: never;
|
|
3111
|
-
validationException?: never;
|
|
3112
|
-
resourceNotFoundException?: never;
|
|
3113
|
-
serviceQuotaExceededException?: never;
|
|
3114
|
-
throttlingException?: never;
|
|
3115
|
-
accessDeniedException?: never;
|
|
3116
|
-
conflictException?: never;
|
|
3117
|
-
dependencyFailedException?: never;
|
|
3118
|
-
badGatewayException: BadGatewayException;
|
|
3119
|
-
$unknown?: never;
|
|
3120
|
-
}
|
|
3121
|
-
interface $UnknownMember {
|
|
3122
|
-
output?: never;
|
|
3123
|
-
citation?: never;
|
|
3124
|
-
guardrail?: never;
|
|
3125
|
-
internalServerException?: never;
|
|
3126
|
-
validationException?: never;
|
|
3127
|
-
resourceNotFoundException?: never;
|
|
3128
|
-
serviceQuotaExceededException?: never;
|
|
3129
|
-
throttlingException?: never;
|
|
3130
|
-
accessDeniedException?: never;
|
|
3131
|
-
conflictException?: never;
|
|
3132
|
-
dependencyFailedException?: never;
|
|
3133
|
-
badGatewayException?: never;
|
|
3134
|
-
$unknown: [string, any];
|
|
3135
|
-
}
|
|
3136
|
-
interface Visitor<T> {
|
|
3137
|
-
output: (value: RetrieveAndGenerateOutputEvent) => T;
|
|
3138
|
-
citation: (value: CitationEvent) => T;
|
|
3139
|
-
guardrail: (value: GuardrailEvent) => T;
|
|
3140
|
-
internalServerException: (value: InternalServerException) => T;
|
|
3141
|
-
validationException: (value: ValidationException) => T;
|
|
3142
|
-
resourceNotFoundException: (value: ResourceNotFoundException) => T;
|
|
3143
|
-
serviceQuotaExceededException: (value: ServiceQuotaExceededException) => T;
|
|
3144
|
-
throttlingException: (value: ThrottlingException) => T;
|
|
3145
|
-
accessDeniedException: (value: AccessDeniedException) => T;
|
|
3146
|
-
conflictException: (value: ConflictException) => T;
|
|
3147
|
-
dependencyFailedException: (value: DependencyFailedException) => T;
|
|
3148
|
-
badGatewayException: (value: BadGatewayException) => T;
|
|
3149
|
-
_: (name: string, value: any) => T;
|
|
3150
|
-
}
|
|
3151
|
-
const visit: <T>(
|
|
3152
|
-
value: RetrieveAndGenerateStreamResponseOutput,
|
|
3153
|
-
visitor: Visitor<T>
|
|
3154
|
-
) => T;
|
|
3155
|
-
}
|
|
3156
|
-
export interface RetrieveAndGenerateStreamResponse {
|
|
3157
|
-
stream: AsyncIterable<RetrieveAndGenerateStreamResponseOutput> | undefined;
|
|
3158
|
-
sessionId: string | undefined;
|
|
3159
|
-
}
|
|
3160
|
-
export interface KnowledgeBaseQuery {
|
|
3161
|
-
text: string | undefined;
|
|
3162
|
-
}
|
|
3163
|
-
export interface KnowledgeBaseRetrievalResult {
|
|
3164
|
-
content: RetrievalResultContent | undefined;
|
|
3165
|
-
location?: RetrievalResultLocation | undefined;
|
|
3166
|
-
score?: number | undefined;
|
|
3167
|
-
metadata?: Record<string, __DocumentType> | undefined;
|
|
3168
|
-
}
|
|
3169
|
-
export interface RetrieveResponse {
|
|
3170
|
-
retrievalResults: KnowledgeBaseRetrievalResult[] | undefined;
|
|
3171
|
-
guardrailAction?: GuadrailAction | undefined;
|
|
3172
|
-
nextToken?: string | undefined;
|
|
3173
|
-
}
|
|
3174
|
-
export interface CreateSessionRequest {
|
|
3175
|
-
sessionMetadata?: Record<string, string> | undefined;
|
|
3176
|
-
encryptionKeyArn?: string | undefined;
|
|
3177
|
-
tags?: Record<string, string> | undefined;
|
|
3178
|
-
}
|
|
3179
|
-
export declare const SessionStatus: {
|
|
3180
|
-
readonly ACTIVE: "ACTIVE";
|
|
3181
|
-
readonly ENDED: "ENDED";
|
|
3182
|
-
readonly EXPIRED: "EXPIRED";
|
|
3183
|
-
};
|
|
3184
|
-
export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
|
|
3185
|
-
export interface CreateSessionResponse {
|
|
3186
|
-
sessionId: string | undefined;
|
|
3187
|
-
sessionArn: string | undefined;
|
|
3188
|
-
sessionStatus: SessionStatus | undefined;
|
|
3189
|
-
createdAt: Date | undefined;
|
|
3190
|
-
}
|
|
3191
|
-
export interface DeleteSessionRequest {
|
|
3192
|
-
sessionIdentifier: string | undefined;
|
|
3193
|
-
}
|
|
3194
|
-
export interface DeleteSessionResponse {}
|
|
3195
|
-
export interface EndSessionRequest {
|
|
3196
|
-
sessionIdentifier: string | undefined;
|
|
3197
|
-
}
|
|
3198
|
-
export interface EndSessionResponse {
|
|
3199
|
-
sessionId: string | undefined;
|
|
3200
|
-
sessionArn: string | undefined;
|
|
3201
|
-
sessionStatus: SessionStatus | undefined;
|
|
3202
|
-
}
|
|
3203
|
-
export interface GetSessionRequest {
|
|
3204
|
-
sessionIdentifier: string | undefined;
|
|
3205
|
-
}
|
|
3206
|
-
export interface GetSessionResponse {
|
|
3207
|
-
sessionId: string | undefined;
|
|
3208
|
-
sessionArn: string | undefined;
|
|
3209
|
-
sessionStatus: SessionStatus | undefined;
|
|
3210
|
-
createdAt: Date | undefined;
|
|
3211
|
-
lastUpdatedAt: Date | undefined;
|
|
3212
|
-
sessionMetadata?: Record<string, string> | undefined;
|
|
3213
|
-
encryptionKeyArn?: string | undefined;
|
|
3214
|
-
}
|
|
3215
|
-
export interface CreateInvocationRequest {
|
|
3216
|
-
invocationId?: string | undefined;
|
|
3217
|
-
description?: string | undefined;
|
|
3218
|
-
sessionIdentifier: string | undefined;
|
|
3219
|
-
}
|
|
3220
|
-
export interface CreateInvocationResponse {
|
|
3221
|
-
sessionId: string | undefined;
|
|
3222
|
-
invocationId: string | undefined;
|
|
3223
|
-
createdAt: Date | undefined;
|
|
3224
|
-
}
|
|
3225
|
-
export interface ListInvocationsRequest {
|
|
3226
|
-
nextToken?: string | undefined;
|
|
3227
|
-
maxResults?: number | undefined;
|
|
3228
|
-
sessionIdentifier: string | undefined;
|
|
3229
|
-
}
|
|
3230
|
-
export interface InvocationSummary {
|
|
3231
|
-
sessionId: string | undefined;
|
|
3232
|
-
invocationId: string | undefined;
|
|
3233
|
-
createdAt: Date | undefined;
|
|
3234
|
-
}
|
|
3235
|
-
export interface ListInvocationsResponse {
|
|
3236
|
-
invocationSummaries: InvocationSummary[] | undefined;
|
|
3237
|
-
nextToken?: string | undefined;
|
|
3238
|
-
}
|
|
3239
|
-
export interface GetInvocationStepRequest {
|
|
3240
|
-
invocationIdentifier: string | undefined;
|
|
3241
|
-
invocationStepId: string | undefined;
|
|
3242
|
-
sessionIdentifier: string | undefined;
|
|
3243
|
-
}
|
|
3244
|
-
export declare const ImageFormat: {
|
|
3245
|
-
readonly GIF: "gif";
|
|
3246
|
-
readonly JPEG: "jpeg";
|
|
3247
|
-
readonly PNG: "png";
|
|
3248
|
-
readonly WEBP: "webp";
|
|
3249
|
-
};
|
|
3250
|
-
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
3251
|
-
export interface S3Location {
|
|
3252
|
-
uri: string | undefined;
|
|
3253
|
-
}
|
|
3254
|
-
export type ImageSource =
|
|
3255
|
-
| ImageSource.BytesMember
|
|
3256
|
-
| ImageSource.S3LocationMember
|
|
3257
|
-
| ImageSource.$UnknownMember;
|
|
3258
|
-
export declare namespace ImageSource {
|
|
3259
|
-
interface BytesMember {
|
|
3260
|
-
bytes: Uint8Array;
|
|
3261
|
-
s3Location?: never;
|
|
3262
|
-
$unknown?: never;
|
|
3263
|
-
}
|
|
3264
|
-
interface S3LocationMember {
|
|
3265
|
-
bytes?: never;
|
|
3266
|
-
s3Location: S3Location;
|
|
3267
|
-
$unknown?: never;
|
|
3268
|
-
}
|
|
3269
|
-
interface $UnknownMember {
|
|
3270
|
-
bytes?: never;
|
|
3271
|
-
s3Location?: never;
|
|
3272
|
-
$unknown: [string, any];
|
|
3273
|
-
}
|
|
3274
|
-
interface Visitor<T> {
|
|
3275
|
-
bytes: (value: Uint8Array) => T;
|
|
3276
|
-
s3Location: (value: S3Location) => T;
|
|
3277
|
-
_: (name: string, value: any) => T;
|
|
3278
|
-
}
|
|
3279
|
-
const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
|
|
3280
|
-
}
|
|
3281
|
-
export interface ImageBlock {
|
|
3282
|
-
format: ImageFormat | undefined;
|
|
3283
|
-
source: ImageSource | undefined;
|
|
3284
|
-
}
|
|
3285
|
-
export type BedrockSessionContentBlock =
|
|
3286
|
-
| BedrockSessionContentBlock.ImageMember
|
|
3287
|
-
| BedrockSessionContentBlock.TextMember
|
|
3288
|
-
| BedrockSessionContentBlock.$UnknownMember;
|
|
3289
|
-
export declare namespace BedrockSessionContentBlock {
|
|
3290
|
-
interface TextMember {
|
|
3291
|
-
text: string;
|
|
3292
|
-
image?: never;
|
|
3293
|
-
$unknown?: never;
|
|
3294
|
-
}
|
|
3295
|
-
interface ImageMember {
|
|
3296
|
-
text?: never;
|
|
3297
|
-
image: ImageBlock;
|
|
3298
|
-
$unknown?: never;
|
|
3299
|
-
}
|
|
3300
|
-
interface $UnknownMember {
|
|
3301
|
-
text?: never;
|
|
3302
|
-
image?: never;
|
|
3303
|
-
$unknown: [string, any];
|
|
3304
|
-
}
|
|
3305
|
-
interface Visitor<T> {
|
|
3306
|
-
text: (value: string) => T;
|
|
3307
|
-
image: (value: ImageBlock) => T;
|
|
3308
|
-
_: (name: string, value: any) => T;
|
|
3309
|
-
}
|
|
3310
|
-
const visit: <T>(value: BedrockSessionContentBlock, visitor: Visitor<T>) => T;
|
|
3311
|
-
}
|
|
3312
|
-
export type InvocationStepPayload =
|
|
3313
|
-
| InvocationStepPayload.ContentBlocksMember
|
|
3314
|
-
| InvocationStepPayload.$UnknownMember;
|
|
3315
|
-
export declare namespace InvocationStepPayload {
|
|
3316
|
-
interface ContentBlocksMember {
|
|
3317
|
-
contentBlocks: BedrockSessionContentBlock[];
|
|
3318
|
-
$unknown?: never;
|
|
3319
|
-
}
|
|
3320
|
-
interface $UnknownMember {
|
|
3321
|
-
contentBlocks?: never;
|
|
3322
|
-
$unknown: [string, any];
|
|
3323
|
-
}
|
|
3324
|
-
interface Visitor<T> {
|
|
3325
|
-
contentBlocks: (value: BedrockSessionContentBlock[]) => T;
|
|
3326
|
-
_: (name: string, value: any) => T;
|
|
3327
|
-
}
|
|
3328
|
-
const visit: <T>(value: InvocationStepPayload, visitor: Visitor<T>) => T;
|
|
3329
|
-
}
|
|
3330
|
-
export interface InvocationStep {
|
|
3331
|
-
sessionId: string | undefined;
|
|
3332
|
-
invocationId: string | undefined;
|
|
3333
|
-
invocationStepId: string | undefined;
|
|
3334
|
-
invocationStepTime: Date | undefined;
|
|
3335
|
-
payload: InvocationStepPayload | undefined;
|
|
3336
|
-
}
|
|
3337
|
-
export interface GetInvocationStepResponse {
|
|
3338
|
-
invocationStep: InvocationStep | undefined;
|
|
3339
|
-
}
|
|
3340
|
-
export interface ListInvocationStepsRequest {
|
|
3341
|
-
invocationIdentifier?: string | undefined;
|
|
3342
|
-
nextToken?: string | undefined;
|
|
3343
|
-
maxResults?: number | undefined;
|
|
3344
|
-
sessionIdentifier: string | undefined;
|
|
3345
|
-
}
|
|
3346
|
-
export interface InvocationStepSummary {
|
|
3347
|
-
sessionId: string | undefined;
|
|
3348
|
-
invocationId: string | undefined;
|
|
3349
|
-
invocationStepId: string | undefined;
|
|
3350
|
-
invocationStepTime: Date | undefined;
|
|
3351
|
-
}
|
|
3352
|
-
export interface ListInvocationStepsResponse {
|
|
3353
|
-
invocationStepSummaries: InvocationStepSummary[] | undefined;
|
|
3354
|
-
nextToken?: string | undefined;
|
|
3355
|
-
}
|
|
3356
|
-
export interface PutInvocationStepRequest {
|
|
3357
|
-
sessionIdentifier: string | undefined;
|
|
3358
|
-
invocationIdentifier: string | undefined;
|
|
3359
|
-
invocationStepTime: Date | undefined;
|
|
3360
|
-
payload: InvocationStepPayload | undefined;
|
|
3361
|
-
invocationStepId?: string | undefined;
|
|
3362
|
-
}
|
|
3363
|
-
export interface PutInvocationStepResponse {
|
|
3364
|
-
invocationStepId: string | undefined;
|
|
3365
|
-
}
|
|
3366
|
-
export interface ListSessionsRequest {
|
|
3367
|
-
maxResults?: number | undefined;
|
|
3368
|
-
nextToken?: string | undefined;
|
|
3369
|
-
}
|
|
3370
3235
|
export declare const ActionGroupInvocationInputFilterSensitiveLog: (
|
|
3371
3236
|
obj: ActionGroupInvocationInput
|
|
3372
3237
|
) => any;
|
|
@@ -3416,10 +3281,61 @@ export declare const AgentCollaboratorOutputPayloadFilterSensitiveLog: (
|
|
|
3416
3281
|
export declare const AgentCollaboratorInvocationOutputFilterSensitiveLog: (
|
|
3417
3282
|
obj: AgentCollaboratorInvocationOutput
|
|
3418
3283
|
) => any;
|
|
3284
|
+
export declare const SatisfiedConditionFilterSensitiveLog: (
|
|
3285
|
+
obj: SatisfiedCondition
|
|
3286
|
+
) => any;
|
|
3287
|
+
export declare const ConditionResultEventFilterSensitiveLog: (
|
|
3288
|
+
obj: ConditionResultEvent
|
|
3289
|
+
) => any;
|
|
3290
|
+
export declare const FlowFailureEventFilterSensitiveLog: (
|
|
3291
|
+
obj: FlowFailureEvent
|
|
3292
|
+
) => any;
|
|
3293
|
+
export declare const FlowExecutionContentFilterSensitiveLog: (
|
|
3294
|
+
obj: FlowExecutionContent
|
|
3295
|
+
) => any;
|
|
3296
|
+
export declare const FlowInputFieldFilterSensitiveLog: (
|
|
3297
|
+
obj: FlowInputField
|
|
3298
|
+
) => any;
|
|
3299
|
+
export declare const FlowExecutionInputEventFilterSensitiveLog: (
|
|
3300
|
+
obj: FlowExecutionInputEvent
|
|
3301
|
+
) => any;
|
|
3302
|
+
export declare const FlowOutputFieldFilterSensitiveLog: (
|
|
3303
|
+
obj: FlowOutputField
|
|
3304
|
+
) => any;
|
|
3305
|
+
export declare const FlowExecutionOutputEventFilterSensitiveLog: (
|
|
3306
|
+
obj: FlowExecutionOutputEvent
|
|
3307
|
+
) => any;
|
|
3308
|
+
export declare const NodeFailureEventFilterSensitiveLog: (
|
|
3309
|
+
obj: NodeFailureEvent
|
|
3310
|
+
) => any;
|
|
3311
|
+
export declare const NodeExecutionContentFilterSensitiveLog: (
|
|
3312
|
+
obj: NodeExecutionContent
|
|
3313
|
+
) => any;
|
|
3314
|
+
export declare const NodeInputFieldFilterSensitiveLog: (
|
|
3315
|
+
obj: NodeInputField
|
|
3316
|
+
) => any;
|
|
3317
|
+
export declare const NodeInputEventFilterSensitiveLog: (
|
|
3318
|
+
obj: NodeInputEvent
|
|
3319
|
+
) => any;
|
|
3320
|
+
export declare const NodeOutputFieldFilterSensitiveLog: (
|
|
3321
|
+
obj: NodeOutputField
|
|
3322
|
+
) => any;
|
|
3323
|
+
export declare const NodeOutputEventFilterSensitiveLog: (
|
|
3324
|
+
obj: NodeOutputEvent
|
|
3325
|
+
) => any;
|
|
3326
|
+
export declare const FlowExecutionEventFilterSensitiveLog: (
|
|
3327
|
+
obj: FlowExecutionEvent
|
|
3328
|
+
) => any;
|
|
3329
|
+
export declare const ListFlowExecutionEventsResponseFilterSensitiveLog: (
|
|
3330
|
+
obj: ListFlowExecutionEventsResponse
|
|
3331
|
+
) => any;
|
|
3419
3332
|
export declare const FlowInputContentFilterSensitiveLog: (
|
|
3420
3333
|
obj: FlowInputContent
|
|
3421
3334
|
) => any;
|
|
3422
3335
|
export declare const FlowInputFilterSensitiveLog: (obj: FlowInput) => any;
|
|
3336
|
+
export declare const StartFlowExecutionRequestFilterSensitiveLog: (
|
|
3337
|
+
obj: StartFlowExecutionRequest
|
|
3338
|
+
) => any;
|
|
3423
3339
|
export declare const InvokeFlowRequestFilterSensitiveLog: (
|
|
3424
3340
|
obj: InvokeFlowRequest
|
|
3425
3341
|
) => any;
|
|
@@ -3741,33 +3657,3 @@ export declare const CitationEventFilterSensitiveLog: (
|
|
|
3741
3657
|
export declare const RetrieveAndGenerateOutputEventFilterSensitiveLog: (
|
|
3742
3658
|
obj: RetrieveAndGenerateOutputEvent
|
|
3743
3659
|
) => any;
|
|
3744
|
-
export declare const RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog: (
|
|
3745
|
-
obj: RetrieveAndGenerateStreamResponseOutput
|
|
3746
|
-
) => any;
|
|
3747
|
-
export declare const RetrieveAndGenerateStreamResponseFilterSensitiveLog: (
|
|
3748
|
-
obj: RetrieveAndGenerateStreamResponse
|
|
3749
|
-
) => any;
|
|
3750
|
-
export declare const KnowledgeBaseQueryFilterSensitiveLog: (
|
|
3751
|
-
obj: KnowledgeBaseQuery
|
|
3752
|
-
) => any;
|
|
3753
|
-
export declare const KnowledgeBaseRetrievalResultFilterSensitiveLog: (
|
|
3754
|
-
obj: KnowledgeBaseRetrievalResult
|
|
3755
|
-
) => any;
|
|
3756
|
-
export declare const RetrieveResponseFilterSensitiveLog: (
|
|
3757
|
-
obj: RetrieveResponse
|
|
3758
|
-
) => any;
|
|
3759
|
-
export declare const BedrockSessionContentBlockFilterSensitiveLog: (
|
|
3760
|
-
obj: BedrockSessionContentBlock
|
|
3761
|
-
) => any;
|
|
3762
|
-
export declare const InvocationStepPayloadFilterSensitiveLog: (
|
|
3763
|
-
obj: InvocationStepPayload
|
|
3764
|
-
) => any;
|
|
3765
|
-
export declare const InvocationStepFilterSensitiveLog: (
|
|
3766
|
-
obj: InvocationStep
|
|
3767
|
-
) => any;
|
|
3768
|
-
export declare const GetInvocationStepResponseFilterSensitiveLog: (
|
|
3769
|
-
obj: GetInvocationStepResponse
|
|
3770
|
-
) => any;
|
|
3771
|
-
export declare const PutInvocationStepRequestFilterSensitiveLog: (
|
|
3772
|
-
obj: PutInvocationStepRequest
|
|
3773
|
-
) => any;
|