@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
@@ -87,6 +87,21 @@ export const KnowledgeBaseState = {
87
87
  DISABLED: "DISABLED",
88
88
  ENABLED: "ENABLED",
89
89
  };
90
+ export const VpcProtocol = {
91
+ HTTP: "HTTP",
92
+ HTTPS: "HTTPS",
93
+ };
94
+ export const VpcResolutionMode = {
95
+ IN_VPC: "IN_VPC",
96
+ PUBLIC: "PUBLIC",
97
+ };
98
+ export const VpcConfigurationStatus = {
99
+ CREATED: "CREATED",
100
+ CREATE_FAILED: "CREATE_FAILED",
101
+ CREATING: "CREATING",
102
+ DELETE_FAILED: "DELETE_FAILED",
103
+ DELETING: "DELETING",
104
+ };
90
105
  export const DataDeletionPolicy = {
91
106
  DELETE: "DELETE",
92
107
  RETAIN: "RETAIN",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockAgentClient } from "../BedrockAgentClient";
3
+ import { ListVpcConfigurationsCommand, } from "../commands/ListVpcConfigurationsCommand";
4
+ export const paginateListVpcConfigurations = createPaginator(BedrockAgentClient, ListVpcConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -13,3 +13,4 @@ export * from "./ListIngestionJobsPaginator";
13
13
  export * from "./ListKnowledgeBaseDocumentsPaginator";
14
14
  export * from "./ListKnowledgeBasesPaginator";
15
15
  export * from "./ListPromptsPaginator";
16
+ export * from "./ListVpcConfigurationsPaginator";
@@ -96,6 +96,9 @@ const _CQu = "CuratedQueries";
96
96
  const _CSC = "ConfluenceSourceConfiguration";
97
97
  const _CSL = "CustomS3Location";
98
98
  const _CTC = "CustomTransformationConfiguration";
99
+ const _CVC = "CreateVpcConfiguration";
100
+ const _CVCR = "CreateVpcConfigurationRequest";
101
+ const _CVCRr = "CreateVpcConfigurationResponse";
99
102
  const _D = "Data";
100
103
  const _DA = "DeleteAgent";
101
104
  const _DAA = "DeleteAgentAlias";
@@ -154,6 +157,9 @@ const _DSC = "DataSourceConfiguration";
154
157
  const _DSS = "DataSourceSummary";
155
158
  const _DSSa = "DataSourceSummaries";
156
159
  const _DSa = "DataSource";
160
+ const _DVC = "DeleteVpcConfiguration";
161
+ const _DVCR = "DeleteVpcConfigurationRequest";
162
+ const _DVCRe = "DeleteVpcConfigurationResponse";
157
163
  const _EMC = "EmbeddingModelConfiguration";
158
164
  const _ESC = "EnrichmentStrategyConfiguration";
159
165
  const _F = "Function";
@@ -241,6 +247,9 @@ const _GPRe = "GetPromptResponse";
241
247
  const _GRP = "GetResourcePolicy";
242
248
  const _GRPR = "GetResourcePolicyRequest";
243
249
  const _GRPRe = "GetResourcePolicyResponse";
250
+ const _GVC = "GetVpcConfiguration";
251
+ const _GVCR = "GetVpcConfigurationRequest";
252
+ const _GVCRe = "GetVpcConfigurationResponse";
244
253
  const _HCC = "HierarchicalChunkingConfiguration";
245
254
  const _HCLC = "HierarchicalChunkingLevelConfiguration";
246
255
  const _HCLCi = "HierarchicalChunkingLevelConfigurations";
@@ -334,6 +343,9 @@ const _LPRi = "ListPromptsResponse";
334
343
  const _LTFR = "ListTagsForResource";
335
344
  const _LTFRR = "ListTagsForResourceRequest";
336
345
  const _LTFRRi = "ListTagsForResourceResponse";
346
+ const _LVC = "ListVpcConfigurations";
347
+ const _LVCR = "ListVpcConfigurationsRequest";
348
+ const _LVCRi = "ListVpcConfigurationsResponse";
337
349
  const _M = "Message";
338
350
  const _MA = "MetadataAttribute";
339
351
  const _MAV = "MetadataAttributeValue";
@@ -546,7 +558,10 @@ const _URR = "UntagResourceRequest";
546
558
  const _URRn = "UntagResourceResponse";
547
559
  const _VBA = "VectorBucketArn";
548
560
  const _VC = "VideoConfiguration";
561
+ const _VCS = "VpcConfigurationSummary";
562
+ const _VCSL = "VpcConfigurationSummaryList";
549
563
  const _VCi = "VideoConfigurations";
564
+ const _VCp = "VpcConfiguration";
550
565
  const _VE = "ValidationException";
551
566
  const _VEC = "VideoExtractionConfiguration";
552
567
  const _VEF = "ValidationExceptionField";
@@ -742,6 +757,7 @@ const _gV = "guardrailVersion";
742
757
  const _h = "http";
743
758
  const _hCC = "hierarchicalChunkingConfiguration";
744
759
  const _hE = "httpError";
760
+ const _hH = "hostHeader";
745
761
  const _hQ = "httpQuery";
746
762
  const _hT = "hostType";
747
763
  const _hU = "hostUrl";
@@ -775,7 +791,8 @@ const _in = "inputs";
775
791
  const _inc = "inclusion";
776
792
  const _inl = "inline";
777
793
  const _inp = "input";
778
- const _it = "iterator";
794
+ const _it = "items";
795
+ const _ite = "iterator";
779
796
  const _j = "json";
780
797
  const _k = "key";
781
798
  const _kB = "knowledgeBase";
@@ -873,7 +890,7 @@ const _oTv = "overlapTokens";
873
890
  const _op = "operator";
874
891
  const _or = "order";
875
892
  const _ou = "output";
876
- const _p = "parameters";
893
+ const _p = "port";
877
894
  const _pA = "preparedAt";
878
895
  const _pAGS = "parentActionGroupSignature";
879
896
  const _pAGSP = "parentActionGroupSignatureParams";
@@ -900,9 +917,11 @@ const _pT = "provisionedThroughput";
900
917
  const _pTr = "promptTemplate";
901
918
  const _pTro = "promptType";
902
919
  const _pV = "promptVersion";
903
- const _pa = "payload";
920
+ const _pa = "parameters";
921
+ const _pay = "payload";
904
922
  const _po = "policy";
905
- const _pr = "prompt";
923
+ const _pr = "protocol";
924
+ const _pro = "prompt";
906
925
  const _qEC = "queryEngineConfiguration";
907
926
  const _qGC = "queryGenerationConfiguration";
908
927
  const _r = "role";
@@ -918,6 +937,8 @@ const _rCer = "rerankingConfiguration";
918
937
  const _rECC = "redisEnterpriseCloudConfiguration";
919
938
  const _rI = "revisionId";
920
939
  const _rL = "rateLimit";
940
+ const _rM = "resolutionMode";
941
+ const _rT = "resourceTarget";
921
942
  const _re = "required";
922
943
  const _res = "resource";
923
944
  const _ret = "retrieval";
@@ -937,12 +958,15 @@ const _sCto = "storageConfigurations";
937
958
  const _sD = "startDate";
938
959
  const _sDSC = "supplementalDataStorageConfiguration";
939
960
  const _sDt = "storageDays";
961
+ const _sF = "statusFilter";
962
+ const _sI = "subnetIds";
940
963
  const _sKBC = "sqlKnowledgeBaseConfiguration";
941
964
  const _sL = "s3Location";
942
965
  const _sLV = "stringListValue";
943
966
  const _sLt = "storageLocations";
944
967
  const _sM = "selectionMode";
945
968
  const _sMC = "selectiveModeConfiguration";
969
+ const _sMt = "statusMessage";
946
970
  const _sO = "sourceOutput";
947
971
  const _sOK = "s3ObjectKey";
948
972
  const _sPC = "sharePointConfiguration";
@@ -987,6 +1011,7 @@ const _tNa = "tableNames";
987
1011
  const _tP = "topP";
988
1012
  const _tPT = "textPromptTemplate";
989
1013
  const _tS = "toolSpec";
1014
+ const _tSN = "tlsServerName";
990
1015
  const _tT = "templateType";
991
1016
  const _ta = "tags";
992
1017
  const _tab = "tables";
@@ -1016,9 +1041,12 @@ const _un = "unspecified";
1016
1041
  const _ur = "url";
1017
1042
  const _v = "version";
1018
1043
  const _vBA = "vectorBucketArn";
1044
+ const _vC = "vpcConfiguration";
1045
+ const _vCI = "vpcConfigurationId";
1019
1046
  const _vEC = "videoExtractionConfiguration";
1020
1047
  const _vES = "videoExtractionStatus";
1021
1048
  const _vF = "vectorField";
1049
+ const _vI = "vpcId";
1022
1050
  const _vIC = "vectorIngestionConfiguration";
1023
1051
  const _vIN = "vectorIndexName";
1024
1052
  const _vKBC = "vectorKnowledgeBaseConfiguration";
@@ -1411,6 +1439,16 @@ export var CreatePromptVersionResponse$ = [3, n0, _CPVRr,
1411
1439
  [_n, _id, _ar, _v, _cA, _uA, _d, _cEKA, _dV, _va],
1412
1440
  [0, 0, 0, 0, 5, 5, 0, 0, 0, [() => PromptVariantList, 0]], 6
1413
1441
  ];
1442
+ export var CreateVpcConfigurationRequest$ = [3, n0, _CVCR,
1443
+ 0,
1444
+ [_kBI, _vI, _sI, _rT, _p, _pr, _rM, _cT, _hH, _tSN, _n, _d],
1445
+ [[0, 1], 0, 64 | 0, 0, 1, 0, 0, [0, 4], 0, 0, 0, 0], 7
1446
+ ];
1447
+ export var CreateVpcConfigurationResponse$ = [3, n0, _CVCRr,
1448
+ 0,
1449
+ [_vCI, _st],
1450
+ [0, 0], 2
1451
+ ];
1414
1452
  export var CuratedQuery$ = [3, n0, _CQ,
1415
1453
  0,
1416
1454
  [_nL, _sq],
@@ -1586,6 +1624,16 @@ export var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
1586
1624
  [_rAe, _rI],
1587
1625
  [0, 0], 1
1588
1626
  ];
1627
+ export var DeleteVpcConfigurationRequest$ = [3, n0, _DVCR,
1628
+ 0,
1629
+ [_kBI, _vCI],
1630
+ [[0, 1], [0, 1]], 2
1631
+ ];
1632
+ export var DeleteVpcConfigurationResponse$ = [3, n0, _DVCRe,
1633
+ 0,
1634
+ [_vCI, _st],
1635
+ [0, 0], 2
1636
+ ];
1589
1637
  export var DeletionProtectionConfiguration$ = [3, n0, _DPC,
1590
1638
  0,
1591
1639
  [_dPS, _dPT],
@@ -1733,7 +1781,7 @@ export var FlowVersionSummary$ = [3, n0, _FVS,
1733
1781
  ];
1734
1782
  export var Function$ = [3, n0, _F,
1735
1783
  0,
1736
- [_n, _d, _p, _rCe],
1784
+ [_n, _d, _pa, _rCe],
1737
1785
  [0, 0, () => ParameterMap, 0], 1
1738
1786
  ];
1739
1787
  export var GetAgentActionGroupRequest$ = [3, n0, _GAAGR,
@@ -1886,6 +1934,16 @@ export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
1886
1934
  [_rAe, _po, _rI],
1887
1935
  [0, [() => ResourcePolicy, 0], 0], 3
1888
1936
  ];
1937
+ export var GetVpcConfigurationRequest$ = [3, n0, _GVCR,
1938
+ 0,
1939
+ [_kBI, _vCI],
1940
+ [[0, 1], [0, 1]], 2
1941
+ ];
1942
+ export var GetVpcConfigurationResponse$ = [3, n0, _GVCRe,
1943
+ 0,
1944
+ [_vC],
1945
+ [() => VpcConfiguration$], 1
1946
+ ];
1889
1947
  export var GuardrailConfiguration$ = [3, n0, _GC,
1890
1948
  0,
1891
1949
  [_gI, _gV],
@@ -2191,6 +2249,16 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
2191
2249
  [_ta],
2192
2250
  [128 | 0]
2193
2251
  ];
2252
+ export var ListVpcConfigurationsRequest$ = [3, n0, _LVCR,
2253
+ 0,
2254
+ [_kBI, _sF, _mR, _nT],
2255
+ [[0, 1], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
2256
+ ];
2257
+ export var ListVpcConfigurationsResponse$ = [3, n0, _LVCRi,
2258
+ 0,
2259
+ [_it, _nT],
2260
+ [() => VpcConfigurationSummaryList, 0], 1
2261
+ ];
2194
2262
  export var LoopControllerFlowNodeConfiguration$ = [3, n0, _LCFNC,
2195
2263
  0,
2196
2264
  [_cCont, _mIa],
@@ -3001,6 +3069,16 @@ export var VideoSegmentationConfiguration$ = [3, n0, _VSC,
3001
3069
  [_fLD],
3002
3070
  [1], 1
3003
3071
  ];
3072
+ export var VpcConfiguration$ = [3, n0, _VCp,
3073
+ 0,
3074
+ [_vCI, _st, _vI, _sI, _rT, _p, _pr, _rM, _cA, _uA, _sMt, _hH, _tSN, _n, _d],
3075
+ [0, 0, 0, 64 | 0, 0, 1, 0, 0, 5, 5, 0, 0, 0, 0, 0], 10
3076
+ ];
3077
+ export var VpcConfigurationSummary$ = [3, n0, _VCS,
3078
+ 0,
3079
+ [_vCI, _st, _vI, _rT, _p, _pr, _rM, _cA, _sMt, _hH, _tSN, _n, _d],
3080
+ [0, 0, 0, 0, 1, 0, 0, 5, 0, 0, 0, 0, 0], 8
3081
+ ];
3004
3082
  export var WebCrawlerConfiguration$ = [3, n0, _WCC,
3005
3083
  0,
3006
3084
  [_cL, _iF, _eF, _sc, _uAs, _uAH],
@@ -3191,6 +3269,7 @@ var StringListValue = [1, n0, _SLV,
3191
3269
  0, [() => StringValue,
3192
3270
  0]
3193
3271
  ];
3272
+ var SubnetIdList = 64 | 0;
3194
3273
  var SupplementalDataStorageLocations = [1, n0, _SDSLu,
3195
3274
  0, () => SupplementalDataStorageLocation$
3196
3275
  ];
@@ -3211,6 +3290,9 @@ var ValidationExceptionFieldList = [1, n0, _VEFL,
3211
3290
  var VideoConfigurations = [1, n0, _VCi,
3212
3291
  0, () => VideoConfiguration$
3213
3292
  ];
3293
+ var VpcConfigurationSummaryList = [1, n0, _VCSL,
3294
+ 0, () => VpcConfigurationSummary$
3295
+ ];
3214
3296
  var ActionGroupSignatureParams = 128 | 0;
3215
3297
  var AdditionalModelRequestFields = 128 | 15;
3216
3298
  var ParameterMap = [2, n0, _PM,
@@ -3224,7 +3306,7 @@ export var ActionGroupExecutor$ = [4, n0, _AGE,
3224
3306
  ];
3225
3307
  export var APISchema$ = [4, n0, _APIS,
3226
3308
  0,
3227
- [_s_, _pa],
3309
+ [_s_, _pay],
3228
3310
  [() => S3Identifier$, [() => Payload, 0]]
3229
3311
  ];
3230
3312
  export var ContentBlock$ = [4, n0, _CBo,
@@ -3244,7 +3326,7 @@ export var FlowConnectionConfiguration$ = [4, n0, _FCC,
3244
3326
  ];
3245
3327
  export var FlowNodeConfiguration$ = [4, n0, _FNC,
3246
3328
  0,
3247
- [_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto, _ag, _ret, _it, _coll, _iCnl, _lo, _lIo, _lCo],
3329
+ [_inp, _ou, _kB, _cond, _le, _pro, _lF, _sto, _ag, _ret, _ite, _coll, _iCnl, _lo, _lIo, _lCo],
3248
3330
  [() => InputFlowNodeConfiguration$, () => OutputFlowNodeConfiguration$, [() => KnowledgeBaseFlowNodeConfiguration$, 0], [() => ConditionFlowNodeConfiguration$, 0], () => LexFlowNodeConfiguration$, [() => PromptFlowNodeConfiguration$, 0], () => LambdaFunctionFlowNodeConfiguration$, () => StorageFlowNodeConfiguration$, () => AgentFlowNodeConfiguration$, () => RetrievalFlowNodeConfiguration$, () => IteratorFlowNodeConfiguration$, () => CollectorFlowNodeConfiguration$, [() => InlineCodeFlowNodeConfiguration$, 0], [() => LoopFlowNodeConfiguration$, 0], () => LoopInputFlowNodeConfiguration$, [() => LoopControllerFlowNodeConfiguration$, 0]]
3249
3331
  ];
3250
3332
  export var FlowValidationDetails$ = [4, n0, _FVD,
@@ -3358,6 +3440,9 @@ export var CreatePrompt$ = [9, n0, _CP,
3358
3440
  export var CreatePromptVersion$ = [9, n0, _CPV,
3359
3441
  { [_h]: ["POST", "/prompts/{promptIdentifier}/versions", 201] }, () => CreatePromptVersionRequest$, () => CreatePromptVersionResponse$
3360
3442
  ];
3443
+ export var CreateVpcConfiguration$ = [9, n0, _CVC,
3444
+ { [_h]: ["POST", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", 202] }, () => CreateVpcConfigurationRequest$, () => CreateVpcConfigurationResponse$
3445
+ ];
3361
3446
  export var DeleteAgent$ = [9, n0, _DA,
3362
3447
  { [_h]: ["DELETE", "/agents/{agentId}/", 202] }, () => DeleteAgentRequest$, () => DeleteAgentResponse$
3363
3448
  ];
@@ -3394,6 +3479,9 @@ export var DeletePrompt$ = [9, n0, _DP,
3394
3479
  export var DeleteResourcePolicy$ = [9, n0, _DRP,
3395
3480
  { [_h]: ["DELETE", "/resourcepolicy/{resourceArn}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
3396
3481
  ];
3482
+ export var DeleteVpcConfiguration$ = [9, n0, _DVC,
3483
+ { [_h]: ["DELETE", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 202] }, () => DeleteVpcConfigurationRequest$, () => DeleteVpcConfigurationResponse$
3484
+ ];
3397
3485
  export var DisassociateAgentCollaborator$ = [9, n0, _DAC,
3398
3486
  { [_h]: ["DELETE", "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", 204] }, () => DisassociateAgentCollaboratorRequest$, () => DisassociateAgentCollaboratorResponse$
3399
3487
  ];
@@ -3445,6 +3533,9 @@ export var GetPrompt$ = [9, n0, _GP,
3445
3533
  export var GetResourcePolicy$ = [9, n0, _GRP,
3446
3534
  { [_h]: ["GET", "/resourcepolicy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
3447
3535
  ];
3536
+ export var GetVpcConfiguration$ = [9, n0, _GVC,
3537
+ { [_h]: ["GET", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", 200] }, () => GetVpcConfigurationRequest$, () => GetVpcConfigurationResponse$
3538
+ ];
3448
3539
  export var IngestKnowledgeBaseDocuments$ = [9, n0, _IKBD,
3449
3540
  { [_h]: ["PUT", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", 202] }, () => IngestKnowledgeBaseDocumentsRequest$, () => IngestKnowledgeBaseDocumentsResponse$
3450
3541
  ];
@@ -3493,6 +3584,9 @@ export var ListPrompts$ = [9, n0, _LP,
3493
3584
  export var ListTagsForResource$ = [9, n0, _LTFR,
3494
3585
  { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
3495
3586
  ];
3587
+ export var ListVpcConfigurations$ = [9, n0, _LVC,
3588
+ { [_h]: ["GET", "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", 200] }, () => ListVpcConfigurationsRequest$, () => ListVpcConfigurationsResponse$
3589
+ ];
3496
3590
  export var PrepareAgent$ = [9, n0, _PA,
3497
3591
  { [_h]: ["POST", "/agents/{agentId}/", 202] }, () => PrepareAgentRequest$, () => PrepareAgentResponse$
3498
3592
  ];
@@ -12,6 +12,7 @@ import { type CreateFlowVersionCommandInput, type CreateFlowVersionCommandOutput
12
12
  import { type CreateKnowledgeBaseCommandInput, type CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
13
13
  import { type CreatePromptCommandInput, type CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
14
14
  import { type CreatePromptVersionCommandInput, type CreatePromptVersionCommandOutput } from "./commands/CreatePromptVersionCommand";
15
+ import { type CreateVpcConfigurationCommandInput, type CreateVpcConfigurationCommandOutput } from "./commands/CreateVpcConfigurationCommand";
15
16
  import { type DeleteAgentActionGroupCommandInput, type DeleteAgentActionGroupCommandOutput } from "./commands/DeleteAgentActionGroupCommand";
16
17
  import { type DeleteAgentAliasCommandInput, type DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
17
18
  import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
@@ -24,6 +25,7 @@ import { type DeleteKnowledgeBaseCommandInput, type DeleteKnowledgeBaseCommandOu
24
25
  import { type DeleteKnowledgeBaseDocumentsCommandInput, type DeleteKnowledgeBaseDocumentsCommandOutput } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
25
26
  import { type DeletePromptCommandInput, type DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
26
27
  import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
28
+ import { type DeleteVpcConfigurationCommandInput, type DeleteVpcConfigurationCommandOutput } from "./commands/DeleteVpcConfigurationCommand";
27
29
  import { type DisassociateAgentCollaboratorCommandInput, type DisassociateAgentCollaboratorCommandOutput } from "./commands/DisassociateAgentCollaboratorCommand";
28
30
  import { type DisassociateAgentKnowledgeBaseCommandInput, type DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
29
31
  import { type GetAgentActionGroupCommandInput, type GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
@@ -41,6 +43,7 @@ import { type GetKnowledgeBaseCommandInput, type GetKnowledgeBaseCommandOutput }
41
43
  import { type GetKnowledgeBaseDocumentsCommandInput, type GetKnowledgeBaseDocumentsCommandOutput } from "./commands/GetKnowledgeBaseDocumentsCommand";
42
44
  import { type GetPromptCommandInput, type GetPromptCommandOutput } from "./commands/GetPromptCommand";
43
45
  import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
46
+ import { type GetVpcConfigurationCommandInput, type GetVpcConfigurationCommandOutput } from "./commands/GetVpcConfigurationCommand";
44
47
  import { type IngestKnowledgeBaseDocumentsCommandInput, type IngestKnowledgeBaseDocumentsCommandOutput } from "./commands/IngestKnowledgeBaseDocumentsCommand";
45
48
  import { type ListAgentActionGroupsCommandInput, type ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
46
49
  import { type ListAgentAliasesCommandInput, type ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
@@ -57,6 +60,7 @@ import { type ListKnowledgeBaseDocumentsCommandInput, type ListKnowledgeBaseDocu
57
60
  import { type ListKnowledgeBasesCommandInput, type ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
58
61
  import { type ListPromptsCommandInput, type ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
59
62
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
63
+ import { type ListVpcConfigurationsCommandInput, type ListVpcConfigurationsCommandOutput } from "./commands/ListVpcConfigurationsCommand";
60
64
  import { type PrepareAgentCommandInput, type PrepareAgentCommandOutput } from "./commands/PrepareAgentCommand";
61
65
  import { type PrepareFlowCommandInput, type PrepareFlowCommandOutput } from "./commands/PrepareFlowCommand";
62
66
  import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
@@ -154,6 +158,12 @@ export interface BedrockAgent {
154
158
  createPromptVersion(args: CreatePromptVersionCommandInput, options?: BedrockAgentRequestOptions): Promise<CreatePromptVersionCommandOutput>;
155
159
  createPromptVersion(args: CreatePromptVersionCommandInput, cb: (err: any, data?: CreatePromptVersionCommandOutput) => void): void;
156
160
  createPromptVersion(args: CreatePromptVersionCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: CreatePromptVersionCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link CreateVpcConfigurationCommand}
163
+ */
164
+ createVpcConfiguration(args: CreateVpcConfigurationCommandInput, options?: BedrockAgentRequestOptions): Promise<CreateVpcConfigurationCommandOutput>;
165
+ createVpcConfiguration(args: CreateVpcConfigurationCommandInput, cb: (err: any, data?: CreateVpcConfigurationCommandOutput) => void): void;
166
+ createVpcConfiguration(args: CreateVpcConfigurationCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: CreateVpcConfigurationCommandOutput) => void): void;
157
167
  /**
158
168
  * @see {@link DeleteAgentCommand}
159
169
  */
@@ -226,6 +236,12 @@ export interface BedrockAgent {
226
236
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: BedrockAgentRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
227
237
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
228
238
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
239
+ /**
240
+ * @see {@link DeleteVpcConfigurationCommand}
241
+ */
242
+ deleteVpcConfiguration(args: DeleteVpcConfigurationCommandInput, options?: BedrockAgentRequestOptions): Promise<DeleteVpcConfigurationCommandOutput>;
243
+ deleteVpcConfiguration(args: DeleteVpcConfigurationCommandInput, cb: (err: any, data?: DeleteVpcConfigurationCommandOutput) => void): void;
244
+ deleteVpcConfiguration(args: DeleteVpcConfigurationCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: DeleteVpcConfigurationCommandOutput) => void): void;
229
245
  /**
230
246
  * @see {@link DisassociateAgentCollaboratorCommand}
231
247
  */
@@ -328,6 +344,12 @@ export interface BedrockAgent {
328
344
  getResourcePolicy(args: GetResourcePolicyCommandInput, options?: BedrockAgentRequestOptions): Promise<GetResourcePolicyCommandOutput>;
329
345
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
330
346
  getResourcePolicy(args: GetResourcePolicyCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
347
+ /**
348
+ * @see {@link GetVpcConfigurationCommand}
349
+ */
350
+ getVpcConfiguration(args: GetVpcConfigurationCommandInput, options?: BedrockAgentRequestOptions): Promise<GetVpcConfigurationCommandOutput>;
351
+ getVpcConfiguration(args: GetVpcConfigurationCommandInput, cb: (err: any, data?: GetVpcConfigurationCommandOutput) => void): void;
352
+ getVpcConfiguration(args: GetVpcConfigurationCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: GetVpcConfigurationCommandOutput) => void): void;
331
353
  /**
332
354
  * @see {@link IngestKnowledgeBaseDocumentsCommand}
333
355
  */
@@ -428,6 +450,12 @@ export interface BedrockAgent {
428
450
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: BedrockAgentRequestOptions): Promise<ListTagsForResourceCommandOutput>;
429
451
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
430
452
  listTagsForResource(args: ListTagsForResourceCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
453
+ /**
454
+ * @see {@link ListVpcConfigurationsCommand}
455
+ */
456
+ listVpcConfigurations(args: ListVpcConfigurationsCommandInput, options?: BedrockAgentRequestOptions): Promise<ListVpcConfigurationsCommandOutput>;
457
+ listVpcConfigurations(args: ListVpcConfigurationsCommandInput, cb: (err: any, data?: ListVpcConfigurationsCommandOutput) => void): void;
458
+ listVpcConfigurations(args: ListVpcConfigurationsCommandInput, options: BedrockAgentRequestOptions, cb: (err: any, data?: ListVpcConfigurationsCommandOutput) => void): void;
431
459
  /**
432
460
  * @see {@link PrepareAgentCommand}
433
461
  */
@@ -634,6 +662,13 @@ export interface BedrockAgent {
634
662
  * @returns AsyncIterable of {@link ListPromptsCommandOutput}.
635
663
  */
636
664
  paginateListPrompts(args?: ListPromptsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPromptsCommandOutput>;
665
+ /**
666
+ * @see {@link ListVpcConfigurationsCommand}
667
+ * @param args - command input.
668
+ * @param paginationConfig - optional pagination config.
669
+ * @returns AsyncIterable of {@link ListVpcConfigurationsCommandOutput}.
670
+ */
671
+ paginateListVpcConfigurations(args: ListVpcConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVpcConfigurationsCommandOutput>;
637
672
  }
638
673
  /**
639
674
  * <note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
@@ -18,6 +18,7 @@ import type { CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput } fr
18
18
  import type { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
19
19
  import type { CreatePromptCommandInput, CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
20
20
  import type { CreatePromptVersionCommandInput, CreatePromptVersionCommandOutput } from "./commands/CreatePromptVersionCommand";
21
+ import type { CreateVpcConfigurationCommandInput, CreateVpcConfigurationCommandOutput } from "./commands/CreateVpcConfigurationCommand";
21
22
  import type { DeleteAgentActionGroupCommandInput, DeleteAgentActionGroupCommandOutput } from "./commands/DeleteAgentActionGroupCommand";
22
23
  import type { DeleteAgentAliasCommandInput, DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
23
24
  import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
@@ -30,6 +31,7 @@ import type { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput
30
31
  import type { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
31
32
  import type { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
32
33
  import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
34
+ import type { DeleteVpcConfigurationCommandInput, DeleteVpcConfigurationCommandOutput } from "./commands/DeleteVpcConfigurationCommand";
33
35
  import type { DisassociateAgentCollaboratorCommandInput, DisassociateAgentCollaboratorCommandOutput } from "./commands/DisassociateAgentCollaboratorCommand";
34
36
  import type { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
35
37
  import type { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
@@ -47,6 +49,7 @@ import type { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from
47
49
  import type { GetKnowledgeBaseDocumentsCommandInput, GetKnowledgeBaseDocumentsCommandOutput } from "./commands/GetKnowledgeBaseDocumentsCommand";
48
50
  import type { GetPromptCommandInput, GetPromptCommandOutput } from "./commands/GetPromptCommand";
49
51
  import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
52
+ import type { GetVpcConfigurationCommandInput, GetVpcConfigurationCommandOutput } from "./commands/GetVpcConfigurationCommand";
50
53
  import type { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "./commands/IngestKnowledgeBaseDocumentsCommand";
51
54
  import type { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
52
55
  import type { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
@@ -63,6 +66,7 @@ import type { ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocuments
63
66
  import type { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
64
67
  import type { ListPromptsCommandInput, ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
65
68
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
69
+ import type { ListVpcConfigurationsCommandInput, ListVpcConfigurationsCommandOutput } from "./commands/ListVpcConfigurationsCommand";
66
70
  import type { PrepareAgentCommandInput, PrepareAgentCommandOutput } from "./commands/PrepareAgentCommand";
67
71
  import type { PrepareFlowCommandInput, PrepareFlowCommandOutput } from "./commands/PrepareFlowCommand";
68
72
  import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
@@ -87,11 +91,11 @@ export { __Client };
87
91
  /**
88
92
  * @public
89
93
  */
90
- export type ServiceInputTypes = AssociateAgentCollaboratorCommandInput | AssociateAgentKnowledgeBaseCommandInput | CreateAgentActionGroupCommandInput | CreateAgentAliasCommandInput | CreateAgentCommandInput | CreateDataSourceCommandInput | CreateFlowAliasCommandInput | CreateFlowCommandInput | CreateFlowVersionCommandInput | CreateKnowledgeBaseCommandInput | CreatePromptCommandInput | CreatePromptVersionCommandInput | DeleteAgentActionGroupCommandInput | DeleteAgentAliasCommandInput | DeleteAgentCommandInput | DeleteAgentVersionCommandInput | DeleteDataSourceCommandInput | DeleteFlowAliasCommandInput | DeleteFlowCommandInput | DeleteFlowVersionCommandInput | DeleteKnowledgeBaseCommandInput | DeleteKnowledgeBaseDocumentsCommandInput | DeletePromptCommandInput | DeleteResourcePolicyCommandInput | DisassociateAgentCollaboratorCommandInput | DisassociateAgentKnowledgeBaseCommandInput | GetAgentActionGroupCommandInput | GetAgentAliasCommandInput | GetAgentCollaboratorCommandInput | GetAgentCommandInput | GetAgentKnowledgeBaseCommandInput | GetAgentVersionCommandInput | GetDataSourceCommandInput | GetFlowAliasCommandInput | GetFlowCommandInput | GetFlowVersionCommandInput | GetIngestionJobCommandInput | GetKnowledgeBaseCommandInput | GetKnowledgeBaseDocumentsCommandInput | GetPromptCommandInput | GetResourcePolicyCommandInput | IngestKnowledgeBaseDocumentsCommandInput | ListAgentActionGroupsCommandInput | ListAgentAliasesCommandInput | ListAgentCollaboratorsCommandInput | ListAgentKnowledgeBasesCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListDataSourcesCommandInput | ListFlowAliasesCommandInput | ListFlowVersionsCommandInput | ListFlowsCommandInput | ListIngestionJobsCommandInput | ListKnowledgeBaseDocumentsCommandInput | ListKnowledgeBasesCommandInput | ListPromptsCommandInput | ListTagsForResourceCommandInput | PrepareAgentCommandInput | PrepareFlowCommandInput | PutResourcePolicyCommandInput | StartIngestionJobCommandInput | StopIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCollaboratorCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateFlowAliasCommandInput | UpdateFlowCommandInput | UpdateKnowledgeBaseCommandInput | UpdatePromptCommandInput | ValidateFlowDefinitionCommandInput;
94
+ export type ServiceInputTypes = AssociateAgentCollaboratorCommandInput | AssociateAgentKnowledgeBaseCommandInput | CreateAgentActionGroupCommandInput | CreateAgentAliasCommandInput | CreateAgentCommandInput | CreateDataSourceCommandInput | CreateFlowAliasCommandInput | CreateFlowCommandInput | CreateFlowVersionCommandInput | CreateKnowledgeBaseCommandInput | CreatePromptCommandInput | CreatePromptVersionCommandInput | CreateVpcConfigurationCommandInput | DeleteAgentActionGroupCommandInput | DeleteAgentAliasCommandInput | DeleteAgentCommandInput | DeleteAgentVersionCommandInput | DeleteDataSourceCommandInput | DeleteFlowAliasCommandInput | DeleteFlowCommandInput | DeleteFlowVersionCommandInput | DeleteKnowledgeBaseCommandInput | DeleteKnowledgeBaseDocumentsCommandInput | DeletePromptCommandInput | DeleteResourcePolicyCommandInput | DeleteVpcConfigurationCommandInput | DisassociateAgentCollaboratorCommandInput | DisassociateAgentKnowledgeBaseCommandInput | GetAgentActionGroupCommandInput | GetAgentAliasCommandInput | GetAgentCollaboratorCommandInput | GetAgentCommandInput | GetAgentKnowledgeBaseCommandInput | GetAgentVersionCommandInput | GetDataSourceCommandInput | GetFlowAliasCommandInput | GetFlowCommandInput | GetFlowVersionCommandInput | GetIngestionJobCommandInput | GetKnowledgeBaseCommandInput | GetKnowledgeBaseDocumentsCommandInput | GetPromptCommandInput | GetResourcePolicyCommandInput | GetVpcConfigurationCommandInput | IngestKnowledgeBaseDocumentsCommandInput | ListAgentActionGroupsCommandInput | ListAgentAliasesCommandInput | ListAgentCollaboratorsCommandInput | ListAgentKnowledgeBasesCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListDataSourcesCommandInput | ListFlowAliasesCommandInput | ListFlowVersionsCommandInput | ListFlowsCommandInput | ListIngestionJobsCommandInput | ListKnowledgeBaseDocumentsCommandInput | ListKnowledgeBasesCommandInput | ListPromptsCommandInput | ListTagsForResourceCommandInput | ListVpcConfigurationsCommandInput | PrepareAgentCommandInput | PrepareFlowCommandInput | PutResourcePolicyCommandInput | StartIngestionJobCommandInput | StopIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCollaboratorCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateFlowAliasCommandInput | UpdateFlowCommandInput | UpdateKnowledgeBaseCommandInput | UpdatePromptCommandInput | ValidateFlowDefinitionCommandInput;
91
95
  /**
92
96
  * @public
93
97
  */
94
- export type ServiceOutputTypes = AssociateAgentCollaboratorCommandOutput | AssociateAgentKnowledgeBaseCommandOutput | CreateAgentActionGroupCommandOutput | CreateAgentAliasCommandOutput | CreateAgentCommandOutput | CreateDataSourceCommandOutput | CreateFlowAliasCommandOutput | CreateFlowCommandOutput | CreateFlowVersionCommandOutput | CreateKnowledgeBaseCommandOutput | CreatePromptCommandOutput | CreatePromptVersionCommandOutput | DeleteAgentActionGroupCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentCommandOutput | DeleteAgentVersionCommandOutput | DeleteDataSourceCommandOutput | DeleteFlowAliasCommandOutput | DeleteFlowCommandOutput | DeleteFlowVersionCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteKnowledgeBaseDocumentsCommandOutput | DeletePromptCommandOutput | DeleteResourcePolicyCommandOutput | DisassociateAgentCollaboratorCommandOutput | DisassociateAgentKnowledgeBaseCommandOutput | GetAgentActionGroupCommandOutput | GetAgentAliasCommandOutput | GetAgentCollaboratorCommandOutput | GetAgentCommandOutput | GetAgentKnowledgeBaseCommandOutput | GetAgentVersionCommandOutput | GetDataSourceCommandOutput | GetFlowAliasCommandOutput | GetFlowCommandOutput | GetFlowVersionCommandOutput | GetIngestionJobCommandOutput | GetKnowledgeBaseCommandOutput | GetKnowledgeBaseDocumentsCommandOutput | GetPromptCommandOutput | GetResourcePolicyCommandOutput | IngestKnowledgeBaseDocumentsCommandOutput | ListAgentActionGroupsCommandOutput | ListAgentAliasesCommandOutput | ListAgentCollaboratorsCommandOutput | ListAgentKnowledgeBasesCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListDataSourcesCommandOutput | ListFlowAliasesCommandOutput | ListFlowVersionsCommandOutput | ListFlowsCommandOutput | ListIngestionJobsCommandOutput | ListKnowledgeBaseDocumentsCommandOutput | ListKnowledgeBasesCommandOutput | ListPromptsCommandOutput | ListTagsForResourceCommandOutput | PrepareAgentCommandOutput | PrepareFlowCommandOutput | PutResourcePolicyCommandOutput | StartIngestionJobCommandOutput | StopIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCollaboratorCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateFlowAliasCommandOutput | UpdateFlowCommandOutput | UpdateKnowledgeBaseCommandOutput | UpdatePromptCommandOutput | ValidateFlowDefinitionCommandOutput;
98
+ export type ServiceOutputTypes = AssociateAgentCollaboratorCommandOutput | AssociateAgentKnowledgeBaseCommandOutput | CreateAgentActionGroupCommandOutput | CreateAgentAliasCommandOutput | CreateAgentCommandOutput | CreateDataSourceCommandOutput | CreateFlowAliasCommandOutput | CreateFlowCommandOutput | CreateFlowVersionCommandOutput | CreateKnowledgeBaseCommandOutput | CreatePromptCommandOutput | CreatePromptVersionCommandOutput | CreateVpcConfigurationCommandOutput | DeleteAgentActionGroupCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentCommandOutput | DeleteAgentVersionCommandOutput | DeleteDataSourceCommandOutput | DeleteFlowAliasCommandOutput | DeleteFlowCommandOutput | DeleteFlowVersionCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteKnowledgeBaseDocumentsCommandOutput | DeletePromptCommandOutput | DeleteResourcePolicyCommandOutput | DeleteVpcConfigurationCommandOutput | DisassociateAgentCollaboratorCommandOutput | DisassociateAgentKnowledgeBaseCommandOutput | GetAgentActionGroupCommandOutput | GetAgentAliasCommandOutput | GetAgentCollaboratorCommandOutput | GetAgentCommandOutput | GetAgentKnowledgeBaseCommandOutput | GetAgentVersionCommandOutput | GetDataSourceCommandOutput | GetFlowAliasCommandOutput | GetFlowCommandOutput | GetFlowVersionCommandOutput | GetIngestionJobCommandOutput | GetKnowledgeBaseCommandOutput | GetKnowledgeBaseDocumentsCommandOutput | GetPromptCommandOutput | GetResourcePolicyCommandOutput | GetVpcConfigurationCommandOutput | IngestKnowledgeBaseDocumentsCommandOutput | ListAgentActionGroupsCommandOutput | ListAgentAliasesCommandOutput | ListAgentCollaboratorsCommandOutput | ListAgentKnowledgeBasesCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListDataSourcesCommandOutput | ListFlowAliasesCommandOutput | ListFlowVersionsCommandOutput | ListFlowsCommandOutput | ListIngestionJobsCommandOutput | ListKnowledgeBaseDocumentsCommandOutput | ListKnowledgeBasesCommandOutput | ListPromptsCommandOutput | ListTagsForResourceCommandOutput | ListVpcConfigurationsCommandOutput | PrepareAgentCommandOutput | PrepareFlowCommandOutput | PutResourcePolicyCommandOutput | StartIngestionJobCommandOutput | StopIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCollaboratorCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateFlowAliasCommandOutput | UpdateFlowCommandOutput | UpdateKnowledgeBaseCommandOutput | UpdatePromptCommandOutput | ValidateFlowDefinitionCommandOutput;
95
99
  /**
96
100
  * @public
97
101
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { AssociateAgentKnowledgeBaseRequest, AssociateAgentKnowledgeBaseResponse } from "../models/models_0";
2
+ import type { AssociateAgentKnowledgeBaseRequest, AssociateAgentKnowledgeBaseResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,106 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateVpcConfigurationRequest, CreateVpcConfigurationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateVpcConfigurationCommand}.
11
+ */
12
+ export interface CreateVpcConfigurationCommandInput extends CreateVpcConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateVpcConfigurationCommand}.
18
+ */
19
+ export interface CreateVpcConfigurationCommandOutput extends CreateVpcConfigurationResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateVpcConfigurationCommand_base: {
22
+ new (input: CreateVpcConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateVpcConfigurationCommandInput, CreateVpcConfigurationCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateVpcConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateVpcConfigurationCommandInput, CreateVpcConfigurationCommandOutput, import("..").BedrockAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a VPC configuration that lets a knowledge base connect to a resource in your private VPC. This operation is asynchronous: it returns a <code>vpcConfigurationId</code> with status <code>CREATING</code>. Poll <code>GetVpcConfiguration</code> until the status becomes <code>CREATED</code> or <code>CREATE_FAILED</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentClient, CreateVpcConfigurationCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
32
+ * // const { BedrockAgentClient, CreateVpcConfigurationCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
33
+ * // import type { BedrockAgentClientConfig } from "@aws-sdk/client-bedrock-agent";
34
+ * const config = {}; // type is BedrockAgentClientConfig
35
+ * const client = new BedrockAgentClient(config);
36
+ * const input = { // CreateVpcConfigurationRequest
37
+ * knowledgeBaseId: "STRING_VALUE", // required
38
+ * clientToken: "STRING_VALUE",
39
+ * vpcId: "STRING_VALUE", // required
40
+ * subnetIds: [ // SubnetIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * resourceTarget: "STRING_VALUE", // required
44
+ * port: Number("int"), // required
45
+ * protocol: "HTTP" || "HTTPS", // required
46
+ * resolutionMode: "PUBLIC" || "IN_VPC", // required
47
+ * hostHeader: "STRING_VALUE",
48
+ * tlsServerName: "STRING_VALUE",
49
+ * name: "STRING_VALUE",
50
+ * description: "STRING_VALUE",
51
+ * };
52
+ * const command = new CreateVpcConfigurationCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // CreateVpcConfigurationResponse
55
+ * // vpcConfigurationId: "STRING_VALUE", // required
56
+ * // status: "CREATING" || "CREATED" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED", // required
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param CreateVpcConfigurationCommandInput - {@link CreateVpcConfigurationCommandInput}
62
+ * @returns {@link CreateVpcConfigurationCommandOutput}
63
+ * @see {@link CreateVpcConfigurationCommandInput} for command's `input` shape.
64
+ * @see {@link CreateVpcConfigurationCommandOutput} for command's `response` shape.
65
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The request is denied because of missing access permissions.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>There was a conflict performing an operation.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An internal server error occurred. Retry your request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
87
+ *
88
+ * @throws {@link BedrockAgentServiceException}
89
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateVpcConfigurationCommand extends CreateVpcConfigurationCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateVpcConfigurationRequest;
99
+ output: CreateVpcConfigurationResponse;
100
+ };
101
+ sdk: {
102
+ input: CreateVpcConfigurationCommandInput;
103
+ output: CreateVpcConfigurationCommandOutput;
104
+ };
105
+ };
106
+ }