@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.
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
package/README.md CHANGED
@@ -265,6 +265,13 @@ CreatePromptVersion
265
265
  </details>
266
266
  <details>
267
267
  <summary>
268
+ CreateVpcConfiguration
269
+ </summary>
270
+
271
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/CreateVpcConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateVpcConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/CreateVpcConfigurationCommandOutput/)
272
+ </details>
273
+ <details>
274
+ <summary>
268
275
  DeleteAgent
269
276
  </summary>
270
277
 
@@ -349,6 +356,13 @@ DeleteResourcePolicy
349
356
  </details>
350
357
  <details>
351
358
  <summary>
359
+ DeleteVpcConfiguration
360
+ </summary>
361
+
362
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/DeleteVpcConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeleteVpcConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeleteVpcConfigurationCommandOutput/)
363
+ </details>
364
+ <details>
365
+ <summary>
352
366
  DisassociateAgentCollaborator
353
367
  </summary>
354
368
 
@@ -468,6 +482,13 @@ GetResourcePolicy
468
482
  </details>
469
483
  <details>
470
484
  <summary>
485
+ GetVpcConfiguration
486
+ </summary>
487
+
488
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/GetVpcConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetVpcConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetVpcConfigurationCommandOutput/)
489
+ </details>
490
+ <details>
491
+ <summary>
471
492
  IngestKnowledgeBaseDocuments
472
493
  </summary>
473
494
 
@@ -580,6 +601,13 @@ ListTagsForResource
580
601
  </details>
581
602
  <details>
582
603
  <summary>
604
+ ListVpcConfigurations
605
+ </summary>
606
+
607
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/ListVpcConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListVpcConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListVpcConfigurationsCommandOutput/)
608
+ </details>
609
+ <details>
610
+ <summary>
583
611
  PrepareAgent
584
612
  </summary>
585
613
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1139.0";
72
+ var version = "3.1141.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -323,6 +323,9 @@ const _CQu = "CuratedQueries";
323
323
  const _CSC = "ConfluenceSourceConfiguration";
324
324
  const _CSL = "CustomS3Location";
325
325
  const _CTC = "CustomTransformationConfiguration";
326
+ const _CVC = "CreateVpcConfiguration";
327
+ const _CVCR = "CreateVpcConfigurationRequest";
328
+ const _CVCRr = "CreateVpcConfigurationResponse";
326
329
  const _D = "Data";
327
330
  const _DA = "DeleteAgent";
328
331
  const _DAA = "DeleteAgentAlias";
@@ -381,6 +384,9 @@ const _DSC = "DataSourceConfiguration";
381
384
  const _DSS = "DataSourceSummary";
382
385
  const _DSSa = "DataSourceSummaries";
383
386
  const _DSa = "DataSource";
387
+ const _DVC = "DeleteVpcConfiguration";
388
+ const _DVCR = "DeleteVpcConfigurationRequest";
389
+ const _DVCRe = "DeleteVpcConfigurationResponse";
384
390
  const _EMC = "EmbeddingModelConfiguration";
385
391
  const _ESC = "EnrichmentStrategyConfiguration";
386
392
  const _F = "Function";
@@ -468,6 +474,9 @@ const _GPRe = "GetPromptResponse";
468
474
  const _GRP = "GetResourcePolicy";
469
475
  const _GRPR = "GetResourcePolicyRequest";
470
476
  const _GRPRe = "GetResourcePolicyResponse";
477
+ const _GVC = "GetVpcConfiguration";
478
+ const _GVCR = "GetVpcConfigurationRequest";
479
+ const _GVCRe = "GetVpcConfigurationResponse";
471
480
  const _HCC = "HierarchicalChunkingConfiguration";
472
481
  const _HCLC = "HierarchicalChunkingLevelConfiguration";
473
482
  const _HCLCi = "HierarchicalChunkingLevelConfigurations";
@@ -561,6 +570,9 @@ const _LPRi = "ListPromptsResponse";
561
570
  const _LTFR = "ListTagsForResource";
562
571
  const _LTFRR = "ListTagsForResourceRequest";
563
572
  const _LTFRRi = "ListTagsForResourceResponse";
573
+ const _LVC = "ListVpcConfigurations";
574
+ const _LVCR = "ListVpcConfigurationsRequest";
575
+ const _LVCRi = "ListVpcConfigurationsResponse";
564
576
  const _M = "Message";
565
577
  const _MA = "MetadataAttribute";
566
578
  const _MAV = "MetadataAttributeValue";
@@ -773,7 +785,10 @@ const _URR = "UntagResourceRequest";
773
785
  const _URRn = "UntagResourceResponse";
774
786
  const _VBA = "VectorBucketArn";
775
787
  const _VC = "VideoConfiguration";
788
+ const _VCS = "VpcConfigurationSummary";
789
+ const _VCSL = "VpcConfigurationSummaryList";
776
790
  const _VCi = "VideoConfigurations";
