@aws-sdk/client-bedrock-agent 3.1069.0 → 3.1071.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 +21 -0
- package/dist-cjs/index.js +73 -5
- package/dist-cjs/schemas/schemas_0.js +160 -21
- package/dist-es/BedrockAgent.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +26 -4
- package/dist-es/schemas/schemas_0.js +146 -21
- package/dist-types/BedrockAgent.d.ts +21 -0
- package/dist-types/BedrockAgentClient.d.ts +5 -2
- package/dist-types/commands/CreateDataSourceCommand.d.ts +41 -5
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +58 -4
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +96 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +21 -3
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +29 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +7 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +97 -0
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +41 -5
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +57 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +66 -12
- package/dist-types/models/models_0.d.ts +248 -241
- package/dist-types/models/models_1.d.ts +269 -21
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +36 -6
- package/dist-types/ts3.4/models/models_0.d.ts +79 -74
- package/dist-types/ts3.4/models/models_1.d.ts +83 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +3 -3
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import type { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutResourcePolicyCommand_base: {
|
|
25
|
+
new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Associates a resource policy with a knowledge base. A resource policy allows other AWS accounts to access the knowledge base. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-cross-account.html">Cross-account access for knowledge bases</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BedrockAgentClient, PutResourcePolicyCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
37
|
+
* // const { BedrockAgentClient, PutResourcePolicyCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
38
|
+
* // import type { BedrockAgentClientConfig } from "@aws-sdk/client-bedrock-agent";
|
|
39
|
+
* const config = {}; // type is BedrockAgentClientConfig
|
|
40
|
+
* const client = new BedrockAgentClient(config);
|
|
41
|
+
* const input = { // PutResourcePolicyRequest
|
|
42
|
+
* resourceArn: "STRING_VALUE", // required
|
|
43
|
+
* policy: "STRING_VALUE", // required
|
|
44
|
+
* expectedRevisionId: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // PutResourcePolicyResponse
|
|
49
|
+
* // resourceArn: "STRING_VALUE", // required
|
|
50
|
+
* // revisionId: "STRING_VALUE", // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
56
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
57
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link PutResourcePolicyCommandOutput} 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 ConflictException} (client fault)
|
|
65
|
+
* <p>There was a conflict performing an operation.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</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 PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: PutResourcePolicyRequest;
|
|
90
|
+
output: PutResourcePolicyResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: PutResourcePolicyCommandInput;
|
|
94
|
+
output: PutResourcePolicyCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -61,6 +61,7 @@ declare const StartIngestionJobCommand_base: {
|
|
|
61
61
|
* // numberOfMetadataDocumentsModified: Number("long"),
|
|
62
62
|
* // numberOfDocumentsDeleted: Number("long"),
|
|
63
63
|
* // numberOfDocumentsFailed: Number("long"),
|
|
64
|
+
* // numberOfDocumentsSkipped: Number("long"),
|
|
64
65
|
* // },
|
|
65
66
|
* // failureReasons: [ // FailureReasons
|
|
66
67
|
* // "STRING_VALUE",
|
|
@@ -60,6 +60,7 @@ declare const StopIngestionJobCommand_base: {
|
|
|
60
60
|
* // numberOfMetadataDocumentsModified: Number("long"),
|
|
61
61
|
* // numberOfDocumentsDeleted: Number("long"),
|
|
62
62
|
* // numberOfDocumentsFailed: Number("long"),
|
|
63
|
+
* // numberOfDocumentsSkipped: Number("long"),
|
|
63
64
|
* // },
|
|
64
65
|
* // failureReasons: [ // FailureReasons
|
|
65
66
|
* // "STRING_VALUE",
|
|
@@ -44,7 +44,25 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
44
44
|
* name: "STRING_VALUE", // required
|
|
45
45
|
* description: "STRING_VALUE",
|
|
46
46
|
* dataSourceConfiguration: { // DataSourceConfiguration
|
|
47
|
-
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
47
|
+
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA" || "MANAGED_KNOWLEDGE_BASE_CONNECTOR", // required
|
|
48
|
+
* managedKnowledgeBaseConnectorConfiguration: { // ManagedKnowledgeBaseConnectorConfiguration
|
|
49
|
+
* deletionProtectionConfiguration: { // DeletionProtectionConfiguration
|
|
50
|
+
* deletionProtectionStatus: "ENABLED" || "DISABLED", // required
|
|
51
|
+
* deletionProtectionThreshold: Number("int"),
|
|
52
|
+
* },
|
|
53
|
+
* mediaExtractionConfiguration: { // MediaExtractionConfiguration
|
|
54
|
+
* imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
55
|
+
* imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
56
|
+
* },
|
|
57
|
+
* audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
58
|
+
* audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
59
|
+
* },
|
|
60
|
+
* videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
61
|
+
* videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* connectorParameters: "DOCUMENT_VALUE",
|
|
65
|
+
* },
|
|
48
66
|
* s3Configuration: { // S3DataSourceConfiguration
|
|
49
67
|
* bucketArn: "STRING_VALUE", // required
|
|
50
68
|
* inclusionPrefixes: [ // S3Prefixes
|
|
@@ -197,7 +215,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
197
215
|
* ],
|
|
198
216
|
* },
|
|
199
217
|
* parsingConfiguration: { // ParsingConfiguration
|
|
200
|
-
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
218
|
+
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
201
219
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
202
220
|
* modelArn: "STRING_VALUE", // required
|
|
203
221
|
* parsingPrompt: { // ParsingPrompt
|
|
@@ -227,10 +245,28 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
227
245
|
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
228
246
|
* // dataSourceId: "STRING_VALUE", // required
|
|
229
247
|
* // name: "STRING_VALUE", // required
|
|
230
|
-
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
248
|
+
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL" || "CREATING" || "UPDATING" || "FAILED", // required
|
|
231
249
|
* // description: "STRING_VALUE",
|
|
232
250
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
233
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
251
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA" || "MANAGED_KNOWLEDGE_BASE_CONNECTOR", // required
|
|
252
|
+
* // managedKnowledgeBaseConnectorConfiguration: { // ManagedKnowledgeBaseConnectorConfiguration
|
|
253
|
+
* // deletionProtectionConfiguration: { // DeletionProtectionConfiguration
|
|
254
|
+
* // deletionProtectionStatus: "ENABLED" || "DISABLED", // required
|
|
255
|
+
* // deletionProtectionThreshold: Number("int"),
|
|
256
|
+
* // },
|
|
257
|
+
* // mediaExtractionConfiguration: { // MediaExtractionConfiguration
|
|
258
|
+
* // imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
259
|
+
* // imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
260
|
+
* // },
|
|
261
|
+
* // audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
262
|
+
* // audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
263
|
+
* // },
|
|
264
|
+
* // videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
265
|
+
* // videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
266
|
+
* // },
|
|
267
|
+
* // },
|
|
268
|
+
* // connectorParameters: "DOCUMENT_VALUE",
|
|
269
|
+
* // },
|
|
234
270
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
235
271
|
* // bucketArn: "STRING_VALUE", // required
|
|
236
272
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -382,7 +418,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
382
418
|
* // ],
|
|
383
419
|
* // },
|
|
384
420
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
385
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
421
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
386
422
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
387
423
|
* // modelArn: "STRING_VALUE", // required
|
|
388
424
|
* // parsingPrompt: { // ParsingPrompt
|
|
@@ -44,7 +44,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
44
44
|
* description: "STRING_VALUE",
|
|
45
45
|
* roleArn: "STRING_VALUE", // required
|
|
46
46
|
* knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
47
|
-
* type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
47
|
+
* type: "VECTOR" || "KENDRA" || "SQL" || "MANAGED", // required
|
|
48
48
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
49
49
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
50
50
|
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -78,6 +78,33 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
78
78
|
* ],
|
|
79
79
|
* },
|
|
80
80
|
* },
|
|
81
|
+
* managedKnowledgeBaseConfiguration: { // ManagedKnowledgeBaseConfiguration
|
|
82
|
+
* embeddingModelType: "CUSTOM" || "MANAGED",
|
|
83
|
+
* embeddingModelArn: "STRING_VALUE",
|
|
84
|
+
* embeddingModelConfiguration: {
|
|
85
|
+
* bedrockEmbeddingModelConfiguration: {
|
|
86
|
+
* dimensions: Number("int"),
|
|
87
|
+
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
88
|
+
* audio: [
|
|
89
|
+
* {
|
|
90
|
+
* segmentationConfiguration: {
|
|
91
|
+
* fixedLengthDuration: Number("int"), // required
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* video: [
|
|
96
|
+
* {
|
|
97
|
+
* segmentationConfiguration: {
|
|
98
|
+
* fixedLengthDuration: Number("int"), // required
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
105
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
81
108
|
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
82
109
|
* kendraIndexArn: "STRING_VALUE", // required
|
|
83
110
|
* },
|
|
@@ -234,7 +261,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
234
261
|
* // description: "STRING_VALUE",
|
|
235
262
|
* // roleArn: "STRING_VALUE", // required
|
|
236
263
|
* // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
237
|
-
* // type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
264
|
+
* // type: "VECTOR" || "KENDRA" || "SQL" || "MANAGED", // required
|
|
238
265
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
239
266
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
240
267
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -268,6 +295,33 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
268
295
|
* // ],
|
|
269
296
|
* // },
|
|
270
297
|
* // },
|
|
298
|
+
* // managedKnowledgeBaseConfiguration: { // ManagedKnowledgeBaseConfiguration
|
|
299
|
+
* // embeddingModelType: "CUSTOM" || "MANAGED",
|
|
300
|
+
* // embeddingModelArn: "STRING_VALUE",
|
|
301
|
+
* // embeddingModelConfiguration: {
|
|
302
|
+
* // bedrockEmbeddingModelConfiguration: {
|
|
303
|
+
* // dimensions: Number("int"),
|
|
304
|
+
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
305
|
+
* // audio: [
|
|
306
|
+
* // {
|
|
307
|
+
* // segmentationConfiguration: {
|
|
308
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
309
|
+
* // },
|
|
310
|
+
* // },
|
|
311
|
+
* // ],
|
|
312
|
+
* // video: [
|
|
313
|
+
* // {
|
|
314
|
+
* // segmentationConfiguration: {
|
|
315
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
316
|
+
* // },
|
|
317
|
+
* // },
|
|
318
|
+
* // ],
|
|
319
|
+
* // },
|
|
320
|
+
* // },
|
|
321
|
+
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
322
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
323
|
+
* // },
|
|
324
|
+
* // },
|
|
271
325
|
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
272
326
|
* // kendraIndexArn: "STRING_VALUE", // required
|
|
273
327
|
* // },
|
|
@@ -413,7 +467,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
413
467
|
* // indexName: "STRING_VALUE",
|
|
414
468
|
* // },
|
|
415
469
|
* // },
|
|
416
|
-
* // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED" || "DELETE_UNSUCCESSFUL", // required
|
|
470
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED" || "DELETE_UNSUCCESSFUL" || "UPDATE_UNSUCCESSFUL", // required
|
|
417
471
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
418
472
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
419
473
|
* // failureReasons: [ // FailureReasons
|
|
@@ -21,6 +21,7 @@ export * from "./DeleteFlowVersionCommand";
|
|
|
21
21
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
22
22
|
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
23
23
|
export * from "./DeletePromptCommand";
|
|
24
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
24
25
|
export * from "./DisassociateAgentCollaboratorCommand";
|
|
25
26
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
26
27
|
export * from "./GetAgentActionGroupCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./GetIngestionJobCommand";
|
|
|
37
38
|
export * from "./GetKnowledgeBaseCommand";
|
|
38
39
|
export * from "./GetKnowledgeBaseDocumentsCommand";
|
|
39
40
|
export * from "./GetPromptCommand";
|
|
41
|
+
export * from "./GetResourcePolicyCommand";
|
|
40
42
|
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
41
43
|
export * from "./ListAgentActionGroupsCommand";
|
|
42
44
|
export * from "./ListAgentAliasesCommand";
|
|
@@ -55,6 +57,7 @@ export * from "./ListPromptsCommand";
|
|
|
55
57
|
export * from "./ListTagsForResourceCommand";
|
|
56
58
|
export * from "./PrepareAgentCommand";
|
|
57
59
|
export * from "./PrepareFlowCommand";
|
|
60
|
+
export * from "./PutResourcePolicyCommand";
|
|
58
61
|
export * from "./StartIngestionJobCommand";
|
|
59
62
|
export * from "./StopIngestionJobCommand";
|
|
60
63
|
export * from "./TagResourceCommand";
|
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccessControlAccess: {
|
|
6
|
+
readonly ALLOW: "ALLOW";
|
|
7
|
+
readonly DENY: "DENY";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AccessControlAccess = (typeof AccessControlAccess)[keyof typeof AccessControlAccess];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const AccessControlPrincipalType: {
|
|
18
|
+
readonly USER: "USER";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type AccessControlPrincipalType = (typeof AccessControlPrincipalType)[keyof typeof AccessControlPrincipalType];
|
|
1
24
|
/**
|
|
2
25
|
* @public
|
|
3
26
|
* @enum
|
|
@@ -260,6 +283,18 @@ export declare const ConfluenceHostType: {
|
|
|
260
283
|
* @public
|
|
261
284
|
*/
|
|
262
285
|
export type ConfluenceHostType = (typeof ConfluenceHostType)[keyof typeof ConfluenceHostType];
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @enum
|
|
289
|
+
*/
|
|
290
|
+
export declare const EnabledOrDisabledState: {
|
|
291
|
+
readonly DISABLED: "DISABLED";
|
|
292
|
+
readonly ENABLED: "ENABLED";
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
export type EnabledOrDisabledState = (typeof EnabledOrDisabledState)[keyof typeof EnabledOrDisabledState];
|
|
263
298
|
/**
|
|
264
299
|
* @public
|
|
265
300
|
* @enum
|
|
@@ -301,6 +336,7 @@ export type SharePointHostType = (typeof SharePointHostType)[keyof typeof ShareP
|
|
|
301
336
|
export declare const DataSourceType: {
|
|
302
337
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
303
338
|
readonly CUSTOM: "CUSTOM";
|
|
339
|
+
readonly MANAGED_KNOWLEDGE_BASE_CONNECTOR: "MANAGED_KNOWLEDGE_BASE_CONNECTOR";
|
|
304
340
|
readonly REDSHIFT_METADATA: "REDSHIFT_METADATA";
|
|
305
341
|
readonly S3: "S3";
|
|
306
342
|
readonly SALESFORCE: "SALESFORCE";
|
|
@@ -388,6 +424,7 @@ export type ParsingModality = (typeof ParsingModality)[keyof typeof ParsingModal
|
|
|
388
424
|
export declare const ParsingStrategy: {
|
|
389
425
|
readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
|
|
390
426
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
427
|
+
readonly SMART_PARSING: "SMART_PARSING";
|
|
391
428
|
};
|
|
392
429
|
/**
|
|
393
430
|
* @public
|
|
@@ -399,8 +436,11 @@ export type ParsingStrategy = (typeof ParsingStrategy)[keyof typeof ParsingStrat
|
|
|
399
436
|
*/
|
|
400
437
|
export declare const DataSourceStatus: {
|
|
401
438
|
readonly AVAILABLE: "AVAILABLE";
|
|
439
|
+
readonly CREATING: "CREATING";
|
|
402
440
|
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
403
441
|
readonly DELETING: "DELETING";
|
|
442
|
+
readonly FAILED: "FAILED";
|
|
443
|
+
readonly UPDATING: "UPDATING";
|
|
404
444
|
};
|
|
405
445
|
/**
|
|
406
446
|
* @public
|
|
@@ -794,6 +834,30 @@ export declare const MetadataSourceType: {
|
|
|
794
834
|
* @public
|
|
795
835
|
*/
|
|
796
836
|
export type MetadataSourceType = (typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
* @enum
|
|
840
|
+
*/
|
|
841
|
+
export declare const EmbeddingDataType: {
|
|
842
|
+
readonly BINARY: "BINARY";
|
|
843
|
+
readonly FLOAT32: "FLOAT32";
|
|
844
|
+
};
|
|
845
|
+
/**
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
export type EmbeddingDataType = (typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
849
|
+
/**
|
|
850
|
+
* @public
|
|
851
|
+
* @enum
|
|
852
|
+
*/
|
|
853
|
+
export declare const EmbeddingModelType: {
|
|
854
|
+
readonly CUSTOM: "CUSTOM";
|
|
855
|
+
readonly MANAGED: "MANAGED";
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export type EmbeddingModelType = (typeof EmbeddingModelType)[keyof typeof EmbeddingModelType];
|
|
797
861
|
/**
|
|
798
862
|
* @public
|
|
799
863
|
* @enum
|
|
@@ -872,6 +936,7 @@ export type QueryEngineType = (typeof QueryEngineType)[keyof typeof QueryEngineT
|
|
|
872
936
|
*/
|
|
873
937
|
export declare const KnowledgeBaseType: {
|
|
874
938
|
readonly KENDRA: "KENDRA";
|
|
939
|
+
readonly MANAGED: "MANAGED";
|
|
875
940
|
readonly SQL: "SQL";
|
|
876
941
|
readonly VECTOR: "VECTOR";
|
|
877
942
|
};
|
|
@@ -879,18 +944,6 @@ export declare const KnowledgeBaseType: {
|
|
|
879
944
|
* @public
|
|
880
945
|
*/
|
|
881
946
|
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
882
|
-
/**
|
|
883
|
-
* @public
|
|
884
|
-
* @enum
|
|
885
|
-
*/
|
|
886
|
-
export declare const EmbeddingDataType: {
|
|
887
|
-
readonly BINARY: "BINARY";
|
|
888
|
-
readonly FLOAT32: "FLOAT32";
|
|
889
|
-
};
|
|
890
|
-
/**
|
|
891
|
-
* @public
|
|
892
|
-
*/
|
|
893
|
-
export type EmbeddingDataType = (typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
894
947
|
/**
|
|
895
948
|
* @public
|
|
896
949
|
* @enum
|
|
@@ -930,6 +983,7 @@ export declare const KnowledgeBaseStatus: {
|
|
|
930
983
|
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
931
984
|
readonly DELETING: "DELETING";
|
|
932
985
|
readonly FAILED: "FAILED";
|
|
986
|
+
readonly UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL";
|
|
933
987
|
readonly UPDATING: "UPDATING";
|
|
934
988
|
};
|
|
935
989
|
/**
|