@aws-sdk/client-bedrock-agent 3.1139.0 → 3.1141.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 (43) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +157 -8
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/CreateVpcConfigurationCommand.js +4 -0
  5. package/dist-es/commands/DeleteVpcConfigurationCommand.js +4 -0
  6. package/dist-es/commands/GetVpcConfigurationCommand.js +4 -0
  7. package/dist-es/commands/ListVpcConfigurationsCommand.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +15 -0
  10. package/dist-es/pagination/ListVpcConfigurationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +101 -7
  13. package/dist-types/BedrockAgent.d.ts +35 -0
  14. package/dist-types/BedrockAgentClient.d.ts +6 -2
  15. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateVpcConfigurationCommand.d.ts +106 -0
  17. package/dist-types/commands/DeleteVpcConfigurationCommand.d.ts +91 -0
  18. package/dist-types/commands/GetVpcConfigurationCommand.d.ts +105 -0
  19. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListVpcConfigurationsCommand.d.ts +106 -0
  21. package/dist-types/commands/index.d.ts +4 -0
  22. package/dist-types/models/enums.d.ts +39 -0
  23. package/dist-types/models/models_0.d.ts +217 -114
  24. package/dist-types/models/models_1.d.ts +227 -3
  25. package/dist-types/pagination/ListVpcConfigurationsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +14 -0
  28. package/dist-types/ts3.4/BedrockAgent.d.ts +75 -0
  29. package/dist-types/ts3.4/BedrockAgentClient.d.ts +24 -0
  30. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/CreateVpcConfigurationCommand.d.ts +39 -0
  32. package/dist-types/ts3.4/commands/DeleteVpcConfigurationCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/GetVpcConfigurationCommand.d.ts +39 -0
  34. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/ListVpcConfigurationsCommand.d.ts +39 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +19 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +53 -29
  39. package/dist-types/ts3.4/models/models_1.d.ts +58 -2
  40. package/dist-types/ts3.4/pagination/ListVpcConfigurationsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  43. package/package.json +1 -1
@@ -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;
@@ -47,6 +47,10 @@ import {
47
47
  CreatePromptVersionCommandInput,
48
48
  CreatePromptVersionCommandOutput,
49
49
  } from "./commands/CreatePromptVersionCommand";