791
+ const _VCp = "VpcConfiguration";
777
792
  const _VE = "ValidationException";
778
793
  const _VEC = "VideoExtractionConfiguration";
779
794
  const _VEF = "ValidationExceptionField";
@@ -969,6 +984,7 @@ const _gV = "guardrailVersion";
969
984
  const _h = "http";
970
985
  const _hCC = "hierarchicalChunkingConfiguration";
971
986
  const _hE = "httpError";
987
+ const _hH = "hostHeader";
972
988
  const _hQ = "httpQuery";
973
989
  const _hT = "hostType";
974
990
  const _hU = "hostUrl";
@@ -1002,7 +1018,8 @@ const _in = "inputs";
1002
1018
  const _inc = "inclusion";
1003
1019
  const _inl = "inline";
1004
1020
  const _inp = "input";
1005
- const _it = "iterator";
1021
+ const _it = "items";
1022
+ const _ite = "iterator";
1006
1023
  const _j = "json";
1007
1024
  const _k = "key";
1008
1025
  const _kB = "knowledgeBase";
@@ -1100,7 +1117,7 @@ const _oTv = "overlapTokens";
1100
1117
  const _op = "operator";
1101
1118
  const _or = "order";
1102
1119
  const _ou = "output";
1103
- const _p = "parameters";
1120
+ const _p = "port";
1104
1121
  const _pA = "preparedAt";
1105
1122
  const _pAGS = "parentActionGroupSignature";
1106
1123
  const _pAGSP = "parentActionGroupSignatureParams";
@@ -1127,9 +1144,11 @@ const _pT = "provisionedThroughput";
1127
1144
  const _pTr = "promptTemplate";
1128
1145
  const _pTro = "promptType";
1129
1146
  const _pV = "promptVersion";
1130
- const _pa = "payload";
1147
+ const _pa = "parameters";
1148
+ const _pay = "payload";
1131
1149
  const _po = "policy";
1132
- const _pr = "prompt";
1150
+ const _pr = "protocol";
1151
+ const _pro = "prompt";
1133
1152
  const _qEC = "queryEngineConfiguration";
1134
1153
  const _qGC = "queryGenerationConfiguration";
1135
1154
  const _r = "role";
@@ -1145,6 +1164,8 @@ const _rCer = "rerankingConfiguration";
1145
1164
  const _rECC = "redisEnterpriseCloudConfiguration";
1146
1165
  const _rI = "revisionId";
1147
1166
  const _rL = "rateLimit";
1167
+ const _rM = "resolutionMode";
1168
+ const _rT = "resourceTarget";
1148
1169
  const _re = "required";
1149
1170
  const _res = "resource";
1150
1171
  const _ret = "retrieval";
@@ -1164,12 +1185,15 @@ const _sCto = "storageConfigurations";
1164
1185
  const _sD = "startDate";
1165
1186
  const _sDSC = "supplementalDataStorageConfiguration";
1166
1187
  const _sDt = "storageDays";
1188
+ const _sF = "statusFilter";
1189
+ const _sI = "subnetIds";
1167
1190
  const _sKBC = "sqlKnowledgeBaseConfiguration";
1168
1191
  const _sL = "s3Location";
1169
1192
  const _sLV = "stringListValue";
1170
1193
  const _sLt = "storageLocations";
1171
1194
  const _sM = "selectionMode";
1172
1195
  const _sMC = "selectiveModeConfiguration";
1196
+ const _sMt = "statusMessage";
1173
1197
  const _sO = "sourceOutput";
1174
1198
  const _sOK = "s3ObjectKey";
1175
1199
  const _sPC = "sharePointConfiguration";
@@ -1214,6 +1238,7 @@ const _tNa = "tableNames";
1214
1238
  const _tP = "topP";
1215
1239
  const _tPT = "textPromptTemplate";
1216
1240
  const _tS = "toolSpec";
1241
+ const _tSN = "tlsServerName";
1217
1242
  const _tT = "templateType";
1218
1243
  const _ta = "tags";
1219
1244
  const _tab = "tables";
@@ -1243,9 +1268,12 @@ const _un = "unspecified";
1243
1268
  const _ur = "url";
1244
1269
  const _v = "version";
1245
1270
  const _vBA = "vectorBucketArn";
1271
+ const _vC = "vpcConfiguration";
1272
+ const _vCI = "vpcConfigurationId";
1246
1273
  const _vEC = "videoExtractionConfiguration";
1247
1274
  const _vES = "videoExtractionStatus";
1248
1275
  const _vF = "vectorField";
1276
+ const _vI = "vpcId";
1249
1277
  const _vIC = "vectorIngestionConfiguration";
1250
1278
  const _vIN = "vectorIndexName";
1251
1279
  const _vKBC = "vectorKnowledgeBaseConfiguration";
