@cloud-copilot/iam-data 0.9.202412201 → 0.9.202412211

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,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 such as pro forma billing group related 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,
@@ -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
- "conditionKeys": [],
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
- "conditionKeys": [],
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
- "conditionKeys": [],
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
- "conditionKeys": [],
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
- "conditionKeys": [],
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
- "conditionKeys": [],
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
- "conditionKeys": [],
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": {
@@ -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": false,
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": "import-task",
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": "graph",
102
- "required": false,
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-snapshot",
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": false,
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",
@@ -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
+ }
@@ -1 +1,9 @@
1
- {}
1
+ {
2
+ "billingview": {
3
+ "key": "billingview",
4
+ "arn": "arn:${Partition}:billing::${Account}:billingview/${ResourceId}",
5
+ "conditionKeys": [
6
+ "aws:ResourceTag/${TagKey}"
7
+ ]
8
+ }
9
+ }
@@ -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
  }
@@ -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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@cloud-copilot/iam-data",
3
- "version": "0.9.202412201",
3
+ "version": "0.9.202412211",
4
4
  "description": "AWS IAM Data",
5
5
  "repository": "github:cloud-copilot/iam-data",
6
- "updatedAt": "2024-12-20T04:44:40.045Z",
6
+ "updatedAt": "2024-12-21T04:43:34.354Z",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/esm/index.js",