@aws-sdk/client-bedrock-agent 3.1151.0 → 3.1153.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.
Files changed (49) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +263 -1
  3. package/dist-es/BedrockAgent.js +18 -0
  4. package/dist-es/commands/CreateRetrievalInstructionCommand.js +4 -0
  5. package/dist-es/commands/CreateRetrievalInstructionVersionCommand.js +4 -0
  6. package/dist-es/commands/DeleteRetrievalInstructionCommand.js +4 -0
  7. package/dist-es/commands/GetRetrievalInstructionCommand.js +4 -0
  8. package/dist-es/commands/ListRetrievalInstructionVersionsCommand.js +4 -0
  9. package/dist-es/commands/ListRetrievalInstructionsCommand.js +4 -0
  10. package/dist-es/commands/UpdateRetrievalInstructionCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +23 -0
  13. package/dist-es/pagination/ListRetrievalInstructionVersionsPaginator.js +4 -0
  14. package/dist-es/pagination/ListRetrievalInstructionsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +167 -0
  17. package/dist-types/BedrockAgent.d.ts +64 -0
  18. package/dist-types/BedrockAgentClient.d.ts +9 -2
  19. package/dist-types/commands/CreateRetrievalInstructionCommand.d.ts +107 -0
  20. package/dist-types/commands/CreateRetrievalInstructionVersionCommand.d.ts +98 -0
  21. package/dist-types/commands/DeleteRetrievalInstructionCommand.d.ts +92 -0
  22. package/dist-types/commands/GetRetrievalInstructionCommand.d.ts +110 -0
  23. package/dist-types/commands/ListRetrievalInstructionVersionsCommand.d.ts +94 -0
  24. package/dist-types/commands/ListRetrievalInstructionsCommand.d.ts +97 -0
  25. package/dist-types/commands/UpdateRetrievalInstructionCommand.d.ts +102 -0
  26. package/dist-types/commands/index.d.ts +7 -0
  27. package/dist-types/models/enums.d.ts +55 -0
  28. package/dist-types/models/models_1.d.ts +485 -1
  29. package/dist-types/pagination/ListRetrievalInstructionVersionsPaginator.d.ts +7 -0
  30. package/dist-types/pagination/ListRetrievalInstructionsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +2 -0
  32. package/dist-types/schemas/schemas_0.d.ts +25 -0
  33. package/dist-types/ts3.4/BedrockAgent.d.ts +134 -0
  34. package/dist-types/ts3.4/BedrockAgentClient.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/CreateRetrievalInstructionCommand.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/CreateRetrievalInstructionVersionCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/DeleteRetrievalInstructionCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/GetRetrievalInstructionCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/ListRetrievalInstructionVersionsCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/ListRetrievalInstructionsCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/UpdateRetrievalInstructionCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  43. package/dist-types/ts3.4/models/enums.d.ts +31 -0
  44. package/dist-types/ts3.4/models/models_1.d.ts +118 -0
  45. package/dist-types/ts3.4/pagination/ListRetrievalInstructionVersionsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/ListRetrievalInstructionsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  49. package/package.json +4 -4
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListRetrievalInstructionVersionsRequest, ListRetrievalInstructionVersionsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRetrievalInstructionVersionsCommand}.
11
+ */
12
+ export interface ListRetrievalInstructionVersionsCommandInput extends ListRetrievalInstructionVersionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRetrievalInstructionVersionsCommand}.
18
+ */
19
+ export interface ListRetrievalInstructionVersionsCommandOutput extends ListRetrievalInstructionVersionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListRetrievalInstructionVersionsCommand_base: {
22
+ new (input: ListRetrievalInstructionVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListRetrievalInstructionVersionsCommandInput, ListRetrievalInstructionVersionsCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListRetrievalInstructionVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListRetrievalInstructionVersionsCommandInput, ListRetrievalInstructionVersionsCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the numbered versions of a retrieval instruction, newest first. DRAFT is not listed; read it with GetRetrievalInstruction without retrievalInstructionVersion. Results are paginated. Use the nextToken parameter to retrieve additional results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentClient, ListRetrievalInstructionVersionsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
32
+ * // const { BedrockAgentClient, ListRetrievalInstructionVersionsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
33
+ * // import type { BedrockAgentClientConfig } from "@aws-sdk/client-bedrock-agent";
34
+ * const config = {}; // type is BedrockAgentClientConfig
35
+ * const client = new BedrockAgentClient(config);
36
+ * const input = { // ListRetrievalInstructionVersionsRequest
37
+ * retrievalInstructionId: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListRetrievalInstructionVersionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListRetrievalInstructionVersionsResponse
44
+ * // retrievalInstructionVersionSummaries: [ // RetrievalInstructionVersionSummaries // required
45
+ * // { // RetrievalInstructionVersionSummary
46
+ * // version: "STRING_VALUE", // required
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListRetrievalInstructionVersionsCommandInput - {@link ListRetrievalInstructionVersionsCommandInput}
56
+ * @returns {@link ListRetrievalInstructionVersionsCommandOutput}
57
+ * @see {@link ListRetrievalInstructionVersionsCommandInput} for command's `input` shape.
58
+ * @see {@link ListRetrievalInstructionVersionsCommandOutput} for command's `response` shape.
59
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>The request is denied because of missing access permissions.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An internal server error occurred. Retry your request.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
75
+ *
76
+ * @throws {@link BedrockAgentServiceException}
77
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListRetrievalInstructionVersionsCommand extends ListRetrievalInstructionVersionsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListRetrievalInstructionVersionsRequest;
87
+ output: ListRetrievalInstructionVersionsResponse;
88
+ };
89
+ sdk: {
90
+ input: ListRetrievalInstructionVersionsCommandInput;
91
+ output: ListRetrievalInstructionVersionsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListRetrievalInstructionsRequest, ListRetrievalInstructionsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRetrievalInstructionsCommand}.
11
+ */
12
+ export interface ListRetrievalInstructionsCommandInput extends ListRetrievalInstructionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRetrievalInstructionsCommand}.
18
+ */
19
+ export interface ListRetrievalInstructionsCommandOutput extends ListRetrievalInstructionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListRetrievalInstructionsCommand_base: {
22
+ new (input: ListRetrievalInstructionsCommandInput): import("@smithy/core/client").CommandImpl<ListRetrievalInstructionsCommandInput, ListRetrievalInstructionsCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListRetrievalInstructionsCommandInput]): import("@smithy/core/client").CommandImpl<ListRetrievalInstructionsCommandInput, ListRetrievalInstructionsCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the retrieval instructions in the caller's account. Results are paginated. Use the nextToken parameter to retrieve additional results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentClient, ListRetrievalInstructionsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
32
+ * // const { BedrockAgentClient, ListRetrievalInstructionsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
33
+ * // import type { BedrockAgentClientConfig } from "@aws-sdk/client-bedrock-agent";
34
+ * const config = {}; // type is BedrockAgentClientConfig
35
+ * const client = new BedrockAgentClient(config);
36
+ * const input = { // ListRetrievalInstructionsRequest
37
+ * status: "ACTIVE" || "INACTIVE",
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListRetrievalInstructionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListRetrievalInstructionsResponse
44
+ * // retrievalInstructionSummaries: [ // RetrievalInstructionSummaries // required
45
+ * // { // RetrievalInstructionSummary
46
+ * // retrievalInstructionId: "STRING_VALUE", // required
47
+ * // retrievalInstructionArn: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // status: "ACTIVE" || "INACTIVE", // required
50
+ * // lastTransitionStatus: "CREATING" || "UPDATING" || "CREATE_SUCCESSFUL" || "CREATE_FAILED" || "UPDATE_SUCCESSFUL" || "UPDATE_FAILED", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // description: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListRetrievalInstructionsCommandInput - {@link ListRetrievalInstructionsCommandInput}
62
+ * @returns {@link ListRetrievalInstructionsCommandOutput}
63
+ * @see {@link ListRetrievalInstructionsCommandInput} for command's `input` shape.
64
+ * @see {@link ListRetrievalInstructionsCommandOutput} for command's `response` shape.
65
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The request is denied because of missing access permissions.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal server error occurred. Retry your request.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
78
+ *
79
+ * @throws {@link BedrockAgentServiceException}
80
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListRetrievalInstructionsCommand extends ListRetrievalInstructionsCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListRetrievalInstructionsRequest;
90
+ output: ListRetrievalInstructionsResponse;
91
+ };
92
+ sdk: {
93
+ input: ListRetrievalInstructionsCommandInput;
94
+ output: ListRetrievalInstructionsCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRetrievalInstructionRequest, UpdateRetrievalInstructionResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRetrievalInstructionCommand}.
11
+ */
12
+ export interface UpdateRetrievalInstructionCommandInput extends UpdateRetrievalInstructionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRetrievalInstructionCommand}.
18
+ */
19
+ export interface UpdateRetrievalInstructionCommandOutput extends UpdateRetrievalInstructionResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRetrievalInstructionCommand_base: {
22
+ new (input: UpdateRetrievalInstructionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRetrievalInstructionCommandInput, UpdateRetrievalInstructionCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRetrievalInstructionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRetrievalInstructionCommandInput, UpdateRetrievalInstructionCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the content of a retrieval instruction. The update is processed asynchronously; the stored content is a candidate until content review passes, and the served content does not change while the update is in flight. The service rejects the request with ConflictException while lastTransitionStatus is CREATING or UPDATING.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentClient, UpdateRetrievalInstructionCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
32
+ * // const { BedrockAgentClient, UpdateRetrievalInstructionCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
33
+ * // import type { BedrockAgentClientConfig } from "@aws-sdk/client-bedrock-agent";
34
+ * const config = {}; // type is BedrockAgentClientConfig
35
+ * const client = new BedrockAgentClient(config);
36
+ * const input = { // UpdateRetrievalInstructionRequest
37
+ * retrievalInstructionId: "STRING_VALUE", // required
38
+ * instruction: { // RetrievalInstructionContent
39
+ * retrievalGuidance: "STRING_VALUE",
40
+ * persona: "STRING_VALUE",
41
+ * answerFormat: "STRING_VALUE",
42
+ * answerPolicy: "STRING_VALUE",
43
+ * },
44
+ * description: "STRING_VALUE",
45
+ * };
46
+ * const command = new UpdateRetrievalInstructionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // UpdateRetrievalInstructionResponse
49
+ * // retrievalInstructionId: "STRING_VALUE", // required
50
+ * // retrievalInstructionArn: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // status: "ACTIVE" || "INACTIVE", // required
53
+ * // lastTransitionStatus: "CREATING" || "UPDATING" || "CREATE_SUCCESSFUL" || "CREATE_FAILED" || "UPDATE_SUCCESSFUL" || "UPDATE_FAILED", // required
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // updatedAt: new Date("TIMESTAMP"), // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateRetrievalInstructionCommandInput - {@link UpdateRetrievalInstructionCommandInput}
61
+ * @returns {@link UpdateRetrievalInstructionCommandOutput}
62
+ * @see {@link UpdateRetrievalInstructionCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateRetrievalInstructionCommandOutput} for command's `response` shape.
64
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>The request is denied because of missing access permissions.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>There was a conflict performing an operation.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>An internal server error occurred. Retry your request.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
83
+ *
84
+ * @throws {@link BedrockAgentServiceException}
85
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class UpdateRetrievalInstructionCommand extends UpdateRetrievalInstructionCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: UpdateRetrievalInstructionRequest;
95
+ output: UpdateRetrievalInstructionResponse;
96
+ };
97
+ sdk: {
98
+ input: UpdateRetrievalInstructionCommandInput;
99
+ output: UpdateRetrievalInstructionCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -10,6 +10,8 @@ export * from "./CreateFlowVersionCommand";
10
10
  export * from "./CreateKnowledgeBaseCommand";
11
11
  export * from "./CreatePromptCommand";
12
12
  export * from "./CreatePromptVersionCommand";
13
+ export * from "./CreateRetrievalInstructionCommand";
14
+ export * from "./CreateRetrievalInstructionVersionCommand";
13
15
  export * from "./CreateVpcConfigurationCommand";
14
16
  export * from "./DeleteAgentActionGroupCommand";
15
17
  export * from "./DeleteAgentAliasCommand";
@@ -23,6 +25,7 @@ export * from "./DeleteKnowledgeBaseCommand";
23
25
  export * from "./DeleteKnowledgeBaseDocumentsCommand";
24
26
  export * from "./DeletePromptCommand";
25
27
  export * from "./DeleteResourcePolicyCommand";
28
+ export * from "./DeleteRetrievalInstructionCommand";
26
29
  export * from "./DeleteVpcConfigurationCommand";
27
30
  export * from "./DisassociateAgentCollaboratorCommand";
28
31
  export * from "./DisassociateAgentKnowledgeBaseCommand";
@@ -41,6 +44,7 @@ export * from "./GetKnowledgeBaseCommand";
41
44
  export * from "./GetKnowledgeBaseDocumentsCommand";
42
45
  export * from "./GetPromptCommand";
43
46
  export * from "./GetResourcePolicyCommand";
47
+ export * from "./GetRetrievalInstructionCommand";
44
48
  export * from "./GetVpcConfigurationCommand";
45
49
  export * from "./IngestKnowledgeBaseDocumentsCommand";
46
50
  export * from "./ListAgentActionGroupsCommand";
@@ -57,6 +61,8 @@ export * from "./ListIngestionJobsCommand";
57
61
  export * from "./ListKnowledgeBaseDocumentsCommand";
58
62
  export * from "./ListKnowledgeBasesCommand";
59
63
  export * from "./ListPromptsCommand";
64
+ export * from "./ListRetrievalInstructionVersionsCommand";
65
+ export * from "./ListRetrievalInstructionsCommand";
60
66
  export * from "./ListTagsForResourceCommand";
61
67
  export * from "./ListVpcConfigurationsCommand";
62
68
  export * from "./PrepareAgentCommand";
@@ -76,4 +82,5 @@ export * from "./UpdateFlowAliasCommand";
76
82
  export * from "./UpdateFlowCommand";
77
83
  export * from "./UpdateKnowledgeBaseCommand";
78
84
  export * from "./UpdatePromptCommand";
85
+ export * from "./UpdateRetrievalInstructionCommand";
79
86
  export * from "./ValidateFlowDefinitionCommand";
@@ -1059,3 +1059,58 @@ export declare const KnowledgeBaseStatus: {
1059
1059
  * @public
1060
1060
  */
1061
1061
  export type KnowledgeBaseStatus = (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
1062
+ /**
1063
+ * @public
1064
+ * @enum
1065
+ */
1066
+ export declare const RetrievalInstructionLastTransitionStatus: {
1067
+ readonly CREATE_FAILED: "CREATE_FAILED";
1068
+ readonly CREATE_SUCCESSFUL: "CREATE_SUCCESSFUL";
1069
+ readonly CREATING: "CREATING";
1070
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1071
+ readonly UPDATE_SUCCESSFUL: "UPDATE_SUCCESSFUL";
1072
+ readonly UPDATING: "UPDATING";
1073
+ };
1074
+ /**
1075
+ * @public
1076
+ */
1077
+ export type RetrievalInstructionLastTransitionStatus = (typeof RetrievalInstructionLastTransitionStatus)[keyof typeof RetrievalInstructionLastTransitionStatus];
1078
+ /**
1079
+ * @public
1080
+ * @enum
1081
+ */
1082
+ export declare const RetrievalInstructionStatus: {
1083
+ readonly ACTIVE: "ACTIVE";
1084
+ readonly INACTIVE: "INACTIVE";
1085
+ };
1086
+ /**
1087
+ * @public
1088
+ */
1089
+ export type RetrievalInstructionStatus = (typeof RetrievalInstructionStatus)[keyof typeof RetrievalInstructionStatus];
1090
+ /**
1091
+ * @public
1092
+ * @enum
1093
+ */
1094
+ export declare const RetrievalInstructionFailureReasonCode: {
1095
+ readonly CLIENT_ERROR: "CLIENT_ERROR";
1096
+ readonly CONTENT_REJECTED: "CONTENT_REJECTED";
1097
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1098
+ };
1099
+ /**
1100
+ * @public
1101
+ */
1102
+ export type RetrievalInstructionFailureReasonCode = (typeof RetrievalInstructionFailureReasonCode)[keyof typeof RetrievalInstructionFailureReasonCode];
1103
+ /**
1104
+ * @public
1105
+ * @enum
1106
+ */
1107
+ export declare const RetrievalInstructionFieldName: {
1108
+ readonly ANSWER_FORMAT: "ANSWER_FORMAT";
1109
+ readonly ANSWER_POLICY: "ANSWER_POLICY";
1110
+ readonly PERSONA: "PERSONA";
1111
+ readonly RETRIEVAL_GUIDANCE: "RETRIEVAL_GUIDANCE";
1112
+ };
1113
+ /**
1114
+ * @public
1115
+ */
1116
+ export type RetrievalInstructionFieldName = (typeof RetrievalInstructionFieldName)[keyof typeof RetrievalInstructionFieldName];