@aws-sdk/client-bedrock-agent 3.1069.0 → 3.1071.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist-cjs/index.js +73 -5
- package/dist-cjs/schemas/schemas_0.js +160 -21
- package/dist-es/BedrockAgent.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +26 -4
- package/dist-es/schemas/schemas_0.js +146 -21
- package/dist-types/BedrockAgent.d.ts +21 -0
- package/dist-types/BedrockAgentClient.d.ts +5 -2
- package/dist-types/commands/CreateDataSourceCommand.d.ts +41 -5
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +58 -4
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +96 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +21 -3
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +29 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +7 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +97 -0
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +41 -5
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +57 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +66 -12
- package/dist-types/models/models_0.d.ts +248 -241
- package/dist-types/models/models_1.d.ts +269 -21
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +36 -6
- package/dist-types/ts3.4/models/models_0.d.ts +79 -74
- package/dist-types/ts3.4/models/models_1.d.ts +83 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +3 -3
|
@@ -20,6 +20,7 @@ const _ACu = "AudioConfiguration";
|
|
|
20
20
|
const _ACud = "AudioConfigurations";
|
|
21
21
|
const _AD = "AgentDescriptor";
|
|
22
22
|
const _ADE = "AccessDeniedException";
|
|
23
|
+
const _AEC = "AudioExtractionConfiguration";
|
|
23
24
|
const _AFNC = "AgentFlowNodeConfiguration";
|
|
24
25
|
const _AGE = "ActionGroupExecutor";
|
|
25
26
|
const _AGS = "ActionGroupSummary";
|
|
@@ -104,6 +105,8 @@ const _DAAGRe = "DeleteAgentActionGroupResponse";
|
|
|
104
105
|
const _DAAR = "DeleteAgentAliasRequest";
|
|
105
106
|
const _DAARe = "DeleteAgentAliasResponse";
|
|
106
107
|
const _DAC = "DisassociateAgentCollaborator";
|
|
108
|
+
const _DACE = "DocumentAccessControlEntry";
|
|
109
|
+
const _DACL = "DocumentAccessControlList";
|
|
107
110
|
const _DACR = "DisassociateAgentCollaboratorRequest";
|
|
108
111
|
const _DACRi = "DisassociateAgentCollaboratorResponse";
|
|
109
112
|
const _DAKB = "DisassociateAgentKnowledgeBase";
|
|
@@ -139,8 +142,12 @@ const _DKBR = "DeleteKnowledgeBaseRequest";
|
|
|
139
142
|
const _DKBRe = "DeleteKnowledgeBaseResponse";
|
|
140
143
|
const _DM = "DocumentMetadata";
|
|
141
144
|
const _DP = "DeletePrompt";
|
|
145
|
+
const _DPC = "DeletionProtectionConfiguration";
|
|
142
146
|
const _DPR = "DeletePromptRequest";
|
|
143
147
|
const _DPRe = "DeletePromptResponse";
|
|
148
|
+
const _DRP = "DeleteResourcePolicy";
|
|
149
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
150
|
+
const _DRPRe = "DeleteResourcePolicyResponse";
|
|
144
151
|
const _DS = "DataSource";
|
|
145
152
|
const _DSC = "DataSourceConfiguration";
|
|
146
153
|
const _DSS = "DataSourceSummary";
|
|
@@ -229,6 +236,9 @@ const _GKBRe = "GetKnowledgeBaseResponse";
|
|
|
229
236
|
const _GP = "GetPrompt";
|
|
230
237
|
const _GPR = "GetPromptRequest";
|
|
231
238
|
const _GPRe = "GetPromptResponse";
|
|
239
|
+
const _GRP = "GetResourcePolicy";
|
|
240
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
241
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
232
242
|
const _HCC = "HierarchicalChunkingConfiguration";
|
|
233
243
|
const _HCLC = "HierarchicalChunkingLevelConfiguration";
|
|
234
244
|
const _HCLCi = "HierarchicalChunkingLevelConfigurations";
|
|
@@ -239,6 +249,7 @@ const _ICDTFVD = "IncompatibleConnectionDataTypeFlowValidationDetails";
|
|
|
239
249
|
const _ICFNC = "InlineCodeFlowNodeConfiguration";
|
|
240
250
|
const _ICn = "InferenceConfiguration";
|
|
241
251
|
const _ICnl = "InlineContent";
|
|
252
|
+
const _IEC = "ImageExtractionConfiguration";
|
|
242
253
|
const _IFNC = "InputFlowNodeConfiguration";
|
|
243
254
|
const _IFNCt = "IteratorFlowNodeConfiguration";
|
|
244
255
|
const _IJ = "IngestionJob";
|
|
@@ -331,7 +342,10 @@ const _MCFR = "MetadataConfigurationForReranking";
|
|
|
331
342
|
const _MDAC = "MongoDbAtlasConfiguration";
|
|
332
343
|
const _MDAFM = "MongoDbAtlasFieldMapping";
|
|
333
344
|
const _MDCFVD = "MissingDefaultConditionFlowValidationDetails";
|
|
345
|
+
const _MEC = "MediaExtractionConfiguration";
|
|
334
346
|
const _MENFVD = "MissingEndingNodesFlowValidationDetails";
|
|
347
|
+
const _MKBC = "ManagedKnowledgeBaseConfiguration";
|
|
348
|
+
const _MKBCC = "ManagedKnowledgeBaseConnectorConfiguration";
|
|
335
349
|
const _MLCNFVD = "MissingLoopControllerNodeFlowValidationDetails";
|
|
336
350
|
const _MLCNFVDu = "MultipleLoopControllerNodesFlowValidationDetails";
|
|
337
351
|
const _MLINFVD = "MissingLoopInputNodeFlowValidationDetails";
|
|
@@ -389,6 +403,9 @@ const _POF = "PatternObjectFilter";
|
|
|
389
403
|
const _POFC = "PatternObjectFilterConfiguration";
|
|
390
404
|
const _POFL = "PatternObjectFilterList";
|
|
391
405
|
const _PP = "ParsingPrompt";
|
|
406
|
+
const _PRP = "PutResourcePolicy";
|
|
407
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
408
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
392
409
|
const _PS = "PromptSummary";
|
|
393
410
|
const _PSr = "PromptSummaries";
|
|
394
411
|
const _PTC = "PromptTemplateConfiguration";
|
|
@@ -410,6 +427,7 @@ const _RFNSC = "RetrievalFlowNodeS3Configuration";
|
|
|
410
427
|
const _RFNSCe = "RetrievalFlowNodeServiceConfiguration";
|
|
411
428
|
const _RMSMC = "RerankingMetadataSelectiveModeConfiguration";
|
|
412
429
|
const _RNFE = "ResourceNotFoundException";
|
|
430
|
+
const _RP = "ResourcePolicy";
|
|
413
431
|
const _RPAC = "RedshiftProvisionedAuthConfiguration";
|
|
414
432
|
const _RPC = "RedshiftProvisionedConfiguration";
|
|
415
433
|
const _RQEADCSC = "RedshiftQueryEngineAwsDataCatalogStorageConfiguration";
|
|
@@ -525,6 +543,7 @@ const _VBA = "VectorBucketArn";
|
|
|
525
543
|
const _VC = "VideoConfiguration";
|
|
526
544
|
const _VCi = "VideoConfigurations";
|
|
527
545
|
const _VE = "ValidationException";
|
|
546
|
+
const _VEC = "VideoExtractionConfiguration";
|
|
528
547
|
const _VEF = "ValidationExceptionField";
|
|
529
548
|
const _VEFL = "ValidationExceptionFieldList";
|
|
530
549
|
const _VFD = "ValidateFlowDefinition";
|
|
@@ -540,7 +559,7 @@ const _WCC = "WebCrawlerConfiguration";
|
|
|
540
559
|
const _WCL = "WebCrawlerLimits";
|
|
541
560
|
const _WDSC = "WebDataSourceConfiguration";
|
|
542
561
|
const _WSC = "WebSourceConfiguration";
|
|
543
|
-
const _a = "
|
|
562
|
+
const _a = "application/json";
|
|
544
563
|
const _aA = "agentArn";
|
|
545
564
|
const _aAA = "agentAliasArn";
|
|
546
565
|
const _aAG = "agentActionGroup";
|
|
@@ -552,11 +571,14 @@ const _aASg = "agentAliasSummaries";
|
|
|
552
571
|
const _aAg = "agentAlias";
|
|
553
572
|
const _aAl = "aliasArn";
|
|
554
573
|
const _aC = "agentCollaboration";
|
|
574
|
+
const _aCL = "accessControlList";
|
|
555
575
|
const _aCS = "agentCollaboratorSummaries";
|
|
556
576
|
const _aCg = "agentCollaborator";
|
|
557
577
|
const _aCu = "authConfiguration";
|
|
558
578
|
const _aD = "agentDescriptor";
|
|
559
579
|
const _aDCC = "awsDataCatalogConfiguration";
|
|
580
|
+
const _aEC = "audioExtractionConfiguration";
|
|
581
|
+
const _aES = "audioExtractionStatus";
|
|
560
582
|
const _aGE = "actionGroupExecutor";
|
|
561
583
|
const _aGI = "actionGroupId";
|
|
562
584
|
const _aGN = "actionGroupName";
|
|
@@ -577,11 +599,13 @@ const _aSp = "apiSchema";
|
|
|
577
599
|
const _aT = "authType";
|
|
578
600
|
const _aV = "agentVersion";
|
|
579
601
|
const _aVS = "agentVersionSummaries";
|
|
602
|
+
const _ac = "access";
|
|
580
603
|
const _ag = "agent";
|
|
581
604
|
const _an = "any";
|
|
582
605
|
const _ar = "arn";
|
|
583
606
|
const _at = "attribute";
|
|
584
|
-
const _au = "
|
|
607
|
+
const _au = "audio";
|
|
608
|
+
const _aut = "auto";
|
|
585
609
|
const _bA = "bucketArn";
|
|
586
610
|
const _bAA = "botAliasArn";
|
|
587
611
|
const _bC = "byteContent";
|
|
@@ -616,7 +640,8 @@ const _cMF = "customMetadataField";
|
|
|
616
640
|
const _cN = "collaboratorName";
|
|
617
641
|
const _cNo = "collectionName";
|
|
618
642
|
const _cO = "customOrchestration";
|
|
619
|
-
const _cP = "
|
|
643
|
+
const _cP = "connectorParameters";
|
|
644
|
+
const _cPa = "cachePoint";
|
|
620
645
|
const _cQ = "curatedQueries";
|
|
621
646
|
const _cS = "chunkingStrategy";
|
|
622
647
|
const _cSA = "credentialsSecretArn";
|
|
@@ -646,6 +671,9 @@ const _dDP = "dataDeletionPolicy";
|
|
|
646
671
|
const _dE = "domainEndpoint";
|
|
647
672
|
const _dI = "documentIdentifiers";
|
|
648
673
|
const _dN = "databaseName";
|
|
674
|
+
const _dPC = "deletionProtectionConfiguration";
|
|
675
|
+
const _dPS = "deletionProtectionStatus";
|
|
676
|
+
const _dPT = "deletionProtectionThreshold";
|
|
649
677
|
const _dS = "dataSource";
|
|
650
678
|
const _dSC = "dataSourceConfiguration";
|
|
651
679
|
const _dSI = "dataSourceId";
|
|
@@ -665,8 +693,10 @@ const _eDT = "embeddingDataType";
|
|
|
665
693
|
const _eF = "exclusionFilters";
|
|
666
694
|
const _eMA = "embeddingModelArn";
|
|
667
695
|
const _eMC = "embeddingModelConfiguration";
|
|
668
|
-
const _eMT = "
|
|
696
|
+
const _eMT = "embeddingModelType";
|
|
697
|
+
const _eMTn = "enabledMemoryTypes";
|
|
669
698
|
const _eRA = "executionRoleArn";
|
|
699
|
+
const _eRI = "expectedRevisionId";
|
|
670
700
|
const _eSC = "enrichmentStrategyConfiguration";
|
|
671
701
|
const _eSN = "endpointServiceName";
|
|
672
702
|
const _eT = "expectedType";
|
|
@@ -713,6 +743,8 @@ const _iCDT = "incompatibleConnectionDataType";
|
|
|
713
743
|
const _iCn = "inferenceConfiguration";
|
|
714
744
|
const _iCnf = "inferenceConfig";
|
|
715
745
|
const _iCnl = "inlineCode";
|
|
746
|
+
const _iEC = "imageExtractionConfiguration";
|
|
747
|
+
const _iES = "imageExtractionStatus";
|
|
716
748
|
const _iF = "inclusionFilters";
|
|
717
749
|
const _iJ = "ingestionJob";
|
|
718
750
|
const _iJI = "ingestionJobId";
|
|
@@ -769,10 +801,13 @@ const _mCe = "metadataConfiguration";
|
|
|
769
801
|
const _mCo = "modelConfiguration";
|
|
770
802
|
const _mDAC = "mongoDbAtlasConfiguration";
|
|
771
803
|
const _mDC = "missingDefaultCondition";
|
|
804
|
+
const _mEC = "mediaExtractionConfiguration";
|
|
772
805
|
const _mEN = "missingEndingNodes";
|
|
773
806
|
const _mF = "metadataField";
|
|
774
807
|
const _mI = "modelId";
|
|
775
808
|
const _mIa = "maxIterations";
|
|
809
|
+
const _mKBC = "managedKnowledgeBaseConfiguration";
|
|
810
|
+
const _mKBCC = "managedKnowledgeBaseConnectorConfiguration";
|
|
776
811
|
const _mL = "maximumLength";
|
|
777
812
|
const _mLCN = "missingLoopControllerNode";
|
|
778
813
|
const _mLCNu = "multipleLoopControllerNodes";
|
|
@@ -789,8 +824,9 @@ const _mP = "maxPages";
|
|
|
789
824
|
const _mR = "maxResults";
|
|
790
825
|
const _mRS = "maxRecentSessions";
|
|
791
826
|
const _mSN = "missingStartingNodes";
|
|
792
|
-
const _mT = "
|
|
827
|
+
const _mT = "mediaType";
|
|
793
828
|
const _mTa = "maxTokens";
|
|
829
|
+
const _mTi = "mimeType";
|
|
794
830
|
const _me = "messages";
|
|
795
831
|
const _met = "method";
|
|
796
832
|
const _meta = "metadata";
|
|
@@ -800,6 +836,7 @@ const _nL = "naturalLanguage";
|
|
|
800
836
|
const _nODD = "numberOfDocumentsDeleted";
|
|
801
837
|
const _nODF = "numberOfDocumentsFailed";
|
|
802
838
|
const _nODS = "numberOfDocumentsScanned";
|
|
839
|
+
const _nODSu = "numberOfDocumentsSkipped";
|
|
803
840
|
const _nOMDI = "numberOfModifiedDocumentsIndexed";
|
|
804
841
|
const _nOMDM = "numberOfMetadataDocumentsModified";
|
|
805
842
|
const _nOMDS = "numberOfMetadataDocumentsScanned";
|
|
@@ -851,6 +888,7 @@ const _pTr = "promptTemplate";
|
|
|
851
888
|
const _pTro = "promptType";
|
|
852
889
|
const _pV = "promptVersion";
|
|
853
890
|
const _pa = "payload";
|
|
891
|
+
const _po = "policy";
|
|
854
892
|
const _pr = "prompt";
|
|
855
893
|
const _qEC = "queryEngineConfiguration";
|
|
856
894
|
const _qGC = "queryGenerationConfiguration";
|
|
@@ -865,6 +903,7 @@ const _rCe = "requireConfirmation";
|
|
|
865
903
|
const _rCed = "redshiftConfiguration";
|
|
866
904
|
const _rCer = "rerankingConfiguration";
|
|
867
905
|
const _rECC = "redisEnterpriseCloudConfiguration";
|
|
906
|
+
const _rI = "revisionId";
|
|
868
907
|
const _rL = "rateLimit";
|
|
869
908
|
const _re = "required";
|
|
870
909
|
const _res = "resource";
|
|
@@ -963,6 +1002,8 @@ const _un = "unspecified";
|
|
|
963
1002
|
const _ur = "url";
|
|
964
1003
|
const _v = "version";
|
|
965
1004
|
const _vBA = "vectorBucketArn";
|
|
1005
|
+
const _vEC = "videoExtractionConfiguration";
|
|
1006
|
+
const _vES = "videoExtractionStatus";
|
|
966
1007
|
const _vF = "vectorField";
|
|
967
1008
|
const _vIC = "vectorIngestionConfiguration";
|
|
968
1009
|
const _vIN = "vectorIndexName";
|
|
@@ -1056,6 +1097,7 @@ var OpenSearchManagedClusterIndexName = [0, n0, _OSMCIN, 8, 0];
|
|
|
1056
1097
|
var Payload = [0, n0, _P, 8, 0];
|
|
1057
1098
|
var PromptMetadataKey = [0, n0, _PMK, 8, 0];
|
|
1058
1099
|
var PromptMetadataValue = [0, n0, _PMV, 8, 0];
|
|
1100
|
+
var ResourcePolicy = [0, n0, _RP, { [_mT]: _a }, 0];
|
|
1059
1101
|
var S3Prefix = [0, n0, _SP, 8, 0];
|
|
1060
1102
|
var StringValue = [0, n0, _SV, 8, 0];
|
|
1061
1103
|
var TextPrompt = [0, n0, _TP, 8, 0];
|
|
@@ -1194,6 +1236,12 @@ const AudioConfiguration$ = [3, n0, _ACu,
|
|
|
1194
1236
|
[() => AudioSegmentationConfiguration$], 1
|
|
1195
1237
|
];
|
|
1196
1238
|
exports.AudioConfiguration$ = AudioConfiguration$;
|
|
1239
|
+
const AudioExtractionConfiguration$ = [3, n0, _AEC,
|
|
1240
|
+
0,
|
|
1241
|
+
[_aES],
|
|
1242
|
+
[0], 1
|
|
1243
|
+
];
|
|
1244
|
+
exports.AudioExtractionConfiguration$ = AudioExtractionConfiguration$;
|
|
1197
1245
|
const AudioSegmentationConfiguration$ = [3, n0, _ASC,
|
|
1198
1246
|
0,
|
|
1199
1247
|
[_fLD],
|
|
@@ -1214,7 +1262,7 @@ const BedrockDataAutomationConfiguration$ = [3, n0, _BDAC,
|
|
|
1214
1262
|
exports.BedrockDataAutomationConfiguration$ = BedrockDataAutomationConfiguration$;
|
|
1215
1263
|
const BedrockEmbeddingModelConfiguration$ = [3, n0, _BEMC,
|
|
1216
1264
|
0,
|
|
1217
|
-
[_di, _eDT,
|
|
1265
|
+
[_di, _eDT, _au, _vi],
|
|
1218
1266
|
[1, 0, () => AudioConfigurations, () => VideoConfigurations]
|
|
1219
1267
|
];
|
|
1220
1268
|
exports.BedrockEmbeddingModelConfiguration$ = BedrockEmbeddingModelConfiguration$;
|
|
@@ -1232,7 +1280,7 @@ const BedrockFoundationModelContextEnrichmentConfiguration$ = [3, n0, _BFMCEC,
|
|
|
1232
1280
|
exports.BedrockFoundationModelContextEnrichmentConfiguration$ = BedrockFoundationModelContextEnrichmentConfiguration$;
|
|
1233
1281
|
const ByteContentDoc$ = [3, n0, _BCD,
|
|
1234
1282
|
0,
|
|
1235
|
-
[
|
|
1283
|
+
[_mTi, _da],
|
|
1236
1284
|
[0, [() => ByteContentBlob, 0]], 2
|
|
1237
1285
|
];
|
|
1238
1286
|
exports.ByteContentDoc$ = ByteContentDoc$;
|
|
@@ -1466,8 +1514,8 @@ const DataSource$ = [3, n0, _DS,
|
|
|
1466
1514
|
exports.DataSource$ = DataSource$;
|
|
1467
1515
|
const DataSourceConfiguration$ = [3, n0, _DSC,
|
|
1468
1516
|
0,
|
|
1469
|
-
[_t, _sCon, _wC, _cCon, _sCa, _sPC],
|
|
1470
|
-
[0, [() => S3DataSourceConfiguration$, 0], [() => WebDataSourceConfiguration$, 0], [() => ConfluenceDataSourceConfiguration$, 0], [() => SalesforceDataSourceConfiguration$, 0], [() => SharePointDataSourceConfiguration$, 0]], 1
|
|
1517
|
+
[_t, _mKBCC, _sCon, _wC, _cCon, _sCa, _sPC],
|
|
1518
|
+
[0, () => ManagedKnowledgeBaseConnectorConfiguration$, [() => S3DataSourceConfiguration$, 0], [() => WebDataSourceConfiguration$, 0], [() => ConfluenceDataSourceConfiguration$, 0], [() => SalesforceDataSourceConfiguration$, 0], [() => SharePointDataSourceConfiguration$, 0]], 1
|
|
1471
1519
|
];
|
|
1472
1520
|
exports.DataSourceConfiguration$ = DataSourceConfiguration$;
|
|
1473
1521
|
const DataSourceSummary$ = [3, n0, _DSS,
|
|
@@ -1608,6 +1656,24 @@ const DeletePromptResponse$ = [3, n0, _DPRe,
|
|
|
1608
1656
|
[0, 0], 1
|
|
1609
1657
|
];
|
|
1610
1658
|
exports.DeletePromptResponse$ = DeletePromptResponse$;
|
|
1659
|
+
const DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
|
|
1660
|
+
0,
|
|
1661
|
+
[_rAe, _eRI],
|
|
1662
|
+
[[0, 1], [0, { [_hQ]: _eRI }]], 1
|
|
1663
|
+
];
|
|
1664
|
+
exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
|
|
1665
|
+
const DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
|
|
1666
|
+
0,
|
|
1667
|
+
[_rAe, _rI],
|
|
1668
|
+
[0, 0], 1
|
|
1669
|
+
];
|
|
1670
|
+
exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
|
|
1671
|
+
const DeletionProtectionConfiguration$ = [3, n0, _DPC,
|
|
1672
|
+
0,
|
|
1673
|
+
[_dPS, _dPT],
|
|
1674
|
+
[0, 1], 1
|
|
1675
|
+
];
|
|
1676
|
+
exports.DeletionProtectionConfiguration$ = DeletionProtectionConfiguration$;
|
|
1611
1677
|
const DisassociateAgentCollaboratorRequest$ = [3, n0, _DACR,
|
|
1612
1678
|
0,
|
|
1613
1679
|
[_aI, _aV, _cI],
|
|
@@ -1632,6 +1698,12 @@ const DisassociateAgentKnowledgeBaseResponse$ = [3, n0, _DAKBRi,
|
|
|
1632
1698
|
[]
|
|
1633
1699
|
];
|
|
1634
1700
|
exports.DisassociateAgentKnowledgeBaseResponse$ = DisassociateAgentKnowledgeBaseResponse$;
|
|
1701
|
+
const DocumentAccessControlEntry$ = [3, n0, _DACE,
|
|
1702
|
+
8,
|
|
1703
|
+
[_n, _t, _ac],
|
|
1704
|
+
[0, 0, 0], 3
|
|
1705
|
+
];
|
|
1706
|
+
exports.DocumentAccessControlEntry$ = DocumentAccessControlEntry$;
|
|
1635
1707
|
const DocumentContent$ = [3, n0, _DC,
|
|
1636
1708
|
0,
|
|
1637
1709
|
[_dST, _cu, _s_],
|
|
@@ -1646,8 +1718,8 @@ const DocumentIdentifier$ = [3, n0, _DI,
|
|
|
1646
1718
|
exports.DocumentIdentifier$ = DocumentIdentifier$;
|
|
1647
1719
|
const DocumentMetadata$ = [3, n0, _DM,
|
|
1648
1720
|
0,
|
|
1649
|
-
[_t, _iA, _sL],
|
|
1650
|
-
[0, [() => MetadataAttributes, 0], () => CustomS3Location
|
|
1721
|
+
[_t, _iA, _sL, _aCL],
|
|
1722
|
+
[0, [() => MetadataAttributes, 0], () => CustomS3Location$, [() => DocumentAccessControlList, 0]], 1
|
|
1651
1723
|
];
|
|
1652
1724
|
exports.DocumentMetadata$ = DocumentMetadata$;
|
|
1653
1725
|
const DuplicateConditionExpressionFlowValidationDetails$ = [3, n0, _DCEFVD,
|
|
@@ -1944,6 +2016,18 @@ const GetPromptResponse$ = [3, n0, _GPRe,
|
|
|
1944
2016
|
[0, 0, 0, 0, 5, 5, 0, 0, 0, [() => PromptVariantList, 0]], 6
|
|
1945
2017
|
];
|
|
1946
2018
|
exports.GetPromptResponse$ = GetPromptResponse$;
|
|
2019
|
+
const GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
2020
|
+
0,
|
|
2021
|
+
[_rAe],
|
|
2022
|
+
[[0, 1]], 1
|
|
2023
|
+
];
|
|
2024
|
+
exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
|
|
2025
|
+
const GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
2026
|
+
0,
|
|
2027
|
+
[_rAe, _po, _rI],
|
|
2028
|
+
[0, [() => ResourcePolicy, 0], 0], 3
|
|
2029
|
+
];
|
|
2030
|
+
exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
|
|
1947
2031
|
const GuardrailConfiguration$ = [3, n0, _GC,
|
|
1948
2032
|
0,
|
|
1949
2033
|
[_gI, _gV],
|
|
@@ -1962,6 +2046,12 @@ const HierarchicalChunkingLevelConfiguration$ = [3, n0, _HCLC,
|
|
|
1962
2046
|
[1], 1
|
|
1963
2047
|
];
|
|
1964
2048
|
exports.HierarchicalChunkingLevelConfiguration$ = HierarchicalChunkingLevelConfiguration$;
|
|
2049
|
+
const ImageExtractionConfiguration$ = [3, n0, _IEC,
|
|
2050
|
+
0,
|
|
2051
|
+
[_iES],
|
|
2052
|
+
[0], 1
|
|
2053
|
+
];
|
|
2054
|
+
exports.ImageExtractionConfiguration$ = ImageExtractionConfiguration$;
|
|
1965
2055
|
const IncompatibleConnectionDataTypeFlowValidationDetails$ = [3, n0, _ICDTFVD,
|
|
1966
2056
|
0,
|
|
1967
2057
|
[_con],
|
|
@@ -1994,8 +2084,8 @@ const IngestionJobSortBy$ = [3, n0, _IJSB,
|
|
|
1994
2084
|
exports.IngestionJobSortBy$ = IngestionJobSortBy$;
|
|
1995
2085
|
const IngestionJobStatistics$ = [3, n0, _IJS,
|
|
1996
2086
|
0,
|
|
1997
|
-
[_nODS, _nOMDS, _nONDI, _nOMDI, _nOMDM, _nODD, _nODF],
|
|
1998
|
-
[1, 1, 1, 1, 1, 1, 1]
|
|
2087
|
+
[_nODS, _nOMDS, _nONDI, _nOMDI, _nOMDM, _nODD, _nODF, _nODSu],
|
|
2088
|
+
[1, 1, 1, 1, 1, 1, 1, 1]
|
|
1999
2089
|
];
|
|
2000
2090
|
exports.IngestionJobStatistics$ = IngestionJobStatistics$;
|
|
2001
2091
|
const IngestionJobSummary$ = [3, n0, _IJSn,
|
|
@@ -2066,8 +2156,8 @@ const KnowledgeBase$ = [3, n0, _KB,
|
|
|
2066
2156
|
exports.KnowledgeBase$ = KnowledgeBase$;
|
|
2067
2157
|
const KnowledgeBaseConfiguration$ = [3, n0, _KBC,
|
|
2068
2158
|
0,
|
|
2069
|
-
[_t, _vKBC, _kKBC, _sKBC],
|
|
2070
|
-
[0, () => VectorKnowledgeBaseConfiguration$, () => KendraKnowledgeBaseConfiguration$, [() => SqlKnowledgeBaseConfiguration$, 0]], 1
|
|
2159
|
+
[_t, _vKBC, _mKBC, _kKBC, _sKBC],
|
|
2160
|
+
[0, () => VectorKnowledgeBaseConfiguration$, () => ManagedKnowledgeBaseConfiguration$, () => KendraKnowledgeBaseConfiguration$, [() => SqlKnowledgeBaseConfiguration$, 0]], 1
|
|
2071
2161
|
];
|
|
2072
2162
|
exports.KnowledgeBaseConfiguration$ = KnowledgeBaseConfiguration$;
|
|
2073
2163
|
const KnowledgeBaseDocument$ = [3, n0, _KBD,
|
|
@@ -2334,9 +2424,27 @@ const MalformedNodeInputExpressionFlowValidationDetails$ = [3, n0, _MNIEFVD,
|
|
|
2334
2424
|
[0, 0, 0], 3
|
|
2335
2425
|
];
|
|
2336
2426
|
exports.MalformedNodeInputExpressionFlowValidationDetails$ = MalformedNodeInputExpressionFlowValidationDetails$;
|
|
2427
|
+
const ManagedKnowledgeBaseConfiguration$ = [3, n0, _MKBC,
|
|
2428
|
+
0,
|
|
2429
|
+
[_eMT, _eMA, _eMC, _sSEC],
|
|
2430
|
+
[0, 0, () => EmbeddingModelConfiguration$, () => ServerSideEncryptionConfiguration$]
|
|
2431
|
+
];
|
|
2432
|
+
exports.ManagedKnowledgeBaseConfiguration$ = ManagedKnowledgeBaseConfiguration$;
|
|
2433
|
+
const ManagedKnowledgeBaseConnectorConfiguration$ = [3, n0, _MKBCC,
|
|
2434
|
+
0,
|
|
2435
|
+
[_dPC, _mEC, _cP],
|
|
2436
|
+
[() => DeletionProtectionConfiguration$, () => MediaExtractionConfiguration$, 15]
|
|
2437
|
+
];
|
|
2438
|
+
exports.ManagedKnowledgeBaseConnectorConfiguration$ = ManagedKnowledgeBaseConnectorConfiguration$;
|
|
2439
|
+
const MediaExtractionConfiguration$ = [3, n0, _MEC,
|
|
2440
|
+
0,
|
|
2441
|
+
[_iEC, _aEC, _vEC],
|
|
2442
|
+
[() => ImageExtractionConfiguration$, () => AudioExtractionConfiguration$, () => VideoExtractionConfiguration$]
|
|
2443
|
+
];
|
|
2444
|
+
exports.MediaExtractionConfiguration$ = MediaExtractionConfiguration$;
|
|
2337
2445
|
const MemoryConfiguration$ = [3, n0, _MC,
|
|
2338
2446
|
0,
|
|
2339
|
-
[
|
|
2447
|
+
[_eMTn, _sDt, _sSC],
|
|
2340
2448
|
[64 | 0, 1, () => SessionSummaryConfiguration$], 1
|
|
2341
2449
|
];
|
|
2342
2450
|
exports.MemoryConfiguration$ = MemoryConfiguration$;
|
|
@@ -2640,6 +2748,18 @@ const PromptVariant$ = [3, n0, _PV,
|
|
|
2640
2748
|
[0, 0, [() => PromptTemplateConfiguration$, 0], 0, () => PromptInferenceConfiguration$, [() => PromptMetadataList, 0], 15, [() => PromptGenAiResource$, 0]], 3
|
|
2641
2749
|
];
|
|
2642
2750
|
exports.PromptVariant$ = PromptVariant$;
|
|
2751
|
+
const PutResourcePolicyRequest$ = [3, n0, _PRPR,
|
|
2752
|
+
0,
|
|
2753
|
+
[_rAe, _po, _eRI],
|
|
2754
|
+
[[0, 1], [() => ResourcePolicy, 0], 0], 2
|
|
2755
|
+
];
|
|
2756
|
+
exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
|
|
2757
|
+
const PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
2758
|
+
0,
|
|
2759
|
+
[_rAe, _rI],
|
|
2760
|
+
[0, 0], 2
|
|
2761
|
+
];
|
|
2762
|
+
exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
|
|
2643
2763
|
const QueryGenerationColumn$ = [3, n0, _QGC,
|
|
2644
2764
|
0,
|
|
2645
2765
|
[_n, _d, _inc],
|
|
@@ -2930,7 +3050,7 @@ const TextContentDoc$ = [3, n0, _TCD,
|
|
|
2930
3050
|
exports.TextContentDoc$ = TextContentDoc$;
|
|
2931
3051
|
const TextPromptTemplateConfiguration$ = [3, n0, _TPTC,
|
|
2932
3052
|
8,
|
|
2933
|
-
[_tex,
|
|
3053
|
+
[_tex, _cPa, _iV],
|
|
2934
3054
|
[[() => TextPrompt, 0], () => CachePointBlock$, [() => PromptInputVariablesList, 0]], 1
|
|
2935
3055
|
];
|
|
2936
3056
|
exports.TextPromptTemplateConfiguration$ = TextPromptTemplateConfiguration$;
|
|
@@ -3222,6 +3342,12 @@ const VideoConfiguration$ = [3, n0, _VC,
|
|
|
3222
3342
|
[() => VideoSegmentationConfiguration$], 1
|
|
3223
3343
|
];
|
|
3224
3344
|
exports.VideoConfiguration$ = VideoConfiguration$;
|
|
3345
|
+
const VideoExtractionConfiguration$ = [3, n0, _VEC,
|
|
3346
|
+
0,
|
|
3347
|
+
[_vES],
|
|
3348
|
+
[0], 1
|
|
3349
|
+
];
|
|
3350
|
+
exports.VideoExtractionConfiguration$ = VideoExtractionConfiguration$;
|
|
3225
3351
|
const VideoSegmentationConfiguration$ = [3, n0, _VSC,
|
|
3226
3352
|
0,
|
|
3227
3353
|
[_fLD],
|
|
@@ -3291,6 +3417,10 @@ var CuratedQueries = [1, n0, _CQu,
|
|
|
3291
3417
|
var DataSourceSummaries = [1, n0, _DSSa,
|
|
3292
3418
|
0, () => DataSourceSummary$
|
|
3293
3419
|
];
|
|
3420
|
+
var DocumentAccessControlList = [1, n0, _DACL,
|
|
3421
|
+
0, [() => DocumentAccessControlEntry$,
|
|
3422
|
+
0]
|
|
3423
|
+
];
|
|
3294
3424
|
var DocumentIdentifiers = [1, n0, _DIo,
|
|
3295
3425
|
0, () => DocumentIdentifier$
|
|
3296
3426
|
];
|
|
@@ -3453,7 +3583,7 @@ const APISchema$ = [4, n0, _APIS,
|
|
|
3453
3583
|
exports.APISchema$ = APISchema$;
|
|
3454
3584
|
const ContentBlock$ = [4, n0, _CBo,
|
|
3455
3585
|
8,
|
|
3456
|
-
[_tex,
|
|
3586
|
+
[_tex, _cPa],
|
|
3457
3587
|
[0, () => CachePointBlock$]
|
|
3458
3588
|
];
|
|
3459
3589
|
exports.ContentBlock$ = ContentBlock$;
|
|
@@ -3531,19 +3661,19 @@ const StorageFlowNodeServiceConfiguration$ = [4, n0, _SFNSCt,
|
|
|
3531
3661
|
exports.StorageFlowNodeServiceConfiguration$ = StorageFlowNodeServiceConfiguration$;
|
|
3532
3662
|
const SystemContentBlock$ = [4, n0, _SCBy,
|
|
3533
3663
|
8,
|
|
3534
|
-
[_tex,
|
|
3664
|
+
[_tex, _cPa],
|
|
3535
3665
|
[0, () => CachePointBlock$]
|
|
3536
3666
|
];
|
|
3537
3667
|
exports.SystemContentBlock$ = SystemContentBlock$;
|
|
3538
3668
|
const Tool$ = [4, n0, _Too,
|
|
3539
3669
|
0,
|
|
3540
|
-
[_tS,
|
|
3670
|
+
[_tS, _cPa],
|
|
3541
3671
|
[() => ToolSpecification$, () => CachePointBlock$]
|
|
3542
3672
|
];
|
|
3543
3673
|
exports.Tool$ = Tool$;
|
|
3544
3674
|
const ToolChoice$ = [4, n0, _TCo,
|
|
3545
3675
|
8,
|
|
3546
|
-
[
|
|
3676
|
+
[_aut, _an, _too],
|
|
3547
3677
|
[() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
|
|
3548
3678
|
];
|
|
3549
3679
|
exports.ToolChoice$ = ToolChoice$;
|
|
@@ -3622,6 +3752,9 @@ exports.DeleteKnowledgeBaseDocuments$ = [9, n0, _DKBD,
|
|
|
3622
3752
|
exports.DeletePrompt$ = [9, n0, _DP,
|
|
3623
3753
|
{ [_h]: ["DELETE", "/prompts/{promptIdentifier}/", 200] }, () => DeletePromptRequest$, () => DeletePromptResponse$
|
|
3624
3754
|
];
|
|
3755
|
+
exports.DeleteResourcePolicy$ = [9, n0, _DRP,
|
|
3756
|
+
{ [_h]: ["DELETE", "/resourcepolicy/{resourceArn}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
|
|
3757
|
+
];
|
|
3625
3758
|
exports.DisassociateAgentCollaborator$ = [9, n0, _DAC,
|
|
3626
3759
|
{ [_h]: ["DELETE", "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", 204] }, () => DisassociateAgentCollaboratorRequest$, () => DisassociateAgentCollaboratorResponse$
|
|
3627
3760
|
];
|
|
@@ -3670,6 +3803,9 @@ exports.GetKnowledgeBaseDocuments$ = [9, n0, _GKBD,
|
|
|
3670
3803
|
exports.GetPrompt$ = [9, n0, _GP,
|
|
3671
3804
|
{ [_h]: ["GET", "/prompts/{promptIdentifier}/", 200] }, () => GetPromptRequest$, () => GetPromptResponse$
|
|
3672
3805
|
];
|
|
3806
|
+
exports.GetResourcePolicy$ = [9, n0, _GRP,
|
|
3807
|
+
{ [_h]: ["GET", "/resourcepolicy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
3808
|
+
];
|
|
3673
3809
|
exports.IngestKnowledgeBaseDocuments$ = [9, n0, _IKBD,
|
|
3674
3810
|
{ [_h]: ["PUT", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", 202] }, () => IngestKnowledgeBaseDocumentsRequest$, () => IngestKnowledgeBaseDocumentsResponse$
|
|
3675
3811
|
];
|
|
@@ -3724,6 +3860,9 @@ exports.PrepareAgent$ = [9, n0, _PA,
|
|
|
3724
3860
|
exports.PrepareFlow$ = [9, n0, _PF,
|
|
3725
3861
|
{ [_h]: ["POST", "/flows/{flowIdentifier}/", 202] }, () => PrepareFlowRequest$, () => PrepareFlowResponse$
|
|
3726
3862
|
];
|
|
3863
|
+
exports.PutResourcePolicy$ = [9, n0, _PRP,
|
|
3864
|
+
{ [_h]: ["PUT", "/resourcepolicy/{resourceArn}", 200] }, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
|
|
3865
|
+
];
|
|
3727
3866
|
exports.StartIngestionJob$ = [9, n0, _SIJ,
|
|
3728
3867
|
{ [_h]: ["PUT", "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", 202] }, () => StartIngestionJobRequest$, () => StartIngestionJobResponse$
|
|
3729
3868
|
];
|
package/dist-es/BedrockAgent.js
CHANGED
|
@@ -23,6 +23,7 @@ import { DeleteFlowVersionCommand, } from "./commands/DeleteFlowVersionCommand";
|
|
|
23
23
|
import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseCommand";
|
|
24
24
|
import { DeleteKnowledgeBaseDocumentsCommand, } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
25
25
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
26
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
26
27
|
import { DisassociateAgentCollaboratorCommand, } from "./commands/DisassociateAgentCollaboratorCommand";
|
|
27
28
|
import { DisassociateAgentKnowledgeBaseCommand, } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
28
29
|
import { GetAgentActionGroupCommand, } from "./commands/GetAgentActionGroupCommand";
|
|
@@ -39,6 +40,7 @@ import { GetIngestionJobCommand, } from "./commands/GetIngestionJobCommand";
|
|
|
39
40
|
import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
|
|
40
41
|
import { GetKnowledgeBaseDocumentsCommand, } from "./commands/GetKnowledgeBaseDocumentsCommand";
|
|
41
42
|
import { GetPromptCommand } from "./commands/GetPromptCommand";
|
|
43
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
42
44
|
import { IngestKnowledgeBaseDocumentsCommand, } from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
43
45
|
import { ListAgentActionGroupsCommand, } from "./commands/ListAgentActionGroupsCommand";
|
|
44
46
|
import { ListAgentAliasesCommand, } from "./commands/ListAgentAliasesCommand";
|
|
@@ -57,6 +59,7 @@ import { ListPromptsCommand, } from "./commands/ListPromptsCommand";
|
|
|
57
59
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
58
60
|
import { PrepareAgentCommand, } from "./commands/PrepareAgentCommand";
|
|
59
61
|
import { PrepareFlowCommand, } from "./commands/PrepareFlowCommand";
|
|
62
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
60
63
|
import { StartIngestionJobCommand, } from "./commands/StartIngestionJobCommand";
|
|
61
64
|
import { StopIngestionJobCommand, } from "./commands/StopIngestionJobCommand";
|
|
62
65
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
@@ -110,6 +113,7 @@ const commands = {
|
|
|
110
113
|
DeleteKnowledgeBaseCommand,
|
|
111
114
|
DeleteKnowledgeBaseDocumentsCommand,
|
|
112
115
|
DeletePromptCommand,
|
|
116
|
+
DeleteResourcePolicyCommand,
|
|
113
117
|
DisassociateAgentCollaboratorCommand,
|
|
114
118
|
DisassociateAgentKnowledgeBaseCommand,
|
|
115
119
|
GetAgentCommand,
|
|
@@ -126,6 +130,7 @@ const commands = {
|
|
|
126
130
|
GetKnowledgeBaseCommand,
|
|
127
131
|
GetKnowledgeBaseDocumentsCommand,
|
|
128
132
|
GetPromptCommand,
|
|
133
|
+
GetResourcePolicyCommand,
|
|
129
134
|
IngestKnowledgeBaseDocumentsCommand,
|
|
130
135
|
ListAgentActionGroupsCommand,
|
|
131
136
|
ListAgentAliasesCommand,
|
|
@@ -144,6 +149,7 @@ const commands = {
|
|
|
144
149
|
ListTagsForResourceCommand,
|
|
145
150
|
PrepareAgentCommand,
|
|
146
151
|
PrepareFlowCommand,
|
|
152
|
+
PutResourcePolicyCommand,
|
|
147
153
|
StartIngestionJobCommand,
|
|
148
154
|
StopIngestionJobCommand,
|
|
149
155
|
TagResourceCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "DeleteResourcePolicy", {})
|
|
13
|
+
.n("BedrockAgentClient", "DeleteResourcePolicyCommand")
|
|
14
|
+
.sc(DeleteResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "GetResourcePolicy", {})
|
|
13
|
+
.n("BedrockAgentClient", "GetResourcePolicyCommand")
|
|
14
|
+
.sc(GetResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "PutResourcePolicy", {})
|
|
13
|
+
.n("BedrockAgentClient", "PutResourcePolicyCommand")
|
|
14
|
+
.sc(PutResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -21,6 +21,7 @@ export * from "./DeleteFlowVersionCommand";
|
|
|
21
21
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
22
22
|
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
23
23
|
export * from "./DeletePromptCommand";
|
|
24
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
24
25
|
export * from "./DisassociateAgentCollaboratorCommand";
|
|
25
26
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
26
27
|
export * from "./GetAgentActionGroupCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./GetIngestionJobCommand";
|
|
|
37
38
|
export * from "./GetKnowledgeBaseCommand";
|
|
38
39
|
export * from "./GetKnowledgeBaseDocumentsCommand";
|
|
39
40
|
export * from "./GetPromptCommand";
|
|
41
|
+
export * from "./GetResourcePolicyCommand";
|
|
40
42
|
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
41
43
|
export * from "./ListAgentActionGroupsCommand";
|
|
42
44
|
export * from "./ListAgentAliasesCommand";
|
|
@@ -55,6 +57,7 @@ export * from "./ListPromptsCommand";
|
|
|
55
57
|
export * from "./ListTagsForResourceCommand";
|
|
56
58
|
export * from "./PrepareAgentCommand";
|
|
57
59
|
export * from "./PrepareFlowCommand";
|
|
60
|
+
export * from "./PutResourcePolicyCommand";
|
|
58
61
|
export * from "./StartIngestionJobCommand";
|
|
59
62
|
export * from "./StopIngestionJobCommand";
|
|
60
63
|
export * from "./TagResourceCommand";
|