aws-iam-data 0.0.9 → 0.0.11

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "serviceCount": 376,
2
+ "serviceCount": 377,
3
3
  "services": [
4
4
  {
5
5
  "name": "AWS Account Management",
@@ -1260,9 +1260,11 @@
1260
1260
  "name": "AWS AppSync",
1261
1261
  "servicePrefix": "appsync",
1262
1262
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsappsync.html",
1263
- "actionsCount": 53,
1263
+ "actionsCount": 66,
1264
1264
  "actions": [
1265
1265
  "AssociateApi",
1266
+ "AssociateMergedGraphqlApi",
1267
+ "AssociateSourceGraphqlApi",
1266
1268
  "CreateApiCache",
1267
1269
  "CreateApiKey",
1268
1270
  "CreateDataSource",
@@ -1278,8 +1280,11 @@
1278
1280
  "DeleteFunction",
1279
1281
  "DeleteGraphqlApi",
1280
1282
  "DeleteResolver",
1283
+ "DeleteResourcePolicy",
1281
1284
  "DeleteType",
1282
1285
  "DisassociateApi",
1286
+ "DisassociateMergedGraphqlApi",
1287
+ "DisassociateSourceGraphqlApi",
1283
1288
  "EvaluateCode",
1284
1289
  "EvaluateMappingTemplate",
1285
1290
  "FlushApiCache",
@@ -1291,7 +1296,9 @@
1291
1296
  "GetGraphqlApi",
1292
1297
  "GetIntrospectionSchema",
1293
1298
  "GetResolver",
1299
+ "GetResourcePolicy",
1294
1300
  "GetSchemaCreationStatus",
1301
+ "GetSourceApiAssociation",
1295
1302
  "GetType",
1296
1303
  "GraphQL",
1297
1304
  "ListApiKeys",
@@ -1301,10 +1308,15 @@
1301
1308
  "ListGraphqlApis",
1302
1309
  "ListResolvers",
1303
1310
  "ListResolversByFunction",
1311
+ "ListSourceApiAssociations",
1304
1312
  "ListTagsForResource",
1305
1313
  "ListTypes",
1314
+ "ListTypesByAssociation",
1315
+ "PutResourcePolicy",
1306
1316
  "SetWebACL",
1317
+ "SourceGraphQL",
1307
1318
  "StartSchemaCreation",
1319
+ "StartSchemaMerge",
1308
1320
  "TagResource",
1309
1321
  "UntagResource",
1310
1322
  "UpdateApiCache",
@@ -1314,16 +1326,19 @@
1314
1326
  "UpdateFunction",
1315
1327
  "UpdateGraphqlApi",
1316
1328
  "UpdateResolver",
1329
+ "UpdateSourceApiAssociation",
1317
1330
  "UpdateType"
1318
1331
  ],
1319
- "resourceTypesCount": 6,
1332
+ "resourceTypesCount": 8,
1320
1333
  "resourceTypes": [
1321
1334
  "datasource",
1322
1335
  "domain",
1323
1336
  "graphqlapi",
1324
1337
  "field",
1325
1338
  "type",
1326
- "function"
1339
+ "function",
1340
+ "sourceApiAssociation",
1341
+ "mergedApiAssociation"
1327
1342
  ],
1328
1343
  "conditionKeysCount": 4,
1329
1344
  "conditionKeys": [
@@ -3920,12 +3935,13 @@
3920
3935
  "name": "Amazon CodeGuru Security",
3921
3936
  "servicePrefix": "codeguru-security",
3922
3937
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncodegurusecurity.html",
3923
- "actionsCount": 9,
3938
+ "actionsCount": 10,
3924
3939
  "actions": [
3925
3940
  "BatchGetFindings",
3926
3941
  "CreateScan",
3927
3942
  "CreateUploadUrl",
3928
3943
  "DeleteScansByCategory",
3944
+ "GetAccountConfiguration",
3929
3945
  "GetFindings",
3930
3946
  "GetScan",
3931
3947
  "ListFindings",
@@ -8683,6 +8699,55 @@
8683
8699
  "aws:TagKeys"
8684
8700
  ]
8685
8701
  },
8702
+ {
8703
+ "name": "AWS Elemental MediaPackage V2",
8704
+ "servicePrefix": "mediapackagev2",
8705
+ "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmediapackagev2.html",
8706
+ "actionsCount": 27,
8707
+ "actions": [
8708
+ "CreateChannel",
8709
+ "CreateChannelGroup",
8710
+ "CreateOriginEndpoint",
8711
+ "DeleteChannel",
8712
+ "DeleteChannelGroup",
8713
+ "DeleteChannelPolicy",
8714
+ "DeleteOriginEndpoint",
8715
+ "DeleteOriginEndpointPolicy",
8716
+ "GetChannel",
8717
+ "GetChannelGroup",
8718
+ "GetChannelPolicy",
8719
+ "GetHeadObject",
8720
+ "GetObject",
8721
+ "GetOriginEndpoint",
8722
+ "GetOriginEndpointPolicy",
8723
+ "ListChannelGroups",
8724
+ "ListChannels",
8725
+ "ListOriginEndpoints",
8726
+ "ListTagsForResource",
8727
+ "PutChannelPolicy",
8728
+ "PutObject",
8729
+ "PutOriginEndpointPolicy",
8730
+ "TagResource",
8731
+ "UntagResource",
8732
+ "UpdateChannel",
8733
+ "UpdateChannelGroup",
8734
+ "UpdateOriginEndpoint"
8735
+ ],
8736
+ "resourceTypesCount": 5,
8737
+ "resourceTypes": [
8738
+ "ChannelGroup",
8739
+ "ChannelPolicy",
8740
+ "Channel",
8741
+ "OriginEndpointPolicy",
8742
+ "OriginEndpoint"
8743
+ ],
8744
+ "conditionKeysCount": 3,
8745
+ "conditionKeys": [
8746
+ "aws:RequestTag/${TagKey}",
8747
+ "aws:ResourceTag/${TagKey}",
8748
+ "aws:TagKeys"
8749
+ ]
8750
+ },
8686
8751
  {
8687
8752
  "name": "AWS Elemental MediaPackage VOD",
8688
8753
  "servicePrefix": "mediapackage-vod",
@@ -10961,7 +11026,7 @@
10961
11026
  "name": "AWS Identity and Access Management Roles Anywhere",
10962
11027
  "servicePrefix": "rolesanywhere",
10963
11028
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsidentityandaccessmanagementrolesanywhere.html",
10964
- "actionsCount": 26,
11029
+ "actionsCount": 28,
10965
11030
  "actions": [
10966
11031
  "CreateProfile",
10967
11032
  "CreateTrustAnchor",
@@ -10984,6 +11049,8 @@
10984
11049
  "ListSubjects",
10985
11050
  "ListTagsForResource",
10986
11051
  "ListTrustAnchors",
11052
+ "PutNotificationSettings",
11053
+ "ResetNotificationSettings",
10987
11054
  "TagResource",
10988
11055
  "UntagResource",
10989
11056
  "UpdateCrl",
@@ -21522,7 +21589,7 @@
21522
21589
  "name": "Amazon Translate",
21523
21590
  "servicePrefix": "translate",
21524
21591
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazontranslate.html",
21525
- "actionsCount": 18,
21592
+ "actionsCount": 19,
21526
21593
  "actions": [
21527
21594
  "CreateParallelData",
21528
21595
  "DeleteParallelData",
@@ -21539,6 +21606,7 @@
21539
21606
  "StartTextTranslationJob",
21540
21607
  "StopTextTranslationJob",
21541
21608
  "TagResource",
21609
+ "TranslateDocument",
21542
21610
  "TranslateText",
21543
21611
  "UntagResource",
21544
21612
  "UpdateParallelData"
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aws-iam-data",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
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": "./src/index.js",
6
6
  "types": "./src/awsIamData.d.ts",
7
7
  "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1",
9
- "gather-data": "ts-node --transpile-only --log-error process/gatherData.ts"
8
+ "gather-data": "ts-node --transpile-only --log-error process/gatherData.ts",
9
+ "update-changelog": "ts-node --transpile-only --log-error process/createChangelog.ts"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
@@ -1,62 +1,76 @@
1
1
  export interface AWSIamData extends Array<ServiceAuthReference>{}
2
2
 
3
3
  export interface ServiceAuthReference {
4
- name: string;
5
- servicePrefix: string;
6
- authReferenceUrl?: string;
7
- actions: Action[];
8
- resourceTypes: ResourceType[];
9
- conditionKeys: ConditionKey[];
10
- }
11
-
12
- export interface AWSIamMetadata {
13
- serviceCount: number;
14
- services: ServiceAuthMetadata[];
15
- }
16
-
17
- export interface ServiceAuthMetadata {
18
- name: string;
19
- servicePrefix: string;
20
- authReferenceUrl?: string;
21
- actionsCount: number;
22
- actions: string[];
23
- resourceTypesCount: number;
24
- resourceTypes: string[];
25
- conditionKeysCount: number;
26
- conditionKeys: string[];
27
- }
28
-
29
- export interface Topic {
30
- name: string;
31
- authReferenceUrl: string;
32
- }
33
-
34
- export interface ResourceType {
35
- name: string;
36
- apiReferenceUrl?: string;
37
- arnPattern: string;
38
- conditionKeys: string[];
39
- }
40
-
41
- export interface ActionResourceType {
42
- resourceType?: string;
43
- required?: boolean;
44
- conditionKeys?: string[];
45
- dependentActions?: string[];
4
+ name: string;
5
+ servicePrefix: string;
6
+ authReferenceUrl?: string;
7
+ actions: Action[];
8
+ resourceTypes: ResourceType[];
9
+ conditionKeys: ConditionKey[];
10
+ }
11
+
12
+ export interface AWSIamMetadata {
13
+ serviceCount: number;
14
+ services: ServiceAuthMetadata[];
15
+ }
16
+
17
+ export interface ServiceAuthMetadata {
18
+ name: string;
19
+ servicePrefix: string;
20
+ authReferenceUrl?: string;
21
+ actionsCount: number;
22
+ actions: string[];
23
+ resourceTypesCount: number;
24
+ resourceTypes: string[];
25
+ conditionKeysCount: number;
26
+ conditionKeys: string[];
27
+ }
28
+
29
+ export interface Topic {
30
+ name: string;
31
+ authReferenceUrl: string;
32
+ }
33
+
34
+ export interface ResourceType {
35
+ name: string;
36
+ apiReferenceUrl?: string;
37
+ arnPattern: string;
38
+ conditionKeys: string[];
39
+ }
40
+
41
+ export interface ActionResourceType {
42
+ resourceType?: string;
43
+ required?: boolean;
44
+ conditionKeys?: string[];
45
+ dependentActions?: string[];
46
+ }
47
+
48
+ export interface Action {
49
+ name: string;
50
+ permissionOnly?: boolean;
51
+ apiReferenceUrl?: string;
52
+ description?: string;
53
+ accessLevel?: string;
54
+ resourceTypes?: ActionResourceType[];
55
+ }
56
+
57
+ export interface ConditionKey {
58
+ name: string;
59
+ apiReferenceUrl?: string;
60
+ description: string;
61
+ type: string;
62
+ }
63
+
64
+ export interface Changelog extends Array<ChangelogEntry>{}
65
+
66
+ export interface ChangelogEntry {
67
+ dateOfChange: string;
68
+ addedServices: string[];
69
+ removedServices: string[];
70
+ addedActions: {
71
+ [key: string]: string[];
46
72
  }
47
-
48
- export interface Action {
49
- name?: string;
50
- permissionOnly?: boolean;
51
- apiReferenceUrl?: string;
52
- description?: string;
53
- accessLevel?: string;
54
- resourceTypes?: ActionResourceType[];
73
+ removedActions: {
74
+ [key: string]: string[];
55
75
  }
56
-
57
- export interface ConditionKey {
58
- name: string;
59
- apiReferenceUrl?: string;
60
- description: string;
61
- type: string;
62
- }
76
+ }
package/src/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  const iamData = require('../data/iam.json');
2
2
  const metadata = require('../data/metadata.json');
3
+ const changelog = require('../data/changelog.json');
3
4
 
4
5
  module.exports = {
5
6
  iamData,
6
7
  metadata,
8
+ changelog,
7
9
  }