aws-iam-data 0.0.283 → 0.0.285

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
@@ -3,7 +3,12 @@ This repository provides AWS IAM data gathered from the official [AWS IAM docs](
3
3
 
4
4
  The package also includes the [TypeScript interface definitions](src/awsIamData.d.ts).
5
5
 
6
- ## Usage
6
+ ## Interactively query the dataset
7
+ You can query the dataset with [sql-workbench.com](https://www.sql-workbench.com/) by clicking on the link below:
8
+
9
+ [AWS IAM Data on SQL Workbench](https://sql-workbench.com/#queries=v0,ATTACH-'https%3A%2F%2Fraw.githubusercontent.com%2Ftobilg%2Faws%20iam%20data%2Fmain%2Fdata%2Fdb%2Fiam.duckdb'-as-aws_iam-(READ_ONLY)~,SELECT-s.name%2C-count(distinct-a.action_id)%3A%3Aint-AS-action_cnt-FROM-aws_iam.services-s-INNER-JOIN-aws_iam.actions-a-ON-a.service_id-%3D-s.service_id-GROUP-BY-ALL-ORDER-BY-action_cnt-DESC~)
10
+
11
+ ## Library usage
7
12
  You can install [aws-iam-data](https://www.npmjs.com/package/aws-iam-data) as a dependecy to your Node/TypeScript project via
8
13
 
9
14
  ```bash
@@ -38,11 +43,11 @@ The CI pipeline will check for AWS IAM docs updates everyday at 4AM UTC, and aut
38
43
 
39
44
 
40
45
  ## Data exports
41
- The JSON-based data gets automatically exported as CSV and Parquet files as well. Please look in the respective directories:
46
+ The JSON-based data gets automatically exported as CSV and Parquet files, as well as a DuckDB database. Please look in the respective directories:
42
47
 
43
48
  * [data/csv/](data/csv/)
44
49
  * [data/parquet/](data/parquet/)
45
-
50
+ * [data/db/](data/db/)
46
51
  ## Entity Relationship Diagram
47
52
  The ERD of the exported data tables looks like this:
48
53
  ![ERD](docs/erd.png)
@@ -1,4 +1,34 @@
1
1
  [
2
+ {
3
+ "dateOfChange": "2024-10-17",
4
+ "addedServices": [],
5
+ "removedServices": [],
6
+ "addedActions": {
7
+ "Amazon QuickSight": [
8
+ "quicksight:StartDashboardSnapshotJobSchedule"
9
+ ]
10
+ },
11
+ "removedActions": {}
12
+ },
13
+ {
14
+ "dateOfChange": "2024-10-16",
15
+ "addedServices": [],
16
+ "removedServices": [],
17
+ "addedActions": {
18
+ "AWS Elemental MediaConnect": [
19
+ "mediaconnect:DescribeFlowSourceThumbnail"
20
+ ]
21
+ },
22
+ "removedActions": {
23
+ "AWS Lambda": [
24
+ "lambda:DeleteResourcePolicy",
25
+ "lambda:GetPublicAccessBlockConfig",
26
+ "lambda:GetResourcePolicy",
27
+ "lambda:PutPublicAccessBlockConfig",
28
+ "lambda:PutResourcePolicy"
29
+ ]
30
+ }
31
+ },
2
32
  {
3
33
  "dateOfChange": "2024-10-12",
4
34
  "addedServices": [
@@ -41175,7 +41175,7 @@
41175
41175
  "name": "UpdateLinkAttributes",
41176
41176
  "apiReferenceUrl": "https://docs.aws.amazon.com/directoryservice/latest/APIReference/API_UpdateLinkAttributes.html",
41177
41177
  "permissionOnly": false,
41178
- "description": "Grants permission to update a given typed links attributes. Attributes to be updated must not contribute to the typed links identity, as defined by its IdentityAttributeOrder",
41178
+ "description": "Grants permission to update a given typed link's attributes. Attributes to be updated must not contribute to the typed link's identity, as defined by its IdentityAttributeOrder",
41179
41179
  "accessLevel": "Write",
41180
41180
  "resourceTypes": [
41181
41181
  {
@@ -146149,6 +146149,21 @@
146149
146149
  }
146150
146150
  ]
146151
146151
  },
146152
+ {
146153
+ "name": "DescribeFlowSourceThumbnail",
146154
+ "apiReferenceUrl": "https://docs.aws.amazon.com/mediaconnect/latest/api/v1-flows-flowarn-source-thumbnail.html",
146155
+ "permissionOnly": false,
146156
+ "description": "Grants permission to view flow's source thumbnail",
146157
+ "accessLevel": "Read",
146158
+ "resourceTypes": [
146159
+ {
146160
+ "resourceType": "",
146161
+ "required": false,
146162
+ "conditionKeys": [],
146163
+ "dependentActions": []
146164
+ }
146165
+ ]
146166
+ },
146152
146167
  {
146153
146168
  "name": "DescribeGateway",
146154
146169
  "apiReferenceUrl": "https://docs.aws.amazon.com/mediaconnect/latest/api/v1-gateways-gatewayarn.html",
@@ -216864,23 +216879,6 @@
216864
216879
  }
216865
216880
  ]
216866
216881
  },
216867
- {
216868
- "name": "DeleteResourcePolicy",
216869
- "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteResourcePolicy.html",
216870
- "permissionOnly": false,
216871
- "description": "Grants permission to delete the resource-based policy for an AWS Lambda function, version, or alias",
216872
- "accessLevel": "Permissions management",
216873
- "resourceTypes": [
216874
- {
216875
- "resourceType": "function",
216876
- "required": true,
216877
- "conditionKeys": [],
216878
- "dependentActions": [
216879
- "lambda:RemovePermission"
216880
- ]
216881
- }
216882
- ]
216883
- },
216884
216882
  {
216885
216883
  "name": "DisableReplication",
216886
216884
  "apiReferenceUrl": "https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-permissions.html",
@@ -217159,38 +217157,6 @@
217159
217157
  }
217160
217158
  ]
217161
217159
  },
217162
- {
217163
- "name": "GetPublicAccessBlockConfig",
217164
- "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_GetPublicAccessBlockConfig.html",
217165
- "permissionOnly": false,
217166
- "description": "Grants permission to view the PublicAccessBlockConfig of an AWS Lambda function",
217167
- "accessLevel": "Read",
217168
- "resourceTypes": [
217169
- {
217170
- "resourceType": "function",
217171
- "required": true,
217172
- "conditionKeys": [],
217173
- "dependentActions": []
217174
- }
217175
- ]
217176
- },
217177
- {
217178
- "name": "GetResourcePolicy",
217179
- "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_GetResourcePolicy.html",
217180
- "permissionOnly": false,
217181
- "description": "Grants permission to view the resource-based policy for an AWS Lambda function, version, or alias",
217182
- "accessLevel": "Read",
217183
- "resourceTypes": [
217184
- {
217185
- "resourceType": "function",
217186
- "required": true,
217187
- "conditionKeys": [],
217188
- "dependentActions": [
217189
- "lambda:GetPolicy"
217190
- ]
217191
- }
217192
- ]
217193
- },
217194
217160
  {
217195
217161
  "name": "GetRuntimeManagementConfig",
217196
217162
  "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_GetRuntimeManagementConfig.html",
@@ -217594,39 +217560,6 @@
217594
217560
  }
217595
217561
  ]
217596
217562
  },
217597
- {
217598
- "name": "PutPublicAccessBlockConfig",
217599
- "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_PutPublicAccessBlockConfig.html",
217600
- "permissionOnly": false,
217601
- "description": "Grants permission to update the PublicAccessBlockConfig of an AWS Lambda function",
217602
- "accessLevel": "Permissions management",
217603
- "resourceTypes": [
217604
- {
217605
- "resourceType": "function",
217606
- "required": true,
217607
- "conditionKeys": [],
217608
- "dependentActions": []
217609
- }
217610
- ]
217611
- },
217612
- {
217613
- "name": "PutResourcePolicy",
217614
- "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_PutResourcePolicy.html",
217615
- "permissionOnly": false,
217616
- "description": "Grants permission to update the resource-based policy for an AWS Lambda function, version, or alias",
217617
- "accessLevel": "Permissions management",
217618
- "resourceTypes": [
217619
- {
217620
- "resourceType": "function",
217621
- "required": true,
217622
- "conditionKeys": [],
217623
- "dependentActions": [
217624
- "lambda:AddPermission",
217625
- "lambda:RemovePermission"
217626
- ]
217627
- }
217628
- ]
217629
- },
217630
217563
  {
217631
217564
  "name": "PutRuntimeManagementConfig",
217632
217565
  "apiReferenceUrl": "https://docs.aws.amazon.com/lambda/latest/dg/API_PutRuntimeManagementConfig.html",
@@ -276262,6 +276195,21 @@
276262
276195
  }
276263
276196
  ]
276264
276197
  },
276198
+ {
276199
+ "name": "StartDashboardSnapshotJobSchedule",
276200
+ "apiReferenceUrl": "https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StartDashboardSnapshotJobSchedule.html",
276201
+ "permissionOnly": false,
276202
+ "description": "Grants permission to start a dashboard snapshot job schedule",
276203
+ "accessLevel": "Write",
276204
+ "resourceTypes": [
276205
+ {
276206
+ "resourceType": "",
276207
+ "required": false,
276208
+ "conditionKeys": [],
276209
+ "dependentActions": []
276210
+ }
276211
+ ]
276212
+ },
276265
276213
  {
276266
276214
  "name": "Subscribe",
276267
276215
  "apiReferenceUrl": "https://docs.aws.amazon.com/quicksight/latest/user/iam-actions.html",
@@ -10096,7 +10096,7 @@
10096
10096
  "name": "AWS Elemental MediaConnect",
10097
10097
  "servicePrefix": "mediaconnect",
10098
10098
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmediaconnect.html",
10099
- "actionsCount": 54,
10099
+ "actionsCount": 55,
10100
10100
  "actions": [
10101
10101
  "AddBridgeOutputs",
10102
10102
  "AddBridgeSources",
@@ -10114,6 +10114,7 @@
10114
10114
  "DescribeBridge",
10115
10115
  "DescribeFlow",
10116
10116
  "DescribeFlowSourceMetadata",
10117
+ "DescribeFlowSourceThumbnail",
10117
10118
  "DescribeGateway",
10118
10119
  "DescribeGatewayInstance",
10119
10120
  "DescribeOffering",
@@ -15460,7 +15461,7 @@
15460
15461
  "name": "AWS Lambda",
15461
15462
  "servicePrefix": "lambda",
15462
15463
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awslambda.html",
15463
- "actionsCount": 75,
15464
+ "actionsCount": 70,
15464
15465
  "actions": [
15465
15466
  "AddLayerVersionPermission",
15466
15467
  "AddPermission",
@@ -15479,7 +15480,6 @@
15479
15480
  "DeleteFunctionUrlConfig",
15480
15481
  "DeleteLayerVersion",
15481
15482
  "DeleteProvisionedConcurrencyConfig",
15482
- "DeleteResourcePolicy",
15483
15483
  "DisableReplication",
15484
15484
  "EnableReplication",
15485
15485
  "GetAccountSettings",
@@ -15497,8 +15497,6 @@
15497
15497
  "GetLayerVersionPolicy",
15498
15498
  "GetPolicy",
15499
15499
  "GetProvisionedConcurrencyConfig",
15500
- "GetPublicAccessBlockConfig",
15501
- "GetResourcePolicy",
15502
15500
  "GetRuntimeManagementConfig",
15503
15501
  "InvokeAsync",
15504
15502
  "InvokeFunction",
@@ -15522,8 +15520,6 @@
15522
15520
  "PutFunctionEventInvokeConfig",
15523
15521
  "PutFunctionRecursionConfig",
15524
15522
  "PutProvisionedConcurrencyConfig",
15525
- "PutPublicAccessBlockConfig",
15526
- "PutResourcePolicy",
15527
15523
  "PutRuntimeManagementConfig",
15528
15524
  "RemoveLayerVersionPermission",
15529
15525
  "RemovePermission",
@@ -20021,7 +20017,7 @@
20021
20017
  "name": "Amazon QuickSight",
20022
20018
  "servicePrefix": "quicksight",
20023
20019
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonquicksight.html",
20024
- "actionsCount": 206,
20020
+ "actionsCount": 207,
20025
20021
  "actions": [
20026
20022
  "AccountConfigurations",
20027
20023
  "BatchCreateTopicReviewedAnswer",
@@ -20187,6 +20183,7 @@
20187
20183
  "StartAssetBundleExportJob",
20188
20184
  "StartAssetBundleImportJob",
20189
20185
  "StartDashboardSnapshotJob",
20186
+ "StartDashboardSnapshotJobSchedule",
20190
20187
  "Subscribe",
20191
20188
  "TagResource",
20192
20189
  "Unsubscribe",
@@ -1,12 +1,8 @@
1
1
  {
2
2
  "Actions by type": [
3
- {
4
- "key": "Write Actions",
5
- "value": 9606
6
- },
7
3
  {
8
4
  "key": "Read Actions",
9
- "value": 4663
5
+ "value": 4662
10
6
  },
11
7
  {
12
8
  "key": "List Actions",
@@ -14,7 +10,11 @@
14
10
  },
15
11
  {
16
12
  "key": "Permissions Actions",
17
- "value": 299
13
+ "value": 296
14
+ },
15
+ {
16
+ "key": "Write Actions",
17
+ "value": 9607
18
18
  }
19
19
  ],
20
20
  "Longest action names": [
@@ -254,7 +254,7 @@
254
254
  },
255
255
  {
256
256
  "key": "Amazon QuickSight",
257
- "value": 206
257
+ "value": 207
258
258
  },
259
259
  {
260
260
  "key": "AWS Identity and Access Management (IAM)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-iam-data",
3
- "version": "0.0.283",
3
+ "version": "0.0.285",
4
4
  "description": "Provides AWS IAM data gathered from the official AWS IAM docs as a convenient npm package that can be used in other OSS projects.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",