@aws-sdk/client-bedrock-agent 3.1140.0 → 3.1142.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 +28 -0
- package/dist-cjs/index.js +157 -8
- package/dist-es/BedrockAgent.js +10 -0
- package/dist-es/commands/CreateVpcConfigurationCommand.js +4 -0
- package/dist-es/commands/DeleteVpcConfigurationCommand.js +4 -0
- package/dist-es/commands/GetVpcConfigurationCommand.js +4 -0
- package/dist-es/commands/ListVpcConfigurationsCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +15 -0
- package/dist-es/pagination/ListVpcConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +101 -7
- package/dist-types/BedrockAgent.d.ts +35 -0
- package/dist-types/BedrockAgentClient.d.ts +6 -2
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcConfigurationCommand.d.ts +106 -0
- package/dist-types/commands/DeleteVpcConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/GetVpcConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcConfigurationsCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +39 -0
- package/dist-types/models/models_0.d.ts +217 -114
- package/dist-types/models/models_1.d.ts +227 -3
- package/dist-types/pagination/ListVpcConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +75 -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/CreateVpcConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteVpcConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetVpcConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcConfigurationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -29
- package/dist-types/ts3.4/models/models_1.d.ts +58 -2
- package/dist-types/ts3.4/pagination/ListVpcConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +1 -1
|
@@ -19,6 +19,9 @@ import {
|
|
|
19
19
|
RedshiftQueryEngineType,
|
|
20
20
|
RedshiftServerlessAuthType,
|
|
21
21
|
SupplementalDataStorageLocationType,
|
|
22
|
+
VpcConfigurationStatus,
|
|
23
|
+
VpcProtocol,
|
|
24
|
+
VpcResolutionMode,
|
|
22
25
|
} from "./enums";
|
|
23
26
|
import {
|
|
24
27
|
AgentFlowNodeConfiguration,
|
|
@@ -26,7 +29,6 @@ import {
|
|
|
26
29
|
AgentKnowledgeBaseSummary,
|
|
27
30
|
AgentVersion,
|
|
28
31
|
AgentVersionSummary,
|
|
29
|
-
AudioConfiguration,
|
|
30
32
|
CollectorFlowNodeConfiguration,
|
|
31
33
|
ConditionFlowNodeConfiguration,
|
|
32
34
|
FlowConnection,
|
|
@@ -36,7 +38,7 @@ import {
|
|
|
36
38
|
InlineCodeFlowNodeConfiguration,
|
|
37
39
|
InputFlowNodeConfiguration,
|
|
38
40
|
IteratorFlowNodeConfiguration,
|
|
39
|
-
|
|
41
|
+
KnowledgeBaseDocumentDetail,
|
|
40
42
|
KnowledgeBaseFlowNodeConfiguration,
|
|
41
43
|
LambdaFunctionFlowNodeConfiguration,
|
|
42
44
|
LexFlowNodeConfiguration,
|
|
@@ -51,6 +53,35 @@ import {
|
|
|
51
53
|
ServerSideEncryptionConfiguration,
|
|
52
54
|
StorageFlowNodeConfiguration,
|
|
53
55
|
} from "./models_0";
|
|
56
|
+
export interface ListKnowledgeBaseDocumentsRequest {
|
|
57
|
+
knowledgeBaseId: string | undefined;
|
|
58
|
+
dataSourceId: string | undefined;
|
|
59
|
+
maxResults?: number | undefined;
|
|
60
|
+
nextToken?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface ListKnowledgeBaseDocumentsResponse {
|
|
63
|
+
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
64
|
+
nextToken?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface AssociateAgentKnowledgeBaseRequest {
|
|
67
|
+
agentId: string | undefined;
|
|
68
|
+
agentVersion: string | undefined;
|
|
69
|
+
knowledgeBaseId: string | undefined;
|
|
70
|
+
description: string | undefined;
|
|
71
|
+
knowledgeBaseState?: KnowledgeBaseState | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface AssociateAgentKnowledgeBaseResponse {
|
|
74
|
+
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface KendraKnowledgeBaseConfiguration {
|
|
77
|
+
kendraIndexArn: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface AudioSegmentationConfiguration {
|
|
80
|
+
fixedLengthDuration: number | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface AudioConfiguration {
|
|
83
|
+
segmentationConfiguration: AudioSegmentationConfiguration | undefined;
|
|
84
|
+
}
|
|
54
85
|
export interface VideoSegmentationConfiguration {
|
|
55
86
|
fixedLengthDuration: number | undefined;
|
|
56
87
|
}
|
|
@@ -351,6 +382,31 @@ export interface UpdateKnowledgeBaseRequest {
|
|
|
351
382
|
export interface UpdateKnowledgeBaseResponse {
|
|
352
383
|
knowledgeBase: KnowledgeBase | undefined;
|
|
353
384
|
}
|
|
385
|
+
export interface ListVpcConfigurationsRequest {
|
|
386
|
+
knowledgeBaseId: string | undefined;
|
|
387
|
+
statusFilter?: VpcConfigurationStatus | undefined;
|
|
388
|
+
maxResults?: number | undefined;
|
|
389
|
+
nextToken?: string | undefined;
|
|
390
|
+
}
|
|
391
|
+
export interface VpcConfigurationSummary {
|
|
392
|
+
vpcConfigurationId: string | undefined;
|
|
393
|
+
status: VpcConfigurationStatus | undefined;
|
|
394
|
+
statusMessage?: string | undefined;
|
|
395
|
+
vpcId: string | undefined;
|
|
396
|
+
resourceTarget: string | undefined;
|
|
397
|
+
port: number | undefined;
|
|
398
|
+
protocol: VpcProtocol | undefined;
|
|
399
|
+
resolutionMode: VpcResolutionMode | undefined;
|
|
400
|
+
hostHeader?: string | undefined;
|
|
401
|
+
tlsServerName?: string | undefined;
|
|
402
|
+
name?: string | undefined;
|
|
403
|
+
description?: string | undefined;
|
|
404
|
+
createdAt: Date | undefined;
|
|
405
|
+
}
|
|
406
|
+
export interface ListVpcConfigurationsResponse {
|
|
407
|
+
items: VpcConfigurationSummary[] | undefined;
|
|
408
|
+
nextToken?: string | undefined;
|
|
409
|
+
}
|
|
354
410
|
export interface PromptAgentResource {
|
|
355
411
|
agentIdentifier: string | undefined;
|
|
356
412
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListVpcConfigurationsCommandInput,
|
|
4
|
+
ListVpcConfigurationsCommandOutput,
|
|
5
|
+
} from "../commands/ListVpcConfigurationsCommand";
|
|
6
|
+
import { BedrockAgentPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListVpcConfigurations: (
|
|
8
|
+
config: BedrockAgentPaginationConfiguration,
|
|
9
|
+
input: ListVpcConfigurationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVpcConfigurationsCommandOutput>;
|
|
@@ -74,6 +74,8 @@ export declare var CreatePromptRequest$: StaticStructureSchema;
|
|
|
74
74
|
export declare var CreatePromptResponse$: StaticStructureSchema;
|
|
75
75
|
export declare var CreatePromptVersionRequest$: StaticStructureSchema;
|
|
76
76
|
export declare var CreatePromptVersionResponse$: StaticStructureSchema;
|
|
77
|
+
export declare var CreateVpcConfigurationRequest$: StaticStructureSchema;
|
|
78
|
+
export declare var CreateVpcConfigurationResponse$: StaticStructureSchema;
|
|
77
79
|
export declare var CuratedQuery$: StaticStructureSchema;
|
|
78
80
|
export declare var CustomContent$: StaticStructureSchema;
|
|
79
81
|
export declare var CustomDocumentIdentifier$: StaticStructureSchema;
|
|
@@ -109,6 +111,8 @@ export declare var DeletePromptRequest$: StaticStructureSchema;
|
|
|
109
111
|
export declare var DeletePromptResponse$: StaticStructureSchema;
|
|
110
112
|
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
111
113
|
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
114
|
+
export declare var DeleteVpcConfigurationRequest$: StaticStructureSchema;
|
|
115
|
+
export declare var DeleteVpcConfigurationResponse$: StaticStructureSchema;
|
|
112
116
|
export declare var DeletionProtectionConfiguration$: StaticStructureSchema;
|
|
113
117
|
export declare var DisassociateAgentCollaboratorRequest$: StaticStructureSchema;
|
|
114
118
|
export declare var DisassociateAgentCollaboratorResponse$: StaticStructureSchema;
|
|
@@ -169,6 +173,8 @@ export declare var GetPromptRequest$: StaticStructureSchema;
|
|
|
169
173
|
export declare var GetPromptResponse$: StaticStructureSchema;
|
|
170
174
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
171
175
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
176
|
+
export declare var GetVpcConfigurationRequest$: StaticStructureSchema;
|
|
177
|
+
export declare var GetVpcConfigurationResponse$: StaticStructureSchema;
|
|
172
178
|
export declare var GuardrailConfiguration$: StaticStructureSchema;
|
|
173
179
|
export declare var HierarchicalChunkingConfiguration$: StaticStructureSchema;
|
|
174
180
|
export declare var HierarchicalChunkingLevelConfiguration$: StaticStructureSchema;
|
|
@@ -230,6 +236,8 @@ export declare var ListPromptsRequest$: StaticStructureSchema;
|
|
|
230
236
|
export declare var ListPromptsResponse$: StaticStructureSchema;
|
|
231
237
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
232
238
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
239
|
+
export declare var ListVpcConfigurationsRequest$: StaticStructureSchema;
|
|
240
|
+
export declare var ListVpcConfigurationsResponse$: StaticStructureSchema;
|
|
233
241
|
export declare var LoopControllerFlowNodeConfiguration$: StaticStructureSchema;
|
|
234
242
|
export declare var LoopFlowNodeConfiguration$: StaticStructureSchema;
|
|
235
243
|
export declare var LoopIncompatibleNodeTypeFlowValidationDetails$: StaticStructureSchema;
|
|
@@ -392,6 +400,8 @@ export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
|
|
|
392
400
|
export declare var VideoConfiguration$: StaticStructureSchema;
|
|
393
401
|
export declare var VideoExtractionConfiguration$: StaticStructureSchema;
|
|
394
402
|
export declare var VideoSegmentationConfiguration$: StaticStructureSchema;
|
|
403
|
+
export declare var VpcConfiguration$: StaticStructureSchema;
|
|
404
|
+
export declare var VpcConfigurationSummary$: StaticStructureSchema;
|
|
395
405
|
export declare var WebCrawlerConfiguration$: StaticStructureSchema;
|
|
396
406
|
export declare var WebCrawlerLimits$: StaticStructureSchema;
|
|
397
407
|
export declare var WebDataSourceConfiguration$: StaticStructureSchema;
|
|
@@ -430,6 +440,7 @@ export declare var CreateFlowVersion$: StaticOperationSchema;
|
|
|
430
440
|
export declare var CreateKnowledgeBase$: StaticOperationSchema;
|
|
431
441
|
export declare var CreatePrompt$: StaticOperationSchema;
|
|
432
442
|
export declare var CreatePromptVersion$: StaticOperationSchema;
|
|
443
|
+
export declare var CreateVpcConfiguration$: StaticOperationSchema;
|
|
433
444
|
export declare var DeleteAgent$: StaticOperationSchema;
|
|
434
445
|
export declare var DeleteAgentActionGroup$: StaticOperationSchema;
|
|
435
446
|
export declare var DeleteAgentAlias$: StaticOperationSchema;
|
|
@@ -442,6 +453,7 @@ export declare var DeleteKnowledgeBase$: StaticOperationSchema;
|
|
|
442
453
|
export declare var DeleteKnowledgeBaseDocuments$: StaticOperationSchema;
|
|
443
454
|
export declare var DeletePrompt$: StaticOperationSchema;
|
|
444
455
|
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
456
|
+
export declare var DeleteVpcConfiguration$: StaticOperationSchema;
|
|
445
457
|
export declare var DisassociateAgentCollaborator$: StaticOperationSchema;
|
|
446
458
|
export declare var DisassociateAgentKnowledgeBase$: StaticOperationSchema;
|
|
447
459
|
export declare var GetAgent$: StaticOperationSchema;
|
|
@@ -459,6 +471,7 @@ export declare var GetKnowledgeBase$: StaticOperationSchema;
|
|
|
459
471
|
export declare var GetKnowledgeBaseDocuments$: StaticOperationSchema;
|
|
460
472
|
export declare var GetPrompt$: StaticOperationSchema;
|
|
461
473
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
474
|
+
export declare var GetVpcConfiguration$: StaticOperationSchema;
|
|
462
475
|
export declare var IngestKnowledgeBaseDocuments$: StaticOperationSchema;
|
|
463
476
|
export declare var ListAgentActionGroups$: StaticOperationSchema;
|
|
464
477
|
export declare var ListAgentAliases$: StaticOperationSchema;
|
|
@@ -475,6 +488,7 @@ export declare var ListKnowledgeBaseDocuments$: StaticOperationSchema;
|
|
|
475
488
|
export declare var ListKnowledgeBases$: StaticOperationSchema;
|
|
476
489
|
export declare var ListPrompts$: StaticOperationSchema;
|
|
477
490
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
491
|
+
export declare var ListVpcConfigurations$: StaticOperationSchema;
|
|
478
492
|
export declare var PrepareAgent$: StaticOperationSchema;
|
|
479
493
|
export declare var PrepareFlow$: StaticOperationSchema;
|
|
480
494
|
export declare var PutResourcePolicy$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1142.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent",
|
|
6
6
|
"license": "Apache-2.0",
|