Skip to content

Commit 486fe7c

Browse files
authored
Merge pull request #2081 from udondan/iam-updates
2 parents d728045 + d930e4f commit 486fe7c

19 files changed

Lines changed: 261 additions & 133 deletions

File tree

CHANGELOG/v0.785.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
:warning: **Removed services:**
2+
3+
- aws-mcp
4+
5+
:warning: **Removed actions:**
6+
7+
- aws-mcp:CallReadOnlyTool
8+
- aws-mcp:CallReadWriteTool
9+
- aws-mcp:InvokeMcp
10+
11+
**New services:**
12+
13+
- researchstudio
14+
15+
**New actions:**
16+
17+
- access-analyzer:CreateServiceLinkedAnalyzer
18+
- access-analyzer:DeleteServiceLinkedAnalyzer
19+
- aidevops:DescribeServices
20+
- wisdom:ListModels
21+
- wisdom:ListSpans

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Support for:
1717

1818
- 449 Services
19-
- 20747 Actions
19+
- 20755 Actions
2020
- 2209 Resource Types
2121
- 2337 Condition keys
2222
<!-- /stats -->

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.784.0
1+
0.785.0

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
author = 'Daniel Schroeder'
2525

2626
# The full version, including alpha/beta/rc tags
27-
release = '0.784.0'
27+
release = '0.785.0'
2828

2929
# -- General configuration ---------------------------------------------------
3030

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AWS IAM policy statement generator with fluent interface.
3131
Support for:
3232

3333
- 449 Services
34-
- 20747 Actions
34+
- 20755 Actions
3535
- 2209 Resource Types
3636
- 2337 Condition keys
3737

lib/generated/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export { Dsql } from './policy-statements/auroradsql';
1313
export { Bedrock } from './policy-statements/bedrock';
1414
export { BedrockAgentcore } from './policy-statements/bedrockagentcore';
1515
export { BedrockMantle } from './policy-statements/bedrockpoweredbyawsmantle';
16+
export { Researchstudio } from './policy-statements/biodiscovery';
1617
export { Braket } from './policy-statements/braket';
1718
export { Chime } from './policy-statements/chime';
1819
export { Clouddirectory } from './policy-statements/clouddirectory';
@@ -370,7 +371,6 @@ export { AwsMarketplaceProcurementSystemsIntegration } from './policy-statements
370371
export { AwsMarketplaceReporting } from './policy-statements/marketplacereporting';
371372
export { AwsMarketplaceSellerReporting } from './policy-statements/marketplacesellerreporting';
372373
export { VendorInsights } from './policy-statements/marketplacevendorinsights';
373-
export { AwsMcp } from './policy-statements/mcpserver';
374374
export { Serviceextract } from './policy-statements/microserviceextractorfor-net';
375375
export { Mapcredits } from './policy-statements/migrationaccelerationprogramcredits';
376376
export { Mgh } from './policy-statements/migrationhub';
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
import { AccessLevelList } from '../../shared/access-level';
2+
import { PolicyStatement } from '../../shared';
3+
4+
/**
5+
* Statement provider for service [researchstudio](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbiodiscovery.html).
6+
*
7+
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
8+
*/
9+
export class Researchstudio extends PolicyStatement {
10+
public servicePrefix = 'researchstudio';
11+
12+
/**
13+
* Statement provider for service [researchstudio](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbiodiscovery.html).
14+
*
15+
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
16+
*/
17+
constructor(sid?: string) {
18+
super(sid);
19+
}
20+
21+
/**
22+
* Grants permission to assign princiapl
23+
*
24+
* Access Level: Write
25+
*/
26+
public toAssignPrincipal() {
27+
return this.to('AssignPrincipal');
28+
}
29+
30+
/**
31+
* Grants permission to create application
32+
*
33+
* Access Level: Write
34+
*/
35+
public toCreateApplication() {
36+
return this.to('CreateApplication');
37+
}
38+
39+
/**
40+
* Grants permission to delete application
41+
*
42+
* Access Level: Write
43+
*/
44+
public toDeleteApplication() {
45+
return this.to('DeleteApplication');
46+
}
47+
48+
/**
49+
* Grants permission to delete principal
50+
*
51+
* Access Level: Write
52+
*/
53+
public toDeletePrincipal() {
54+
return this.to('DeletePrincipal');
55+
}
56+
57+
/**
58+
* Grants permission to get application
59+
*
60+
* Access Level: Read
61+
*/
62+
public toGetApplication() {
63+
return this.to('GetApplication');
64+
}
65+
66+
/**
67+
* Grants permission to list applications
68+
*
69+
* Access Level: List
70+
*/
71+
public toListApplications() {
72+
return this.to('ListApplications');
73+
}
74+
75+
protected accessLevelList: AccessLevelList = {
76+
Write: [
77+
'AssignPrincipal',
78+
'CreateApplication',
79+
'DeleteApplication',
80+
'DeletePrincipal'
81+
],
82+
Read: [
83+
'GetApplication'
84+
],
85+
List: [
86+
'ListApplications'
87+
]
88+
};
89+
}

0 commit comments

Comments
 (0)