iam-floyd 0.680.0 → 0.682.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 CHANGED
@@ -17,9 +17,9 @@
17
17
  Support for:
18
18
 
19
19
  - 419 Services
20
- - 18398 Actions
21
- - 1972 Resource Types
22
- - 1929 Condition keys
20
+ - 18403 Actions
21
+ - 1973 Resource Types
22
+ - 1931 Condition keys
23
23
  <!-- /stats -->
24
24
 
25
25
  ![EXPERIMENTAL](https://img.shields.io/badge/stability-experimantal-orange?style=for-the-badge)**<br>This is an early version of the package. The API will change while I implement new features. Therefore make sure you use an exact version in your `package.json` before it reaches 1.0.0.**
@@ -314,6 +314,18 @@ export declare class Bedrock extends PolicyStatement {
314
314
  * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreatePrompt.html
315
315
  */
316
316
  toCreatePrompt(): this;
317
+ /**
318
+ * Grants permission to create a custom prompt router
319
+ *
320
+ * Access Level: Write
321
+ *
322
+ * Possible conditions:
323
+ * - .ifAwsRequestTag()
324
+ * - .ifAwsTagKeys()
325
+ *
326
+ * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreatePromptRouter.html
327
+ */
328
+ toCreatePromptRouter(): this;
317
329
  /**
318
330
  * Grants permission to create a version of a prompt
319
331
  *
@@ -524,6 +536,14 @@ export declare class Bedrock extends PolicyStatement {
524
536
  * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeletePrompt.html
525
537
  */
526
538
  toDeletePrompt(): this;
539
+ /**
540
+ * Grants permission to delete a custom prompt router
541
+ *
542
+ * Access Level: Write
543
+ *
544
+ * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeletePromptRouter.html
545
+ */
546
+ toDeletePromptRouter(): this;
527
547
  /**
528
548
  * Grants permission to delete a provisioned model throughput that you created earlier
529
549
  *
@@ -1632,6 +1652,17 @@ export declare class Bedrock extends PolicyStatement {
1632
1652
  * @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.
1633
1653
  */
1634
1654
  onDefaultPromptRouter(resourceId: string, account?: string, region?: string, partition?: string): this;
1655
+ /**
1656
+ * Adds a resource of type prompt-router to the statement
1657
+ *
1658
+ * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html
1659
+ *
1660
+ * @param resourceId - Identifier for the resourceId.
1661
+ * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
1662
+ * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
1663
+ * @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.
1664
+ */
1665
+ onPromptRouter(resourceId: string, account?: string, region?: string, partition?: string): this;
1635
1666
  /**
1636
1667
  * Adds a resource of type application-inference-profile to the statement
1637
1668
  *
@@ -1976,6 +2007,7 @@ export declare class Bedrock extends PolicyStatement {
1976
2007
  * - .toCreateModelImportJob()
1977
2008
  * - .toCreateModelInvocationJob()
1978
2009
  * - .toCreatePrompt()
2010
+ * - .toCreatePromptRouter()
1979
2011
  * - .toCreatePromptVersion()
1980
2012
  * - .toCreateProvisionedModelThroughput()
1981
2013
  * - .toCreateSession()
@@ -2041,6 +2073,7 @@ export declare class Bedrock extends PolicyStatement {
2041
2073
  * - .toCreateModelImportJob()
2042
2074
  * - .toCreateModelInvocationJob()
2043
2075
  * - .toCreatePrompt()
2076
+ * - .toCreatePromptRouter()
2044
2077
  * - .toCreatePromptVersion()
2045
2078
  * - .toCreateProvisionedModelThroughput()
2046
2079
  * - .toCreateSession()