@aws-sdk/client-bedrock-agent-runtime 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +345 -345
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +330 -0
- package/dist-es/models/errors.js +127 -0
- package/dist-es/models/models_0.js +1 -431
- package/dist-es/schemas/schemas_0.js +1 -1
- 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/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -2
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -2
- 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 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +850 -0
- package/dist-types/models/errors.d.ts +137 -0
- package/dist-types/models/models_0.d.ts +2078 -914
- 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/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +4 -2
- 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 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +442 -0
- package/dist-types/ts3.4/models/errors.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +968 -479
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -26
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -2151
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -969
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
CreateInvocationRequest,
|
|
10
10
|
CreateInvocationResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface CreateInvocationCommandInput extends CreateInvocationRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
CreateSessionRequest,
|
|
10
10
|
CreateSessionResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface CreateSessionCommandInput extends CreateSessionRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DeleteSessionRequest,
|
|
10
10
|
DeleteSessionResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { EndSessionRequest, EndSessionResponse } from "../models/
|
|
8
|
+
import { EndSessionRequest, EndSessionResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface EndSessionCommandInput extends EndSessionRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { GetSessionRequest, GetSessionResponse } from "../models/
|
|
8
|
+
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface GetSessionCommandInput extends GetSessionRequest {}
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { InvokeAgentResponse } from "../models/models_0";
|
|
9
|
-
import { InvokeAgentRequest } from "../models/models_1";
|
|
8
|
+
import { InvokeAgentRequest, InvokeAgentResponse } from "../models/models_0";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface InvokeAgentCommandInput extends InvokeAgentRequest {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
InvokeInlineAgentRequest,
|
|
10
|
+
InvokeInlineAgentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface InvokeInlineAgentCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListInvocationsRequest,
|
|
10
10
|
ListInvocationsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListInvocationsCommandInput extends ListInvocationsRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { ListSessionsRequest, ListSessionsResponse } from "../models/
|
|
8
|
+
import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface ListSessionsCommandInput extends ListSessionsRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
RetrieveAndGenerateStreamRequest,
|
|
10
10
|
RetrieveAndGenerateStreamResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface RetrieveAndGenerateStreamCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { RetrieveRequest, RetrieveResponse } from "../models/
|
|
8
|
+
import { RetrieveRequest, RetrieveResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface RetrieveCommandInput extends RetrieveRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UntagResourceRequest,
|
|
10
10
|
UntagResourceResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UpdateSessionRequest,
|
|
10
10
|
UpdateSessionResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UpdateSessionCommandInput extends UpdateSessionRequest {}
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { BedrockAgentRuntimeServiceException } from "./models/BedrockAgentRuntimeServiceException";
|
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
export declare const CustomControlMethod: {
|
|
2
|
+
readonly RETURN_CONTROL: "RETURN_CONTROL";
|
|
3
|
+
};
|
|
4
|
+
export type CustomControlMethod =
|
|
5
|
+
(typeof CustomControlMethod)[keyof typeof CustomControlMethod];
|
|
6
|
+
export declare const ExecutionType: {
|
|
7
|
+
readonly LAMBDA: "LAMBDA";
|
|
8
|
+
readonly RETURN_CONTROL: "RETURN_CONTROL";
|
|
9
|
+
};
|
|
10
|
+
export type ExecutionType = (typeof ExecutionType)[keyof typeof ExecutionType];
|
|
11
|
+
export declare const ActionGroupSignature: {
|
|
12
|
+
readonly AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter";
|
|
13
|
+
readonly AMAZON_USERINPUT: "AMAZON.UserInput";
|
|
14
|
+
readonly ANTHROPIC_BASH: "ANTHROPIC.Bash";
|
|
15
|
+
readonly ANTHROPIC_COMPUTER: "ANTHROPIC.Computer";
|
|
16
|
+
readonly ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor";
|
|
17
|
+
};
|
|
18
|
+
export type ActionGroupSignature =
|
|
19
|
+
(typeof ActionGroupSignature)[keyof typeof ActionGroupSignature];
|
|
20
|
+
export declare const ActionInvocationType: {
|
|
21
|
+
readonly RESULT: "RESULT";
|
|
22
|
+
readonly USER_CONFIRMATION: "USER_CONFIRMATION";
|
|
23
|
+
readonly USER_CONFIRMATION_AND_RESULT: "USER_CONFIRMATION_AND_RESULT";
|
|
24
|
+
};
|
|
25
|
+
export type ActionInvocationType =
|
|
26
|
+
(typeof ActionInvocationType)[keyof typeof ActionInvocationType];
|
|
27
|
+
export declare const ParameterType: {
|
|
28
|
+
readonly ARRAY: "array";
|
|
29
|
+
readonly BOOLEAN: "boolean";
|
|
30
|
+
readonly INTEGER: "integer";
|
|
31
|
+
readonly NUMBER: "number";
|
|
32
|
+
readonly STRING: "string";
|
|
33
|
+
};
|
|
34
|
+
export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
|
|
35
|
+
export declare const RequireConfirmation: {
|
|
36
|
+
readonly DISABLED: "DISABLED";
|
|
37
|
+
readonly ENABLED: "ENABLED";
|
|
38
|
+
};
|
|
39
|
+
export type RequireConfirmation =
|
|
40
|
+
(typeof RequireConfirmation)[keyof typeof RequireConfirmation];
|
|
41
|
+
export declare const AgentCollaboration: {
|
|
42
|
+
readonly DISABLED: "DISABLED";
|
|
43
|
+
readonly SUPERVISOR: "SUPERVISOR";
|
|
44
|
+
readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
|
|
45
|
+
};
|
|
46
|
+
export type AgentCollaboration =
|
|
47
|
+
(typeof AgentCollaboration)[keyof typeof AgentCollaboration];
|
|
48
|
+
export declare const ConfirmationState: {
|
|
49
|
+
readonly CONFIRM: "CONFIRM";
|
|
50
|
+
readonly DENY: "DENY";
|
|
51
|
+
};
|
|
52
|
+
export type ConfirmationState =
|
|
53
|
+
(typeof ConfirmationState)[keyof typeof ConfirmationState];
|
|
54
|
+
export declare const ImageInputFormat: {
|
|
55
|
+
readonly GIF: "gif";
|
|
56
|
+
readonly JPEG: "jpeg";
|
|
57
|
+
readonly PNG: "png";
|
|
58
|
+
readonly WEBP: "webp";
|
|
59
|
+
};
|
|
60
|
+
export type ImageInputFormat =
|
|
61
|
+
(typeof ImageInputFormat)[keyof typeof ImageInputFormat];
|
|
62
|
+
export declare const ResponseState: {
|
|
63
|
+
readonly FAILURE: "FAILURE";
|
|
64
|
+
readonly REPROMPT: "REPROMPT";
|
|
65
|
+
};
|
|
66
|
+
export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
|
|
67
|
+
export declare const PayloadType: {
|
|
68
|
+
readonly RETURN_CONTROL: "RETURN_CONTROL";
|
|
69
|
+
readonly TEXT: "TEXT";
|
|
70
|
+
};
|
|
71
|
+
export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
72
|
+
export declare const GuardrailAction: {
|
|
73
|
+
readonly INTERVENED: "INTERVENED";
|
|
74
|
+
readonly NONE: "NONE";
|
|
75
|
+
};
|
|
76
|
+
export type GuardrailAction =
|
|
77
|
+
(typeof GuardrailAction)[keyof typeof GuardrailAction];
|
|
78
|
+
export declare const GuardrailContentPolicyAction: {
|
|
79
|
+
readonly BLOCKED: "BLOCKED";
|
|
80
|
+
};
|
|
81
|
+
export type GuardrailContentPolicyAction =
|
|
82
|
+
(typeof GuardrailContentPolicyAction)[keyof typeof GuardrailContentPolicyAction];
|
|
83
|
+
export declare const GuardrailContentFilterConfidence: {
|
|
84
|
+
readonly HIGH: "HIGH";
|
|
85
|
+
readonly LOW: "LOW";
|
|
86
|
+
readonly MEDIUM: "MEDIUM";
|
|
87
|
+
readonly NONE: "NONE";
|
|
88
|
+
};
|
|
89
|
+
export type GuardrailContentFilterConfidence =
|
|
90
|
+
(typeof GuardrailContentFilterConfidence)[keyof typeof GuardrailContentFilterConfidence];
|
|
91
|
+
export declare const GuardrailContentFilterType: {
|
|
92
|
+
readonly HATE: "HATE";
|
|
93
|
+
readonly INSULTS: "INSULTS";
|
|
94
|
+
readonly MISCONDUCT: "MISCONDUCT";
|
|
95
|
+
readonly PROMPT_ATTACK: "PROMPT_ATTACK";
|
|
96
|
+
readonly SEXUAL: "SEXUAL";
|
|
97
|
+
readonly VIOLENCE: "VIOLENCE";
|
|
98
|
+
};
|
|
99
|
+
export type GuardrailContentFilterType =
|
|
100
|
+
(typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
|
|
101
|
+
export declare const GuardrailSensitiveInformationPolicyAction: {
|
|
102
|
+
readonly ANONYMIZED: "ANONYMIZED";
|
|
103
|
+
readonly BLOCKED: "BLOCKED";
|
|
104
|
+
};
|
|
105
|
+
export type GuardrailSensitiveInformationPolicyAction =
|
|
106
|
+
(typeof GuardrailSensitiveInformationPolicyAction)[keyof typeof GuardrailSensitiveInformationPolicyAction];
|
|
107
|
+
export declare const GuardrailPiiEntityType: {
|
|
108
|
+
readonly ADDRESS: "ADDRESS";
|
|
109
|
+
readonly AGE: "AGE";
|
|
110
|
+
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
111
|
+
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
112
|
+
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
113
|
+
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
114
|
+
readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
|
|
115
|
+
readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
|
|
116
|
+
readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
|
|
117
|
+
readonly DRIVER_ID: "DRIVER_ID";
|
|
118
|
+
readonly EMAIL: "EMAIL";
|
|
119
|
+
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
120
|
+
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
121
|
+
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
122
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
123
|
+
readonly NAME: "NAME";
|
|
124
|
+
readonly PASSWORD: "PASSWORD";
|
|
125
|
+
readonly PHONE: "PHONE";
|
|
126
|
+
readonly PIN: "PIN";
|
|
127
|
+
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
128
|
+
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
129
|
+
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
130
|
+
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
131
|
+
readonly URL: "URL";
|
|
132
|
+
readonly USERNAME: "USERNAME";
|
|
133
|
+
readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
|
|
134
|
+
readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
|
|
135
|
+
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
136
|
+
readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
|
|
137
|
+
readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
|
|
138
|
+
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
139
|
+
};
|
|
140
|
+
export type GuardrailPiiEntityType =
|
|
141
|
+
(typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
|
|
142
|
+
export declare const GuardrailTopicPolicyAction: {
|
|
143
|
+
readonly BLOCKED: "BLOCKED";
|
|
144
|
+
};
|
|
145
|
+
export type GuardrailTopicPolicyAction =
|
|
146
|
+
(typeof GuardrailTopicPolicyAction)[keyof typeof GuardrailTopicPolicyAction];
|
|
147
|
+
export declare const GuardrailTopicType: {
|
|
148
|
+
readonly DENY: "DENY";
|
|
149
|
+
};
|
|
150
|
+
export type GuardrailTopicType =
|
|
151
|
+
(typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
|
|
152
|
+
export declare const GuardrailWordPolicyAction: {
|
|
153
|
+
readonly BLOCKED: "BLOCKED";
|
|
154
|
+
};
|
|
155
|
+
export type GuardrailWordPolicyAction =
|
|
156
|
+
(typeof GuardrailWordPolicyAction)[keyof typeof GuardrailWordPolicyAction];
|
|
157
|
+
export declare const GuardrailManagedWordType: {
|
|
158
|
+
readonly PROFANITY: "PROFANITY";
|
|
159
|
+
};
|
|
160
|
+
export type GuardrailManagedWordType =
|
|
161
|
+
(typeof GuardrailManagedWordType)[keyof typeof GuardrailManagedWordType];
|
|
162
|
+
export declare const InvocationType: {
|
|
163
|
+
readonly ACTION_GROUP: "ACTION_GROUP";
|
|
164
|
+
readonly ACTION_GROUP_CODE_INTERPRETER: "ACTION_GROUP_CODE_INTERPRETER";
|
|
165
|
+
readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
|
|
166
|
+
readonly FINISH: "FINISH";
|
|
167
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
168
|
+
};
|
|
169
|
+
export type InvocationType =
|
|
170
|
+
(typeof InvocationType)[keyof typeof InvocationType];
|
|
171
|
+
export declare const CreationMode: {
|
|
172
|
+
readonly DEFAULT: "DEFAULT";
|
|
173
|
+
readonly OVERRIDDEN: "OVERRIDDEN";
|
|
174
|
+
};
|
|
175
|
+
export type CreationMode = (typeof CreationMode)[keyof typeof CreationMode];
|
|
176
|
+
export declare const PromptType: {
|
|
177
|
+
readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
|
|
178
|
+
readonly ORCHESTRATION: "ORCHESTRATION";
|
|
179
|
+
readonly POST_PROCESSING: "POST_PROCESSING";
|
|
180
|
+
readonly PRE_PROCESSING: "PRE_PROCESSING";
|
|
181
|
+
readonly ROUTING_CLASSIFIER: "ROUTING_CLASSIFIER";
|
|
182
|
+
};
|
|
183
|
+
export type PromptType = (typeof PromptType)[keyof typeof PromptType];
|
|
184
|
+
export declare const RetrievalResultContentColumnType: {
|
|
185
|
+
readonly BLOB: "BLOB";
|
|
186
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
187
|
+
readonly DOUBLE: "DOUBLE";
|
|
188
|
+
readonly LONG: "LONG";
|
|
189
|
+
readonly NULL: "NULL";
|
|
190
|
+
readonly STRING: "STRING";
|
|
191
|
+
};
|
|
192
|
+
export type RetrievalResultContentColumnType =
|
|
193
|
+
(typeof RetrievalResultContentColumnType)[keyof typeof RetrievalResultContentColumnType];
|
|
194
|
+
export declare const RetrievalResultContentType: {
|
|
195
|
+
readonly IMAGE: "IMAGE";
|
|
196
|
+
readonly ROW: "ROW";
|
|
197
|
+
readonly TEXT: "TEXT";
|
|
198
|
+
};
|
|
199
|
+
export type RetrievalResultContentType =
|
|
200
|
+
(typeof RetrievalResultContentType)[keyof typeof RetrievalResultContentType];
|
|
201
|
+
export declare const RetrievalResultLocationType: {
|
|
202
|
+
readonly CONFLUENCE: "CONFLUENCE";
|
|
203
|
+
readonly CUSTOM: "CUSTOM";
|
|
204
|
+
readonly KENDRA: "KENDRA";
|
|
205
|
+
readonly S3: "S3";
|
|
206
|
+
readonly SALESFORCE: "SALESFORCE";
|
|
207
|
+
readonly SHAREPOINT: "SHAREPOINT";
|
|
208
|
+
readonly SQL: "SQL";
|
|
209
|
+
readonly WEB: "WEB";
|
|
210
|
+
};
|
|
211
|
+
export type RetrievalResultLocationType =
|
|
212
|
+
(typeof RetrievalResultLocationType)[keyof typeof RetrievalResultLocationType];
|
|
213
|
+
export declare const Source: {
|
|
214
|
+
readonly ACTION_GROUP: "ACTION_GROUP";
|
|
215
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
216
|
+
readonly PARSER: "PARSER";
|
|
217
|
+
};
|
|
218
|
+
export type Source = (typeof Source)[keyof typeof Source];
|
|
219
|
+
export declare const Type: {
|
|
220
|
+
readonly ACTION_GROUP: "ACTION_GROUP";
|
|
221
|
+
readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
|
|
222
|
+
readonly ASK_USER: "ASK_USER";
|
|
223
|
+
readonly FINISH: "FINISH";
|
|
224
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
225
|
+
readonly REPROMPT: "REPROMPT";
|
|
226
|
+
};
|
|
227
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
228
|
+
export declare const FlowExecutionErrorType: {
|
|
229
|
+
readonly TIMED_OUT: "ExecutionTimedOut";
|
|
230
|
+
};
|
|
231
|
+
export type FlowExecutionErrorType =
|
|
232
|
+
(typeof FlowExecutionErrorType)[keyof typeof FlowExecutionErrorType];
|
|
233
|
+
export declare const FlowExecutionStatus: {
|
|
234
|
+
readonly ABORTED: "Aborted";
|
|
235
|
+
readonly FAILED: "Failed";
|
|
236
|
+
readonly RUNNING: "Running";
|
|
237
|
+
readonly SUCCEEDED: "Succeeded";
|
|
238
|
+
readonly TIMED_OUT: "TimedOut";
|
|
239
|
+
};
|
|
240
|
+
export type FlowExecutionStatus =
|
|
241
|
+
(typeof FlowExecutionStatus)[keyof typeof FlowExecutionStatus];
|
|
242
|
+
export declare const FlowExecutionEventType: {
|
|
243
|
+
readonly FLOW: "Flow";
|
|
244
|
+
readonly NODE: "Node";
|
|
245
|
+
};
|
|
246
|
+
export type FlowExecutionEventType =
|
|
247
|
+
(typeof FlowExecutionEventType)[keyof typeof FlowExecutionEventType];
|
|
248
|
+
export declare const FlowErrorCode: {
|
|
249
|
+
readonly INTERNAL_SERVER: "INTERNAL_SERVER";
|
|
250
|
+
readonly NODE_EXECUTION_FAILED: "NODE_EXECUTION_FAILED";
|
|
251
|
+
readonly VALIDATION: "VALIDATION";
|
|
252
|
+
};
|
|
253
|
+
export type FlowErrorCode = (typeof FlowErrorCode)[keyof typeof FlowErrorCode];
|
|
254
|
+
export declare const NodeErrorCode: {
|
|
255
|
+
readonly BAD_GATEWAY: "BAD_GATEWAY";
|
|
256
|
+
readonly DEPENDENCY_FAILED: "DEPENDENCY_FAILED";
|
|
257
|
+
readonly INTERNAL_SERVER: "INTERNAL_SERVER";
|
|
258
|
+
readonly VALIDATION: "VALIDATION";
|
|
259
|
+
};
|
|
260
|
+
export type NodeErrorCode = (typeof NodeErrorCode)[keyof typeof NodeErrorCode];
|
|
261
|
+
export declare const FlowNodeInputCategory: {
|
|
262
|
+
readonly EXIT_LOOP: "ExitLoop";
|
|
263
|
+
readonly LOOP_CONDITION: "LoopCondition";
|
|
264
|
+
readonly RETURN_VALUE_TO_LOOP_START: "ReturnValueToLoopStart";
|
|
265
|
+
};
|
|
266
|
+
export type FlowNodeInputCategory =
|
|
267
|
+
(typeof FlowNodeInputCategory)[keyof typeof FlowNodeInputCategory];
|
|
268
|
+
export declare const FlowControlNodeType: {
|
|
269
|
+
readonly ITERATOR: "Iterator";
|
|
270
|
+
readonly LOOP: "Loop";
|
|
271
|
+
};
|
|
272
|
+
export type FlowControlNodeType =
|
|
273
|
+
(typeof FlowControlNodeType)[keyof typeof FlowControlNodeType];
|
|
274
|
+
export declare const FlowNodeIODataType: {
|
|
275
|
+
readonly ARRAY: "Array";
|
|
276
|
+
readonly BOOLEAN: "Boolean";
|
|
277
|
+
readonly NUMBER: "Number";
|
|
278
|
+
readonly OBJECT: "Object";
|
|
279
|
+
readonly STRING: "String";
|
|
280
|
+
};
|
|
281
|
+
export type FlowNodeIODataType =
|
|
282
|
+
(typeof FlowNodeIODataType)[keyof typeof FlowNodeIODataType];
|
|
283
|
+
export declare const PerformanceConfigLatency: {
|
|
284
|
+
readonly OPTIMIZED: "optimized";
|
|
285
|
+
readonly STANDARD: "standard";
|
|
286
|
+
};
|
|
287
|
+
export type PerformanceConfigLatency =
|
|
288
|
+
(typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
|
|
289
|
+
export declare const FlowCompletionReason: {
|
|
290
|
+
readonly INPUT_REQUIRED: "INPUT_REQUIRED";
|
|
291
|
+
readonly SUCCESS: "SUCCESS";
|
|
292
|
+
};
|
|
293
|
+
export type FlowCompletionReason =
|
|
294
|
+
(typeof FlowCompletionReason)[keyof typeof FlowCompletionReason];
|
|
295
|
+
export declare const NodeType: {
|
|
296
|
+
readonly CONDITION_NODE: "ConditionNode";
|
|
297
|
+
readonly FLOW_INPUT_NODE: "FlowInputNode";
|
|
298
|
+
readonly FLOW_OUTPUT_NODE: "FlowOutputNode";
|
|
299
|
+
readonly KNOWLEDGE_BASE_NODE: "KnowledgeBaseNode";
|
|
300
|
+
readonly LAMBDA_FUNCTION_NODE: "LambdaFunctionNode";
|
|
301
|
+
readonly LEX_NODE: "LexNode";
|
|
302
|
+
readonly PROMPT_NODE: "PromptNode";
|
|
303
|
+
};
|
|
304
|
+
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
305
|
+
export declare const InputQueryType: {
|
|
306
|
+
readonly TEXT: "TEXT";
|
|
307
|
+
};
|
|
308
|
+
export type InputQueryType =
|
|
309
|
+
(typeof InputQueryType)[keyof typeof InputQueryType];
|
|
310
|
+
export declare const QueryTransformationMode: {
|
|
311
|
+
readonly TEXT_TO_SQL: "TEXT_TO_SQL";
|
|
312
|
+
};
|
|
313
|
+
export type QueryTransformationMode =
|
|
314
|
+
(typeof QueryTransformationMode)[keyof typeof QueryTransformationMode];
|
|
315
|
+
export declare const TextToSqlConfigurationType: {
|
|
316
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
317
|
+
};
|
|
318
|
+
export type TextToSqlConfigurationType =
|
|
319
|
+
(typeof TextToSqlConfigurationType)[keyof typeof TextToSqlConfigurationType];
|
|
320
|
+
export declare const GeneratedQueryType: {
|
|
321
|
+
readonly REDSHIFT_SQL: "REDSHIFT_SQL";
|
|
322
|
+
};
|
|
323
|
+
export type GeneratedQueryType =
|
|
324
|
+
(typeof GeneratedQueryType)[keyof typeof GeneratedQueryType];
|
|
325
|
+
export declare const ConversationRole: {
|
|
326
|
+
readonly ASSISTANT: "assistant";
|
|
327
|
+
readonly USER: "user";
|
|
328
|
+
};
|
|
329
|
+
export type ConversationRole =
|
|
330
|
+
(typeof ConversationRole)[keyof typeof ConversationRole];
|
|
331
|
+
export declare const FileSourceType: {
|
|
332
|
+
readonly BYTE_CONTENT: "BYTE_CONTENT";
|
|
333
|
+
readonly S3: "S3";
|
|
334
|
+
};
|
|
335
|
+
export type FileSourceType =
|
|
336
|
+
(typeof FileSourceType)[keyof typeof FileSourceType];
|
|
337
|
+
export declare const FileUseCase: {
|
|
338
|
+
readonly CHAT: "CHAT";
|
|
339
|
+
readonly CODE_INTERPRETER: "CODE_INTERPRETER";
|
|
340
|
+
};
|
|
341
|
+
export type FileUseCase = (typeof FileUseCase)[keyof typeof FileUseCase];
|
|
342
|
+
export declare const AttributeType: {
|
|
343
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
344
|
+
readonly NUMBER: "NUMBER";
|
|
345
|
+
readonly STRING: "STRING";
|
|
346
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
347
|
+
};
|
|
348
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
349
|
+
export declare const SearchType: {
|
|
350
|
+
readonly HYBRID: "HYBRID";
|
|
351
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
352
|
+
};
|
|
353
|
+
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
354
|
+
export declare const RerankingMetadataSelectionMode: {
|
|
355
|
+
readonly ALL: "ALL";
|
|
356
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
357
|
+
};
|
|
358
|
+
export type RerankingMetadataSelectionMode =
|
|
359
|
+
(typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
|
|
360
|
+
export declare const VectorSearchRerankingConfigurationType: {
|
|
361
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
362
|
+
};
|
|
363
|
+
export type VectorSearchRerankingConfigurationType =
|
|
364
|
+
(typeof VectorSearchRerankingConfigurationType)[keyof typeof VectorSearchRerankingConfigurationType];
|
|
365
|
+
export declare const RelayConversationHistory: {
|
|
366
|
+
readonly DISABLED: "DISABLED";
|
|
367
|
+
readonly TO_COLLABORATOR: "TO_COLLABORATOR";
|
|
368
|
+
};
|
|
369
|
+
export type RelayConversationHistory =
|
|
370
|
+
(typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
|
|
371
|
+
export declare const PromptState: {
|
|
372
|
+
readonly DISABLED: "DISABLED";
|
|
373
|
+
readonly ENABLED: "ENABLED";
|
|
374
|
+
};
|
|
375
|
+
export type PromptState = (typeof PromptState)[keyof typeof PromptState];
|
|
376
|
+
export declare const OrchestrationType: {
|
|
377
|
+
readonly CUSTOM_ORCHESTRATION: "CUSTOM_ORCHESTRATION";
|
|
378
|
+
readonly DEFAULT: "DEFAULT";
|
|
379
|
+
};
|
|
380
|
+
export type OrchestrationType =
|
|
381
|
+
(typeof OrchestrationType)[keyof typeof OrchestrationType];
|
|
382
|
+
export declare const MemoryType: {
|
|
383
|
+
readonly SESSION_SUMMARY: "SESSION_SUMMARY";
|
|
384
|
+
};
|
|
385
|
+
export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
|
|
386
|
+
export declare const RerankQueryContentType: {
|
|
387
|
+
readonly TEXT: "TEXT";
|
|
388
|
+
};
|
|
389
|
+
export type RerankQueryContentType =
|
|
390
|
+
(typeof RerankQueryContentType)[keyof typeof RerankQueryContentType];
|
|
391
|
+
export declare const RerankingConfigurationType: {
|
|
392
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
393
|
+
};
|
|
394
|
+
export type RerankingConfigurationType =
|
|
395
|
+
(typeof RerankingConfigurationType)[keyof typeof RerankingConfigurationType];
|
|
396
|
+
export declare const RerankDocumentType: {
|
|
397
|
+
readonly JSON: "JSON";
|
|
398
|
+
readonly TEXT: "TEXT";
|
|
399
|
+
};
|
|
400
|
+
export type RerankDocumentType =
|
|
401
|
+
(typeof RerankDocumentType)[keyof typeof RerankDocumentType];
|
|
402
|
+
export declare const RerankSourceType: {
|
|
403
|
+
readonly INLINE: "INLINE";
|
|
404
|
+
};
|
|
405
|
+
export type RerankSourceType =
|
|
406
|
+
(typeof RerankSourceType)[keyof typeof RerankSourceType];
|
|
407
|
+
export declare const ExternalSourceType: {
|
|
408
|
+
readonly BYTE_CONTENT: "BYTE_CONTENT";
|
|
409
|
+
readonly S3: "S3";
|
|
410
|
+
};
|
|
411
|
+
export type ExternalSourceType =
|
|
412
|
+
(typeof ExternalSourceType)[keyof typeof ExternalSourceType];
|
|
413
|
+
export declare const QueryTransformationType: {
|
|
414
|
+
readonly QUERY_DECOMPOSITION: "QUERY_DECOMPOSITION";
|
|
415
|
+
};
|
|
416
|
+
export type QueryTransformationType =
|
|
417
|
+
(typeof QueryTransformationType)[keyof typeof QueryTransformationType];
|
|
418
|
+
export declare const RetrieveAndGenerateType: {
|
|
419
|
+
readonly EXTERNAL_SOURCES: "EXTERNAL_SOURCES";
|
|
420
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
421
|
+
};
|
|
422
|
+
export type RetrieveAndGenerateType =
|
|
423
|
+
(typeof RetrieveAndGenerateType)[keyof typeof RetrieveAndGenerateType];
|
|
424
|
+
export declare const GuadrailAction: {
|
|
425
|
+
readonly INTERVENED: "INTERVENED";
|
|
426
|
+
readonly NONE: "NONE";
|
|
427
|
+
};
|
|
428
|
+
export type GuadrailAction =
|
|
429
|
+
(typeof GuadrailAction)[keyof typeof GuadrailAction];
|
|
430
|
+
export declare const SessionStatus: {
|
|
431
|
+
readonly ACTIVE: "ACTIVE";
|
|
432
|
+
readonly ENDED: "ENDED";
|
|
433
|
+
readonly EXPIRED: "EXPIRED";
|
|
434
|
+
};
|
|
435
|
+
export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
|
|
436
|
+
export declare const ImageFormat: {
|
|
437
|
+
readonly GIF: "gif";
|
|
438
|
+
readonly JPEG: "jpeg";
|
|
439
|
+
readonly PNG: "png";
|
|
440
|
+
readonly WEBP: "webp";
|
|
441
|
+
};
|
|
442
|
+
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|