@@ -1635,6 +1663,16 @@ var CreatePromptVersionResponse$ = [3, n0, _CPVRr,
1635
1663
  [_n, _id, _ar, _v, _cA, _uA, _d, _cEKA, _dV, _va],
1636
1664
  [0, 0, 0, 0, 5, 5, 0, 0, 0, [() => PromptVariantList, 0]], 6
1637
1665
  ];
1666
+ var CreateVpcConfigurationRequest$ = [3, n0, _CVCR,
1667
+ 0,
1668
+ [_kBI, _vI, _sI, _rT, _p, _pr, _rM, _cT, _hH, _tSN, _n, _d],
1669
+ [[0, 1], 0, 64 | 0, 0, 1, 0, 0, [0, 4], 0, 0, 0, 0], 7
1670
+ ];
1671
+ var CreateVpcConfigurationResponse$ = [3, n0, _CVCRr,
1672
+ 0,
1673
+ [_vCI, _st],
1674
+ [0, 0], 2
1675
+ ];
1638
1676
  var CuratedQuery$ = [3, n0, _CQ,
1639
1677
  0,
1640
1678
  [_nL, _sq],
@@ -1810,6 +1848,16 @@ var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
1810
1848
  [_rAe, _rI],
1811
1849
  [0, 0], 1
1812
1850
  ];
