@aws-sdk/client-bedrock-agent-runtime 3.701.0 → 3.705.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 +16 -0
- package/dist-cjs/index.js +791 -66
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/RerankCommand.js +23 -0
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +27 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +345 -48
- package/dist-es/pagination/RerankPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +277 -3
- package/dist-types/BedrockAgentRuntime.d.ts +14 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +4 -2
- package/dist-types/commands/InvokeAgentCommand.d.ts +396 -22
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +376 -21
- package/dist-types/commands/RerankCommand.d.ts +143 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +42 -2
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +371 -0
- package/dist-types/commands/RetrieveCommand.d.ts +46 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1713 -404
- package/dist-types/pagination/RerankPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +764 -110
- package/dist-types/ts3.4/pagination/RerankPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -161,6 +161,159 @@ export interface AgentActionGroup {
|
|
|
161
161
|
apiSchema?: APISchema | undefined;
|
|
162
162
|
functionSchema?: FunctionSchema | undefined;
|
|
163
163
|
}
|
|
164
|
+
export declare const ConfirmationState: {
|
|
165
|
+
readonly CONFIRM: "CONFIRM";
|
|
166
|
+
readonly DENY: "DENY";
|
|
167
|
+
};
|
|
168
|
+
export type ConfirmationState =
|
|
169
|
+
(typeof ConfirmationState)[keyof typeof ConfirmationState];
|
|
170
|
+
export interface ContentBody {
|
|
171
|
+
body?: string | undefined;
|
|
172
|
+
}
|
|
173
|
+
export declare const ResponseState: {
|
|
174
|
+
readonly FAILURE: "FAILURE";
|
|
175
|
+
readonly REPROMPT: "REPROMPT";
|
|
176
|
+
};
|
|
177
|
+
export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
|
|
178
|
+
export interface ApiResult {
|
|
179
|
+
actionGroup: string | undefined;
|
|
180
|
+
httpMethod?: string | undefined;
|
|
181
|
+
apiPath?: string | undefined;
|
|
182
|
+
confirmationState?: ConfirmationState | undefined;
|
|
183
|
+
responseBody?: Record<string, ContentBody> | undefined;
|
|
184
|
+
httpStatusCode?: number | undefined;
|
|
185
|
+
responseState?: ResponseState | undefined;
|
|
186
|
+
agentId?: string | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface FunctionResult {
|
|
189
|
+
actionGroup: string | undefined;
|
|
190
|
+
confirmationState?: ConfirmationState | undefined;
|
|
191
|
+
function?: string | undefined;
|
|
192
|
+
responseBody?: Record<string, ContentBody> | undefined;
|
|
193
|
+
responseState?: ResponseState | undefined;
|
|
194
|
+
agentId?: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
export type InvocationResultMember =
|
|
197
|
+
| InvocationResultMember.ApiResultMember
|
|
198
|
+
| InvocationResultMember.FunctionResultMember
|
|
199
|
+
| InvocationResultMember.$UnknownMember;
|
|
200
|
+
export declare namespace InvocationResultMember {
|
|
201
|
+
interface ApiResultMember {
|
|
202
|
+
apiResult: ApiResult;
|
|
203
|
+
functionResult?: never;
|
|
204
|
+
$unknown?: never;
|
|
205
|
+
}
|
|
206
|
+
interface FunctionResultMember {
|
|
207
|
+
apiResult?: never;
|
|
208
|
+
functionResult: FunctionResult;
|
|
209
|
+
$unknown?: never;
|
|
210
|
+
}
|
|
211
|
+
interface $UnknownMember {
|
|
212
|
+
apiResult?: never;
|
|
213
|
+
functionResult?: never;
|
|
214
|
+
$unknown: [string, any];
|
|
215
|
+
}
|
|
216
|
+
interface Visitor<T> {
|
|
217
|
+
apiResult: (value: ApiResult) => T;
|
|
218
|
+
functionResult: (value: FunctionResult) => T;
|
|
219
|
+
_: (name: string, value: any) => T;
|
|
220
|
+
}
|
|
221
|
+
const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
|
|
222
|
+
}
|
|
223
|
+
export interface ReturnControlResults {
|
|
224
|
+
invocationId?: string | undefined;
|
|
225
|
+
returnControlInvocationResults?: InvocationResultMember[] | undefined;
|
|
226
|
+
}
|
|
227
|
+
export declare const PayloadType: {
|
|
228
|
+
readonly RETURN_CONTROL: "RETURN_CONTROL";
|
|
229
|
+
readonly TEXT: "TEXT";
|
|
230
|
+
};
|
|
231
|
+
export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
232
|
+
export interface AgentCollaboratorInputPayload {
|
|
233
|
+
type?: PayloadType | undefined;
|
|
234
|
+
text?: string | undefined;
|
|
235
|
+
returnControlResults?: ReturnControlResults | undefined;
|
|
236
|
+
}
|
|
237
|
+
export interface AgentCollaboratorInvocationInput {
|
|
238
|
+
agentCollaboratorName?: string | undefined;
|
|
239
|
+
agentCollaboratorAliasArn?: string | undefined;
|
|
240
|
+
input?: AgentCollaboratorInputPayload | undefined;
|
|
241
|
+
}
|
|
242
|
+
export interface ApiParameter {
|
|
243
|
+
name?: string | undefined;
|
|
244
|
+
type?: string | undefined;
|
|
245
|
+
value?: string | undefined;
|
|
246
|
+
}
|
|
247
|
+
export interface PropertyParameters {
|
|
248
|
+
properties?: Parameter[] | undefined;
|
|
249
|
+
}
|
|
250
|
+
export interface ApiRequestBody {
|
|
251
|
+
content?: Record<string, PropertyParameters> | undefined;
|
|
252
|
+
}
|
|
253
|
+
export interface ApiInvocationInput {
|
|
254
|
+
actionGroup: string | undefined;
|
|
255
|
+
httpMethod?: string | undefined;
|
|
256
|
+
apiPath?: string | undefined;
|
|
257
|
+
parameters?: ApiParameter[] | undefined;
|
|
258
|
+
requestBody?: ApiRequestBody | undefined;
|
|
259
|
+
actionInvocationType?: ActionInvocationType | undefined;
|
|
260
|
+
agentId?: string | undefined;
|
|
261
|
+
collaboratorName?: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface FunctionParameter {
|
|
264
|
+
name?: string | undefined;
|
|
265
|
+
type?: string | undefined;
|
|
266
|
+
value?: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
export interface FunctionInvocationInput {
|
|
269
|
+
actionGroup: string | undefined;
|
|
270
|
+
parameters?: FunctionParameter[] | undefined;
|
|
271
|
+
function?: string | undefined;
|
|
272
|
+
actionInvocationType?: ActionInvocationType | undefined;
|
|
273
|
+
agentId?: string | undefined;
|
|
274
|
+
collaboratorName?: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
export type InvocationInputMember =
|
|
277
|
+
| InvocationInputMember.ApiInvocationInputMember
|
|
278
|
+
| InvocationInputMember.FunctionInvocationInputMember
|
|
279
|
+
| InvocationInputMember.$UnknownMember;
|
|
280
|
+
export declare namespace InvocationInputMember {
|
|
281
|
+
interface ApiInvocationInputMember {
|
|
282
|
+
apiInvocationInput: ApiInvocationInput;
|
|
283
|
+
functionInvocationInput?: never;
|
|
284
|
+
$unknown?: never;
|
|
285
|
+
}
|
|
286
|
+
interface FunctionInvocationInputMember {
|
|
287
|
+
apiInvocationInput?: never;
|
|
288
|
+
functionInvocationInput: FunctionInvocationInput;
|
|
289
|
+
$unknown?: never;
|
|
290
|
+
}
|
|
291
|
+
interface $UnknownMember {
|
|
292
|
+
apiInvocationInput?: never;
|
|
293
|
+
functionInvocationInput?: never;
|
|
294
|
+
$unknown: [string, any];
|
|
295
|
+
}
|
|
296
|
+
interface Visitor<T> {
|
|
297
|
+
apiInvocationInput: (value: ApiInvocationInput) => T;
|
|
298
|
+
functionInvocationInput: (value: FunctionInvocationInput) => T;
|
|
299
|
+
_: (name: string, value: any) => T;
|
|
300
|
+
}
|
|
301
|
+
const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
|
|
302
|
+
}
|
|
303
|
+
export interface ReturnControlPayload {
|
|
304
|
+
invocationInputs?: InvocationInputMember[] | undefined;
|
|
305
|
+
invocationId?: string | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface AgentCollaboratorOutputPayload {
|
|
308
|
+
type?: PayloadType | undefined;
|
|
309
|
+
text?: string | undefined;
|
|
310
|
+
returnControlPayload?: ReturnControlPayload | undefined;
|
|
311
|
+
}
|
|
312
|
+
export interface AgentCollaboratorInvocationOutput {
|
|
313
|
+
agentCollaboratorName?: string | undefined;
|
|
314
|
+
agentCollaboratorAliasArn?: string | undefined;
|
|
315
|
+
output?: AgentCollaboratorOutputPayload | undefined;
|
|
316
|
+
}
|
|
164
317
|
export declare class BadGatewayException extends __BaseException {
|
|
165
318
|
readonly name: "BadGatewayException";
|
|
166
319
|
readonly $fault: "server";
|
|
@@ -620,6 +773,37 @@ export declare namespace FlowResponseStream {
|
|
|
620
773
|
export interface InvokeFlowResponse {
|
|
621
774
|
responseStream: AsyncIterable<FlowResponseStream> | undefined;
|
|
622
775
|
}
|
|
776
|
+
export type ContentBlock =
|
|
777
|
+
| ContentBlock.TextMember
|
|
778
|
+
| ContentBlock.$UnknownMember;
|
|
779
|
+
export declare namespace ContentBlock {
|
|
780
|
+
interface TextMember {
|
|
781
|
+
text: string;
|
|
782
|
+
$unknown?: never;
|
|
783
|
+
}
|
|
784
|
+
interface $UnknownMember {
|
|
785
|
+
text?: never;
|
|
786
|
+
$unknown: [string, any];
|
|
787
|
+
}
|
|
788
|
+
interface Visitor<T> {
|
|
789
|
+
text: (value: string) => T;
|
|
790
|
+
_: (name: string, value: any) => T;
|
|
791
|
+
}
|
|
792
|
+
const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
|
|
793
|
+
}
|
|
794
|
+
export declare const ConversationRole: {
|
|
795
|
+
readonly ASSISTANT: "assistant";
|
|
796
|
+
readonly USER: "user";
|
|
797
|
+
};
|
|
798
|
+
export type ConversationRole =
|
|
799
|
+
(typeof ConversationRole)[keyof typeof ConversationRole];
|
|
800
|
+
export interface Message {
|
|
801
|
+
role: ConversationRole | undefined;
|
|
802
|
+
content: ContentBlock[] | undefined;
|
|
803
|
+
}
|
|
804
|
+
export interface ConversationHistory {
|
|
805
|
+
messages?: Message[] | undefined;
|
|
806
|
+
}
|
|
623
807
|
export interface ByteContentFile {
|
|
624
808
|
mediaType: string | undefined;
|
|
625
809
|
data: Uint8Array | undefined;
|
|
@@ -652,67 +836,93 @@ export interface FilterAttribute {
|
|
|
652
836
|
key: string | undefined;
|
|
653
837
|
value: __DocumentType | undefined;
|
|
654
838
|
}
|
|
839
|
+
export declare const AttributeType: {
|
|
840
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
841
|
+
readonly NUMBER: "NUMBER";
|
|
842
|
+
readonly STRING: "STRING";
|
|
843
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
844
|
+
};
|
|
845
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
846
|
+
export interface MetadataAttributeSchema {
|
|
847
|
+
key: string | undefined;
|
|
848
|
+
type: AttributeType | undefined;
|
|
849
|
+
description: string | undefined;
|
|
850
|
+
}
|
|
851
|
+
export interface ImplicitFilterConfiguration {
|
|
852
|
+
metadataAttributes: MetadataAttributeSchema[] | undefined;
|
|
853
|
+
modelArn: string | undefined;
|
|
854
|
+
}
|
|
655
855
|
export declare const SearchType: {
|
|
656
856
|
readonly HYBRID: "HYBRID";
|
|
657
857
|
readonly SEMANTIC: "SEMANTIC";
|
|
658
858
|
};
|
|
659
859
|
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
660
|
-
export declare const
|
|
661
|
-
readonly
|
|
662
|
-
readonly
|
|
860
|
+
export declare const RerankingMetadataSelectionMode: {
|
|
861
|
+
readonly ALL: "ALL";
|
|
862
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
663
863
|
};
|
|
664
|
-
export type
|
|
665
|
-
(typeof
|
|
666
|
-
export interface
|
|
667
|
-
|
|
668
|
-
}
|
|
669
|
-
export declare const ResponseState: {
|
|
670
|
-
readonly FAILURE: "FAILURE";
|
|
671
|
-
readonly REPROMPT: "REPROMPT";
|
|
672
|
-
};
|
|
673
|
-
export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
|
|
674
|
-
export interface ApiResult {
|
|
675
|
-
actionGroup: string | undefined;
|
|
676
|
-
httpMethod?: string | undefined;
|
|
677
|
-
apiPath?: string | undefined;
|
|
678
|
-
confirmationState?: ConfirmationState | undefined;
|
|
679
|
-
responseBody?: Record<string, ContentBody> | undefined;
|
|
680
|
-
httpStatusCode?: number | undefined;
|
|
681
|
-
responseState?: ResponseState | undefined;
|
|
864
|
+
export type RerankingMetadataSelectionMode =
|
|
865
|
+
(typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
|
|
866
|
+
export interface FieldForReranking {
|
|
867
|
+
fieldName: string | undefined;
|
|
682
868
|
}
|
|
683
|
-
export
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
| InvocationResultMember.ApiResultMember
|
|
692
|
-
| InvocationResultMember.FunctionResultMember
|
|
693
|
-
| InvocationResultMember.$UnknownMember;
|
|
694
|
-
export declare namespace InvocationResultMember {
|
|
695
|
-
interface ApiResultMember {
|
|
696
|
-
apiResult: ApiResult;
|
|
697
|
-
functionResult?: never;
|
|
869
|
+
export type RerankingMetadataSelectiveModeConfiguration =
|
|
870
|
+
| RerankingMetadataSelectiveModeConfiguration.FieldsToExcludeMember
|
|
871
|
+
| RerankingMetadataSelectiveModeConfiguration.FieldsToIncludeMember
|
|
872
|
+
| RerankingMetadataSelectiveModeConfiguration.$UnknownMember;
|
|
873
|
+
export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
874
|
+
interface FieldsToIncludeMember {
|
|
875
|
+
fieldsToInclude: FieldForReranking[];
|
|
876
|
+
fieldsToExclude?: never;
|
|
698
877
|
$unknown?: never;
|
|
699
878
|
}
|
|
700
|
-
interface
|
|
701
|
-
|
|
702
|
-
|
|
879
|
+
interface FieldsToExcludeMember {
|
|
880
|
+
fieldsToInclude?: never;
|
|
881
|
+
fieldsToExclude: FieldForReranking[];
|
|
703
882
|
$unknown?: never;
|
|
704
883
|
}
|
|
705
884
|
interface $UnknownMember {
|
|
706
|
-
|
|
707
|
-
|
|
885
|
+
fieldsToInclude?: never;
|
|
886
|
+
fieldsToExclude?: never;
|
|
708
887
|
$unknown: [string, any];
|
|
709
888
|
}
|
|
710
889
|
interface Visitor<T> {
|
|
711
|
-
|
|
712
|
-
|
|
890
|
+
fieldsToInclude: (value: FieldForReranking[]) => T;
|
|
891
|
+
fieldsToExclude: (value: FieldForReranking[]) => T;
|
|
713
892
|
_: (name: string, value: any) => T;
|
|
714
893
|
}
|
|
715
|
-
const visit: <T>(
|
|
894
|
+
const visit: <T>(
|
|
895
|
+
value: RerankingMetadataSelectiveModeConfiguration,
|
|
896
|
+
visitor: Visitor<T>
|
|
897
|
+
) => T;
|
|
898
|
+
}
|
|
899
|
+
export interface MetadataConfigurationForReranking {
|
|
900
|
+
selectionMode: RerankingMetadataSelectionMode | undefined;
|
|
901
|
+
selectiveModeConfiguration?:
|
|
902
|
+
| RerankingMetadataSelectiveModeConfiguration
|
|
903
|
+
| undefined;
|
|
904
|
+
}
|
|
905
|
+
export interface VectorSearchBedrockRerankingModelConfiguration {
|
|
906
|
+
modelArn: string | undefined;
|
|
907
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
908
|
+
}
|
|
909
|
+
export interface VectorSearchBedrockRerankingConfiguration {
|
|
910
|
+
modelConfiguration:
|
|
911
|
+
| VectorSearchBedrockRerankingModelConfiguration
|
|
912
|
+
| undefined;
|
|
913
|
+
numberOfRerankedResults?: number | undefined;
|
|
914
|
+
metadataConfiguration?: MetadataConfigurationForReranking | undefined;
|
|
915
|
+
}
|
|
916
|
+
export declare const VectorSearchRerankingConfigurationType: {
|
|
917
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
918
|
+
};
|
|
919
|
+
export type VectorSearchRerankingConfigurationType =
|
|
920
|
+
(typeof VectorSearchRerankingConfigurationType)[keyof typeof VectorSearchRerankingConfigurationType];
|
|
921
|
+
export interface VectorSearchRerankingConfiguration {
|
|
922
|
+
type: VectorSearchRerankingConfigurationType | undefined;
|
|
923
|
+
bedrockRerankingConfiguration?:
|
|
924
|
+
| VectorSearchBedrockRerankingConfiguration
|
|
925
|
+
| undefined;
|
|
716
926
|
}
|
|
717
927
|
export interface StreamingConfigurations {
|
|
718
928
|
streamFinalResponse?: boolean | undefined;
|
|
@@ -735,6 +945,9 @@ export interface RetrievalResultContent {
|
|
|
735
945
|
export interface RetrievalResultConfluenceLocation {
|
|
736
946
|
url?: string | undefined;
|
|
737
947
|
}
|
|
948
|
+
export interface RetrievalResultCustomDocumentLocation {
|
|
949
|
+
id?: string | undefined;
|
|
950
|
+
}
|
|
738
951
|
export interface RetrievalResultS3Location {
|
|
739
952
|
uri?: string | undefined;
|
|
740
953
|
}
|
|
@@ -746,6 +959,7 @@ export interface RetrievalResultSharePointLocation {
|
|
|
746
959
|
}
|
|
747
960
|
export declare const RetrievalResultLocationType: {
|
|
748
961
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
962
|
+
readonly CUSTOM: "CUSTOM";
|
|
749
963
|
readonly S3: "S3";
|
|
750
964
|
readonly SALESFORCE: "SALESFORCE";
|
|
751
965
|
readonly SHAREPOINT: "SHAREPOINT";
|
|
@@ -763,6 +977,7 @@ export interface RetrievalResultLocation {
|
|
|
763
977
|
confluenceLocation?: RetrievalResultConfluenceLocation | undefined;
|
|
764
978
|
salesforceLocation?: RetrievalResultSalesforceLocation | undefined;
|
|
765
979
|
sharePointLocation?: RetrievalResultSharePointLocation | undefined;
|
|
980
|
+
customDocumentLocation?: RetrievalResultCustomDocumentLocation | undefined;
|
|
766
981
|
}
|
|
767
982
|
export interface RetrievedReference {
|
|
768
983
|
content?: RetrievalResultContent | undefined;
|
|
@@ -788,66 +1003,21 @@ export interface OutputFile {
|
|
|
788
1003
|
export interface FilePart {
|
|
789
1004
|
files?: OutputFile[] | undefined;
|
|
790
1005
|
}
|
|
791
|
-
export
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
export interface PropertyParameters {
|
|
797
|
-
properties?: Parameter[] | undefined;
|
|
798
|
-
}
|
|
799
|
-
export interface ApiRequestBody {
|
|
800
|
-
content?: Record<string, PropertyParameters> | undefined;
|
|
801
|
-
}
|
|
802
|
-
export interface ApiInvocationInput {
|
|
803
|
-
actionGroup: string | undefined;
|
|
804
|
-
httpMethod?: string | undefined;
|
|
805
|
-
apiPath?: string | undefined;
|
|
806
|
-
parameters?: ApiParameter[] | undefined;
|
|
807
|
-
requestBody?: ApiRequestBody | undefined;
|
|
808
|
-
actionInvocationType?: ActionInvocationType | undefined;
|
|
809
|
-
}
|
|
810
|
-
export interface FunctionParameter {
|
|
811
|
-
name?: string | undefined;
|
|
812
|
-
type?: string | undefined;
|
|
813
|
-
value?: string | undefined;
|
|
814
|
-
}
|
|
815
|
-
export interface FunctionInvocationInput {
|
|
816
|
-
actionGroup: string | undefined;
|
|
817
|
-
parameters?: FunctionParameter[] | undefined;
|
|
818
|
-
function?: string | undefined;
|
|
819
|
-
actionInvocationType?: ActionInvocationType | undefined;
|
|
820
|
-
}
|
|
821
|
-
export type InvocationInputMember =
|
|
822
|
-
| InvocationInputMember.ApiInvocationInputMember
|
|
823
|
-
| InvocationInputMember.FunctionInvocationInputMember
|
|
824
|
-
| InvocationInputMember.$UnknownMember;
|
|
825
|
-
export declare namespace InvocationInputMember {
|
|
826
|
-
interface ApiInvocationInputMember {
|
|
827
|
-
apiInvocationInput: ApiInvocationInput;
|
|
828
|
-
functionInvocationInput?: never;
|
|
829
|
-
$unknown?: never;
|
|
830
|
-
}
|
|
831
|
-
interface FunctionInvocationInputMember {
|
|
832
|
-
apiInvocationInput?: never;
|
|
833
|
-
functionInvocationInput: FunctionInvocationInput;
|
|
1006
|
+
export type Caller = Caller.AgentAliasArnMember | Caller.$UnknownMember;
|
|
1007
|
+
export declare namespace Caller {
|
|
1008
|
+
interface AgentAliasArnMember {
|
|
1009
|
+
agentAliasArn: string;
|
|
834
1010
|
$unknown?: never;
|
|
835
1011
|
}
|
|
836
1012
|
interface $UnknownMember {
|
|
837
|
-
|
|
838
|
-
functionInvocationInput?: never;
|
|
1013
|
+
agentAliasArn?: never;
|
|
839
1014
|
$unknown: [string, any];
|
|
840
1015
|
}
|
|
841
1016
|
interface Visitor<T> {
|
|
842
|
-
|
|
843
|
-
functionInvocationInput: (value: FunctionInvocationInput) => T;
|
|
1017
|
+
agentAliasArn: (value: string) => T;
|
|
844
1018
|
_: (name: string, value: any) => T;
|
|
845
1019
|
}
|
|
846
|
-
const visit: <T>(value:
|
|
847
|
-
}
|
|
848
|
-
export interface ReturnControlPayload {
|
|
849
|
-
invocationInputs?: InvocationInputMember[] | undefined;
|
|
850
|
-
invocationId?: string | undefined;
|
|
1020
|
+
const visit: <T>(value: Caller, visitor: Visitor<T>) => T;
|
|
851
1021
|
}
|
|
852
1022
|
export interface CustomOrchestrationTraceEvent {
|
|
853
1023
|
text?: string | undefined;
|
|
@@ -1015,6 +1185,7 @@ export interface CodeInterpreterInvocationInput {
|
|
|
1015
1185
|
export declare const InvocationType: {
|
|
1016
1186
|
readonly ACTION_GROUP: "ACTION_GROUP";
|
|
1017
1187
|
readonly ACTION_GROUP_CODE_INTERPRETER: "ACTION_GROUP_CODE_INTERPRETER";
|
|
1188
|
+
readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
|
|
1018
1189
|
readonly FINISH: "FINISH";
|
|
1019
1190
|
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
1020
1191
|
};
|
|
@@ -1030,6 +1201,9 @@ export interface InvocationInput {
|
|
|
1030
1201
|
actionGroupInvocationInput?: ActionGroupInvocationInput | undefined;
|
|
1031
1202
|
knowledgeBaseLookupInput?: KnowledgeBaseLookupInput | undefined;
|
|
1032
1203
|
codeInterpreterInvocationInput?: CodeInterpreterInvocationInput | undefined;
|
|
1204
|
+
agentCollaboratorInvocationInput?:
|
|
1205
|
+
| AgentCollaboratorInvocationInput
|
|
1206
|
+
| undefined;
|
|
1033
1207
|
}
|
|
1034
1208
|
export interface InferenceConfiguration {
|
|
1035
1209
|
temperature?: number | undefined;
|
|
@@ -1059,6 +1233,7 @@ export interface ModelInvocationInput {
|
|
|
1059
1233
|
promptCreationMode?: CreationMode | undefined;
|
|
1060
1234
|
inferenceConfiguration?: InferenceConfiguration | undefined;
|
|
1061
1235
|
parserMode?: CreationMode | undefined;
|
|
1236
|
+
foundationModel?: string | undefined;
|
|
1062
1237
|
}
|
|
1063
1238
|
export interface Usage {
|
|
1064
1239
|
inputTokens?: number | undefined;
|
|
@@ -1099,6 +1274,7 @@ export interface RepromptResponse {
|
|
|
1099
1274
|
}
|
|
1100
1275
|
export declare const Type: {
|
|
1101
1276
|
readonly ACTION_GROUP: "ACTION_GROUP";
|
|
1277
|
+
readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
|
|
1102
1278
|
readonly ASK_USER: "ASK_USER";
|
|
1103
1279
|
readonly FINISH: "FINISH";
|
|
1104
1280
|
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
@@ -1109,6 +1285,9 @@ export interface Observation {
|
|
|
1109
1285
|
traceId?: string | undefined;
|
|
1110
1286
|
type?: Type | undefined;
|
|
1111
1287
|
actionGroupInvocationOutput?: ActionGroupInvocationOutput | undefined;
|
|
1288
|
+
agentCollaboratorInvocationOutput?:
|
|
1289
|
+
| AgentCollaboratorInvocationOutput
|
|
1290
|
+
| undefined;
|
|
1112
1291
|
knowledgeBaseLookupOutput?: KnowledgeBaseLookupOutput | undefined;
|
|
1113
1292
|
finalResponse?: FinalResponse | undefined;
|
|
1114
1293
|
repromptResponse?: RepromptResponse | undefined;
|
|
@@ -1252,10 +1431,66 @@ export declare namespace PreProcessingTrace {
|
|
|
1252
1431
|
}
|
|
1253
1432
|
interface Visitor<T> {
|
|
1254
1433
|
modelInvocationInput: (value: ModelInvocationInput) => T;
|
|
1255
|
-
modelInvocationOutput: (value: PreProcessingModelInvocationOutput) => T;
|
|
1434
|
+
modelInvocationOutput: (value: PreProcessingModelInvocationOutput) => T;
|
|
1435
|
+
_: (name: string, value: any) => T;
|
|
1436
|
+
}
|
|
1437
|
+
const visit: <T>(value: PreProcessingTrace, visitor: Visitor<T>) => T;
|
|
1438
|
+
}
|
|
1439
|
+
export interface RoutingClassifierModelInvocationOutput {
|
|
1440
|
+
traceId?: string | undefined;
|
|
1441
|
+
rawResponse?: RawResponse | undefined;
|
|
1442
|
+
metadata?: Metadata | undefined;
|
|
1443
|
+
}
|
|
1444
|
+
export type RoutingClassifierTrace =
|
|
1445
|
+
| RoutingClassifierTrace.InvocationInputMember
|
|
1446
|
+
| RoutingClassifierTrace.ModelInvocationInputMember
|
|
1447
|
+
| RoutingClassifierTrace.ModelInvocationOutputMember
|
|
1448
|
+
| RoutingClassifierTrace.ObservationMember
|
|
1449
|
+
| RoutingClassifierTrace.$UnknownMember;
|
|
1450
|
+
export declare namespace RoutingClassifierTrace {
|
|
1451
|
+
interface InvocationInputMember {
|
|
1452
|
+
invocationInput: InvocationInput;
|
|
1453
|
+
observation?: never;
|
|
1454
|
+
modelInvocationInput?: never;
|
|
1455
|
+
modelInvocationOutput?: never;
|
|
1456
|
+
$unknown?: never;
|
|
1457
|
+
}
|
|
1458
|
+
interface ObservationMember {
|
|
1459
|
+
invocationInput?: never;
|
|
1460
|
+
observation: Observation;
|
|
1461
|
+
modelInvocationInput?: never;
|
|
1462
|
+
modelInvocationOutput?: never;
|
|
1463
|
+
$unknown?: never;
|
|
1464
|
+
}
|
|
1465
|
+
interface ModelInvocationInputMember {
|
|
1466
|
+
invocationInput?: never;
|
|
1467
|
+
observation?: never;
|
|
1468
|
+
modelInvocationInput: ModelInvocationInput;
|
|
1469
|
+
modelInvocationOutput?: never;
|
|
1470
|
+
$unknown?: never;
|
|
1471
|
+
}
|
|
1472
|
+
interface ModelInvocationOutputMember {
|
|
1473
|
+
invocationInput?: never;
|
|
1474
|
+
observation?: never;
|
|
1475
|
+
modelInvocationInput?: never;
|
|
1476
|
+
modelInvocationOutput: RoutingClassifierModelInvocationOutput;
|
|
1477
|
+
$unknown?: never;
|
|
1478
|
+
}
|
|
1479
|
+
interface $UnknownMember {
|
|
1480
|
+
invocationInput?: never;
|
|
1481
|
+
observation?: never;
|
|
1482
|
+
modelInvocationInput?: never;
|
|
1483
|
+
modelInvocationOutput?: never;
|
|
1484
|
+
$unknown: [string, any];
|
|
1485
|
+
}
|
|
1486
|
+
interface Visitor<T> {
|
|
1487
|
+
invocationInput: (value: InvocationInput) => T;
|
|
1488
|
+
observation: (value: Observation) => T;
|
|
1489
|
+
modelInvocationInput: (value: ModelInvocationInput) => T;
|
|
1490
|
+
modelInvocationOutput: (value: RoutingClassifierModelInvocationOutput) => T;
|
|
1256
1491
|
_: (name: string, value: any) => T;
|
|
1257
1492
|
}
|
|
1258
|
-
const visit: <T>(value:
|
|
1493
|
+
const visit: <T>(value: RoutingClassifierTrace, visitor: Visitor<T>) => T;
|
|
1259
1494
|
}
|
|
1260
1495
|
export type Trace =
|
|
1261
1496
|
| Trace.CustomOrchestrationTraceMember
|
|
@@ -1264,6 +1499,7 @@ export type Trace =
|
|
|
1264
1499
|
| Trace.OrchestrationTraceMember
|
|
1265
1500
|
| Trace.PostProcessingTraceMember
|
|
1266
1501
|
| Trace.PreProcessingTraceMember
|
|
1502
|
+
| Trace.RoutingClassifierTraceMember
|
|
1267
1503
|
| Trace.$UnknownMember;
|
|
1268
1504
|
export declare namespace Trace {
|
|
1269
1505
|
interface GuardrailTraceMember {
|
|
@@ -1271,6 +1507,7 @@ export declare namespace Trace {
|
|
|
1271
1507
|
preProcessingTrace?: never;
|
|
1272
1508
|
orchestrationTrace?: never;
|
|
1273
1509
|
postProcessingTrace?: never;
|
|
1510
|
+
routingClassifierTrace?: never;
|
|
1274
1511
|
failureTrace?: never;
|
|
1275
1512
|
customOrchestrationTrace?: never;
|
|
1276
1513
|
$unknown?: never;
|
|
@@ -1280,6 +1517,7 @@ export declare namespace Trace {
|
|
|
1280
1517
|
preProcessingTrace: PreProcessingTrace;
|
|
1281
1518
|
orchestrationTrace?: never;
|
|
1282
1519
|
postProcessingTrace?: never;
|
|
1520
|
+
routingClassifierTrace?: never;
|
|
1283
1521
|
failureTrace?: never;
|
|
1284
1522
|
customOrchestrationTrace?: never;
|
|
1285
1523
|
$unknown?: never;
|
|
@@ -1289,6 +1527,7 @@ export declare namespace Trace {
|
|
|
1289
1527
|
preProcessingTrace?: never;
|
|
1290
1528
|
orchestrationTrace: OrchestrationTrace;
|
|
1291
1529
|
postProcessingTrace?: never;
|
|
1530
|
+
routingClassifierTrace?: never;
|
|
1292
1531
|
failureTrace?: never;
|
|
1293
1532
|
customOrchestrationTrace?: never;
|
|
1294
1533
|
$unknown?: never;
|
|
@@ -1298,6 +1537,17 @@ export declare namespace Trace {
|
|
|
1298
1537
|
preProcessingTrace?: never;
|
|
1299
1538
|
orchestrationTrace?: never;
|
|
1300
1539
|
postProcessingTrace: PostProcessingTrace;
|
|
1540
|
+
routingClassifierTrace?: never;
|
|
1541
|
+
failureTrace?: never;
|
|
1542
|
+
customOrchestrationTrace?: never;
|
|
1543
|
+
$unknown?: never;
|
|
1544
|
+
}
|
|
1545
|
+
interface RoutingClassifierTraceMember {
|
|
1546
|
+
guardrailTrace?: never;
|
|
1547
|
+
preProcessingTrace?: never;
|
|
1548
|
+
orchestrationTrace?: never;
|
|
1549
|
+
postProcessingTrace?: never;
|
|
1550
|
+
routingClassifierTrace: RoutingClassifierTrace;
|
|
1301
1551
|
failureTrace?: never;
|
|
1302
1552
|
customOrchestrationTrace?: never;
|
|
1303
1553
|
$unknown?: never;
|
|
@@ -1307,6 +1557,7 @@ export declare namespace Trace {
|
|
|
1307
1557
|
preProcessingTrace?: never;
|
|
1308
1558
|
orchestrationTrace?: never;
|
|
1309
1559
|
postProcessingTrace?: never;
|
|
1560
|
+
routingClassifierTrace?: never;
|
|
1310
1561
|
failureTrace: FailureTrace;
|
|
1311
1562
|
customOrchestrationTrace?: never;
|
|
1312
1563
|
$unknown?: never;
|
|
@@ -1316,6 +1567,7 @@ export declare namespace Trace {
|
|
|
1316
1567
|
preProcessingTrace?: never;
|
|
1317
1568
|
orchestrationTrace?: never;
|
|
1318
1569
|
postProcessingTrace?: never;
|
|
1570
|
+
routingClassifierTrace?: never;
|
|
1319
1571
|
failureTrace?: never;
|
|
1320
1572
|
customOrchestrationTrace: CustomOrchestrationTrace;
|
|
1321
1573
|
$unknown?: never;
|
|
@@ -1325,6 +1577,7 @@ export declare namespace Trace {
|
|
|
1325
1577
|
preProcessingTrace?: never;
|
|
1326
1578
|
orchestrationTrace?: never;
|
|
1327
1579
|
postProcessingTrace?: never;
|
|
1580
|
+
routingClassifierTrace?: never;
|
|
1328
1581
|
failureTrace?: never;
|
|
1329
1582
|
customOrchestrationTrace?: never;
|
|
1330
1583
|
$unknown: [string, any];
|
|
@@ -1334,6 +1587,7 @@ export declare namespace Trace {
|
|
|
1334
1587
|
preProcessingTrace: (value: PreProcessingTrace) => T;
|
|
1335
1588
|
orchestrationTrace: (value: OrchestrationTrace) => T;
|
|
1336
1589
|
postProcessingTrace: (value: PostProcessingTrace) => T;
|
|
1590
|
+
routingClassifierTrace: (value: RoutingClassifierTrace) => T;
|
|
1337
1591
|
failureTrace: (value: FailureTrace) => T;
|
|
1338
1592
|
customOrchestrationTrace: (value: CustomOrchestrationTrace) => T;
|
|
1339
1593
|
_: (name: string, value: any) => T;
|
|
@@ -1346,6 +1600,8 @@ export interface TracePart {
|
|
|
1346
1600
|
agentId?: string | undefined;
|
|
1347
1601
|
agentAliasId?: string | undefined;
|
|
1348
1602
|
agentVersion?: string | undefined;
|
|
1603
|
+
callerChain?: Caller[] | undefined;
|
|
1604
|
+
collaboratorName?: string | undefined;
|
|
1349
1605
|
}
|
|
1350
1606
|
export type ResponseStream =
|
|
1351
1607
|
| ResponseStream.AccessDeniedExceptionMember
|
|
@@ -2137,6 +2393,70 @@ export declare namespace OptimizedPromptStream {
|
|
|
2137
2393
|
export interface OptimizePromptResponse {
|
|
2138
2394
|
optimizedPrompt: AsyncIterable<OptimizedPromptStream> | undefined;
|
|
2139
2395
|
}
|
|
2396
|
+
export interface RerankTextDocument {
|
|
2397
|
+
text?: string | undefined;
|
|
2398
|
+
}
|
|
2399
|
+
export declare const RerankQueryContentType: {
|
|
2400
|
+
readonly TEXT: "TEXT";
|
|
2401
|
+
};
|
|
2402
|
+
export type RerankQueryContentType =
|
|
2403
|
+
(typeof RerankQueryContentType)[keyof typeof RerankQueryContentType];
|
|
2404
|
+
export interface RerankQuery {
|
|
2405
|
+
type: RerankQueryContentType | undefined;
|
|
2406
|
+
textQuery: RerankTextDocument | undefined;
|
|
2407
|
+
}
|
|
2408
|
+
export interface BedrockRerankingModelConfiguration {
|
|
2409
|
+
modelArn: string | undefined;
|
|
2410
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
2411
|
+
}
|
|
2412
|
+
export interface BedrockRerankingConfiguration {
|
|
2413
|
+
numberOfResults?: number | undefined;
|
|
2414
|
+
modelConfiguration: BedrockRerankingModelConfiguration | undefined;
|
|
2415
|
+
}
|
|
2416
|
+
export declare const RerankingConfigurationType: {
|
|
2417
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
2418
|
+
};
|
|
2419
|
+
export type RerankingConfigurationType =
|
|
2420
|
+
(typeof RerankingConfigurationType)[keyof typeof RerankingConfigurationType];
|
|
2421
|
+
export interface RerankingConfiguration {
|
|
2422
|
+
type: RerankingConfigurationType | undefined;
|
|
2423
|
+
bedrockRerankingConfiguration: BedrockRerankingConfiguration | undefined;
|
|
2424
|
+
}
|
|
2425
|
+
export declare const RerankDocumentType: {
|
|
2426
|
+
readonly JSON: "JSON";
|
|
2427
|
+
readonly TEXT: "TEXT";
|
|
2428
|
+
};
|
|
2429
|
+
export type RerankDocumentType =
|
|
2430
|
+
(typeof RerankDocumentType)[keyof typeof RerankDocumentType];
|
|
2431
|
+
export interface RerankDocument {
|
|
2432
|
+
type: RerankDocumentType | undefined;
|
|
2433
|
+
textDocument?: RerankTextDocument | undefined;
|
|
2434
|
+
jsonDocument?: __DocumentType | undefined;
|
|
2435
|
+
}
|
|
2436
|
+
export declare const RerankSourceType: {
|
|
2437
|
+
readonly INLINE: "INLINE";
|
|
2438
|
+
};
|
|
2439
|
+
export type RerankSourceType =
|
|
2440
|
+
(typeof RerankSourceType)[keyof typeof RerankSourceType];
|
|
2441
|
+
export interface RerankSource {
|
|
2442
|
+
type: RerankSourceType | undefined;
|
|
2443
|
+
inlineDocumentSource: RerankDocument | undefined;
|
|
2444
|
+
}
|
|
2445
|
+
export interface RerankRequest {
|
|
2446
|
+
queries: RerankQuery[] | undefined;
|
|
2447
|
+
sources: RerankSource[] | undefined;
|
|
2448
|
+
rerankingConfiguration: RerankingConfiguration | undefined;
|
|
2449
|
+
nextToken?: string | undefined;
|
|
2450
|
+
}
|
|
2451
|
+
export interface RerankResult {
|
|
2452
|
+
index: number | undefined;
|
|
2453
|
+
relevanceScore: number | undefined;
|
|
2454
|
+
document?: RerankDocument | undefined;
|
|
2455
|
+
}
|
|
2456
|
+
export interface RerankResponse {
|
|
2457
|
+
results: RerankResult[] | undefined;
|
|
2458
|
+
nextToken?: string | undefined;
|
|
2459
|
+
}
|
|
2140
2460
|
export interface RetrieveAndGenerateInput {
|
|
2141
2461
|
text: string | undefined;
|
|
2142
2462
|
}
|
|
@@ -2232,6 +2552,249 @@ export interface RetrieveAndGenerateResponse {
|
|
|
2232
2552
|
citations?: Citation[] | undefined;
|
|
2233
2553
|
guardrailAction?: GuadrailAction | undefined;
|
|
2234
2554
|
}
|
|
2555
|
+
export interface CitationEvent {
|
|
2556
|
+
citation?: Citation | undefined;
|
|
2557
|
+
}
|
|
2558
|
+
export interface GuardrailEvent {
|
|
2559
|
+
action?: GuadrailAction | undefined;
|
|
2560
|
+
}
|
|
2561
|
+
export interface RetrieveAndGenerateOutputEvent {
|
|
2562
|
+
text: string | undefined;
|
|
2563
|
+
}
|
|
2564
|
+
export type RetrieveAndGenerateStreamResponseOutput =
|
|
2565
|
+
| RetrieveAndGenerateStreamResponseOutput.AccessDeniedExceptionMember
|
|
2566
|
+
| RetrieveAndGenerateStreamResponseOutput.BadGatewayExceptionMember
|
|
2567
|
+
| RetrieveAndGenerateStreamResponseOutput.CitationMember
|
|
2568
|
+
| RetrieveAndGenerateStreamResponseOutput.ConflictExceptionMember
|
|
2569
|
+
| RetrieveAndGenerateStreamResponseOutput.DependencyFailedExceptionMember
|
|
2570
|
+
| RetrieveAndGenerateStreamResponseOutput.GuardrailMember
|
|
2571
|
+
| RetrieveAndGenerateStreamResponseOutput.InternalServerExceptionMember
|
|
2572
|
+
| RetrieveAndGenerateStreamResponseOutput.OutputMember
|
|
2573
|
+
| RetrieveAndGenerateStreamResponseOutput.ResourceNotFoundExceptionMember
|
|
2574
|
+
| RetrieveAndGenerateStreamResponseOutput.ServiceQuotaExceededExceptionMember
|
|
2575
|
+
| RetrieveAndGenerateStreamResponseOutput.ThrottlingExceptionMember
|
|
2576
|
+
| RetrieveAndGenerateStreamResponseOutput.ValidationExceptionMember
|
|
2577
|
+
| RetrieveAndGenerateStreamResponseOutput.$UnknownMember;
|
|
2578
|
+
export declare namespace RetrieveAndGenerateStreamResponseOutput {
|
|
2579
|
+
interface OutputMember {
|
|
2580
|
+
output: RetrieveAndGenerateOutputEvent;
|
|
2581
|
+
citation?: never;
|
|
2582
|
+
guardrail?: never;
|
|
2583
|
+
internalServerException?: never;
|
|
2584
|
+
validationException?: never;
|
|
2585
|
+
resourceNotFoundException?: never;
|
|
2586
|
+
serviceQuotaExceededException?: never;
|
|
2587
|
+
throttlingException?: never;
|
|
2588
|
+
accessDeniedException?: never;
|
|
2589
|
+
conflictException?: never;
|
|
2590
|
+
dependencyFailedException?: never;
|
|
2591
|
+
badGatewayException?: never;
|
|
2592
|
+
$unknown?: never;
|
|
2593
|
+
}
|
|
2594
|
+
interface CitationMember {
|
|
2595
|
+
output?: never;
|
|
2596
|
+
citation: CitationEvent;
|
|
2597
|
+
guardrail?: never;
|
|
2598
|
+
internalServerException?: never;
|
|
2599
|
+
validationException?: never;
|
|
2600
|
+
resourceNotFoundException?: never;
|
|
2601
|
+
serviceQuotaExceededException?: never;
|
|
2602
|
+
throttlingException?: never;
|
|
2603
|
+
accessDeniedException?: never;
|
|
2604
|
+
conflictException?: never;
|
|
2605
|
+
dependencyFailedException?: never;
|
|
2606
|
+
badGatewayException?: never;
|
|
2607
|
+
$unknown?: never;
|
|
2608
|
+
}
|
|
2609
|
+
interface GuardrailMember {
|
|
2610
|
+
output?: never;
|
|
2611
|
+
citation?: never;
|
|
2612
|
+
guardrail: GuardrailEvent;
|
|
2613
|
+
internalServerException?: never;
|
|
2614
|
+
validationException?: never;
|
|
2615
|
+
resourceNotFoundException?: never;
|
|
2616
|
+
serviceQuotaExceededException?: never;
|
|
2617
|
+
throttlingException?: never;
|
|
2618
|
+
accessDeniedException?: never;
|
|
2619
|
+
conflictException?: never;
|
|
2620
|
+
dependencyFailedException?: never;
|
|
2621
|
+
badGatewayException?: never;
|
|
2622
|
+
$unknown?: never;
|
|
2623
|
+
}
|
|
2624
|
+
interface InternalServerExceptionMember {
|
|
2625
|
+
output?: never;
|
|
2626
|
+
citation?: never;
|
|
2627
|
+
guardrail?: never;
|
|
2628
|
+
internalServerException: InternalServerException;
|
|
2629
|
+
validationException?: never;
|
|
2630
|
+
resourceNotFoundException?: never;
|
|
2631
|
+
serviceQuotaExceededException?: never;
|
|
2632
|
+
throttlingException?: never;
|
|
2633
|
+
accessDeniedException?: never;
|
|
2634
|
+
conflictException?: never;
|
|
2635
|
+
dependencyFailedException?: never;
|
|
2636
|
+
badGatewayException?: never;
|
|
2637
|
+
$unknown?: never;
|
|
2638
|
+
}
|
|
2639
|
+
interface ValidationExceptionMember {
|
|
2640
|
+
output?: never;
|
|
2641
|
+
citation?: never;
|
|
2642
|
+
guardrail?: never;
|
|
2643
|
+
internalServerException?: never;
|
|
2644
|
+
validationException: ValidationException;
|
|
2645
|
+
resourceNotFoundException?: never;
|
|
2646
|
+
serviceQuotaExceededException?: never;
|
|
2647
|
+
throttlingException?: never;
|
|
2648
|
+
accessDeniedException?: never;
|
|
2649
|
+
conflictException?: never;
|
|
2650
|
+
dependencyFailedException?: never;
|
|
2651
|
+
badGatewayException?: never;
|
|
2652
|
+
$unknown?: never;
|
|
2653
|
+
}
|
|
2654
|
+
interface ResourceNotFoundExceptionMember {
|
|
2655
|
+
output?: never;
|
|
2656
|
+
citation?: never;
|
|
2657
|
+
guardrail?: never;
|
|
2658
|
+
internalServerException?: never;
|
|
2659
|
+
validationException?: never;
|
|
2660
|
+
resourceNotFoundException: ResourceNotFoundException;
|
|
2661
|
+
serviceQuotaExceededException?: never;
|
|
2662
|
+
throttlingException?: never;
|
|
2663
|
+
accessDeniedException?: never;
|
|
2664
|
+
conflictException?: never;
|
|
2665
|
+
dependencyFailedException?: never;
|
|
2666
|
+
badGatewayException?: never;
|
|
2667
|
+
$unknown?: never;
|
|
2668
|
+
}
|
|
2669
|
+
interface ServiceQuotaExceededExceptionMember {
|
|
2670
|
+
output?: never;
|
|
2671
|
+
citation?: never;
|
|
2672
|
+
guardrail?: never;
|
|
2673
|
+
internalServerException?: never;
|
|
2674
|
+
validationException?: never;
|
|
2675
|
+
resourceNotFoundException?: never;
|
|
2676
|
+
serviceQuotaExceededException: ServiceQuotaExceededException;
|
|
2677
|
+
throttlingException?: never;
|
|
2678
|
+
accessDeniedException?: never;
|
|
2679
|
+
conflictException?: never;
|
|
2680
|
+
dependencyFailedException?: never;
|
|
2681
|
+
badGatewayException?: never;
|
|
2682
|
+
$unknown?: never;
|
|
2683
|
+
}
|
|
2684
|
+
interface ThrottlingExceptionMember {
|
|
2685
|
+
output?: never;
|
|
2686
|
+
citation?: never;
|
|
2687
|
+
guardrail?: never;
|
|
2688
|
+
internalServerException?: never;
|
|
2689
|
+
validationException?: never;
|
|
2690
|
+
resourceNotFoundException?: never;
|
|
2691
|
+
serviceQuotaExceededException?: never;
|
|
2692
|
+
throttlingException: ThrottlingException;
|
|
2693
|
+
accessDeniedException?: never;
|
|
2694
|
+
conflictException?: never;
|
|
2695
|
+
dependencyFailedException?: never;
|
|
2696
|
+
badGatewayException?: never;
|
|
2697
|
+
$unknown?: never;
|
|
2698
|
+
}
|
|
2699
|
+
interface AccessDeniedExceptionMember {
|
|
2700
|
+
output?: never;
|
|
2701
|
+
citation?: never;
|
|
2702
|
+
guardrail?: never;
|
|
2703
|
+
internalServerException?: never;
|
|
2704
|
+
validationException?: never;
|
|
2705
|
+
resourceNotFoundException?: never;
|
|
2706
|
+
serviceQuotaExceededException?: never;
|
|
2707
|
+
throttlingException?: never;
|
|
2708
|
+
accessDeniedException: AccessDeniedException;
|
|
2709
|
+
conflictException?: never;
|
|
2710
|
+
dependencyFailedException?: never;
|
|
2711
|
+
badGatewayException?: never;
|
|
2712
|
+
$unknown?: never;
|
|
2713
|
+
}
|
|
2714
|
+
interface ConflictExceptionMember {
|
|
2715
|
+
output?: never;
|
|
2716
|
+
citation?: never;
|
|
2717
|
+
guardrail?: never;
|
|
2718
|
+
internalServerException?: never;
|
|
2719
|
+
validationException?: never;
|
|
2720
|
+
resourceNotFoundException?: never;
|
|
2721
|
+
serviceQuotaExceededException?: never;
|
|
2722
|
+
throttlingException?: never;
|
|
2723
|
+
accessDeniedException?: never;
|
|
2724
|
+
conflictException: ConflictException;
|
|
2725
|
+
dependencyFailedException?: never;
|
|
2726
|
+
badGatewayException?: never;
|
|
2727
|
+
$unknown?: never;
|
|
2728
|
+
}
|
|
2729
|
+
interface DependencyFailedExceptionMember {
|
|
2730
|
+
output?: never;
|
|
2731
|
+
citation?: never;
|
|
2732
|
+
guardrail?: never;
|
|
2733
|
+
internalServerException?: never;
|
|
2734
|
+
validationException?: never;
|
|
2735
|
+
resourceNotFoundException?: never;
|
|
2736
|
+
serviceQuotaExceededException?: never;
|
|
2737
|
+
throttlingException?: never;
|
|
2738
|
+
accessDeniedException?: never;
|
|
2739
|
+
conflictException?: never;
|
|
2740
|
+
dependencyFailedException: DependencyFailedException;
|
|
2741
|
+
badGatewayException?: never;
|
|
2742
|
+
$unknown?: never;
|
|
2743
|
+
}
|
|
2744
|
+
interface BadGatewayExceptionMember {
|
|
2745
|
+
output?: never;
|
|
2746
|
+
citation?: never;
|
|
2747
|
+
guardrail?: never;
|
|
2748
|
+
internalServerException?: never;
|
|
2749
|
+
validationException?: never;
|
|
2750
|
+
resourceNotFoundException?: never;
|
|
2751
|
+
serviceQuotaExceededException?: never;
|
|
2752
|
+
throttlingException?: never;
|
|
2753
|
+
accessDeniedException?: never;
|
|
2754
|
+
conflictException?: never;
|
|
2755
|
+
dependencyFailedException?: never;
|
|
2756
|
+
badGatewayException: BadGatewayException;
|
|
2757
|
+
$unknown?: never;
|
|
2758
|
+
}
|
|
2759
|
+
interface $UnknownMember {
|
|
2760
|
+
output?: never;
|
|
2761
|
+
citation?: never;
|
|
2762
|
+
guardrail?: never;
|
|
2763
|
+
internalServerException?: never;
|
|
2764
|
+
validationException?: never;
|
|
2765
|
+
resourceNotFoundException?: never;
|
|
2766
|
+
serviceQuotaExceededException?: never;
|
|
2767
|
+
throttlingException?: never;
|
|
2768
|
+
accessDeniedException?: never;
|
|
2769
|
+
conflictException?: never;
|
|
2770
|
+
dependencyFailedException?: never;
|
|
2771
|
+
badGatewayException?: never;
|
|
2772
|
+
$unknown: [string, any];
|
|
2773
|
+
}
|
|
2774
|
+
interface Visitor<T> {
|
|
2775
|
+
output: (value: RetrieveAndGenerateOutputEvent) => T;
|
|
2776
|
+
citation: (value: CitationEvent) => T;
|
|
2777
|
+
guardrail: (value: GuardrailEvent) => T;
|
|
2778
|
+
internalServerException: (value: InternalServerException) => T;
|
|
2779
|
+
validationException: (value: ValidationException) => T;
|
|
2780
|
+
resourceNotFoundException: (value: ResourceNotFoundException) => T;
|
|
2781
|
+
serviceQuotaExceededException: (value: ServiceQuotaExceededException) => T;
|
|
2782
|
+
throttlingException: (value: ThrottlingException) => T;
|
|
2783
|
+
accessDeniedException: (value: AccessDeniedException) => T;
|
|
2784
|
+
conflictException: (value: ConflictException) => T;
|
|
2785
|
+
dependencyFailedException: (value: DependencyFailedException) => T;
|
|
2786
|
+
badGatewayException: (value: BadGatewayException) => T;
|
|
2787
|
+
_: (name: string, value: any) => T;
|
|
2788
|
+
}
|
|
2789
|
+
const visit: <T>(
|
|
2790
|
+
value: RetrieveAndGenerateStreamResponseOutput,
|
|
2791
|
+
visitor: Visitor<T>
|
|
2792
|
+
) => T;
|
|
2793
|
+
}
|
|
2794
|
+
export interface RetrieveAndGenerateStreamResponse {
|
|
2795
|
+
stream: AsyncIterable<RetrieveAndGenerateStreamResponseOutput> | undefined;
|
|
2796
|
+
sessionId: string | undefined;
|
|
2797
|
+
}
|
|
2235
2798
|
export interface KnowledgeBaseQuery {
|
|
2236
2799
|
text: string | undefined;
|
|
2237
2800
|
}
|
|
@@ -2243,6 +2806,7 @@ export interface KnowledgeBaseRetrievalResult {
|
|
|
2243
2806
|
}
|
|
2244
2807
|
export interface RetrieveResponse {
|
|
2245
2808
|
retrievalResults: KnowledgeBaseRetrievalResult[] | undefined;
|
|
2809
|
+
guardrailAction?: GuadrailAction | undefined;
|
|
2246
2810
|
nextToken?: string | undefined;
|
|
2247
2811
|
}
|
|
2248
2812
|
export type RetrievalFilter =
|
|
@@ -2507,6 +3071,8 @@ export interface KnowledgeBaseVectorSearchConfiguration {
|
|
|
2507
3071
|
numberOfResults?: number | undefined;
|
|
2508
3072
|
overrideSearchType?: SearchType | undefined;
|
|
2509
3073
|
filter?: RetrievalFilter | undefined;
|
|
3074
|
+
rerankingConfiguration?: VectorSearchRerankingConfiguration | undefined;
|
|
3075
|
+
implicitFilterConfiguration?: ImplicitFilterConfiguration | undefined;
|
|
2510
3076
|
}
|
|
2511
3077
|
export interface KnowledgeBaseRetrievalConfiguration {
|
|
2512
3078
|
vectorSearchConfiguration: KnowledgeBaseVectorSearchConfiguration | undefined;
|
|
@@ -2531,6 +3097,7 @@ export interface RetrieveRequest {
|
|
|
2531
3097
|
knowledgeBaseId: string | undefined;
|
|
2532
3098
|
retrievalQuery: KnowledgeBaseQuery | undefined;
|
|
2533
3099
|
retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
|
|
3100
|
+
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
2534
3101
|
nextToken?: string | undefined;
|
|
2535
3102
|
}
|
|
2536
3103
|
export interface RetrieveAndGenerateConfiguration {
|
|
@@ -2565,6 +3132,14 @@ export interface RetrieveAndGenerateRequest {
|
|
|
2565
3132
|
| undefined;
|
|
2566
3133
|
sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
|
|
2567
3134
|
}
|
|
3135
|
+
export interface RetrieveAndGenerateStreamRequest {
|
|
3136
|
+
sessionId?: string | undefined;
|
|
3137
|
+
input: RetrieveAndGenerateInput | undefined;
|
|
3138
|
+
retrieveAndGenerateConfiguration?:
|
|
3139
|
+
| RetrieveAndGenerateConfiguration
|
|
3140
|
+
| undefined;
|
|
3141
|
+
sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
|
|
3142
|
+
}
|
|
2568
3143
|
export interface SessionState {
|
|
2569
3144
|
sessionAttributes?: Record<string, string> | undefined;
|
|
2570
3145
|
promptSessionAttributes?: Record<string, string> | undefined;
|
|
@@ -2572,6 +3147,7 @@ export interface SessionState {
|
|
|
2572
3147
|
invocationId?: string | undefined;
|
|
2573
3148
|
files?: InputFile[] | undefined;
|
|
2574
3149
|
knowledgeBaseConfigurations?: KnowledgeBaseConfiguration[] | undefined;
|
|
3150
|
+
conversationHistory?: ConversationHistory | undefined;
|
|
2575
3151
|
}
|
|
2576
3152
|
export interface InvokeAgentRequest {
|
|
2577
3153
|
sessionState?: SessionState | undefined;
|
|
@@ -2583,6 +3159,7 @@ export interface InvokeAgentRequest {
|
|
|
2583
3159
|
inputText?: string | undefined;
|
|
2584
3160
|
memoryId?: string | undefined;
|
|
2585
3161
|
streamingConfigurations?: StreamingConfigurations | undefined;
|
|
3162
|
+
sourceArn?: string | undefined;
|
|
2586
3163
|
}
|
|
2587
3164
|
export declare const ActionGroupInvocationInputFilterSensitiveLog: (
|
|
2588
3165
|
obj: ActionGroupInvocationInput
|
|
@@ -2600,6 +3177,37 @@ export declare const FunctionSchemaFilterSensitiveLog: (
|
|
|
2600
3177
|
export declare const AgentActionGroupFilterSensitiveLog: (
|
|
2601
3178
|
obj: AgentActionGroup
|
|
2602
3179
|
) => any;
|
|
3180
|
+
export declare const ApiResultFilterSensitiveLog: (obj: ApiResult) => any;
|
|
3181
|
+
export declare const InvocationResultMemberFilterSensitiveLog: (
|
|
3182
|
+
obj: InvocationResultMember
|
|
3183
|
+
) => any;
|
|
3184
|
+
export declare const ReturnControlResultsFilterSensitiveLog: (
|
|
3185
|
+
obj: ReturnControlResults
|
|
3186
|
+
) => any;
|
|
3187
|
+
export declare const AgentCollaboratorInputPayloadFilterSensitiveLog: (
|
|
3188
|
+
obj: AgentCollaboratorInputPayload
|
|
3189
|
+
) => any;
|
|
3190
|
+
export declare const AgentCollaboratorInvocationInputFilterSensitiveLog: (
|
|
3191
|
+
obj: AgentCollaboratorInvocationInput
|
|
3192
|
+
) => any;
|
|
3193
|
+
export declare const ApiInvocationInputFilterSensitiveLog: (
|
|
3194
|
+
obj: ApiInvocationInput
|
|
3195
|
+
) => any;
|
|
3196
|
+
export declare const FunctionInvocationInputFilterSensitiveLog: (
|
|
3197
|
+
obj: FunctionInvocationInput
|
|
3198
|
+
) => any;
|
|
3199
|
+
export declare const InvocationInputMemberFilterSensitiveLog: (
|
|
3200
|
+
obj: InvocationInputMember
|
|
3201
|
+
) => any;
|
|
3202
|
+
export declare const ReturnControlPayloadFilterSensitiveLog: (
|
|
3203
|
+
obj: ReturnControlPayload
|
|
3204
|
+
) => any;
|
|
3205
|
+
export declare const AgentCollaboratorOutputPayloadFilterSensitiveLog: (
|
|
3206
|
+
obj: AgentCollaboratorOutputPayload
|
|
3207
|
+
) => any;
|
|
3208
|
+
export declare const AgentCollaboratorInvocationOutputFilterSensitiveLog: (
|
|
3209
|
+
obj: AgentCollaboratorInvocationOutput
|
|
3210
|
+
) => any;
|
|
2603
3211
|
export declare const FlowInputContentFilterSensitiveLog: (
|
|
2604
3212
|
obj: FlowInputContent
|
|
2605
3213
|
) => any;
|
|
@@ -2644,14 +3252,33 @@ export declare const FlowResponseStreamFilterSensitiveLog: (
|
|
|
2644
3252
|
export declare const InvokeFlowResponseFilterSensitiveLog: (
|
|
2645
3253
|
obj: InvokeFlowResponse
|
|
2646
3254
|
) => any;
|
|
3255
|
+
export declare const ContentBlockFilterSensitiveLog: (obj: ContentBlock) => any;
|
|
3256
|
+
export declare const MessageFilterSensitiveLog: (obj: Message) => any;
|
|
3257
|
+
export declare const ConversationHistoryFilterSensitiveLog: (
|
|
3258
|
+
obj: ConversationHistory
|
|
3259
|
+
) => any;
|
|
2647
3260
|
export declare const ByteContentFileFilterSensitiveLog: (
|
|
2648
3261
|
obj: ByteContentFile
|
|
2649
3262
|
) => any;
|
|
2650
3263
|
export declare const FileSourceFilterSensitiveLog: (obj: FileSource) => any;
|
|
2651
3264
|
export declare const InputFileFilterSensitiveLog: (obj: InputFile) => any;
|
|
2652
|
-
export declare const
|
|
2653
|
-
|
|
2654
|
-
|
|
3265
|
+
export declare const MetadataAttributeSchemaFilterSensitiveLog: (
|
|
3266
|
+
obj: MetadataAttributeSchema
|
|
3267
|
+
) => any;
|
|
3268
|
+
export declare const ImplicitFilterConfigurationFilterSensitiveLog: (
|
|
3269
|
+
obj: ImplicitFilterConfiguration
|
|
3270
|
+
) => any;
|
|
3271
|
+
export declare const RerankingMetadataSelectiveModeConfigurationFilterSensitiveLog: (
|
|
3272
|
+
obj: RerankingMetadataSelectiveModeConfiguration
|
|
3273
|
+
) => any;
|
|
3274
|
+
export declare const MetadataConfigurationForRerankingFilterSensitiveLog: (
|
|
3275
|
+
obj: MetadataConfigurationForReranking
|
|
3276
|
+
) => any;
|
|
3277
|
+
export declare const VectorSearchBedrockRerankingConfigurationFilterSensitiveLog: (
|
|
3278
|
+
obj: VectorSearchBedrockRerankingConfiguration
|
|
3279
|
+
) => any;
|
|
3280
|
+
export declare const VectorSearchRerankingConfigurationFilterSensitiveLog: (
|
|
3281
|
+
obj: VectorSearchRerankingConfiguration
|
|
2655
3282
|
) => any;
|
|
2656
3283
|
export declare const TextResponsePartFilterSensitiveLog: (
|
|
2657
3284
|
obj: TextResponsePart
|
|
@@ -2673,15 +3300,6 @@ export declare const AttributionFilterSensitiveLog: (obj: Attribution) => any;
|
|
|
2673
3300
|
export declare const PayloadPartFilterSensitiveLog: (obj: PayloadPart) => any;
|
|
2674
3301
|
export declare const OutputFileFilterSensitiveLog: (obj: OutputFile) => any;
|
|
2675
3302
|
export declare const FilePartFilterSensitiveLog: (obj: FilePart) => any;
|
|
2676
|
-
export declare const ApiInvocationInputFilterSensitiveLog: (
|
|
2677
|
-
obj: ApiInvocationInput
|
|
2678
|
-
) => any;
|
|
2679
|
-
export declare const InvocationInputMemberFilterSensitiveLog: (
|
|
2680
|
-
obj: InvocationInputMember
|
|
2681
|
-
) => any;
|
|
2682
|
-
export declare const ReturnControlPayloadFilterSensitiveLog: (
|
|
2683
|
-
obj: ReturnControlPayload
|
|
2684
|
-
) => any;
|
|
2685
3303
|
export declare const CustomOrchestrationTraceEventFilterSensitiveLog: (
|
|
2686
3304
|
obj: CustomOrchestrationTraceEvent
|
|
2687
3305
|
) => any;
|
|
@@ -2772,6 +3390,12 @@ export declare const PreProcessingModelInvocationOutputFilterSensitiveLog: (
|
|
|
2772
3390
|
export declare const PreProcessingTraceFilterSensitiveLog: (
|
|
2773
3391
|
obj: PreProcessingTrace
|
|
2774
3392
|
) => any;
|
|
3393
|
+
export declare const RoutingClassifierModelInvocationOutputFilterSensitiveLog: (
|
|
3394
|
+
obj: RoutingClassifierModelInvocationOutput
|
|
3395
|
+
) => any;
|
|
3396
|
+
export declare const RoutingClassifierTraceFilterSensitiveLog: (
|
|
3397
|
+
obj: RoutingClassifierTrace
|
|
3398
|
+
) => any;
|
|
2775
3399
|
export declare const TraceFilterSensitiveLog: (obj: Trace) => any;
|
|
2776
3400
|
export declare const TracePartFilterSensitiveLog: (obj: TracePart) => any;
|
|
2777
3401
|
export declare const ResponseStreamFilterSensitiveLog: (
|
|
@@ -2827,6 +3451,21 @@ export declare const OptimizedPromptStreamFilterSensitiveLog: (
|
|
|
2827
3451
|
export declare const OptimizePromptResponseFilterSensitiveLog: (
|
|
2828
3452
|
obj: OptimizePromptResponse
|
|
2829
3453
|
) => any;
|
|
3454
|
+
export declare const RerankTextDocumentFilterSensitiveLog: (
|
|
3455
|
+
obj: RerankTextDocument
|
|
3456
|
+
) => any;
|
|
3457
|
+
export declare const RerankQueryFilterSensitiveLog: (obj: RerankQuery) => any;
|
|
3458
|
+
export declare const RerankDocumentFilterSensitiveLog: (
|
|
3459
|
+
obj: RerankDocument
|
|
3460
|
+
) => any;
|
|
3461
|
+
export declare const RerankSourceFilterSensitiveLog: (obj: RerankSource) => any;
|
|
3462
|
+
export declare const RerankRequestFilterSensitiveLog: (
|
|
3463
|
+
obj: RerankRequest
|
|
3464
|
+
) => any;
|
|
3465
|
+
export declare const RerankResultFilterSensitiveLog: (obj: RerankResult) => any;
|
|
3466
|
+
export declare const RerankResponseFilterSensitiveLog: (
|
|
3467
|
+
obj: RerankResponse
|
|
3468
|
+
) => any;
|
|
2830
3469
|
export declare const RetrieveAndGenerateInputFilterSensitiveLog: (
|
|
2831
3470
|
obj: RetrieveAndGenerateInput
|
|
2832
3471
|
) => any;
|
|
@@ -2857,6 +3496,18 @@ export declare const RetrieveAndGenerateOutputFilterSensitiveLog: (
|
|
|
2857
3496
|
export declare const RetrieveAndGenerateResponseFilterSensitiveLog: (
|
|
2858
3497
|
obj: RetrieveAndGenerateResponse
|
|
2859
3498
|
) => any;
|
|
3499
|
+
export declare const CitationEventFilterSensitiveLog: (
|
|
3500
|
+
obj: CitationEvent
|
|
3501
|
+
) => any;
|
|
3502
|
+
export declare const RetrieveAndGenerateOutputEventFilterSensitiveLog: (
|
|
3503
|
+
obj: RetrieveAndGenerateOutputEvent
|
|
3504
|
+
) => any;
|
|
3505
|
+
export declare const RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog: (
|
|
3506
|
+
obj: RetrieveAndGenerateStreamResponseOutput
|
|
3507
|
+
) => any;
|
|
3508
|
+
export declare const RetrieveAndGenerateStreamResponseFilterSensitiveLog: (
|
|
3509
|
+
obj: RetrieveAndGenerateStreamResponse
|
|
3510
|
+
) => any;
|
|
2860
3511
|
export declare const KnowledgeBaseQueryFilterSensitiveLog: (
|
|
2861
3512
|
obj: KnowledgeBaseQuery
|
|
2862
3513
|
) => any;
|
|
@@ -2896,6 +3547,9 @@ export declare const InvokeInlineAgentRequestFilterSensitiveLog: (
|
|
|
2896
3547
|
export declare const RetrieveAndGenerateRequestFilterSensitiveLog: (
|
|
2897
3548
|
obj: RetrieveAndGenerateRequest
|
|
2898
3549
|
) => any;
|
|
3550
|
+
export declare const RetrieveAndGenerateStreamRequestFilterSensitiveLog: (
|
|
3551
|
+
obj: RetrieveAndGenerateStreamRequest
|
|
3552
|
+
) => any;
|
|
2899
3553
|
export declare const SessionStateFilterSensitiveLog: (obj: SessionState) => any;
|
|
2900
3554
|
export declare const InvokeAgentRequestFilterSensitiveLog: (
|
|
2901
3555
|
obj: InvokeAgentRequest
|