@aws-sdk/client-bedrock-agent 3.701.0 → 3.703.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 +32 -0
- package/dist-cjs/index.js +423 -17
- package/dist-es/BedrockAgent.js +8 -0
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +80 -14
- package/dist-es/models/models_1.js +22 -0
- package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +208 -0
- package/dist-types/BedrockAgent.d.ts +28 -0
- package/dist-types/BedrockAgentClient.d.ts +6 -2
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +3 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +1 -2
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +370 -350
- package/dist-types/models/models_1.d.ts +643 -1
- package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +68 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +161 -145
- package/dist-types/ts3.4/models/models_1.d.ts +172 -4
- package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.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 +48 -0
- package/package.json +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { IngestKnowledgeBaseDocumentsRequest, IngestKnowledgeBaseDocumentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link IngestKnowledgeBaseDocumentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface IngestKnowledgeBaseDocumentsCommandInput extends IngestKnowledgeBaseDocumentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link IngestKnowledgeBaseDocumentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface IngestKnowledgeBaseDocumentsCommandOutput extends IngestKnowledgeBaseDocumentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const IngestKnowledgeBaseDocumentsCommand_base: {
|
|
25
|
+
new (input: IngestKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: IngestKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Ingests documents directly into the knowledge base that is connected to the data source. The <code>dataSourceType</code> specified in the content for each document must match the type of the data source that you specify in the header. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html">Ingest documents into a knowledge base in real-time</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, IngestKnowledgeBaseDocumentsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, IngestKnowledgeBaseDocumentsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // IngestKnowledgeBaseDocumentsRequest
|
|
38
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
39
|
+
* dataSourceId: "STRING_VALUE", // required
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* documents: [ // KnowledgeBaseDocuments // required
|
|
42
|
+
* { // KnowledgeBaseDocument
|
|
43
|
+
* metadata: { // DocumentMetadata
|
|
44
|
+
* type: "IN_LINE_ATTRIBUTE" || "S3_LOCATION", // required
|
|
45
|
+
* inlineAttributes: [ // MetadataAttributes
|
|
46
|
+
* { // MetadataAttribute
|
|
47
|
+
* key: "STRING_VALUE", // required
|
|
48
|
+
* value: { // MetadataAttributeValue
|
|
49
|
+
* type: "BOOLEAN" || "NUMBER" || "STRING" || "STRING_LIST", // required
|
|
50
|
+
* numberValue: Number("double"),
|
|
51
|
+
* booleanValue: true || false,
|
|
52
|
+
* stringValue: "STRING_VALUE",
|
|
53
|
+
* stringListValue: [ // StringListValue
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* s3Location: { // CustomS3Location
|
|
60
|
+
* uri: "STRING_VALUE", // required
|
|
61
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* content: { // DocumentContent
|
|
65
|
+
* dataSourceType: "CUSTOM" || "S3", // required
|
|
66
|
+
* custom: { // CustomContent
|
|
67
|
+
* customDocumentIdentifier: { // CustomDocumentIdentifier
|
|
68
|
+
* id: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* sourceType: "IN_LINE" || "S3_LOCATION", // required
|
|
71
|
+
* s3Location: {
|
|
72
|
+
* uri: "STRING_VALUE", // required
|
|
73
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* inlineContent: { // InlineContent
|
|
76
|
+
* type: "BYTE" || "TEXT", // required
|
|
77
|
+
* byteContent: { // ByteContentDoc
|
|
78
|
+
* mimeType: "STRING_VALUE", // required
|
|
79
|
+
* data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
80
|
+
* },
|
|
81
|
+
* textContent: { // TextContentDoc
|
|
82
|
+
* data: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* s3: { // S3Content
|
|
87
|
+
* s3Location: { // S3Location
|
|
88
|
+
* uri: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* };
|
|
95
|
+
* const command = new IngestKnowledgeBaseDocumentsCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* // { // IngestKnowledgeBaseDocumentsResponse
|
|
98
|
+
* // documentDetails: [ // KnowledgeBaseDocumentDetails
|
|
99
|
+
* // { // KnowledgeBaseDocumentDetail
|
|
100
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
101
|
+
* // dataSourceId: "STRING_VALUE", // required
|
|
102
|
+
* // status: "INDEXED" || "PARTIALLY_INDEXED" || "PENDING" || "FAILED" || "METADATA_PARTIALLY_INDEXED" || "METADATA_UPDATE_FAILED" || "IGNORED" || "NOT_FOUND" || "STARTING" || "IN_PROGRESS" || "DELETING" || "DELETE_IN_PROGRESS", // required
|
|
103
|
+
* // identifier: { // DocumentIdentifier
|
|
104
|
+
* // dataSourceType: "CUSTOM" || "S3", // required
|
|
105
|
+
* // s3: { // S3Location
|
|
106
|
+
* // uri: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // custom: { // CustomDocumentIdentifier
|
|
109
|
+
* // id: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // statusReason: "STRING_VALUE",
|
|
113
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param IngestKnowledgeBaseDocumentsCommandInput - {@link IngestKnowledgeBaseDocumentsCommandInput}
|
|
121
|
+
* @returns {@link IngestKnowledgeBaseDocumentsCommandOutput}
|
|
122
|
+
* @see {@link IngestKnowledgeBaseDocumentsCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link IngestKnowledgeBaseDocumentsCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
127
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link InternalServerException} (server fault)
|
|
130
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
133
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
136
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
139
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ValidationException} (client fault)
|
|
142
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link BedrockAgentServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
146
|
+
*
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class IngestKnowledgeBaseDocumentsCommand extends IngestKnowledgeBaseDocumentsCommand_base {
|
|
150
|
+
/** @internal type navigation helper, not in runtime. */
|
|
151
|
+
protected static __types: {
|
|
152
|
+
api: {
|
|
153
|
+
input: IngestKnowledgeBaseDocumentsRequest;
|
|
154
|
+
output: IngestKnowledgeBaseDocumentsResponse;
|
|
155
|
+
};
|
|
156
|
+
sdk: {
|
|
157
|
+
input: IngestKnowledgeBaseDocumentsCommandInput;
|
|
158
|
+
output: IngestKnowledgeBaseDocumentsCommandOutput;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { ListKnowledgeBaseDocumentsRequest, ListKnowledgeBaseDocumentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListKnowledgeBaseDocumentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListKnowledgeBaseDocumentsCommandInput extends ListKnowledgeBaseDocumentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListKnowledgeBaseDocumentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListKnowledgeBaseDocumentsCommandOutput extends ListKnowledgeBaseDocumentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListKnowledgeBaseDocumentsCommand_base: {
|
|
25
|
+
new (input: ListKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves all the documents contained in a data source that is connected to a knowledge base. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html">Ingest documents into a knowledge base in real-time</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, ListKnowledgeBaseDocumentsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, ListKnowledgeBaseDocumentsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // ListKnowledgeBaseDocumentsRequest
|
|
38
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
39
|
+
* dataSourceId: "STRING_VALUE", // required
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListKnowledgeBaseDocumentsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListKnowledgeBaseDocumentsResponse
|
|
46
|
+
* // documentDetails: [ // KnowledgeBaseDocumentDetails // required
|
|
47
|
+
* // { // KnowledgeBaseDocumentDetail
|
|
48
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
49
|
+
* // dataSourceId: "STRING_VALUE", // required
|
|
50
|
+
* // status: "INDEXED" || "PARTIALLY_INDEXED" || "PENDING" || "FAILED" || "METADATA_PARTIALLY_INDEXED" || "METADATA_UPDATE_FAILED" || "IGNORED" || "NOT_FOUND" || "STARTING" || "IN_PROGRESS" || "DELETING" || "DELETE_IN_PROGRESS", // required
|
|
51
|
+
* // identifier: { // DocumentIdentifier
|
|
52
|
+
* // dataSourceType: "CUSTOM" || "S3", // required
|
|
53
|
+
* // s3: { // S3Location
|
|
54
|
+
* // uri: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // custom: { // CustomDocumentIdentifier
|
|
57
|
+
* // id: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // statusReason: "STRING_VALUE",
|
|
61
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // nextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListKnowledgeBaseDocumentsCommandInput - {@link ListKnowledgeBaseDocumentsCommandInput}
|
|
70
|
+
* @returns {@link ListKnowledgeBaseDocumentsCommandOutput}
|
|
71
|
+
* @see {@link ListKnowledgeBaseDocumentsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListKnowledgeBaseDocumentsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
85
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link BedrockAgentServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListKnowledgeBaseDocumentsCommand extends ListKnowledgeBaseDocumentsCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListKnowledgeBaseDocumentsRequest;
|
|
103
|
+
output: ListKnowledgeBaseDocumentsResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListKnowledgeBaseDocumentsCommandInput;
|
|
107
|
+
output: ListKnowledgeBaseDocumentsCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -43,7 +43,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
44
|
* description: "STRING_VALUE",
|
|
45
45
|
* dataSourceConfiguration: { // DataSourceConfiguration
|
|
46
|
-
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
|
|
46
|
+
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
47
47
|
* s3Configuration: { // S3DataSourceConfiguration
|
|
48
48
|
* bucketArn: "STRING_VALUE", // required
|
|
49
49
|
* inclusionPrefixes: [ // S3Prefixes
|
|
@@ -213,7 +213,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
213
213
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
214
214
|
* // description: "STRING_VALUE",
|
|
215
215
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
216
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
|
|
216
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
217
217
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
218
218
|
* // bucketArn: "STRING_VALUE", // required
|
|
219
219
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -65,6 +65,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
65
65
|
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
66
66
|
* bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
67
67
|
* dimensions: Number("int"),
|
|
68
|
+
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
68
69
|
* },
|
|
69
70
|
* },
|
|
70
71
|
* },
|
|
@@ -142,6 +143,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
142
143
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
143
144
|
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
144
145
|
* // dimensions: Number("int"),
|
|
146
|
+
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
145
147
|
* // },
|
|
146
148
|
* // },
|
|
147
149
|
* // },
|
|
@@ -18,6 +18,7 @@ export * from "./DeleteFlowAliasCommand";
|
|
|
18
18
|
export * from "./DeleteFlowCommand";
|
|
19
19
|
export * from "./DeleteFlowVersionCommand";
|
|
20
20
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
21
|
+
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
21
22
|
export * from "./DeletePromptCommand";
|
|
22
23
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
23
24
|
export * from "./GetAgentActionGroupCommand";
|
|
@@ -31,7 +32,9 @@ export * from "./GetFlowCommand";
|
|
|
31
32
|
export * from "./GetFlowVersionCommand";
|
|
32
33
|
export * from "./GetIngestionJobCommand";
|
|
33
34
|
export * from "./GetKnowledgeBaseCommand";
|
|
35
|
+
export * from "./GetKnowledgeBaseDocumentsCommand";
|
|
34
36
|
export * from "./GetPromptCommand";
|
|
37
|
+
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
35
38
|
export * from "./ListAgentActionGroupsCommand";
|
|
36
39
|
export * from "./ListAgentAliasesCommand";
|
|
37
40
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
@@ -42,6 +45,7 @@ export * from "./ListFlowAliasesCommand";
|
|
|
42
45
|
export * from "./ListFlowVersionsCommand";
|
|
43
46
|
export * from "./ListFlowsCommand";
|
|
44
47
|
export * from "./ListIngestionJobsCommand";
|
|
48
|
+
export * from "./ListKnowledgeBaseDocumentsCommand";
|
|
45
49
|
export * from "./ListKnowledgeBasesCommand";
|
|
46
50
|
export * from "./ListPromptsCommand";
|
|
47
51
|
export * from "./ListTagsForResourceCommand";
|