aws-iam-data 0.0.8 → 0.0.10

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.
@@ -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": [
@@ -21522,7 +21537,7 @@
21522
21537
  "name": "Amazon Translate",
21523
21538
  "servicePrefix": "translate",
21524
21539
  "authReferenceUrl": "https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazontranslate.html",
21525
- "actionsCount": 18,
21540
+ "actionsCount": 19,
21526
21541
  "actions": [
21527
21542
  "CreateParallelData",
21528
21543
  "DeleteParallelData",
@@ -21539,6 +21554,7 @@
21539
21554
  "StartTextTranslationJob",
21540
21555
  "StopTextTranslationJob",
21541
21556
  "TagResource",
21557
+ "TranslateDocument",
21542
21558
  "TranslateText",
21543
21559
  "UntagResource",
21544
21560
  "UpdateParallelData"
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aws-iam-data",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
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
  }