iam-floyd 0.781.0 → 0.783.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.
@@ -91,6 +91,17 @@ export declare class BedrockAgentcore extends PolicyStatement {
91
91
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ConnectBrowserLiveViewStream.html
92
92
  */
93
93
  toConnectBrowserLiveViewStream(): this;
94
+ /**
95
+ * Grants permission to create an A/B test
96
+ *
97
+ * Access Level: Write
98
+ *
99
+ * Dependent actions:
100
+ * - iam:PassRole
101
+ *
102
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_CreateABTest.html
103
+ */
104
+ toCreateABTest(): this;
94
105
  /**
95
106
  * Grants permission to create a new agent runtime
96
107
  *
@@ -173,6 +184,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
173
184
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateCodeInterpreter.html
174
185
  */
175
186
  toCreateCodeInterpreter(): this;
187
+ /**
188
+ * Grants permission to create a new configuration bundle
189
+ *
190
+ * Access Level: Write
191
+ *
192
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateConfigurationBundle.html
193
+ */
194
+ toCreateConfigurationBundle(): this;
176
195
  /**
177
196
  * Grants permission to create a new evaluator
178
197
  *
@@ -213,6 +232,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
213
232
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateGateway.html
214
233
  */
215
234
  toCreateGateway(): this;
235
+ /**
236
+ * Grants permission to create a new rule in an existing gateway
237
+ *
238
+ * Access Level: Write
239
+ *
240
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateGatewayRule.html
241
+ */
242
+ toCreateGatewayRule(): this;
216
243
  /**
217
244
  * Grants permission to create a new target in an existing gateway
218
245
  *
@@ -326,6 +353,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
326
353
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateWorkloadIdentity.html
327
354
  */
328
355
  toCreateWorkloadIdentity(): this;
356
+ /**
357
+ * Grants permission to delete an A/B test
358
+ *
359
+ * Access Level: Write
360
+ *
361
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_DeleteABTest.html
362
+ */
363
+ toDeleteABTest(): this;
329
364
  /**
330
365
  * Grants permission to delete an agent runtime
331
366
  *
@@ -350,6 +385,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
350
385
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteApiKeyCredentialProvider.html
351
386
  */
352
387
  toDeleteApiKeyCredentialProvider(): this;
388
+ /**
389
+ * Grants permission to delete a batch evaluation
390
+ *
391
+ * Access Level: Write
392
+ *
393
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_DeleteBatchEvaluation.html
394
+ */
395
+ toDeleteBatchEvaluation(): this;
353
396
  /**
354
397
  * Grants permission to delete a custom browser
355
398
  *
@@ -374,6 +417,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
374
417
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteCodeInterpreter.html
375
418
  */
376
419
  toDeleteCodeInterpreter(): this;
420
+ /**
421
+ * Grants permission to delete a configuration bundle
422
+ *
423
+ * Access Level: Write
424
+ *
425
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteConfigurationBundle.html
426
+ */
427
+ toDeleteConfigurationBundle(): this;
377
428
  /**
378
429
  * Grants permission to delete an evaluator
379
430
  *
@@ -402,6 +453,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
402
453
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteGateway.html
403
454
  */
404
455
  toDeleteGateway(): this;
456
+ /**
457
+ * Grants permission to delete an existing gateway rule
458
+ *
459
+ * Access Level: Write
460
+ *
461
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteGatewayRule.html
462
+ */
463
+ toDeleteGatewayRule(): this;
405
464
  /**
406
465
  * Grants permission to delete an existing gateway target
407
466
  *
@@ -471,6 +530,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
471
530
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeletePolicyEngine.html
472
531
  */
473
532
  toDeletePolicyEngine(): this;
533
+ /**
534
+ * Grants permission to delete a recommendation
535
+ *
536
+ * Access Level: Write
537
+ *
538
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_DeleteRecommendation.html
539
+ */
540
+ toDeleteRecommendation(): this;
474
541
  /**
475
542
  * Grants permission to delete an existing registry
476
543
  *
@@ -511,6 +578,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
511
578
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_Evaluate.html
512
579
  */
513
580
  toEvaluate(): this;
581
+ /**
582
+ * Grants permission to get details of an A/B test
583
+ *
584
+ * Access Level: Read
585
+ *
586
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetABTest.html
587
+ */
588
+ toGetABTest(): this;
514
589
  /**
515
590
  * Grants permission to retrieve an agent card for A2A
516
591
  *
@@ -543,6 +618,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
543
618
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetApiKeyCredentialProvider.html
544
619
  */
545
620
  toGetApiKeyCredentialProvider(): this;
621
+ /**
622
+ * Grants permission to get details of a batch evaluation
623
+ *
624
+ * Access Level: Read
625
+ *
626
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBatchEvaluation.html
627
+ */
628
+ toGetBatchEvaluation(): this;
546
629
  /**
547
630
  * Grants permission to get details of a browser
548
631
  *
@@ -583,6 +666,22 @@ export declare class BedrockAgentcore extends PolicyStatement {
583
666
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html
584
667
  */
585
668
  toGetCodeInterpreterSession(): this;
669
+ /**
670
+ * Grants permission to get details of a configuration bundle
671
+ *
672
+ * Access Level: Read
673
+ *
674
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetConfigurationBundle.html
675
+ */
676
+ toGetConfigurationBundle(): this;
677
+ /**
678
+ * Grants permission to get a specific version of a configuration bundle
679
+ *
680
+ * Access Level: Read
681
+ *
682
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetConfigurationBundleVersion.html
683
+ */
684
+ toGetConfigurationBundleVersion(): this;
586
685
  /**
587
686
  * Grants permission to get details of an evaluator
588
687
  *
@@ -611,6 +710,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
611
710
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetGateway.html
612
711
  */
613
712
  toGetGateway(): this;
713
+ /**
714
+ * Grants permission to retrieve an existing gateway rule
715
+ *
716
+ * Access Level: Read
717
+ *
718
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetGatewayRule.html
719
+ */
720
+ toGetGatewayRule(): this;
614
721
  /**
615
722
  * Grants permission to retrieve an existing gateway target
616
723
  *
@@ -683,6 +790,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
683
790
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicyGeneration.html
684
791
  */
685
792
  toGetPolicyGeneration(): this;
793
+ /**
794
+ * Grants permission to get details of a recommendation
795
+ *
796
+ * Access Level: Read
797
+ *
798
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetRecommendation.html
799
+ */
800
+ toGetRecommendation(): this;
686
801
  /**
687
802
  * Grants permission to retrieve an existing registry
688
803
  *
@@ -848,6 +963,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
848
963
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/welcome.html
849
964
  */
850
965
  toInvokeRegistryMcp(): this;
966
+ /**
967
+ * Grants permission to list A/B tests
968
+ *
969
+ * Access Level: List
970
+ *
971
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListABTests.html
972
+ */
973
+ toListABTests(): this;
851
974
  /**
852
975
  * Grants permission to list Actors
853
976
  *
@@ -888,6 +1011,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
888
1011
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListApiKeyCredentialProviders.html
889
1012
  */
890
1013
  toListApiKeyCredentialProviders(): this;
1014
+ /**
1015
+ * Grants permission to list batch evaluations
1016
+ *
1017
+ * Access Level: List
1018
+ *
1019
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListBatchEvaluations.html
1020
+ */
1021
+ toListBatchEvaluations(): this;
891
1022
  /**
892
1023
  * Grants permission to list browser profiles
893
1024
  *
@@ -928,6 +1059,22 @@ export declare class BedrockAgentcore extends PolicyStatement {
928
1059
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListCodeInterpreters.html
929
1060
  */
930
1061
  toListCodeInterpreters(): this;
1062
+ /**
1063
+ * Grants permission to list versions of a configuration bundle
1064
+ *
1065
+ * Access Level: List
1066
+ *
1067
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListConfigurationBundleVersions.html
1068
+ */
1069
+ toListConfigurationBundleVersions(): this;
1070
+ /**
1071
+ * Grants permission to list configuration bundles
1072
+ *
1073
+ * Access Level: List
1074
+ *
1075
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListConfigurationBundles.html
1076
+ */
1077
+ toListConfigurationBundles(): this;
931
1078
  /**
932
1079
  * Grants permission to list evaluators
933
1080
  *
@@ -948,6 +1095,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
948
1095
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListEvents.html
949
1096
  */
950
1097
  toListEvents(): this;
1098
+ /**
1099
+ * Grants permission to list existing gateway rules
1100
+ *
1101
+ * Access Level: List
1102
+ *
1103
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListGatewayRules.html
1104
+ */
1105
+ toListGatewayRules(): this;
951
1106
  /**
952
1107
  * Grants permission to list existing gateway targets
953
1108
  *
@@ -1048,6 +1203,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
1048
1203
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerations.html
1049
1204
  */
1050
1205
  toListPolicyGenerations(): this;
1206
+ /**
1207
+ * Grants permission to list recommendations
1208
+ *
1209
+ * Access Level: List
1210
+ *
1211
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListRecommendations.html
1212
+ */
1213
+ toListRecommendations(): this;
1051
1214
  /**
1052
1215
  * Grants permission to list existing registries
1053
1216
  *
@@ -1159,6 +1322,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
1159
1322
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_SetTokenVaultCMK.html
1160
1323
  */
1161
1324
  toSetTokenVaultCMK(): this;
1325
+ /**
1326
+ * Grants permission to start a batch evaluation
1327
+ *
1328
+ * Access Level: Write
1329
+ *
1330
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBatchEvaluation.html
1331
+ */
1332
+ toStartBatchEvaluation(): this;
1162
1333
  /**
1163
1334
  * Grants permission to start a new browser session
1164
1335
  *
@@ -1196,6 +1367,22 @@ export declare class BedrockAgentcore extends PolicyStatement {
1196
1367
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html
1197
1368
  */
1198
1369
  toStartPolicyGeneration(): this;
1370
+ /**
1371
+ * Grants permission to start a recommendation
1372
+ *
1373
+ * Access Level: Write
1374
+ *
1375
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartRecommendation.html
1376
+ */
1377
+ toStartRecommendation(): this;
1378
+ /**
1379
+ * Grants permission to stop a batch evaluation
1380
+ *
1381
+ * Access Level: Write
1382
+ *
1383
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBatchEvaluation.html
1384
+ */
1385
+ toStopBatchEvaluation(): this;
1199
1386
  /**
1200
1387
  * Grants permission to stop a browser session
1201
1388
  *
@@ -1259,6 +1446,17 @@ export declare class BedrockAgentcore extends PolicyStatement {
1259
1446
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UntagResource.html
1260
1447
  */
1261
1448
  toUntagResource(): this;
1449
+ /**
1450
+ * Grants permission to update an A/B test
1451
+ *
1452
+ * Access Level: Write
1453
+ *
1454
+ * Dependent actions:
1455
+ * - iam:PassRole
1456
+ *
1457
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateABTest.html
1458
+ */
1459
+ toUpdateABTest(): this;
1262
1460
  /**
1263
1461
  * Grants permission to update an agent runtime
1264
1462
  *
@@ -1299,6 +1497,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
1299
1497
  * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateBrowserStream.html
1300
1498
  */
1301
1499
  toUpdateBrowserStream(): this;
1500
+ /**
1501
+ * Grants permission to update a configuration bundle
1502
+ *
1503
+ * Access Level: Write
1504
+ *
1505
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateConfigurationBundle.html
1506
+ */
1507
+ toUpdateConfigurationBundle(): this;
1302
1508
  /**
1303
1509
  * Grants permission to update an evaluator
1304
1510
  *
@@ -1318,6 +1524,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
1318
1524
  * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGateway.html
1319
1525
  */
1320
1526
  toUpdateGateway(): this;
1527
+ /**
1528
+ * Grants permission to update an existing gateway rule
1529
+ *
1530
+ * Access Level: Write
1531
+ *
1532
+ * https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGatewayRule.html
1533
+ */
1534
+ toUpdateGatewayRule(): this;
1321
1535
  /**
1322
1536
  * Grants permission to update an existing gateway target
1323
1537
  *
@@ -1710,6 +1924,50 @@ export declare class BedrockAgentcore extends PolicyStatement {
1710
1924
  * - .ifAwsResourceTag()
1711
1925
  */
1712
1926
  onHarness(harnessId: string, account?: string, region?: string, partition?: string): this;
1927
+ /**
1928
+ * Adds a resource of type batch-evaluate to the statement
1929
+ *
1930
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/batchEvaluation.html
1931
+ *
1932
+ * @param batchEvaluationId - Identifier for the batchEvaluationId.
1933
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1934
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1935
+ * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
1936
+ */
1937
+ onBatchEvaluate(batchEvaluationId: string, account?: string, region?: string, partition?: string): this;
1938
+ /**
1939
+ * Adds a resource of type ab-test to the statement
1940
+ *
1941
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/abTest.html
1942
+ *
1943
+ * @param aBTestId - Identifier for the aBTestId.
1944
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1945
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1946
+ * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
1947
+ */
1948
+ onAbTest(aBTestId: string, account?: string, region?: string, partition?: string): this;
1949
+ /**
1950
+ * Adds a resource of type recommendation to the statement
1951
+ *
1952
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/recommendation.html
1953
+ *
1954
+ * @param recommendationId - Identifier for the recommendationId.
1955
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1956
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1957
+ * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
1958
+ */
1959
+ onRecommendation(recommendationId: string, account?: string, region?: string, partition?: string): this;
1960
+ /**
1961
+ * Adds a resource of type configuration-bundle to the statement
1962
+ *
1963
+ * https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/configurationBundle.html
1964
+ *
1965
+ * @param configurationBundleId - Identifier for the configurationBundleId.
1966
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1967
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1968
+ * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
1969
+ */
1970
+ onConfigurationBundle(configurationBundleId: string, account?: string, region?: string, partition?: string): this;
1713
1971
  /**
1714
1972
  * Filters access by creating requests based on the allowed set of values for each of the mandatory tags
1715
1973
  *