1851
+ var DeleteVpcConfigurationRequest$ = [3, n0, _DVCR,
1852
+ 0,
1853
+ [_kBI, _vCI],
1854
+ [[0, 1], [0, 1]], 2
1855
+ ];
1856
+ var DeleteVpcConfigurationResponse$ = [3, n0, _DVCRe,
1857
+ 0,
1858
+ [_vCI, _st],
1859
+ [0, 0], 2
1860
+ ];
1813
1861
  var DeletionProtectionConfiguration$ = [3, n0, _DPC,
1814
1862
  0,
1815
1863
  [_dPS, _dPT],
@@ -1957,7 +2005,7 @@ var FlowVersionSummary$ = [3, n0, _FVS,
1957
2005
  ];
1958
2006
  var Function$ = [3, n0, _F,
1959
2007
  0,
1960
- [_n, _d, _p, _rCe],
2008
+ [_n, _d, _pa, _rCe],
1961
2009
  [0, 0, () => ParameterMap, 0], 1
1962
2010
  ];
1963
2011
  var GetAgentActionGroupRequest$ = [3, n0, _GAAGR,
@@ -2110,6 +2158,16 @@ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
2110
2158
  [_rAe, _po, _rI],
2111
2159
  [0, [() => ResourcePolicy, 0], 0], 3
2112
2160
  ];
2161
+ var GetVpcConfigurationRequest$ = [3, n0, _GVCR,
2162
+ 0,
2163
+ [_kBI, _vCI],
2164
+ [[0, 1], [0, 1]], 2
2165
+ ];
2166
+ var GetVpcConfigurationResponse$ = [3, n0, _GVCRe,
2167
+ 0,
2168
+ [_vC],
2169
+ [() => VpcConfiguration$], 1
2170
+ ];
2113
2171
  var GuardrailConfiguration$ = [3, n0, _GC,
2114
2172
  0,
2115
2173
  [_gI, _gV],
@@ -2415,6 +2473,16 @@ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
2415
2473
  [_ta],
2416
2474
  [128 | 0]
2417
2475
  ];
2476
+ var ListVpcConfigurationsRequest$ = [3, n0, _LVCR,
2477
+ 0,
2478
+ [_kBI, _sF, _mR, _nT],
2479
+ [[0, 1], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
2480
+ ];
2481
+ var ListVpcConfigurationsResponse$ = [3, n0, _LVCRi,
2482
+ 0,
2483
+ [_it, _nT],
2484
+ [() => VpcConfigurationSummaryList, 0], 1
2485
+ ];
2418
2486
  var LoopControllerFlowNodeConfiguration$ = [3, n0, _LCFNC,
2419
2487
  0,
2420
2488
  [_cCont, _mIa],
@@ -3225,6 +3293,16 @@ var VideoSegmentationConfiguration$ = [3, n0, _VSC,
3225
3293
  [_fLD],
3226
3294
  [1], 1
3227
3295
  ];
3296
+ var VpcConfiguration$ = [3, n0, _VCp,
3297
+ 0,
3298
+ [_vCI, _st, _vI, _sI, _rT, _p, _pr, _rM, _cA, _uA, _sMt, _hH, _tSN, _n, _d],
3299
+ [0, 0, 0, 64 | 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0], 10
3300
+ ];
3301
+ var VpcConfigurationSummary$ = [3, n0, _VCS,
3302
+ 0,
3303
+ [_vCI, _st, _vI, _rT, _p, _pr, _rM, _cA, _sMt, _hH, _tSN, _n, _d],
3304
+ [0, 0, 0, 0, 1, 0, 0, 5, 0, 0, 0, 0, 0], 8
3305
+ ];
3228
3306
  var WebCrawlerConfiguration$ = [3, n0, _WCC,
3229
3307
  0,
3230
3308
  [_cL, _iF, _eF, _sc, _uAs, _uAH],
@@ -3427,6 +3505,9 @@ var ValidationExceptionFieldList = [1, n0, _VEFL,
3427
3505
  var VideoConfigurations = [1, n0, _VCi,
3428
3506
  0, () => VideoConfiguration$
3429
3507
  ];
3508
+ var VpcConfigurationSummaryList = [1, n0, _VCSL,
3509
+ 0, () => VpcConfigurationSummary$
3510
+ ];
3430
3511
  var ParameterMap = [2, n0, _PM,
3431
3512
  0, 0, () => ParameterDetail$
3432
3513
  ];
@@ -3437,7 +3518,7 @@ var ActionGroupExecutor$ = [4, n0, _AGE,
3437
3518
  ];
3438
3519
  var APISchema$ = [4, n0, _APIS,
3439
3520
  0,
3440
- [_s_, _pa],
3521
+ [_s_, _pay],
3441
3522
  [() => S3Identifier$, [() => Payload, 0]]
3442
3523
  ];
3443
3524
  var ContentBlock$ = [4, n0, _CBo,
@@ -3457,7 +3538,7 @@ var FlowConnectionConfiguration$ = [4, n0, _FCC,
3457
3538
  ];
3458
3539
  var FlowNodeConfiguration$ = [4, n0, _FNC,
3459
3540
  0,
3460
- [_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto, _ag, _ret, _it, _coll, _iCnl, _lo, _lIo, _lCo],
3541
+ [_inp, _ou, _kB, _cond, _le, _pro, _lF, _sto, _ag, _ret, _ite, _coll, _iCnl, _lo, _lIo, _lCo],
3461
3542
  [() => InputFlowNodeConfiguration$, () => OutputFlowNodeConfiguration$, [() => KnowledgeBaseFlowNodeConfiguration$, 0], [() => ConditionFlowNodeConfiguration$, 0], () => LexFlowNodeConfiguration$, [() => PromptFlowNodeConfiguration$, 0], () => LambdaFunctionFlowNodeConfiguration$, () => StorageFlowNodeConfiguration$, () => AgentFlowNodeConfiguration$, () => RetrievalFlowNodeConfiguration$, () => IteratorFlowNodeConfiguration$, () => CollectorFlowNodeConfiguration$, [() => InlineCodeFlowNodeConfiguration$, 0], [() => LoopFlowNodeConfiguration$, 0], () => LoopInputFlowNodeConfiguration$, [() => LoopControllerFlowNodeConfiguration$, 0]]
3462
3543
  ];
3463
3544
  var FlowValidationDetails$ = [4, n0, _FVD,
@@ -3571,6 +3652,9 @@ var CreatePrompt$ = [9, n0, _CP,
3571
3652
  var CreatePromptVersion$ = [9, n0, _CPV,
3572
3653
  { [_h]: ["POST", "/prompts/{promptIdentifier}/versions", 201] }, () => CreatePromptVersionRequest$, () => CreatePromptVersionResponse$
3573
3654
  ];
3655
+ var CreateVpcConfiguration$ = [9, n0, _CVC,
3656
+ { [_h]: ["POST", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", 202] }, () => CreateVpcConfigurationRequest$, () => CreateVpcConfigurationResponse$
3657
+ ];
3574
3658
  var DeleteAgent$ = [9, n0, _DA,
3575
3659
  { [_h]: ["DELETE", "/agents/{agentId}/", 202] }, () => DeleteAgentRequest$, () => DeleteAgentResponse$
3576
3660
  ];
@@ -3607,6 +3691,9 @@ var DeletePrompt$ = [9, n0, _DP,
3607
3691
  var DeleteResourcePolicy$ = [9, n0, _DRP,
3608
3692
  { [_h]: ["DELETE", "/resourcepolicy/{resourceArn}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
3609
3693
  ];
3694
+ var DeleteVpcConfiguration$ = [9, n0, _DVC,
3695
+ { [_h]: ["DELETE", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 202] }, () => DeleteVpcConfigurationRequest$, () => DeleteVpcConfigurationResponse$
3696
+ ];
3610
3697
  var DisassociateAgentCollaborator$ = [9, n0, _DAC,
3611
3698
  { [_h]: ["DELETE", "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", 204] }, () => DisassociateAgentCollaboratorRequest$, () => DisassociateAgentCollaboratorResponse$
3612
3699
  ];
@@ -3658,6 +3745,9 @@ var GetPrompt$ = [9, n0, _GP,
3658
3745
  var GetResourcePolicy$ = [9, n0, _GRP,
3659
3746
  { [_h]: ["GET", "/resourcepolicy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
3660
3747
  ];
3748
+ var GetVpcConfiguration$ = [9, n0, _GVC,
3749
+ { [_h]: ["GET", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 200] }, () => GetVpcConfigurationRequest$, () => GetVpcConfigurationResponse$
3750
+ ];
3661
3751
  var IngestKnowledgeBaseDocuments$ = [9, n0, _IKBD,
3662
3752
  { [_h]: ["PUT", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", 202] }, () => IngestKnowledgeBaseDocumentsRequest$, () => IngestKnowledgeBaseDocumentsResponse$
3663
3753
  ];
@@ -3706,6 +3796,9 @@ var ListPrompts$ = [9, n0, _LP,
3706
3796
  var ListTagsForResource$ = [9, n0, _LTFR,
3707
3797
  { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
3708
3798
  ];
3799
+ var ListVpcConfigurations$ = [9, n0, _LVC,
3800
+ { [_h]: ["GET", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", 200] }, () => ListVpcConfigurationsRequest$, () => ListVpcConfigurationsResponse$
3801
+ ];
3709
3802
  var PrepareAgent$ = [9, n0, _PA,
3710
3803
  { [_h]: ["POST", "/agents/{agentId}/", 202] }, () => PrepareAgentRequest$, () => PrepareAgentResponse$
3711
3804
  ];
@@ -3948,6 +4041,9 @@ class CreatePromptCommand extends command(_ep0, _mw0, "CreatePrompt", CreateProm
3948
4041
  class CreatePromptVersionCommand extends command(_ep0, _mw0, "CreatePromptVersion", CreatePromptVersion$) {
3949
4042
  }
3950
4043
 
4044
+ class CreateVpcConfigurationCommand extends command(_ep0, _mw0, "CreateVpcConfiguration", CreateVpcConfiguration$) {
4045
+ }
4046
+
3951
4047
  class DeleteAgentActionGroupCommand extends command(_ep0, _mw0, "DeleteAgentActionGroup", DeleteAgentActionGroup$) {
3952
4048
  }
3953
4049
 
@@ -3984,6 +4080,9 @@ class DeletePromptCommand extends command(_ep0, _mw0, "DeletePrompt", DeleteProm
3984
4080
  class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
3985
4081
  }
3986
4082
 
4083
+ class DeleteVpcConfigurationCommand extends command(_ep0, _mw0, "DeleteVpcConfiguration", DeleteVpcConfiguration$) {
4084
+ }
4085
+
3987
4086
  class DisassociateAgentCollaboratorCommand extends command(_ep0, _mw0, "DisassociateAgentCollaborator", DisassociateAgentCollaborator$) {
3988
4087
  }
3989
4088
 
@@ -4035,6 +4134,9 @@ class GetPromptCommand extends command(_ep0, _mw0, "GetPrompt", GetPrompt$) {
4035
4134
  class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
4036
4135
  }
4037
4136
 
4137
+ class GetVpcConfigurationCommand extends command(_ep0, _mw0, "GetVpcConfiguration", GetVpcConfiguration$) {
4138
+ }
4139
+
4038
4140
  class IngestKnowledgeBaseDocumentsCommand extends command(_ep0, _mw0, "IngestKnowledgeBaseDocuments", IngestKnowledgeBaseDocuments$) {
4039
4141
  }
4040
4142
 
@@ -4083,6 +4185,9 @@ class ListPromptsCommand extends command(_ep0, _mw0, "ListPrompts", ListPrompts$
4083
4185
  class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
4084
4186
  }
4085
4187
 
4188
+ class ListVpcConfigurationsCommand extends command(_ep0, _mw0, "ListVpcConfigurations", ListVpcConfigurations$) {
4189
+ }
4190
+
4086
4191
  class PrepareAgentCommand extends command(_ep0, _mw0, "PrepareAgent", PrepareAgent$) {
4087
4192
  }
4088
4193
 
@@ -4165,6 +4270,8 @@ const paginateListKnowledgeBases = createPaginator(BedrockAgentClient, ListKnowl
4165
4270
 
4166
4271
  const paginateListPrompts = createPaginator(BedrockAgentClient, ListPromptsCommand, "nextToken", "nextToken", "maxResults");
4167
4272
 
4273
+ const paginateListVpcConfigurations = createPaginator(BedrockAgentClient, ListVpcConfigurationsCommand, "nextToken", "nextToken", "maxResults");
4274
+
4168
4275
  const commands = {
4169
4276
  AssociateAgentCollaboratorCommand,
4170
4277
  AssociateAgentKnowledgeBaseCommand,
@@ -4178,6 +4285,7 @@ const commands = {
4178
4285
  CreateKnowledgeBaseCommand,
4179
4286
  CreatePromptCommand,
4180
4287
  CreatePromptVersionCommand,
4288
+ CreateVpcConfigurationCommand,
4181
4289
  DeleteAgentCommand,
4182
4290
  DeleteAgentActionGroupCommand,
4183
4291
  DeleteAgentAliasCommand,
@@ -4190,6 +4298,7 @@ const commands = {
4190
4298
  DeleteKnowledgeBaseDocumentsCommand,
4191
4299
  DeletePromptCommand,
4192
4300
  DeleteResourcePolicyCommand,
4301
+ DeleteVpcConfigurationCommand,
4193
4302
  DisassociateAgentCollaboratorCommand,
4194
4303
  DisassociateAgentKnowledgeBaseCommand,
4195
4304
  GetAgentCommand,
@@ -4207,6 +4316,7 @@ const commands = {
4207
4316
  GetKnowledgeBaseDocumentsCommand,
4208
4317
  GetPromptCommand,
4209
4318
  GetResourcePolicyCommand,
4319
+ GetVpcConfigurationCommand,
4210
4320
  IngestKnowledgeBaseDocumentsCommand,
4211
4321
  ListAgentActionGroupsCommand,
4212
4322
  ListAgentAliasesCommand,
@@ -4223,6 +4333,7 @@ const commands = {
4223
4333
  ListKnowledgeBasesCommand,
4224
4334
  ListPromptsCommand,
4225
4335
  ListTagsForResourceCommand,
4336
+ ListVpcConfigurationsCommand,
4226
4337
  PrepareAgentCommand,
4227
4338
  PrepareFlowCommand,
4228
4339
  PutResourcePolicyCommand,
@@ -4257,6 +4368,7 @@ const paginators = {
4257
4368
  paginateListKnowledgeBaseDocuments,
4258
4369
  paginateListKnowledgeBases,
4259
4370
  paginateListPrompts,
4371
+ paginateListVpcConfigurations,
4260
4372
  };
4261
4373
  class BedrockAgent extends BedrockAgentClient {
4262
4374
  }
@@ -4351,6 +4463,21 @@ const KnowledgeBaseState = {
4351
4463
  DISABLED: "DISABLED",
4352
4464
  ENABLED: "ENABLED",
4353
4465
  };
4466
+ const VpcProtocol = {
4467
+ HTTP: "HTTP",
4468
+ HTTPS: "HTTPS",
4469
+ };
4470
+ const VpcResolutionMode = {
4471
+ IN_VPC: "IN_VPC",
4472
+ PUBLIC: "PUBLIC",
4473
+ };
4474
+ const VpcConfigurationStatus = {
4475
+ CREATED: "CREATED",
4476
+ CREATE_FAILED: "CREATE_FAILED",
4477
+ CREATING: "CREATING",
4478
+ DELETE_FAILED: "DELETE_FAILED",
4479
+ DELETING: "DELETING",
4480
+ };
4354
4481
  const DataDeletionPolicy = {
4355
4482
  DELETE: "DELETE",
4356
4483
  RETAIN: "RETAIN",
@@ -4783,6 +4910,10 @@ exports.CreatePromptVersion$ = CreatePromptVersion$;
4783
4910
  exports.CreatePromptVersionCommand = CreatePromptVersionCommand;
4784
4911
  exports.CreatePromptVersionRequest$ = CreatePromptVersionRequest$;
4785
4912
  exports.CreatePromptVersionResponse$ = CreatePromptVersionResponse$;
4913
+ exports.CreateVpcConfiguration$ = CreateVpcConfiguration$;
4914
+ exports.CreateVpcConfigurationCommand = CreateVpcConfigurationCommand;
4915
+ exports.CreateVpcConfigurationRequest$ = CreateVpcConfigurationRequest$;
4916
+ exports.CreateVpcConfigurationResponse$ = CreateVpcConfigurationResponse$;
4786
4917
  exports.CreationMode = CreationMode;
4787
4918
  exports.CuratedQuery$ = CuratedQuery$;
4788
4919
  exports.CustomContent$ = CustomContent$;
@@ -4850,6 +4981,10 @@ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
4850
4981
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
4851
4982
  exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
4852
4983
  exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
4984
+ exports.DeleteVpcConfiguration$ = DeleteVpcConfiguration$;
4985
+ exports.DeleteVpcConfigurationCommand = DeleteVpcConfigurationCommand;
4986
+ exports.DeleteVpcConfigurationRequest$ = DeleteVpcConfigurationRequest$;
4987
+ exports.DeleteVpcConfigurationResponse$ = DeleteVpcConfigurationResponse$;
4853
4988
  exports.DeletionProtectionConfiguration$ = DeletionProtectionConfiguration$;
4854
4989
  exports.DisassociateAgentCollaborator$ = DisassociateAgentCollaborator$;
4855
4990
  exports.DisassociateAgentCollaboratorCommand = DisassociateAgentCollaboratorCommand;
@@ -4960,6 +5095,10 @@ exports.GetResourcePolicy$ = GetResourcePolicy$;
4960
5095
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
4961
5096
  exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
4962
5097
  exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
5098
+ exports.GetVpcConfiguration$ = GetVpcConfiguration$;
5099
+ exports.GetVpcConfigurationCommand = GetVpcConfigurationCommand;
5100
+ exports.GetVpcConfigurationRequest$ = GetVpcConfigurationRequest$;
5101
+ exports.GetVpcConfigurationResponse$ = GetVpcConfigurationResponse$;
4963
5102
  exports.GuardrailConfiguration$ = GuardrailConfiguration$;
4964
5103
  exports.HierarchicalChunkingConfiguration$ = HierarchicalChunkingConfiguration$;
4965
5104
  exports.HierarchicalChunkingLevelConfiguration$ = HierarchicalChunkingLevelConfiguration$;
@@ -5067,6 +5206,10 @@ exports.ListTagsForResource$ = ListTagsForResource$;
5067
5206
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
5068
5207
  exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
5069
5208
  exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
5209
+ exports.ListVpcConfigurations$ = ListVpcConfigurations$;
5210
+ exports.ListVpcConfigurationsCommand = ListVpcConfigurationsCommand;
5211
+ exports.ListVpcConfigurationsRequest$ = ListVpcConfigurationsRequest$;
5212
+ exports.ListVpcConfigurationsResponse$ = ListVpcConfigurationsResponse$;
5070
5213
  exports.LoopControllerFlowNodeConfiguration$ = LoopControllerFlowNodeConfiguration$;
5071
5214
  exports.LoopFlowNodeConfiguration$ = LoopFlowNodeConfiguration$;
5072
5215
  exports.LoopIncompatibleNodeTypeFlowValidationDetails$ = LoopIncompatibleNodeTypeFlowValidationDetails$;
@@ -5313,6 +5456,11 @@ exports.VectorSearchRerankingConfigurationType = VectorSearchRerankingConfigurat
5313
5456
  exports.VideoConfiguration$ = VideoConfiguration$;
5314
5457
  exports.VideoExtractionConfiguration$ = VideoExtractionConfiguration$;
5315
5458
  exports.VideoSegmentationConfiguration$ = VideoSegmentationConfiguration$;
5459
+ exports.VpcConfiguration$ = VpcConfiguration$;
5460
+ exports.VpcConfigurationStatus = VpcConfigurationStatus;
5461
+ exports.VpcConfigurationSummary$ = VpcConfigurationSummary$;
5462
+ exports.VpcProtocol = VpcProtocol;
5463
+ exports.VpcResolutionMode = VpcResolutionMode;
5316
5464
  exports.WebCrawlerConfiguration$ = WebCrawlerConfiguration$;
5317
5465
  exports.WebCrawlerLimits$ = WebCrawlerLimits$;
5318
5466
  exports.WebDataSourceConfiguration$ = WebDataSourceConfiguration$;
@@ -5334,3 +5482,4 @@ exports.paginateListIngestionJobs = paginateListIngestionJobs;
5334
5482
  exports.paginateListKnowledgeBaseDocuments = paginateListKnowledgeBaseDocuments;
5335
5483
  exports.paginateListKnowledgeBases = paginateListKnowledgeBases;
5336
5484
  exports.paginateListPrompts = paginateListPrompts;
5485
+ exports.paginateListVpcConfigurations = paginateListVpcConfigurations;
@@ -12,6 +12,7 @@ import { CreateFlowVersionCommand, } from "./commands/CreateFlowVersionCommand";
12
12
  import { CreateKnowledgeBaseCommand, } from "./commands/CreateKnowledgeBaseCommand";
13
13
  import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
14
14
  import { CreatePromptVersionCommand, } from "./commands/CreatePromptVersionCommand";
15
+ import { CreateVpcConfigurationCommand, } from "./commands/CreateVpcConfigurationCommand";
15
16
  import { DeleteAgentActionGroupCommand, } from "./commands/DeleteAgentActionGroupCommand";
16
17
  import { DeleteAgentAliasCommand, } from "./commands/DeleteAgentAliasCommand";
17
18
  import { DeleteAgentCommand, } from "./commands/DeleteAgentCommand";
@@ -24,6 +25,7 @@ import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseComma
24
25
  import { DeleteKnowledgeBaseDocumentsCommand, } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
25
26
  import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
26
27
  import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
28
+ import { DeleteVpcConfigurationCommand, } from "./commands/DeleteVpcConfigurationCommand";
27
29
  import { DisassociateAgentCollaboratorCommand, } from "./commands/DisassociateAgentCollaboratorCommand";
28
30
  import { DisassociateAgentKnowledgeBaseCommand, } from "./commands/DisassociateAgentKnowledgeBaseCommand";
29
31
  import { GetAgentActionGroupCommand, } from "./commands/GetAgentActionGroupCommand";
@@ -41,6 +43,7 @@ import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
41
43
  import { GetKnowledgeBaseDocumentsCommand, } from "./commands/GetKnowledgeBaseDocumentsCommand";
42
44
  import { GetPromptCommand } from "./commands/GetPromptCommand";
43
45
  import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
46
+ import { GetVpcConfigurationCommand, } from "./commands/GetVpcConfigurationCommand";
44
47
  import { IngestKnowledgeBaseDocumentsCommand, } from "./commands/IngestKnowledgeBaseDocumentsCommand";
45
48
  import { ListAgentActionGroupsCommand, } from "./commands/ListAgentActionGroupsCommand";
46
49
  import { ListAgentAliasesCommand, } from "./commands/ListAgentAliasesCommand";
@@ -57,6 +60,7 @@ import { ListKnowledgeBaseDocumentsCommand, } from "./commands/ListKnowledgeBase
57
60
  import { ListKnowledgeBasesCommand, } from "./commands/ListKnowledgeBasesCommand";
58
61
  import { ListPromptsCommand, } from "./commands/ListPromptsCommand";
59
62
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
63
+ import { ListVpcConfigurationsCommand, } from "./commands/ListVpcConfigurationsCommand";
60
64
  import { PrepareAgentCommand, } from "./commands/PrepareAgentCommand";
61
65
  import { PrepareFlowCommand, } from "./commands/PrepareFlowCommand";
62
66
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
@@ -89,6 +93,7 @@ import { paginateListIngestionJobs } from "./pagination/ListIngestionJobsPaginat
89
93
  import { paginateListKnowledgeBaseDocuments } from "./pagination/ListKnowledgeBaseDocumentsPaginator";
90
94
  import { paginateListKnowledgeBases } from "./pagination/ListKnowledgeBasesPaginator";
91
95
  import { paginateListPrompts } from "./pagination/ListPromptsPaginator";
96
+ import { paginateListVpcConfigurations } from "./pagination/ListVpcConfigurationsPaginator";
92
97
  const commands = {
93
98
  AssociateAgentCollaboratorCommand,
94
99
  AssociateAgentKnowledgeBaseCommand,
@@ -102,6 +107,7 @@ const commands = {
102
107
  CreateKnowledgeBaseCommand,
103
108
  CreatePromptCommand,
104
109
  CreatePromptVersionCommand,
110
+ CreateVpcConfigurationCommand,
105
111
  DeleteAgentCommand,
106
112
  DeleteAgentActionGroupCommand,
107
113
  DeleteAgentAliasCommand,
@@ -114,6 +120,7 @@ const commands = {
114
120
  DeleteKnowledgeBaseDocumentsCommand,
115
121
  DeletePromptCommand,
116
122
  DeleteResourcePolicyCommand,
123
+ DeleteVpcConfigurationCommand,
117
124
  DisassociateAgentCollaboratorCommand,
118
125
  DisassociateAgentKnowledgeBaseCommand,
119
126
  GetAgentCommand,
@@ -131,6 +138,7 @@ const commands = {
131
138
  GetKnowledgeBaseDocumentsCommand,
132
139
  GetPromptCommand,
133
140
  GetResourcePolicyCommand,
141
+ GetVpcConfigurationCommand,
134
142
  IngestKnowledgeBaseDocumentsCommand,
135
143
  ListAgentActionGroupsCommand,
136
144
  ListAgentAliasesCommand,
@@ -147,6 +155,7 @@ const commands = {
147
155
  ListKnowledgeBasesCommand,
148
156
  ListPromptsCommand,
149
157
  ListTagsForResourceCommand,
158
+ ListVpcConfigurationsCommand,
150
159
  PrepareAgentCommand,
151
160
  PrepareFlowCommand,
152
161
  PutResourcePolicyCommand,
@@ -181,6 +190,7 @@ const paginators = {
181
190
  paginateListKnowledgeBaseDocuments,
182
191
  paginateListKnowledgeBases,
183
192
  paginateListPrompts,
193
+ paginateListVpcConfigurations,
184
194
  };
185
195
  export class BedrockAgent extends BedrockAgentClient {
186
196
  }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateVpcConfiguration$ } from "../schemas/schemas_0";
3
+ export class CreateVpcConfigurationCommand extends command(_ep0, _mw0, "CreateVpcConfiguration", CreateVpcConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteVpcConfiguration$ } from "../schemas/schemas_0";
3
+ export class DeleteVpcConfigurationCommand extends command(_ep0, _mw0, "DeleteVpcConfiguration", DeleteVpcConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetVpcConfiguration$ } from "../schemas/schemas_0";
3
+ export class GetVpcConfigurationCommand extends command(_ep0, _mw0, "GetVpcConfiguration", GetVpcConfiguration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListVpcConfigurations$ } from "../schemas/schemas_0";
3
+ export class ListVpcConfigurationsCommand extends command(_ep0, _mw0, "ListVpcConfigurations", ListVpcConfigurations$) {
4
+ }
@@ -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";