50
+ import {
51
+ CreateVpcConfigurationCommandInput,
52
+ CreateVpcConfigurationCommandOutput,
53
+ } from "./commands/CreateVpcConfigurationCommand";
50
54
  import {
51
55
  DeleteAgentActionGroupCommandInput,
52
56
  DeleteAgentActionGroupCommandOutput,
@@ -89,6 +93,10 @@ import {
89
93
  DeleteResourcePolicyCommandInput,
90
94
  DeleteResourcePolicyCommandOutput,
91
95
  } from "./commands/DeleteResourcePolicyCommand";
96
+ import {
97
+ DeleteVpcConfigurationCommandInput,
98
+ DeleteVpcConfigurationCommandOutput,
99
+ } from "./commands/DeleteVpcConfigurationCommand";
92
100
  import {
93
101
  DisassociateAgentCollaboratorCommandInput,
94
102
  DisassociateAgentCollaboratorCommandOutput,
@@ -148,6 +156,10 @@ import {
148
156
  GetResourcePolicyCommandInput,
149
157
  GetResourcePolicyCommandOutput,
150
158
  } from "./commands/GetResourcePolicyCommand";
159
+ import {
160
+ GetVpcConfigurationCommandInput,
161
+ GetVpcConfigurationCommandOutput,
162
+ } from "./commands/GetVpcConfigurationCommand";
151
163
  import {
152
164
  IngestKnowledgeBaseDocumentsCommandInput,
153
165
  IngestKnowledgeBaseDocumentsCommandOutput,
@@ -203,6 +215,10 @@ import {
203
215
  ListTagsForResourceCommandInput,
204
216
  ListTagsForResourceCommandOutput,
205
217
  } from "./commands/ListTagsForResourceCommand";
218
+ import {
219
+ ListVpcConfigurationsCommandInput,
220
+ ListVpcConfigurationsCommandOutput,
221
+ } from "./commands/ListVpcConfigurationsCommand";
206
222
  import {
207
223
  PrepareAgentCommandInput,
208
224
  PrepareAgentCommandOutput,
@@ -423,6 +439,19 @@ export interface BedrockAgent {
423
439
  options: BedrockAgentRequestOptions,
424
440
  cb: (err: any, data?: CreatePromptVersionCommandOutput) => void,
425
441
  ): void;
442
+ createVpcConfiguration(
443
+ args: CreateVpcConfigurationCommandInput,
444
+ options?: BedrockAgentRequestOptions,
445
+ ): Promise<CreateVpcConfigurationCommandOutput>;
446
+ createVpcConfiguration(
447
+ args: CreateVpcConfigurationCommandInput,
448
+ cb: (err: any, data?: CreateVpcConfigurationCommandOutput) => void,
449
+ ): void;
450
+ createVpcConfiguration(
451
+ args: CreateVpcConfigurationCommandInput,
452
+ options: BedrockAgentRequestOptions,
453
+ cb: (err: any, data?: CreateVpcConfigurationCommandOutput) => void,
454
+ ): void;
426
455
  deleteAgent(
427
456
  args: DeleteAgentCommandInput,
428
457
  options?: BedrockAgentRequestOptions,
@@ -579,6 +608,19 @@ export interface BedrockAgent {
579
608
  options: BedrockAgentRequestOptions,
580
609
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
581
610
  ): void;
611
+ deleteVpcConfiguration(
612
+ args: DeleteVpcConfigurationCommandInput,
613
+ options?: BedrockAgentRequestOptions,
614
+ ): Promise<DeleteVpcConfigurationCommandOutput>;
615
+ deleteVpcConfiguration(
616
+ args: DeleteVpcConfigurationCommandInput,
617
+ cb: (err: any, data?: DeleteVpcConfigurationCommandOutput) => void,
618
+ ): void;
619
+ deleteVpcConfiguration(
620
+ args: DeleteVpcConfigurationCommandInput,
621
+ options: BedrockAgentRequestOptions,
622
+ cb: (err: any, data?: DeleteVpcConfigurationCommandOutput) => void,
623
+ ): void;
582
624
  disassociateAgentCollaborator(
583
625
  args: DisassociateAgentCollaboratorCommandInput,
584
626
  options?: BedrockAgentRequestOptions,
@@ -794,6 +836,19 @@ export interface BedrockAgent {
794
836
  options: BedrockAgentRequestOptions,
795
837
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
796
838
  ): void;
839
+ getVpcConfiguration(
840
+ args: GetVpcConfigurationCommandInput,
841
+ options?: BedrockAgentRequestOptions,
842
+ ): Promise<GetVpcConfigurationCommandOutput>;
843
+ getVpcConfiguration(
844
+ args: GetVpcConfigurationCommandInput,
845
+ cb: (err: any, data?: GetVpcConfigurationCommandOutput) => void,
846
+ ): void;
847
+ getVpcConfiguration(
848
+ args: GetVpcConfigurationCommandInput,
849
+ options: BedrockAgentRequestOptions,
850
+ cb: (err: any, data?: GetVpcConfigurationCommandOutput) => void,
851
+ ): void;
797
852
  ingestKnowledgeBaseDocuments(
798
853
  args: IngestKnowledgeBaseDocumentsCommandInput,
799
854
  options?: BedrockAgentRequestOptions,
@@ -1006,6 +1061,19 @@ export interface BedrockAgent {
1006
1061
  options: BedrockAgentRequestOptions,
1007
1062
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
1008
1063
  ): void;
1064
+ listVpcConfigurations(
1065
+ args: ListVpcConfigurationsCommandInput,
1066
+ options?: BedrockAgentRequestOptions,
1067
+ ): Promise<ListVpcConfigurationsCommandOutput>;
1068
+ listVpcConfigurations(
1069
+ args: ListVpcConfigurationsCommandInput,
1070
+ cb: (err: any, data?: ListVpcConfigurationsCommandOutput) => void,
1071
+ ): void;
1072
+ listVpcConfigurations(
1073
+ args: ListVpcConfigurationsCommandInput,
1074
+ options: BedrockAgentRequestOptions,
1075
+ cb: (err: any, data?: ListVpcConfigurationsCommandOutput) => void,
1076
+ ): void;
1009
1077
  prepareAgent(
1010
1078
  args: PrepareAgentCommandInput,
1011
1079
  options?: BedrockAgentRequestOptions,
@@ -1338,5 +1406,12 @@ export interface BedrockAgent {
1338
1406
  Exclude<keyof PaginationConfiguration, "client">
1339
1407
  >,
1340
1408
  ): Paginator<ListPromptsCommandOutput>;
1409
+ paginateListVpcConfigurations(
1410
+ args: ListVpcConfigurationsCommandInput,
1411
+ paginationConfig?: Pick<
1412
+ PaginationConfiguration,
1413
+ Exclude<keyof PaginationConfiguration, "client">
1414
+ >,
1415
+ ): Paginator<ListVpcConfigurationsCommandOutput>;
1341
1416
  }
1342
1417
  export declare class BedrockAgent extends BedrockAgentClient implements BedrockAgent {}
@@ -75,6 +75,10 @@ import {
75
75
  CreatePromptVersionCommandInput,
76
76
  CreatePromptVersionCommandOutput,
77
77
  } from "./commands/CreatePromptVersionCommand";
78
+ import {
79
+ CreateVpcConfigurationCommandInput,
80
+ CreateVpcConfigurationCommandOutput,
81
+ } from "./commands/CreateVpcConfigurationCommand";
78
82
  import {
79
83
  DeleteAgentActionGroupCommandInput,
80
84
  DeleteAgentActionGroupCommandOutput,
@@ -117,6 +121,10 @@ import {
117
121
  DeleteResourcePolicyCommandInput,
118
122
  DeleteResourcePolicyCommandOutput,
119
123
  } from "./commands/DeleteResourcePolicyCommand";
124
+ import {
125
+ DeleteVpcConfigurationCommandInput,
126
+ DeleteVpcConfigurationCommandOutput,
127
+ } from "./commands/DeleteVpcConfigurationCommand";
120
128
  import {
121
129
  DisassociateAgentCollaboratorCommandInput,
122
130
  DisassociateAgentCollaboratorCommandOutput,
@@ -176,6 +184,10 @@ import {
176
184
  GetResourcePolicyCommandInput,
177
185
  GetResourcePolicyCommandOutput,
178
186
  } from "./commands/GetResourcePolicyCommand";
187
+ import {
188
+ GetVpcConfigurationCommandInput,
189
+ GetVpcConfigurationCommandOutput,
190
+ } from "./commands/GetVpcConfigurationCommand";
179
191
  import {
180
192
  IngestKnowledgeBaseDocumentsCommandInput,
181
193
  IngestKnowledgeBaseDocumentsCommandOutput,
@@ -231,6 +243,10 @@ import {
231
243
  ListTagsForResourceCommandInput,
232
244
  ListTagsForResourceCommandOutput,
233
245
  } from "./commands/ListTagsForResourceCommand";
246
+ import {
247
+ ListVpcConfigurationsCommandInput,
248
+ ListVpcConfigurationsCommandOutput,
249
+ } from "./commands/ListVpcConfigurationsCommand";
234
250
  import {
235
251
  PrepareAgentCommandInput,
236
252
  PrepareAgentCommandOutput,
@@ -311,6 +327,7 @@ export type ServiceInputTypes =
311
327
  | CreateKnowledgeBaseCommandInput
312
328
  | CreatePromptCommandInput
313
329
  | CreatePromptVersionCommandInput
330
+ | CreateVpcConfigurationCommandInput
314
331
  | DeleteAgentActionGroupCommandInput
315
332
  | DeleteAgentAliasCommandInput
316
333
  | DeleteAgentCommandInput
@@ -323,6 +340,7 @@ export type ServiceInputTypes =
323
340
  | DeleteKnowledgeBaseDocumentsCommandInput
324
341
  | DeletePromptCommandInput
325
342
  | DeleteResourcePolicyCommandInput
343
+ | DeleteVpcConfigurationCommandInput
326
344
  | DisassociateAgentCollaboratorCommandInput
327
345
  | DisassociateAgentKnowledgeBaseCommandInput
328
346
  | GetAgentActionGroupCommandInput
@@ -340,6 +358,7 @@ export type ServiceInputTypes =
340
358
  | GetKnowledgeBaseDocumentsCommandInput
341
359
  | GetPromptCommandInput
342
360
  | GetResourcePolicyCommandInput
361
+ | GetVpcConfigurationCommandInput
343
362
  | IngestKnowledgeBaseDocumentsCommandInput
344
363
  | ListAgentActionGroupsCommandInput
345
364
  | ListAgentAliasesCommandInput
@@ -356,6 +375,7 @@ export type ServiceInputTypes =
356
375
  | ListKnowledgeBasesCommandInput
357
376
  | ListPromptsCommandInput
358
377
  | ListTagsForResourceCommandInput
378
+ | ListVpcConfigurationsCommandInput
359
379
  | PrepareAgentCommandInput
360
380
  | PrepareFlowCommandInput
361
381
  | PutResourcePolicyCommandInput
@@ -387,6 +407,7 @@ export type ServiceOutputTypes =
387
407
  | CreateKnowledgeBaseCommandOutput
388
408
  | CreatePromptCommandOutput
389
409
  | CreatePromptVersionCommandOutput
410
+ | CreateVpcConfigurationCommandOutput
390
411
  | DeleteAgentActionGroupCommandOutput
391
412
  | DeleteAgentAliasCommandOutput
392
413
  | DeleteAgentCommandOutput
@@ -399,6 +420,7 @@ export type ServiceOutputTypes =
399
420
  | DeleteKnowledgeBaseDocumentsCommandOutput
400
421
  | DeletePromptCommandOutput
401
422
  | DeleteResourcePolicyCommandOutput
423
+ | DeleteVpcConfigurationCommandOutput
402
424
  | DisassociateAgentCollaboratorCommandOutput
403
425
  | DisassociateAgentKnowledgeBaseCommandOutput
404
426
  | GetAgentActionGroupCommandOutput
@@ -416,6 +438,7 @@ export type ServiceOutputTypes =
416
438
  | GetKnowledgeBaseDocumentsCommandOutput
417
439
  | GetPromptCommandOutput
418
440
  | GetResourcePolicyCommandOutput
441
+ | GetVpcConfigurationCommandOutput
419
442
  | IngestKnowledgeBaseDocumentsCommandOutput
420
443
  | ListAgentActionGroupsCommandOutput
421
444
  | ListAgentAliasesCommandOutput
@@ -432,6 +455,7 @@ export type ServiceOutputTypes =
432
455
  | ListKnowledgeBasesCommandOutput
433
456
  | ListPromptsCommandOutput
434
457
  | ListTagsForResourceCommandOutput
458
+ | ListVpcConfigurationsCommandOutput
435
459
  | PrepareAgentCommandOutput
436
460
  | PrepareFlowCommandOutput
437
461
  | PutResourcePolicyCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  AssociateAgentKnowledgeBaseRequest,
4
4
  AssociateAgentKnowledgeBaseResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface AssociateAgentKnowledgeBaseCommandInput extends AssociateAgentKnowledgeBaseRequest {}
8
8
  export interface AssociateAgentKnowledgeBaseCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateVpcConfigurationRequest, CreateVpcConfigurationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateVpcConfigurationCommandInput extends CreateVpcConfigurationRequest {}
5
+ export interface CreateVpcConfigurationCommandOutput
6
+ extends CreateVpcConfigurationResponse, __MetadataBearer {}
7
+ declare const CreateVpcConfigurationCommand_base: {
8
+ new (
9
+ input: CreateVpcConfigurationCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateVpcConfigurationCommandInput,
12
+ CreateVpcConfigurationCommandOutput,
13
+ import("..").BedrockAgentClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateVpcConfigurationCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateVpcConfigurationCommandInput,
21
+ CreateVpcConfigurationCommandOutput,
22
+ import("..").BedrockAgentClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateVpcConfigurationCommand extends CreateVpcConfigurationCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateVpcConfigurationRequest;
32
+ output: CreateVpcConfigurationResponse;
33
+ };
34
+ sdk: {
35
+ input: CreateVpcConfigurationCommandInput;
36
+ output: CreateVpcConfigurationCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteVpcConfigurationRequest, DeleteVpcConfigurationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteVpcConfigurationCommandInput extends DeleteVpcConfigurationRequest {}
5
+ export interface DeleteVpcConfigurationCommandOutput
6
+ extends DeleteVpcConfigurationResponse, __MetadataBearer {}
7
+ declare const DeleteVpcConfigurationCommand_base: {
8
+ new (
9
+ input: DeleteVpcConfigurationCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ DeleteVpcConfigurationCommandInput,
12
+ DeleteVpcConfigurationCommandOutput,
13
+ import("..").BedrockAgentClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: DeleteVpcConfigurationCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ DeleteVpcConfigurationCommandInput,
21
+ DeleteVpcConfigurationCommandOutput,
22
+ import("..").BedrockAgentClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class DeleteVpcConfigurationCommand extends DeleteVpcConfigurationCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: DeleteVpcConfigurationRequest;
32
+ output: DeleteVpcConfigurationResponse;
33
+ };
34
+ sdk: {
35
+ input: DeleteVpcConfigurationCommandInput;
36
+ output: DeleteVpcConfigurationCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetVpcConfigurationRequest, GetVpcConfigurationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetVpcConfigurationCommandInput extends GetVpcConfigurationRequest {}
5
+ export interface GetVpcConfigurationCommandOutput
6
+ extends GetVpcConfigurationResponse, __MetadataBearer {}
7
+ declare const GetVpcConfigurationCommand_base: {
8
+ new (
9
+ input: GetVpcConfigurationCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetVpcConfigurationCommandInput,
12
+ GetVpcConfigurationCommandOutput,
13
+ import("..").BedrockAgentClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetVpcConfigurationCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetVpcConfigurationCommandInput,
21
+ GetVpcConfigurationCommandOutput,
22
+ import("..").BedrockAgentClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetVpcConfigurationCommand extends GetVpcConfigurationCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetVpcConfigurationRequest;
32
+ output: GetVpcConfigurationResponse;
33
+ };
34
+ sdk: {
35
+ input: GetVpcConfigurationCommandInput;
36
+ output: GetVpcConfigurationCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListKnowledgeBaseDocumentsRequest,
4
4
  ListKnowledgeBaseDocumentsResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListKnowledgeBaseDocumentsCommandInput extends ListKnowledgeBaseDocumentsRequest {}
8
8
  export interface ListKnowledgeBaseDocumentsCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListVpcConfigurationsRequest, ListVpcConfigurationsResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface ListVpcConfigurationsCommandInput extends ListVpcConfigurationsRequest {}
5
+ export interface ListVpcConfigurationsCommandOutput
6
+ extends ListVpcConfigurationsResponse, __MetadataBearer {}
7
+ declare const ListVpcConfigurationsCommand_base: {
8
+ new (
9
+ input: ListVpcConfigurationsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListVpcConfigurationsCommandInput,
12
+ ListVpcConfigurationsCommandOutput,
13
+ import("..").BedrockAgentClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ListVpcConfigurationsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListVpcConfigurationsCommandInput,
21
+ ListVpcConfigurationsCommandOutput,
22
+ import("..").BedrockAgentClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListVpcConfigurationsCommand extends ListVpcConfigurationsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListVpcConfigurationsRequest;
32
+ output: ListVpcConfigurationsResponse;
33
+ };
34
+ sdk: {
35
+ input: ListVpcConfigurationsCommandInput;
36
+ output: ListVpcConfigurationsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -10,6 +10,7 @@ export * from "./CreateFlowVersionCommand";
10
10
  export * from "./CreateKnowledgeBaseCommand";
11
11
  export * from "./CreatePromptCommand";
12
12
  export * from "./CreatePromptVersionCommand";
13
+ export * from "./CreateVpcConfigurationCommand";
13
14
  export * from "./DeleteAgentActionGroupCommand";
14
15
  export * from "./DeleteAgentAliasCommand";
15
16
  export * from "./DeleteAgentCommand";
@@ -22,6 +23,7 @@ export * from "./DeleteKnowledgeBaseCommand";
22
23
  export * from "./DeleteKnowledgeBaseDocumentsCommand";
23
24
  export * from "./DeletePromptCommand";
24
25
  export * from "./DeleteResourcePolicyCommand";
26
+ export * from "./DeleteVpcConfigurationCommand";
25
27
  export * from "./DisassociateAgentCollaboratorCommand";
26
28
  export * from "./DisassociateAgentKnowledgeBaseCommand";
27
29
  export * from "./GetAgentActionGroupCommand";
@@ -39,6 +41,7 @@ export * from "./GetKnowledgeBaseCommand";
39
41
  export * from "./GetKnowledgeBaseDocumentsCommand";
40
42
  export * from "./GetPromptCommand";
41
43
  export * from "./GetResourcePolicyCommand";
44
+ export * from "./GetVpcConfigurationCommand";
42
45
  export * from "./IngestKnowledgeBaseDocumentsCommand";
43
46
  export * from "./ListAgentActionGroupsCommand";
44
47
  export * from "./ListAgentAliasesCommand";
@@ -55,6 +58,7 @@ export * from "./ListKnowledgeBaseDocumentsCommand";
55
58
  export * from "./ListKnowledgeBasesCommand";
56
59
  export * from "./ListPromptsCommand";
57
60
  export * from "./ListTagsForResourceCommand";
61
+ export * from "./ListVpcConfigurationsCommand";
58
62
  export * from "./PrepareAgentCommand";
59
63
  export * from "./PrepareFlowCommand";
60
64
  export * from "./PutResourcePolicyCommand";
@@ -107,6 +107,25 @@ export declare const KnowledgeBaseState: {
107
107
  readonly ENABLED: "ENABLED";
108
108
  };
109
109
  export type KnowledgeBaseState = (typeof KnowledgeBaseState)[keyof typeof KnowledgeBaseState];
110
+ export declare const VpcProtocol: {
111
+ readonly HTTP: "HTTP";
112
+ readonly HTTPS: "HTTPS";
113
+ };
114
+ export type VpcProtocol = (typeof VpcProtocol)[keyof typeof VpcProtocol];
115
+ export declare const VpcResolutionMode: {
116
+ readonly IN_VPC: "IN_VPC";
117
+ readonly PUBLIC: "PUBLIC";
118
+ };
119
+ export type VpcResolutionMode = (typeof VpcResolutionMode)[keyof typeof VpcResolutionMode];
120
+ export declare const VpcConfigurationStatus: {
121
+ readonly CREATED: "CREATED";
122
+ readonly CREATE_FAILED: "CREATE_FAILED";
123
+ readonly CREATING: "CREATING";
124
+ readonly DELETE_FAILED: "DELETE_FAILED";
125
+ readonly DELETING: "DELETING";
126
+ };
127
+ export type VpcConfigurationStatus =
128
+ (typeof VpcConfigurationStatus)[keyof typeof VpcConfigurationStatus];
110
129
  export declare const DataDeletionPolicy: {
111
130
  readonly DELETE: "DELETE";
112
131
  readonly RETAIN: "RETAIN";
@@ -63,6 +63,9 @@ import {
63
63
  SupportedLanguages,
64
64
  Type,
65
65
  VectorSearchRerankingConfigurationType,
66
+ VpcConfigurationStatus,
67
+ VpcProtocol,
68
+ VpcResolutionMode,
66
69
  WebScopeType,
67
70
  } from "./enums";
68
71
  export type ActionGroupExecutor =
@@ -588,6 +591,24 @@ export interface UpdateAgentAliasRequest {
588
591
  export interface UpdateAgentAliasResponse {
589
592
  agentAlias: AgentAlias | undefined;
590
593
  }
594
+ export interface CreateVpcConfigurationRequest {
595
+ knowledgeBaseId: string | undefined;
596
+ clientToken?: string | undefined;
597
+ vpcId: string | undefined;
598
+ subnetIds: string[] | undefined;
599
+ resourceTarget: string | undefined;
600
+ port: number | undefined;
601
+ protocol: VpcProtocol | undefined;
602
+ resolutionMode: VpcResolutionMode | undefined;
603
+ hostHeader?: string | undefined;
604
+ tlsServerName?: string | undefined;
605
+ name?: string | undefined;
606
+ description?: string | undefined;
607
+ }
608
+ export interface CreateVpcConfigurationResponse {
609
+ vpcConfigurationId: string | undefined;
610
+ status: VpcConfigurationStatus | undefined;
611
+ }
591
612
  export interface PatternObjectFilter {
592
613
  objectType: string | undefined;
593
614
  inclusionFilters?: string[] | undefined;
@@ -937,6 +958,14 @@ export interface DeleteResourcePolicyResponse {
937
958
  resourceArn: string | undefined;
938
959
  revisionId?: string | undefined;
939
960
  }
961
+ export interface DeleteVpcConfigurationRequest {
962
+ knowledgeBaseId: string | undefined;
963
+ vpcConfigurationId: string | undefined;
964
+ }
965
+ export interface DeleteVpcConfigurationResponse {
966
+ vpcConfigurationId: string | undefined;
967
+ status: VpcConfigurationStatus | undefined;
968
+ }
940
969
  export interface FlowConditionalConnectionConfiguration {
941
970
  condition: string | undefined;
942
971
  }
@@ -2970,6 +2999,30 @@ export interface GetResourcePolicyResponse {
2970
2999
  policy: __AutomaticJsonStringConversion | string | undefined;
2971
3000
  revisionId: string | undefined;
2972
3001
  }
3002
+ export interface GetVpcConfigurationRequest {
3003
+ knowledgeBaseId: string | undefined;
3004
+ vpcConfigurationId: string | undefined;
3005
+ }
3006
+ export interface VpcConfiguration {
3007
+ vpcConfigurationId: string | undefined;
3008
+ status: VpcConfigurationStatus | undefined;
3009
+ statusMessage?: string | undefined;
3010
+ vpcId: string | undefined;
3011
+ subnetIds: string[] | undefined;
3012
+ resourceTarget: string | undefined;
3013
+ port: number | undefined;
3014
+ protocol: VpcProtocol | undefined;
3015
+ resolutionMode: VpcResolutionMode | undefined;
3016
+ hostHeader?: string | undefined;
3017
+ tlsServerName?: string | undefined;
3018
+ name?: string | undefined;
3019
+ description?: string | undefined;
3020
+ createdAt: Date | undefined;
3021
+ updatedAt: Date | undefined;
3022
+ }
3023
+ export interface GetVpcConfigurationResponse {
3024
+ vpcConfiguration: VpcConfiguration | undefined;
3025
+ }
2973
3026
  export interface GetIngestionJobRequest {
2974
3027
  knowledgeBaseId: string | undefined;
2975
3028
  dataSourceId: string | undefined;
@@ -3145,32 +3198,3 @@ export interface IngestKnowledgeBaseDocumentsRequest {
3145
3198
  export interface IngestKnowledgeBaseDocumentsResponse {
3146
3199
  documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
3147
3200
  }
3148
- export interface ListKnowledgeBaseDocumentsRequest {
3149
- knowledgeBaseId: string | undefined;
3150
- dataSourceId: string | undefined;
3151
- maxResults?: number | undefined;
3152
- nextToken?: string | undefined;
3153
- }
3154
- export interface ListKnowledgeBaseDocumentsResponse {
3155
- documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
3156
- nextToken?: string | undefined;
3157
- }
3158
- export interface AssociateAgentKnowledgeBaseRequest {
3159
- agentId: string | undefined;
3160
- agentVersion: string | undefined;
3161
- knowledgeBaseId: string | undefined;
3162
- description: string | undefined;
3163
- knowledgeBaseState?: KnowledgeBaseState | undefined;
3164
- }
3165
- export interface AssociateAgentKnowledgeBaseResponse {
3166
- agentKnowledgeBase: AgentKnowledgeBase | undefined;
3167
- }
3168
- export interface KendraKnowledgeBaseConfiguration {
3169
- kendraIndexArn: string | undefined;
3170
- }
3171
- export interface AudioSegmentationConfiguration {
3172
- fixedLengthDuration: number | undefined;
3173
- }
3174
- export interface AudioConfiguration {
3175
- segmentationConfiguration: AudioSegmentationConfiguration | undefined;
3176
- }