@cloud-copilot/iam-data 0.9.202412201 → 0.9.202412271
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/data/actions/billing.json +194 -1
- package/data/actions/ce.json +77 -14
- package/data/actions/ec2.json +6 -0
- package/data/actions/ecr.json +6 -2
- package/data/actions/eks.json +8 -0
- package/data/actions/neptune-graph.json +92 -10
- package/data/actions/ses.json +22 -0
- package/data/conditionKeys/billing.json +17 -1
- package/data/conditionKeys/ec2.json +10 -0
- package/data/conditionKeys/ecr.json +5 -0
- package/data/resourceTypes/billing.json +9 -1
- package/data/resourceTypes/ce.json +7 -0
- package/data/resourceTypes/ec2.json +2 -0
- package/data/resourceTypes/neptune-graph.json +4 -0
- package/dist/cjs/actions.d.ts +10 -10
- package/dist/cjs/actions.d.ts.map +1 -1
- package/dist/cjs/actions.js +1 -1
- package/dist/cjs/actions.js.map +1 -1
- package/dist/cjs/conditionKeys.d.ts.map +1 -1
- package/dist/cjs/conditionKeys.js +1 -1
- package/dist/cjs/conditionKeys.js.map +1 -1
- package/dist/cjs/data.js.map +1 -1
- package/dist/cjs/readRelativeFile.js.map +1 -1
- package/dist/cjs/resourceTypes.d.ts.map +1 -1
- package/dist/cjs/resourceTypes.js +1 -1
- package/dist/cjs/resourceTypes.js.map +1 -1
- package/dist/cjs/services.js.map +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/actions.d.ts +10 -10
- package/dist/esm/actions.d.ts.map +1 -1
- package/dist/esm/actions.js +2 -2
- package/dist/esm/actions.js.map +1 -1
- package/dist/esm/conditionKeys.d.ts.map +1 -1
- package/dist/esm/conditionKeys.js +2 -2
- package/dist/esm/conditionKeys.js.map +1 -1
- package/dist/esm/data.js +1 -1
- package/dist/esm/data.js.map +1 -1
- package/dist/esm/readRelativeFile.js.map +1 -1
- package/dist/esm/resourceTypes.d.ts.map +1 -1
- package/dist/esm/resourceTypes.js +2 -2
- package/dist/esm/resourceTypes.js.map +1 -1
- package/dist/esm/services.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/package.json +8 -4
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
{
|
|
2
|
+
"createbillingview": {
|
|
3
|
+
"name": "CreateBillingView",
|
|
4
|
+
"description": "Grants permission to create a billing view",
|
|
5
|
+
"accessLevel": "Write",
|
|
6
|
+
"resourceTypes": [
|
|
7
|
+
{
|
|
8
|
+
"name": "billingview",
|
|
9
|
+
"required": true,
|
|
10
|
+
"conditionKeys": [],
|
|
11
|
+
"dependentActions": []
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"conditionKeys": [
|
|
15
|
+
"aws:RequestTag/${TagKey}",
|
|
16
|
+
"aws:TagKeys"
|
|
17
|
+
],
|
|
18
|
+
"dependentActions": []
|
|
19
|
+
},
|
|
20
|
+
"deletebillingview": {
|
|
21
|
+
"name": "DeleteBillingView",
|
|
22
|
+
"description": "Grants permission to delete a billing view",
|
|
23
|
+
"accessLevel": "Write",
|
|
24
|
+
"resourceTypes": [
|
|
25
|
+
{
|
|
26
|
+
"name": "billingview",
|
|
27
|
+
"required": true,
|
|
28
|
+
"conditionKeys": [],
|
|
29
|
+
"dependentActions": []
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"conditionKeys": [
|
|
33
|
+
"aws:ResourceTag/${TagKey}"
|
|
34
|
+
],
|
|
35
|
+
"dependentActions": []
|
|
36
|
+
},
|
|
37
|
+
"deleteresourcepolicy": {
|
|
38
|
+
"name": "DeleteResourcePolicy",
|
|
39
|
+
"isPermissionOnly": true,
|
|
40
|
+
"description": "Grants permission to delete a billing view resource policy",
|
|
41
|
+
"accessLevel": "Permissions management",
|
|
42
|
+
"resourceTypes": [
|
|
43
|
+
{
|
|
44
|
+
"name": "billingview",
|
|
45
|
+
"required": true,
|
|
46
|
+
"conditionKeys": [],
|
|
47
|
+
"dependentActions": []
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"conditionKeys": [
|
|
51
|
+
"aws:ResourceTag/${TagKey}"
|
|
52
|
+
],
|
|
53
|
+
"dependentActions": []
|
|
54
|
+
},
|
|
2
55
|
"getbillingdata": {
|
|
3
56
|
"name": "GetBillingData",
|
|
4
57
|
"isPermissionOnly": true,
|
|
@@ -35,6 +88,23 @@
|
|
|
35
88
|
"conditionKeys": [],
|
|
36
89
|
"dependentActions": []
|
|
37
90
|
},
|
|
91
|
+
"getbillingview": {
|
|
92
|
+
"name": "GetBillingView",
|
|
93
|
+
"description": "Grants permission to get the metadata for a specified billing view",
|
|
94
|
+
"accessLevel": "Read",
|
|
95
|
+
"resourceTypes": [
|
|
96
|
+
{
|
|
97
|
+
"name": "billingview",
|
|
98
|
+
"required": true,
|
|
99
|
+
"conditionKeys": [],
|
|
100
|
+
"dependentActions": []
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"conditionKeys": [
|
|
104
|
+
"aws:ResourceTag/${TagKey}"
|
|
105
|
+
],
|
|
106
|
+
"dependentActions": []
|
|
107
|
+
},
|
|
38
108
|
"getcontractinformation": {
|
|
39
109
|
"name": "GetContractInformation",
|
|
40
110
|
"isPermissionOnly": true,
|
|
@@ -62,6 +132,23 @@
|
|
|
62
132
|
"conditionKeys": [],
|
|
63
133
|
"dependentActions": []
|
|
64
134
|
},
|
|
135
|
+
"getresourcepolicy": {
|
|
136
|
+
"name": "GetResourcePolicy",
|
|
137
|
+
"description": "Grants permission to get the resource policy specified billing view",
|
|
138
|
+
"accessLevel": "Permissions management",
|
|
139
|
+
"resourceTypes": [
|
|
140
|
+
{
|
|
141
|
+
"name": "billingview",
|
|
142
|
+
"required": true,
|
|
143
|
+
"conditionKeys": [],
|
|
144
|
+
"dependentActions": []
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"conditionKeys": [
|
|
148
|
+
"aws:ResourceTag/${TagKey}"
|
|
149
|
+
],
|
|
150
|
+
"dependentActions": []
|
|
151
|
+
},
|
|
65
152
|
"getsellerofrecord": {
|
|
66
153
|
"name": "GetSellerOfRecord",
|
|
67
154
|
"isPermissionOnly": true,
|
|
@@ -73,12 +160,46 @@
|
|
|
73
160
|
},
|
|
74
161
|
"listbillingviews": {
|
|
75
162
|
"name": "ListBillingViews",
|
|
76
|
-
"description": "Grants permission to get a list of all your available billing views
|
|
163
|
+
"description": "Grants permission to get a list of all your available billing views",
|
|
77
164
|
"accessLevel": "Read",
|
|
78
165
|
"resourceTypes": [],
|
|
79
166
|
"conditionKeys": [],
|
|
80
167
|
"dependentActions": []
|
|
81
168
|
},
|
|
169
|
+
"listsourceviewsforbillingview": {
|
|
170
|
+
"name": "ListSourceViewsForBillingView",
|
|
171
|
+
"description": "Grants permission to get the list of source views for a specified billing view",
|
|
172
|
+
"accessLevel": "List",
|
|
173
|
+
"resourceTypes": [
|
|
174
|
+
{
|
|
175
|
+
"name": "billingview",
|
|
176
|
+
"required": true,
|
|
177
|
+
"conditionKeys": [],
|
|
178
|
+
"dependentActions": []
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"conditionKeys": [
|
|
182
|
+
"aws:ResourceTag/${TagKey}"
|
|
183
|
+
],
|
|
184
|
+
"dependentActions": []
|
|
185
|
+
},
|
|
186
|
+
"listtagsforresource": {
|
|
187
|
+
"name": "ListTagsForResource",
|
|
188
|
+
"description": "Grants permission to get the list of tags for a specified billing view",
|
|
189
|
+
"accessLevel": "Read",
|
|
190
|
+
"resourceTypes": [
|
|
191
|
+
{
|
|
192
|
+
"name": "billingview",
|
|
193
|
+
"required": true,
|
|
194
|
+
"conditionKeys": [],
|
|
195
|
+
"dependentActions": []
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"conditionKeys": [
|
|
199
|
+
"aws:ResourceTag/${TagKey}"
|
|
200
|
+
],
|
|
201
|
+
"dependentActions": []
|
|
202
|
+
},
|
|
82
203
|
"putcontractinformation": {
|
|
83
204
|
"name": "PutContractInformation",
|
|
84
205
|
"isPermissionOnly": true,
|
|
@@ -88,6 +209,24 @@
|
|
|
88
209
|
"conditionKeys": [],
|
|
89
210
|
"dependentActions": []
|
|
90
211
|
},
|
|
212
|
+
"putresourcepolicy": {
|
|
213
|
+
"name": "PutResourcePolicy",
|
|
214
|
+
"isPermissionOnly": true,
|
|
215
|
+
"description": "Grants permission to put a billing view resource policy",
|
|
216
|
+
"accessLevel": "Permissions management",
|
|
217
|
+
"resourceTypes": [
|
|
218
|
+
{
|
|
219
|
+
"name": "billingview",
|
|
220
|
+
"required": true,
|
|
221
|
+
"conditionKeys": [],
|
|
222
|
+
"dependentActions": []
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"conditionKeys": [
|
|
226
|
+
"aws:ResourceTag/${TagKey}"
|
|
227
|
+
],
|
|
228
|
+
"dependentActions": []
|
|
229
|
+
},
|
|
91
230
|
"redeemcredits": {
|
|
92
231
|
"name": "RedeemCredits",
|
|
93
232
|
"isPermissionOnly": true,
|
|
@@ -97,6 +236,43 @@
|
|
|
97
236
|
"conditionKeys": [],
|
|
98
237
|
"dependentActions": []
|
|
99
238
|
},
|
|
239
|
+
"tagresource": {
|
|
240
|
+
"name": "TagResource",
|
|
241
|
+
"description": "Grants permission to add tags to a specified billing view",
|
|
242
|
+
"accessLevel": "Tagging",
|
|
243
|
+
"resourceTypes": [
|
|
244
|
+
{
|
|
245
|
+
"name": "billingview",
|
|
246
|
+
"required": true,
|
|
247
|
+
"conditionKeys": [],
|
|
248
|
+
"dependentActions": []
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"conditionKeys": [
|
|
252
|
+
"aws:TagKeys",
|
|
253
|
+
"aws:RequestTag/${TagKey}",
|
|
254
|
+
"aws:ResourceTag/${TagKey}"
|
|
255
|
+
],
|
|
256
|
+
"dependentActions": []
|
|
257
|
+
},
|
|
258
|
+
"untagresource": {
|
|
259
|
+
"name": "UntagResource",
|
|
260
|
+
"description": "Grants permission to remove a tag from a specified billing view",
|
|
261
|
+
"accessLevel": "Tagging",
|
|
262
|
+
"resourceTypes": [
|
|
263
|
+
{
|
|
264
|
+
"name": "billingview",
|
|
265
|
+
"required": true,
|
|
266
|
+
"conditionKeys": [],
|
|
267
|
+
"dependentActions": []
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"conditionKeys": [
|
|
271
|
+
"aws:TagKeys",
|
|
272
|
+
"aws:ResourceTag/${TagKey}"
|
|
273
|
+
],
|
|
274
|
+
"dependentActions": []
|
|
275
|
+
},
|
|
100
276
|
"updatebillingpreferences": {
|
|
101
277
|
"name": "UpdateBillingPreferences",
|
|
102
278
|
"isPermissionOnly": true,
|
|
@@ -106,6 +282,23 @@
|
|
|
106
282
|
"conditionKeys": [],
|
|
107
283
|
"dependentActions": []
|
|
108
284
|
},
|
|
285
|
+
"updatebillingview": {
|
|
286
|
+
"name": "UpdateBillingView",
|
|
287
|
+
"description": "Grants permission to update a billing view",
|
|
288
|
+
"accessLevel": "Write",
|
|
289
|
+
"resourceTypes": [
|
|
290
|
+
{
|
|
291
|
+
"name": "billingview",
|
|
292
|
+
"required": true,
|
|
293
|
+
"conditionKeys": [],
|
|
294
|
+
"dependentActions": []
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"conditionKeys": [
|
|
298
|
+
"aws:ResourceTag/${TagKey}"
|
|
299
|
+
],
|
|
300
|
+
"dependentActions": []
|
|
301
|
+
},
|
|
109
302
|
"updateiamaccesspreference": {
|
|
110
303
|
"name": "UpdateIAMAccessPreference",
|
|
111
304
|
"isPermissionOnly": true,
|
package/data/actions/ce.json
CHANGED
|
@@ -234,40 +234,85 @@
|
|
|
234
234
|
"name": "GetCostAndUsage",
|
|
235
235
|
"description": "Grants permission to retrieve the cost and usage metrics for your account",
|
|
236
236
|
"accessLevel": "Read",
|
|
237
|
-
"resourceTypes": [
|
|
238
|
-
|
|
237
|
+
"resourceTypes": [
|
|
238
|
+
{
|
|
239
|
+
"name": "billingview",
|
|
240
|
+
"required": false,
|
|
241
|
+
"conditionKeys": [],
|
|
242
|
+
"dependentActions": []
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"conditionKeys": [
|
|
246
|
+
"aws:ResourceTag/${TagKey}"
|
|
247
|
+
],
|
|
239
248
|
"dependentActions": []
|
|
240
249
|
},
|
|
241
250
|
"getcostandusagewithresources": {
|
|
242
251
|
"name": "GetCostAndUsageWithResources",
|
|
243
252
|
"description": "Grants permission to retrieve the cost and usage metrics with resources for your account",
|
|
244
253
|
"accessLevel": "Read",
|
|
245
|
-
"resourceTypes": [
|
|
246
|
-
|
|
254
|
+
"resourceTypes": [
|
|
255
|
+
{
|
|
256
|
+
"name": "billingview",
|
|
257
|
+
"required": false,
|
|
258
|
+
"conditionKeys": [],
|
|
259
|
+
"dependentActions": []
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"conditionKeys": [
|
|
263
|
+
"aws:ResourceTag/${TagKey}"
|
|
264
|
+
],
|
|
247
265
|
"dependentActions": []
|
|
248
266
|
},
|
|
249
267
|
"getcostcategories": {
|
|
250
268
|
"name": "GetCostCategories",
|
|
251
269
|
"description": "Grants permission to query Cost Catagory names and values for a specified time period",
|
|
252
270
|
"accessLevel": "Read",
|
|
253
|
-
"resourceTypes": [
|
|
254
|
-
|
|
271
|
+
"resourceTypes": [
|
|
272
|
+
{
|
|
273
|
+
"name": "billingview",
|
|
274
|
+
"required": false,
|
|
275
|
+
"conditionKeys": [],
|
|
276
|
+
"dependentActions": []
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"conditionKeys": [
|
|
280
|
+
"aws:ResourceTag/${TagKey}"
|
|
281
|
+
],
|
|
255
282
|
"dependentActions": []
|
|
256
283
|
},
|
|
257
284
|
"getcostforecast": {
|
|
258
285
|
"name": "GetCostForecast",
|
|
259
286
|
"description": "Grants permission to retrieve a cost forecast for a forecast time period",
|
|
260
287
|
"accessLevel": "Read",
|
|
261
|
-
"resourceTypes": [
|
|
262
|
-
|
|
288
|
+
"resourceTypes": [
|
|
289
|
+
{
|
|
290
|
+
"name": "billingview",
|
|
291
|
+
"required": false,
|
|
292
|
+
"conditionKeys": [],
|
|
293
|
+
"dependentActions": []
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"conditionKeys": [
|
|
297
|
+
"aws:ResourceTag/${TagKey}"
|
|
298
|
+
],
|
|
263
299
|
"dependentActions": []
|
|
264
300
|
},
|
|
265
301
|
"getdimensionvalues": {
|
|
266
302
|
"name": "GetDimensionValues",
|
|
267
303
|
"description": "Grants permission to retrieve all available filter values for a filter for a period of time",
|
|
268
304
|
"accessLevel": "Read",
|
|
269
|
-
"resourceTypes": [
|
|
270
|
-
|
|
305
|
+
"resourceTypes": [
|
|
306
|
+
{
|
|
307
|
+
"name": "billingview",
|
|
308
|
+
"required": false,
|
|
309
|
+
"conditionKeys": [],
|
|
310
|
+
"dependentActions": []
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"conditionKeys": [
|
|
314
|
+
"aws:ResourceTag/${TagKey}"
|
|
315
|
+
],
|
|
271
316
|
"dependentActions": []
|
|
272
317
|
},
|
|
273
318
|
"getpreferences": {
|
|
@@ -355,16 +400,34 @@
|
|
|
355
400
|
"name": "GetTags",
|
|
356
401
|
"description": "Grants permission to query tags for a specified time period",
|
|
357
402
|
"accessLevel": "Read",
|
|
358
|
-
"resourceTypes": [
|
|
359
|
-
|
|
403
|
+
"resourceTypes": [
|
|
404
|
+
{
|
|
405
|
+
"name": "billingview",
|
|
406
|
+
"required": false,
|
|
407
|
+
"conditionKeys": [],
|
|
408
|
+
"dependentActions": []
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"conditionKeys": [
|
|
412
|
+
"aws:ResourceTag/${TagKey}"
|
|
413
|
+
],
|
|
360
414
|
"dependentActions": []
|
|
361
415
|
},
|
|
362
416
|
"getusageforecast": {
|
|
363
417
|
"name": "GetUsageForecast",
|
|
364
418
|
"description": "Grants permission to retrieve a usage forecast for a forecast time period",
|
|
365
419
|
"accessLevel": "Read",
|
|
366
|
-
"resourceTypes": [
|
|
367
|
-
|
|
420
|
+
"resourceTypes": [
|
|
421
|
+
{
|
|
422
|
+
"name": "billingview",
|
|
423
|
+
"required": false,
|
|
424
|
+
"conditionKeys": [],
|
|
425
|
+
"dependentActions": []
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"conditionKeys": [
|
|
429
|
+
"aws:ResourceTag/${TagKey}"
|
|
430
|
+
],
|
|
368
431
|
"dependentActions": []
|
|
369
432
|
},
|
|
370
433
|
"listcommitmentpurchaseanalyses": {
|
package/data/actions/ec2.json
CHANGED
|
@@ -3495,9 +3495,11 @@
|
|
|
3495
3495
|
"conditionKeys": [
|
|
3496
3496
|
"aws:RequestTag/${TagKey}",
|
|
3497
3497
|
"aws:TagKeys",
|
|
3498
|
+
"ec2:Location",
|
|
3498
3499
|
"ec2:OutpostArn",
|
|
3499
3500
|
"ec2:ParentVolume",
|
|
3500
3501
|
"ec2:SnapshotID",
|
|
3502
|
+
"ec2:SourceAvailabilityZone",
|
|
3501
3503
|
"ec2:SourceOutpostArn",
|
|
3502
3504
|
"ec2:VolumeSize"
|
|
3503
3505
|
],
|
|
@@ -3557,9 +3559,11 @@
|
|
|
3557
3559
|
"conditionKeys": [
|
|
3558
3560
|
"aws:RequestTag/${TagKey}",
|
|
3559
3561
|
"aws:TagKeys",
|
|
3562
|
+
"ec2:Location",
|
|
3560
3563
|
"ec2:OutpostArn",
|
|
3561
3564
|
"ec2:ParentVolume",
|
|
3562
3565
|
"ec2:SnapshotID",
|
|
3566
|
+
"ec2:SourceAvailabilityZone",
|
|
3563
3567
|
"ec2:SourceOutpostArn",
|
|
3564
3568
|
"ec2:VolumeSize"
|
|
3565
3569
|
],
|
|
@@ -6621,6 +6625,7 @@
|
|
|
6621
6625
|
"required": true,
|
|
6622
6626
|
"conditionKeys": [
|
|
6623
6627
|
"aws:ResourceTag/${TagKey}",
|
|
6628
|
+
"ec2:AvailabilityZone",
|
|
6624
6629
|
"ec2:OutpostArn",
|
|
6625
6630
|
"ec2:Owner",
|
|
6626
6631
|
"ec2:ParentVolume",
|
|
@@ -14289,6 +14294,7 @@
|
|
|
14289
14294
|
"ec2:Add/userId",
|
|
14290
14295
|
"ec2:Attribute",
|
|
14291
14296
|
"ec2:Attribute/${AttributeName}",
|
|
14297
|
+
"ec2:AvailabilityZone",
|
|
14292
14298
|
"ec2:Owner",
|
|
14293
14299
|
"ec2:ParentVolume",
|
|
14294
14300
|
"ec2:Remove/group",
|
package/data/actions/ecr.json
CHANGED
|
@@ -285,7 +285,9 @@
|
|
|
285
285
|
"description": "Grants permission to retrieve account settings",
|
|
286
286
|
"accessLevel": "Read",
|
|
287
287
|
"resourceTypes": [],
|
|
288
|
-
"conditionKeys": [
|
|
288
|
+
"conditionKeys": [
|
|
289
|
+
"ecr:AccountSetting"
|
|
290
|
+
],
|
|
289
291
|
"dependentActions": []
|
|
290
292
|
},
|
|
291
293
|
"getauthorizationtoken": {
|
|
@@ -425,7 +427,9 @@
|
|
|
425
427
|
"description": "Grants permission to update account settings",
|
|
426
428
|
"accessLevel": "Write",
|
|
427
429
|
"resourceTypes": [],
|
|
428
|
-
"conditionKeys": [
|
|
430
|
+
"conditionKeys": [
|
|
431
|
+
"ecr:AccountSetting"
|
|
432
|
+
],
|
|
429
433
|
"dependentActions": []
|
|
430
434
|
},
|
|
431
435
|
"putimage": {
|
package/data/actions/eks.json
CHANGED
|
@@ -385,6 +385,14 @@
|
|
|
385
385
|
"conditionKeys": [],
|
|
386
386
|
"dependentActions": []
|
|
387
387
|
},
|
|
388
|
+
"describeclusterversions": {
|
|
389
|
+
"name": "DescribeClusterVersions",
|
|
390
|
+
"description": "Grants permission to retrieve descriptive information about Kubernetes versions that Amazon EKS clusters support",
|
|
391
|
+
"accessLevel": "Read",
|
|
392
|
+
"resourceTypes": [],
|
|
393
|
+
"conditionKeys": [],
|
|
394
|
+
"dependentActions": []
|
|
395
|
+
},
|
|
388
396
|
"describeeksanywheresubscription": {
|
|
389
397
|
"name": "DescribeEksAnywhereSubscription",
|
|
390
398
|
"description": "Grants permission to describe an EKS Anywhere subscription",
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
+
"cancelexporttask": {
|
|
3
|
+
"name": "CancelExportTask",
|
|
4
|
+
"description": "Grants permission to cancel an ongoing export task",
|
|
5
|
+
"accessLevel": "Write",
|
|
6
|
+
"resourceTypes": [
|
|
7
|
+
{
|
|
8
|
+
"name": "export-task",
|
|
9
|
+
"required": true,
|
|
10
|
+
"conditionKeys": [],
|
|
11
|
+
"dependentActions": []
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"conditionKeys": [
|
|
15
|
+
"aws:ResourceTag/${TagKey}"
|
|
16
|
+
],
|
|
17
|
+
"dependentActions": []
|
|
18
|
+
},
|
|
2
19
|
"cancelimporttask": {
|
|
3
20
|
"name": "CancelImportTask",
|
|
4
21
|
"description": "Grants permission to cancel an ongoing import task",
|
|
@@ -68,7 +85,7 @@
|
|
|
68
85
|
},
|
|
69
86
|
{
|
|
70
87
|
"name": "graph-snapshot",
|
|
71
|
-
"required":
|
|
88
|
+
"required": true,
|
|
72
89
|
"conditionKeys": [],
|
|
73
90
|
"dependentActions": []
|
|
74
91
|
}
|
|
@@ -86,7 +103,7 @@
|
|
|
86
103
|
"accessLevel": "Write",
|
|
87
104
|
"resourceTypes": [
|
|
88
105
|
{
|
|
89
|
-
"name": "
|
|
106
|
+
"name": "graph",
|
|
90
107
|
"required": true,
|
|
91
108
|
"conditionKeys": [],
|
|
92
109
|
"dependentActions": [
|
|
@@ -98,8 +115,8 @@
|
|
|
98
115
|
]
|
|
99
116
|
},
|
|
100
117
|
{
|
|
101
|
-
"name": "
|
|
102
|
-
"required":
|
|
118
|
+
"name": "import-task",
|
|
119
|
+
"required": true,
|
|
103
120
|
"conditionKeys": [],
|
|
104
121
|
"dependentActions": []
|
|
105
122
|
}
|
|
@@ -235,6 +252,23 @@
|
|
|
235
252
|
],
|
|
236
253
|
"dependentActions": []
|
|
237
254
|
},
|
|
255
|
+
"getexporttask": {
|
|
256
|
+
"name": "GetExportTask",
|
|
257
|
+
"description": "Grants permission to get details about an export task",
|
|
258
|
+
"accessLevel": "Read",
|
|
259
|
+
"resourceTypes": [
|
|
260
|
+
{
|
|
261
|
+
"name": "export-task",
|
|
262
|
+
"required": true,
|
|
263
|
+
"conditionKeys": [],
|
|
264
|
+
"dependentActions": []
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"conditionKeys": [
|
|
268
|
+
"aws:ResourceTag/${TagKey}"
|
|
269
|
+
],
|
|
270
|
+
"dependentActions": []
|
|
271
|
+
},
|
|
238
272
|
"getgraph": {
|
|
239
273
|
"name": "GetGraph",
|
|
240
274
|
"description": "Grants permission to get details about a graph",
|
|
@@ -352,6 +386,21 @@
|
|
|
352
386
|
],
|
|
353
387
|
"dependentActions": []
|
|
354
388
|
},
|
|
389
|
+
"listexporttasks": {
|
|
390
|
+
"name": "ListExportTasks",
|
|
391
|
+
"description": "Grants permission to list the export tasks in your account",
|
|
392
|
+
"accessLevel": "Read",
|
|
393
|
+
"resourceTypes": [
|
|
394
|
+
{
|
|
395
|
+
"name": "export-task",
|
|
396
|
+
"required": true,
|
|
397
|
+
"conditionKeys": [],
|
|
398
|
+
"dependentActions": []
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"conditionKeys": [],
|
|
402
|
+
"dependentActions": []
|
|
403
|
+
},
|
|
355
404
|
"listgraphsnapshots": {
|
|
356
405
|
"name": "ListGraphSnapshots",
|
|
357
406
|
"description": "Grants permission to list the snapshots in your account",
|
|
@@ -494,7 +543,7 @@
|
|
|
494
543
|
"accessLevel": "Write",
|
|
495
544
|
"resourceTypes": [
|
|
496
545
|
{
|
|
497
|
-
"name": "graph
|
|
546
|
+
"name": "graph",
|
|
498
547
|
"required": true,
|
|
499
548
|
"conditionKeys": [],
|
|
500
549
|
"dependentActions": [
|
|
@@ -504,8 +553,8 @@
|
|
|
504
553
|
]
|
|
505
554
|
},
|
|
506
555
|
{
|
|
507
|
-
"name": "graph",
|
|
508
|
-
"required":
|
|
556
|
+
"name": "graph-snapshot",
|
|
557
|
+
"required": true,
|
|
509
558
|
"conditionKeys": [],
|
|
510
559
|
"dependentActions": []
|
|
511
560
|
}
|
|
@@ -518,6 +567,33 @@
|
|
|
518
567
|
],
|
|
519
568
|
"dependentActions": []
|
|
520
569
|
},
|
|
570
|
+
"startexporttask": {
|
|
571
|
+
"name": "StartExportTask",
|
|
572
|
+
"description": "Grants permission to export data from an existing graph",
|
|
573
|
+
"accessLevel": "Write",
|
|
574
|
+
"resourceTypes": [
|
|
575
|
+
{
|
|
576
|
+
"name": "export-task",
|
|
577
|
+
"required": true,
|
|
578
|
+
"conditionKeys": [],
|
|
579
|
+
"dependentActions": [
|
|
580
|
+
"iam:PassRole"
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "graph",
|
|
585
|
+
"required": true,
|
|
586
|
+
"conditionKeys": [],
|
|
587
|
+
"dependentActions": []
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"conditionKeys": [
|
|
591
|
+
"aws:RequestTag/${TagKey}",
|
|
592
|
+
"aws:ResourceTag/${TagKey}",
|
|
593
|
+
"aws:TagKeys"
|
|
594
|
+
],
|
|
595
|
+
"dependentActions": []
|
|
596
|
+
},
|
|
521
597
|
"startimporttask": {
|
|
522
598
|
"name": "StartImportTask",
|
|
523
599
|
"description": "Grants permission to import data into an existing graph",
|
|
@@ -527,13 +603,19 @@
|
|
|
527
603
|
"name": "graph",
|
|
528
604
|
"required": true,
|
|
529
605
|
"conditionKeys": [],
|
|
606
|
+
"dependentActions": [
|
|
607
|
+
"iam:PassRole"
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "import-task",
|
|
612
|
+
"required": true,
|
|
613
|
+
"conditionKeys": [],
|
|
530
614
|
"dependentActions": []
|
|
531
615
|
}
|
|
532
616
|
],
|
|
533
617
|
"conditionKeys": [],
|
|
534
|
-
"dependentActions": [
|
|
535
|
-
"iam:PassRole"
|
|
536
|
-
]
|
|
618
|
+
"dependentActions": []
|
|
537
619
|
},
|
|
538
620
|
"tagresource": {
|
|
539
621
|
"name": "TagResource",
|
package/data/actions/ses.json
CHANGED
|
@@ -1471,6 +1471,28 @@
|
|
|
1471
1471
|
],
|
|
1472
1472
|
"dependentActions": []
|
|
1473
1473
|
},
|
|
1474
|
+
"allowvendedlogdeliveryforresource": {
|
|
1475
|
+
"name": "AllowVendedLogDeliveryForResource",
|
|
1476
|
+
"isPermissionOnly": true,
|
|
1477
|
+
"description": "Grants permission to configure vended log delivery for Mail Manager resources",
|
|
1478
|
+
"accessLevel": "Permissions management",
|
|
1479
|
+
"resourceTypes": [
|
|
1480
|
+
{
|
|
1481
|
+
"name": "mailmanager-ingress-point",
|
|
1482
|
+
"required": false,
|
|
1483
|
+
"conditionKeys": [],
|
|
1484
|
+
"dependentActions": []
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "mailmanager-rule-set",
|
|
1488
|
+
"required": false,
|
|
1489
|
+
"conditionKeys": [],
|
|
1490
|
+
"dependentActions": []
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
"conditionKeys": [],
|
|
1494
|
+
"dependentActions": []
|
|
1495
|
+
},
|
|
1474
1496
|
"createaddoninstance": {
|
|
1475
1497
|
"name": "CreateAddonInstance",
|
|
1476
1498
|
"description": "Grants permission to create an addon instance",
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"aws:requesttag/${tagkey}": {
|
|
3
|
+
"key": "aws:RequestTag/${TagKey}",
|
|
4
|
+
"description": "Filters access by the tags that are passed in the request",
|
|
5
|
+
"type": "String"
|
|
6
|
+
},
|
|
7
|
+
"aws:resourcetag/${tagkey}": {
|
|
8
|
+
"key": "aws:ResourceTag/${TagKey}",
|
|
9
|
+
"description": "Filters access by the tags associated with the resource",
|
|
10
|
+
"type": "String"
|
|
11
|
+
},
|
|
12
|
+
"aws:tagkeys": {
|
|
13
|
+
"key": "aws:TagKeys",
|
|
14
|
+
"description": "Filters access by the tag keys that are passed in the request",
|
|
15
|
+
"type": "ArrayOfString"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -289,6 +289,11 @@
|
|
|
289
289
|
"description": "Filters access by the ARN of a launch template",
|
|
290
290
|
"type": "ARN"
|
|
291
291
|
},
|
|
292
|
+
"ec2:location": {
|
|
293
|
+
"key": "ec2:Location",
|
|
294
|
+
"description": "Filters access by the destination for the snapshot copy",
|
|
295
|
+
"type": "String"
|
|
296
|
+
},
|
|
292
297
|
"ec2:managedresourceoperator": {
|
|
293
298
|
"key": "ec2:ManagedResourceOperator",
|
|
294
299
|
"description": "Filters access by the presence of an EC2 operator provisioning a managed resource",
|
|
@@ -524,6 +529,11 @@
|
|
|
524
529
|
"description": "Filters access by the initiation time of a snapshot",
|
|
525
530
|
"type": "String"
|
|
526
531
|
},
|
|
532
|
+
"ec2:sourceavailabilityzone": {
|
|
533
|
+
"key": "ec2:SourceAvailabilityZone",
|
|
534
|
+
"description": "Filters access by the name of the Availability Zone from which the request originated",
|
|
535
|
+
"type": "String"
|
|
536
|
+
},
|
|
527
537
|
"ec2:sourcecapacityreservationid": {
|
|
528
538
|
"key": "ec2:SourceCapacityReservationId",
|
|
529
539
|
"description": "Filters access by the ID of the Capacity Reservation from which you want to move capacity",
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"description": "Filters access by the presence of mandatory tags in the request",
|
|
15
15
|
"type": "ArrayOfString"
|
|
16
16
|
},
|
|
17
|
+
"ecr:accountsetting": {
|
|
18
|
+
"key": "ecr:AccountSetting",
|
|
19
|
+
"description": "Filters access by the ECR account setting name",
|
|
20
|
+
"type": "String"
|
|
21
|
+
},
|
|
17
22
|
"ecr:resourcetag/${tagkey}": {
|
|
18
23
|
"key": "ecr:ResourceTag/${TagKey}",
|
|
19
24
|
"description": "Filters access by tag-value associated with the resource",
|
|
@@ -19,5 +19,12 @@
|
|
|
19
19
|
"conditionKeys": [
|
|
20
20
|
"aws:ResourceTag/${TagKey}"
|
|
21
21
|
]
|
|
22
|
+
},
|
|
23
|
+
"billingview": {
|
|
24
|
+
"key": "billingview",
|
|
25
|
+
"arn": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}",
|
|
26
|
+
"conditionKeys": [
|
|
27
|
+
"aws:ResourceTag/${TagKey}"
|
|
28
|
+
]
|
|
22
29
|
}
|
|
23
30
|
}
|
|
@@ -770,6 +770,7 @@
|
|
|
770
770
|
"ec2:Encrypted",
|
|
771
771
|
"ec2:IsLaunchTemplateResource",
|
|
772
772
|
"ec2:LaunchTemplate",
|
|
773
|
+
"ec2:Location",
|
|
773
774
|
"ec2:OutpostArn",
|
|
774
775
|
"ec2:Owner",
|
|
775
776
|
"ec2:ParentVolume",
|
|
@@ -781,6 +782,7 @@
|
|
|
781
782
|
"ec2:SnapshotID",
|
|
782
783
|
"ec2:SnapshotLockDuration",
|
|
783
784
|
"ec2:SnapshotTime",
|
|
785
|
+
"ec2:SourceAvailabilityZone",
|
|
784
786
|
"ec2:SourceOutpostArn",
|
|
785
787
|
"ec2:VolumeSize"
|
|
786
788
|
]
|
|
@@ -16,5 +16,9 @@
|
|
|
16
16
|
"import-task": {
|
|
17
17
|
"key": "import-task",
|
|
18
18
|
"arn": "arn:${Partition}:neptune-graph:${Region}:${Account}:import-task/${ResourceId}"
|
|
19
|
+
},
|
|
20
|
+
"export-task": {
|
|
21
|
+
"key": "export-task",
|
|
22
|
+
"arn": "arn:${Partition}:neptune-graph:${Region}:${Account}:export-task/${ResourceId}"
|
|
19
23
|
}
|
|
20
24
|
}
|
package/dist/cjs/actions.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
interface ActionResourceType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
name: string;
|
|
3
|
+
required: boolean;
|
|
4
|
+
conditionKeys: string[];
|
|
5
|
+
dependentActions: string[];
|
|
6
6
|
}
|
|
7
7
|
interface Action {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
accessLevel: 'Read' | 'Write' | 'List' | 'Tagging';
|
|
11
|
+
resourceTypes: ActionResourceType[];
|
|
12
|
+
conditionKeys: string[];
|
|
13
|
+
dependentActions: string[];
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Get all actions for a service
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAC3B;AAED,UAAU,MAAM;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;IAClD,aAAa,EAAE,kBAAkB,EAAE,CAAA;IACnC,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAC3B;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGhF;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAG7F;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAM7F"}
|
package/dist/cjs/actions.js
CHANGED
|
@@ -12,7 +12,7 @@ const data_js_1 = require("./data.js");
|
|
|
12
12
|
*/
|
|
13
13
|
async function iamActionsForService(serviceKey) {
|
|
14
14
|
const data = await (0, data_js_1.readActionData)(serviceKey.toLowerCase());
|
|
15
|
-
return Object.values(data).map(action => action.name);
|
|
15
|
+
return Object.values(data).map((action) => action.name);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Check if an action exists
|
package/dist/cjs/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":";;AAwBA,oDAGC;AASD,0CAGC;AAUD,4CAMC;AAvDD,uCAA0C;AAkB1C;;;;;GAKG;AACI,KAAK,UAAU,oBAAoB,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":";;AAwBA,oDAGC;AASD,0CAGC;AAUD,4CAMC;AAvDD,uCAA0C;AAkB1C;;;;;GAKG;AACI,KAAK,UAAU,oBAAoB,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;AACzD,CAAC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,eAAe,CAAC,UAAkB,EAAE,SAAiB;IACzE,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACxC,CAAC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,gBAAgB,CAAC,UAAkB,EAAE,SAAiB;IAC1E,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,UAAU,SAAS,+BAA+B,UAAU,EAAE,CAAC,CAAA;IACjF,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.d.ts","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"conditionKeys.d.ts","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGtF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,YAAY,CAAC,CAMvB"}
|
|
@@ -12,7 +12,7 @@ const data_js_1 = require("./data.js");
|
|
|
12
12
|
*/
|
|
13
13
|
async function iamConditionKeysForService(serviceKey) {
|
|
14
14
|
const data = await (0, data_js_1.readConditionKeys)(serviceKey.toLowerCase());
|
|
15
|
-
return Object.values(data).map(conditionKey => conditionKey.key);
|
|
15
|
+
return Object.values(data).map((conditionKey) => conditionKey.key);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Check if a condition key exists
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":";;AAcA,gEAGC;AASD,
|
|
1
|
+
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":";;AAcA,gEAGC;AASD,sDAMC;AAUD,wDASC;AAnDD,uCAA6C;AAQ7C;;;;;GAKG;AACI,KAAK,UAAU,0BAA0B,CAAC,UAAkB;IACjE,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AACpE,CAAC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,qBAAqB,CACzC,UAAkB,EAClB,YAAoB;IAEpB,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AAC3C,CAAC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,sBAAsB,CAC1C,UAAkB,EAClB,YAAoB;IAEpB,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,iBAAiB,YAAY,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC3F,CAAC;IACD,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC"}
|
package/dist/cjs/data.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":";;AAKA,oCA0BC;AAQD,wCAEC;AAQD,8CAEC;AAQD,8CAEC;AA7DD,+
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":";;AAKA,oCA0BC;AAQD,wCAEC;AAQD,8CAEC;AAQD,8CAEC;AA7DD,+DAAwD;AAExD,MAAM,SAAS,GAAwB,EAAE,CAAA;AACzC,MAAM,YAAY,GAAiC,EAAE,CAAA;AAE9C,KAAK,UAAU,YAAY,CAAI,GAAG,SAAmB;IAC1D,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IACzB,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEhC,wDAAwD;IACxD,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,OAAO,SAAS,CAAC,IAAI,CAAC,CAAA;IACxB,CAAC;IAED,8DAA8D;IAC9D,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;QACrC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;IAED,iEAAiE;IACjE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE;QAC/B,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,IAAA,sCAAgB,EAAC,SAAS,CAAC,CAAA;YAC9C,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA,CAAC,0BAA0B;YACjD,OAAO,IAAI,CAAA;QACb,CAAC;gBAAS,CAAC;YACT,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA,CAAC,uDAAuD;QACnF,CAAC;IACH,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;AAC3B,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,cAAc,CAAI,UAAkB;IACxD,OAAO,YAAY,CAAI,SAAS,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AACzD,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,CAAI,UAAkB;IAC3D,OAAO,YAAY,CAAI,eAAe,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AAC/D,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,CAAI,UAAkB;IAC3D,OAAO,YAAY,CAAI,eAAe,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AAC/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readRelativeFile.js","sourceRoot":"","sources":["../../src/readRelativeFile.ts"],"names":[],"mappings":";;AAcA,4CAGC;AAjBD,
|
|
1
|
+
{"version":3,"file":"readRelativeFile.js","sourceRoot":"","sources":["../../src/readRelativeFile.ts"],"names":[],"mappings":";;AAcA,4CAGC;AAjBD,0CAAsC;AACtC,+BAA2B;AAE3B,IAAI,IAAI,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AACtC,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;IAC9B,IAAI,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,CAAA;AAC9B,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,gBAAgB,CAAI,SAAmB;IAC3D,MAAM,QAAQ,GAAG,MAAM,IAAA,mBAAQ,EAAC,IAAA,WAAI,EAAC,IAAI,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,CAAC,CAAA;IACjE,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.d.ts","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"resourceTypes.d.ts","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,CAAA;CACjC;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGtF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,YAAY,CAAC,CAMvB"}
|
|
@@ -11,7 +11,7 @@ const data_js_1 = require("./data.js");
|
|
|
11
11
|
*/
|
|
12
12
|
async function iamResourceTypesForService(serviceKey) {
|
|
13
13
|
const data = await (0, data_js_1.readResourceTypes)(serviceKey.toLowerCase());
|
|
14
|
-
return Object.values(data).map(resourceType => resourceType.key);
|
|
14
|
+
return Object.values(data).map((resourceType) => resourceType.key);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Check if a resource type exists for a service and resource type key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":";;AAaA,gEAGC;AASD,
|
|
1
|
+
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":";;AAaA,gEAGC;AASD,sDAMC;AAUD,wDASC;AAlDD,uCAA6C;AAQ7C;;;;GAIG;AACI,KAAK,UAAU,0BAA0B,CAAC,UAAkB;IACjE,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AACpE,CAAC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,qBAAqB,CACzC,UAAkB,EAClB,eAAuB;IAEvB,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAA;AAC9C,CAAC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,sBAAsB,CAC1C,UAAkB,EAClB,eAAuB;IAEvB,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CAAC,iBAAiB,eAAe,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC9F,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAA;AAC5C,CAAC"}
|
package/dist/cjs/services.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":";;AAOA,wCAEC;AAQD,4CAGC;AASD,wCAMC;AAnCD,
|
|
1
|
+
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":";;AAOA,wCAEC;AAQD,4CAGC;AASD,wCAMC;AAnCD,uCAAwC;AAExC;;;;GAIG;AACI,KAAK,UAAU,cAAc;IAClC,OAAO,IAAA,sBAAY,EAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,gBAAgB,CAAC,UAAkB;IACvD,MAAM,IAAI,GAAG,MAAM,IAAA,sBAAY,EAAyB,mBAAmB,CAAC,CAAA;IAC5E,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,cAAc,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,MAAM,IAAA,sBAAY,EAAyB,mBAAmB,CAAC,CAAA;IAC5E,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,WAAW,UAAU,iBAAiB,CAAC,CAAA;IACzD,CAAC;IACD,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACvC,CAAC"}
|
package/dist/cjs/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;AAyBA,wCAGC;AAOD,4CAGC;AAtCD,+
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;AAyBA,wCAGC;AAOD,4CAGC;AAtCD,+DAAwD;AAOxD,IAAI,YAAY,GAA4B,SAAS,CAAA;AAErD;;;;GAIG;AACH,KAAK,UAAU,cAAc;IAC3B,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,WAAW,GAAG,MAAM,IAAA,sCAAgB,EAAsB,CAAC,cAAc,CAAC,CAAC,CAAA;QACjF,YAAY,GAAG,WAAW,CAAA;IAC5B,CAAC;IACD,OAAO,YAAa,CAAA;AACtB,CAAC;AAED;;GAEG;AACI,KAAK,UAAU,cAAc;IAClC,MAAM,IAAI,GAAG,MAAM,cAAc,EAAE,CAAA;IACnC,OAAO,IAAI,CAAC,OAAO,CAAA;AACrB,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,gBAAgB;IACpC,MAAM,IAAI,GAAG,MAAM,cAAc,EAAE,CAAA;IACnC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AACjC,CAAC"}
|
package/dist/esm/actions.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
interface ActionResourceType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
name: string;
|
|
3
|
+
required: boolean;
|
|
4
|
+
conditionKeys: string[];
|
|
5
|
+
dependentActions: string[];
|
|
6
6
|
}
|
|
7
7
|
interface Action {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
accessLevel: 'Read' | 'Write' | 'List' | 'Tagging';
|
|
11
|
+
resourceTypes: ActionResourceType[];
|
|
12
|
+
conditionKeys: string[];
|
|
13
|
+
dependentActions: string[];
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Get all actions for a service
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAC3B;AAED,UAAU,MAAM;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;IAClD,aAAa,EAAE,kBAAkB,EAAE,CAAA;IACnC,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAC3B;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGhF;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAG7F;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAM7F"}
|
package/dist/esm/actions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readActionData } from
|
|
1
|
+
import { readActionData } from './data.js';
|
|
2
2
|
/**
|
|
3
3
|
* Get all actions for a service
|
|
4
4
|
*
|
|
@@ -7,7 +7,7 @@ import { readActionData } from "./data.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export async function iamActionsForService(serviceKey) {
|
|
9
9
|
const data = await readActionData(serviceKey.toLowerCase());
|
|
10
|
-
return Object.values(data).map(action => action.name);
|
|
10
|
+
return Object.values(data).map((action) => action.name);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Check if an action exists
|
package/dist/esm/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAkB1C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,MAAM,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAkB1C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,MAAM,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;AACzD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAAkB,EAAE,SAAiB;IACzE,MAAM,IAAI,GAAG,MAAM,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACxC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,UAAkB,EAAE,SAAiB;IAC1E,MAAM,IAAI,GAAG,MAAM,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACnF,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,UAAU,SAAS,+BAA+B,UAAU,EAAE,CAAC,CAAA;IACjF,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.d.ts","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"conditionKeys.d.ts","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGtF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,YAAY,CAAC,CAMvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readConditionKeys } from
|
|
1
|
+
import { readConditionKeys } from './data.js';
|
|
2
2
|
/**
|
|
3
3
|
* Reads the condition keys for a service
|
|
4
4
|
*
|
|
@@ -7,7 +7,7 @@ import { readConditionKeys } from "./data.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export async function iamConditionKeysForService(serviceKey) {
|
|
9
9
|
const data = await readConditionKeys(serviceKey.toLowerCase());
|
|
10
|
-
return Object.values(data).map(conditionKey => conditionKey.key);
|
|
10
|
+
return Object.values(data).map((conditionKey) => conditionKey.key);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Check if a condition key exists
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQ7C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,UAAkB;IACjE,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQ7C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,UAAkB;IACjE,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AACpE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,UAAkB,EAClB,YAAoB;IAEpB,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AAC3C,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,UAAkB,EAClB,YAAoB;IAEpB,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,iBAAiB,YAAY,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC3F,CAAC;IACD,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC"}
|
package/dist/esm/data.js
CHANGED
package/dist/esm/data.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,MAAM,SAAS,GAAwB,EAAE,CAAA;AACzC,MAAM,YAAY,GAAiC,EAAE,CAAA;AAErD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAI,GAAG,SAAmB;IAC1D,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IACzB,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEhC,wDAAwD;IACxD,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,OAAO,SAAS,CAAC,IAAI,CAAC,CAAA;IACxB,CAAC;IAED,8DAA8D;IAC9D,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;QACrC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;IAED,iEAAiE;IACjE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE;QAC/B,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,gBAAgB,CAAC,SAAS,CAAC,CAAA;YAC9C,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA,CAAC,0BAA0B;YACjD,OAAO,IAAI,CAAA;QACb,CAAC;gBAAS,CAAC;YACT,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA,CAAC,uDAAuD;QACnF,CAAC;IACH,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;AAC3B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAI,UAAkB;IACxD,OAAO,YAAY,CAAI,SAAS,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AACzD,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAI,UAAkB;IAC3D,OAAO,YAAY,CAAI,eAAe,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AAC/D,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAI,UAAkB;IAC3D,OAAO,YAAY,CAAI,eAAe,EAAE,GAAG,UAAU,OAAO,CAAC,CAAA;AAC/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readRelativeFileEsm.js","sourceRoot":"","sources":["../../src/readRelativeFileEsm.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;AAC5B,aAAa;AACb,MAAM,eAAe,GAAuB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,aAAa,CAAA;AAC1E,IAAI,YAAY,
|
|
1
|
+
{"version":3,"file":"readRelativeFileEsm.js","sourceRoot":"","sources":["../../src/readRelativeFileEsm.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;AAC5B,aAAa;AACb,MAAM,eAAe,GAAuB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,aAAa,CAAA;AAC1E,IAAI,YAAY,GAAuB,SAAS,CAAA;AAChD,IAAI,QAAQ,GAAG,KAAK,CAAA;AACpB,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;AAE7C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAI,SAAmB;IAC3D;;;OAGG;IACH,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,IAAI,UAAU,EAAE,CAAC;YACf,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,CAAA;YAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,CAAA;YAC5C,YAAY,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;QAChD,CAAC;aAAM,CAAC;YACN,IAAI,eAAe,IAAI,eAAe,KAAK,EAAE,EAAE,CAAC;gBAC9C,QAAQ,GAAG,IAAI,CAAA;gBACf,YAAY,GAAG,eAAe,CAAA;gBAC9B,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;oBAChC,YAAY,GAAG,YAAY,GAAG,GAAG,CAAA;gBACnC,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,YAAY,GAAG,QAAQ,CAAA;YACzB,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,CAAA;QAChD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,CAAA;QAC1C,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,CAAA;QAE3D,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC,CAAA;QACvC,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAA;QAC5F,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC7B,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAClD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,CAAA;QACrC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,kCAAkC,OAAO,EAAE,CAAC,CAAA;QAC9D,CAAC;QACD,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;IAC9B,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;QACjE,OAAO,MAAM,QAAQ,CAAC,OAAO,CAAA;IAC/B,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.d.ts","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"resourceTypes.d.ts","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,CAAA;CACjC;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGtF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,YAAY,CAAC,CAMvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readResourceTypes } from
|
|
1
|
+
import { readResourceTypes } from './data.js';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* @param serviceKey the service key to get the resource types for, is case insensitive
|
|
@@ -6,7 +6,7 @@ import { readResourceTypes } from "./data.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export async function iamResourceTypesForService(serviceKey) {
|
|
8
8
|
const data = await readResourceTypes(serviceKey.toLowerCase());
|
|
9
|
-
return Object.values(data).map(resourceType => resourceType.key);
|
|
9
|
+
return Object.values(data).map((resourceType) => resourceType.key);
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Check if a resource type exists for a service and resource type key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQ7C;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,UAAkB;IACjE,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AACpE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,UAAkB,EAClB,eAAuB;IAEvB,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,OAAO,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAA;AAC9C,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,UAAkB,EAClB,eAAuB;IAEvB,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC5F,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CAAC,iBAAiB,eAAe,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC9F,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAA;AAC5C,CAAC"}
|
package/dist/esm/services.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,OAAO,YAAY,CAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,UAAkB;IACvD,MAAM,IAAI,GAAG,MAAM,YAAY,CAAyB,mBAAmB,CAAC,CAAA;IAC5E,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,MAAM,YAAY,CAAyB,mBAAmB,CAAC,CAAA;IAC5E,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,WAAW,UAAU,iBAAiB,CAAC,CAAA;IACzD,CAAC;IACD,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACvC,CAAC"}
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAOxD,IAAI,YAAY,GAA4B,SAAS,CAAA;AAErD;;;;GAIG;AACH,KAAK,UAAU,cAAc;IAC3B,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,WAAW,GAAG,MAAM,gBAAgB,CAAsB,CAAC,cAAc,CAAC,CAAC,CAAA;QACjF,YAAY,GAAG,WAAW,CAAA;IAC5B,CAAC;IACD,OAAO,YAAa,CAAA;AACtB,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,MAAM,IAAI,GAAG,MAAM,cAAc,EAAE,CAAA;IACnC,OAAO,IAAI,CAAC,OAAO,CAAA;AACrB,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB;IACpC,MAAM,IAAI,GAAG,MAAM,cAAc,EAAE,CAAA;IACnC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AACjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-copilot/iam-data",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.202412271",
|
|
4
4
|
"description": "AWS IAM Data",
|
|
5
5
|
"repository": "github:cloud-copilot/iam-data",
|
|
6
|
-
"updatedAt": "2024-12-
|
|
6
|
+
"updatedAt": "2024-12-27T04:44:59.850Z",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/esm/index.js",
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"test": "npx vitest --run --coverage",
|
|
21
21
|
"clean": "rm -rf dist",
|
|
22
22
|
"build": "npx tsc -p tsconfig.cjs.json && npx tsc -p tsconfig.esm.json && ./postbuild.sh",
|
|
23
|
-
"release": "npm install && npm run clean && npm run build && npm run test && npm publish"
|
|
23
|
+
"release": "npm install && npm run clean && npm run build && npm run test && npm run format-check && npm publish",
|
|
24
|
+
"format": "npx prettier --write src/",
|
|
25
|
+
"format-check": "npx prettier --check src/"
|
|
24
26
|
},
|
|
25
27
|
"keywords": [
|
|
26
28
|
"AWS",
|
|
@@ -29,9 +31,11 @@
|
|
|
29
31
|
"author": "David Kerber <dave@cloudcopilot.io>",
|
|
30
32
|
"license": "MIT",
|
|
31
33
|
"devDependencies": {
|
|
34
|
+
"@cloud-copilot/prettier-config": "^0.1.1",
|
|
32
35
|
"@types/node": "^22.5.0",
|
|
33
36
|
"@vitest/coverage-v8": "^2.0.5",
|
|
34
37
|
"typescript": "^5.5.4",
|
|
35
38
|
"vitest": "^2.0.5"
|
|
36
|
-
}
|
|
39
|
+
},
|
|
40
|
+
"prettier": "@cloud-copilot/prettier-config"
|
|
37
41
|
}
|