/
accessanalyzer.2019-11-01.json
4858 lines (4858 loc) · 223 KB
/
accessanalyzer.2019-11-01.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"smithy": "1.0",
"shapes": {
"com.amazonaws.accessanalyzer#AccessAnalyzer": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "AccessAnalyzer",
"arnNamespace": "access-analyzer",
"cloudFormationName": "AccessAnalyzer",
"cloudTrailEventSource": "access-analyzer.amazonaws.com",
"endpointPrefix": "access-analyzer"
},
"aws.auth#sigv4": {
"name": "access-analyzer"
},
"aws.protocols#restJson1": {},
"smithy.api#cors": {},
"smithy.api#documentation": "<p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to\n identify any policies that grant access to an external principal. It does this by using\n logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An\n external principal can be another Amazon Web Services account, a root user, an IAM user or role, a\n federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to\n preview and validate public and cross-account access to your resources before deploying\n permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can\n call programmatically. For general information about IAM Access Analyzer, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html\">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>\n <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
},
"smithy.api#title": "Access Analyzer"
},
"version": "2019-11-01",
"operations": [
{
"target": "com.amazonaws.accessanalyzer#ApplyArchiveRule"
},
{
"target": "com.amazonaws.accessanalyzer#CancelPolicyGeneration"
},
{
"target": "com.amazonaws.accessanalyzer#CreateAccessPreview"
},
{
"target": "com.amazonaws.accessanalyzer#GetAccessPreview"
},
{
"target": "com.amazonaws.accessanalyzer#GetAnalyzedResource"
},
{
"target": "com.amazonaws.accessanalyzer#GetFinding"
},
{
"target": "com.amazonaws.accessanalyzer#GetGeneratedPolicy"
},
{
"target": "com.amazonaws.accessanalyzer#ListAccessPreviewFindings"
},
{
"target": "com.amazonaws.accessanalyzer#ListAccessPreviews"
},
{
"target": "com.amazonaws.accessanalyzer#ListAnalyzedResources"
},
{
"target": "com.amazonaws.accessanalyzer#ListFindings"
},
{
"target": "com.amazonaws.accessanalyzer#ListPolicyGenerations"
},
{
"target": "com.amazonaws.accessanalyzer#ListTagsForResource"
},
{
"target": "com.amazonaws.accessanalyzer#StartPolicyGeneration"
},
{
"target": "com.amazonaws.accessanalyzer#StartResourceScan"
},
{
"target": "com.amazonaws.accessanalyzer#TagResource"
},
{
"target": "com.amazonaws.accessanalyzer#UntagResource"
},
{
"target": "com.amazonaws.accessanalyzer#UpdateFindings"
},
{
"target": "com.amazonaws.accessanalyzer#ValidatePolicy"
}
],
"resources": [
{
"target": "com.amazonaws.accessanalyzer#Analyzer"
}
]
},
"com.amazonaws.accessanalyzer#AccessDeniedException": {
"type": "structure",
"members": {
"message": {
"target": "smithy.api#String",
"traits": {
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>You do not have sufficient access to perform this action.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.accessanalyzer#AccessPointArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:[^:]*:s3:[^:]*:[^:]*:accesspoint/.*$"
}
},
"com.amazonaws.accessanalyzer#AccessPointPolicy": {
"type": "string"
},
"com.amazonaws.accessanalyzer#AccessPreview": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewId",
"traits": {
"smithy.api#documentation": "<p>The unique ID for the access preview.</p>",
"smithy.api#required": {}
}
},
"analyzerArn": {
"target": "com.amazonaws.accessanalyzer#AnalyzerArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the analyzer used to generate the access preview.</p>",
"smithy.api#required": {}
}
},
"configurations": {
"target": "com.amazonaws.accessanalyzer#ConfigurationsMap",
"traits": {
"smithy.api#documentation": "<p>A map of resource ARNs for the proposed resource configuration.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the access preview was created.</p>",
"smithy.api#required": {}
}
},
"status": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the access preview.</p>\n <ul>\n <li>\n <p>\n <code>Creating</code> - The access preview creation is in progress.</p>\n </li>\n <li>\n <p>\n <code>Completed</code> - The access preview is complete. You can preview findings\n for external access to the resource.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - The access preview creation has failed.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"statusReason": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewStatusReason",
"traits": {
"smithy.api#documentation": "<p>Provides more details about the current status of the access preview.</p>\n <p>For example, if the creation of the access preview fails, a <code>Failed</code> status\n is returned. This failure can be due to an internal issue with the analysis or due to an\n invalid resource configuration.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about an access preview.</p>"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewFinding": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewFindingId",
"traits": {
"smithy.api#documentation": "<p>The ID of the access preview finding. This ID uniquely identifies the element in the\n list of access preview findings and is not related to the finding ID in Access\n Analyzer.</p>",
"smithy.api#required": {}
}
},
"existingFindingId": {
"target": "com.amazonaws.accessanalyzer#FindingId",
"traits": {
"smithy.api#documentation": "<p>The existing ID of the finding in IAM Access Analyzer, provided only for existing\n findings.</p>"
}
},
"existingFindingStatus": {
"target": "com.amazonaws.accessanalyzer#FindingStatus",
"traits": {
"smithy.api#documentation": "<p>The existing status of the finding, provided only for existing findings.</p>"
}
},
"principal": {
"target": "com.amazonaws.accessanalyzer#PrincipalMap",
"traits": {
"smithy.api#documentation": "<p>The external principal that has access to a resource within the zone of trust.</p>"
}
},
"action": {
"target": "com.amazonaws.accessanalyzer#ActionList",
"traits": {
"smithy.api#documentation": "<p>The action in the analyzed policy statement that an external principal has permission to\n perform.</p>"
}
},
"condition": {
"target": "com.amazonaws.accessanalyzer#ConditionKeyMap",
"traits": {
"smithy.api#documentation": "<p>The condition in the analyzed policy statement that resulted in a finding.</p>"
}
},
"resource": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The resource that an external principal has access to. This is the resource associated\n with the access preview.</p>"
}
},
"isPublic": {
"target": "smithy.api#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the policy that generated the finding allows public access to the\n resource.</p>"
}
},
"resourceType": {
"target": "com.amazonaws.accessanalyzer#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the resource that can be accessed in the finding.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the access preview finding was created.</p>",
"smithy.api#required": {}
}
},
"changeType": {
"target": "com.amazonaws.accessanalyzer#FindingChangeType",
"traits": {
"smithy.api#documentation": "<p>Provides context on how the access preview finding compares to existing access\n identified in IAM Access Analyzer.</p>\n <ul>\n <li>\n <p>\n <code>New</code> - The finding is for newly-introduced access.</p>\n </li>\n <li>\n <p>\n <code>Unchanged</code> - The preview finding is an existing finding that would\n remain unchanged.</p>\n </li>\n <li>\n <p>\n <code>Changed</code> - The preview finding is an existing finding with a change in\n status.</p>\n </li>\n </ul>\n <p>For example, a <code>Changed</code> finding with preview status <code>Resolved</code>\n and existing status <code>Active</code> indicates the existing <code>Active</code> finding\n would become <code>Resolved</code> as a result of the proposed permissions change.</p>",
"smithy.api#required": {}
}
},
"status": {
"target": "com.amazonaws.accessanalyzer#FindingStatus",
"traits": {
"smithy.api#documentation": "<p>The preview status of the finding. This is what the status of the finding would be after\n permissions deployment. For example, a <code>Changed</code> finding with preview status\n <code>Resolved</code> and existing status <code>Active</code> indicates the existing\n <code>Active</code> finding would become <code>Resolved</code> as a result of the\n proposed permissions change.</p>",
"smithy.api#required": {}
}
},
"resourceOwnerAccount": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning\n account is the account in which the resource was created.</p>",
"smithy.api#required": {}
}
},
"error": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>An error.</p>"
}
},
"sources": {
"target": "com.amazonaws.accessanalyzer#FindingSourceList",
"traits": {
"smithy.api#documentation": "<p>The sources of the finding. This indicates how the access that generated the finding is\n granted. It is populated for Amazon S3 bucket findings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An access preview finding generated by the access preview.</p>"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewFindingId": {
"type": "string"
},
"com.amazonaws.accessanalyzer#AccessPreviewFindingsList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewFinding"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewId": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "COMPLETED",
"name": "COMPLETED"
},
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.accessanalyzer#AccessPreviewStatusReason": {
"type": "structure",
"members": {
"code": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewStatusReasonCode",
"traits": {
"smithy.api#documentation": "<p>The reason code for the current status of the access preview.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides more details about the current status of the access preview. For example, if\n the creation of the access preview fails, a <code>Failed</code> status is returned. This\n failure can be due to an internal issue with the analysis or due to an invalid proposed\n resource configuration.</p>"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewStatusReasonCode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "INTERNAL_ERROR",
"name": "INTERNAL_ERROR"
},
{
"value": "INVALID_CONFIGURATION",
"name": "INVALID_CONFIGURATION"
}
]
}
},
"com.amazonaws.accessanalyzer#AccessPreviewSummary": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewId",
"traits": {
"smithy.api#documentation": "<p>The unique ID for the access preview.</p>",
"smithy.api#required": {}
}
},
"analyzerArn": {
"target": "com.amazonaws.accessanalyzer#AnalyzerArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the analyzer used to generate the access preview.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the access preview was created.</p>",
"smithy.api#required": {}
}
},
"status": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the access preview.</p>\n <ul>\n <li>\n <p>\n <code>Creating</code> - The access preview creation is in progress.</p>\n </li>\n <li>\n <p>\n <code>Completed</code> - The access preview is complete and previews the findings\n for external access to the resource.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - The access preview creation has failed.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"statusReason": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewStatusReason"
}
},
"traits": {
"smithy.api#documentation": "<p>Contains a summary of information about an access preview.</p>"
}
},
"com.amazonaws.accessanalyzer#AccessPreviewsList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#AccessPreviewSummary"
}
},
"com.amazonaws.accessanalyzer#AclCanonicalId": {
"type": "string"
},
"com.amazonaws.accessanalyzer#AclGrantee": {
"type": "union",
"members": {
"id": {
"target": "com.amazonaws.accessanalyzer#AclCanonicalId",
"traits": {
"smithy.api#documentation": "<p>The value specified is the canonical user ID of an Amazon Web Services account.</p>"
}
},
"uri": {
"target": "com.amazonaws.accessanalyzer#AclUri",
"traits": {
"smithy.api#documentation": "<p>Used for granting permissions to a predefined group.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>You specify each grantee as a type-value pair using one of these types. You can specify\n only one type of grantee. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAcl.html\">PutBucketAcl</a>.</p>"
}
},
"com.amazonaws.accessanalyzer#AclPermission": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "READ",
"name": "READ"
},
{
"value": "WRITE",
"name": "WRITE"
},
{
"value": "READ_ACP",
"name": "READ_ACP"
},
{
"value": "WRITE_ACP",
"name": "WRITE_ACP"
},
{
"value": "FULL_CONTROL",
"name": "FULL_CONTROL"
}
]
}
},
"com.amazonaws.accessanalyzer#AclUri": {
"type": "string"
},
"com.amazonaws.accessanalyzer#ActionList": {
"type": "list",
"member": {
"target": "smithy.api#String"
}
},
"com.amazonaws.accessanalyzer#AnalyzedResource": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.accessanalyzer#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the resource that was analyzed.</p>",
"smithy.api#required": {}
}
},
"resourceType": {
"target": "com.amazonaws.accessanalyzer#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the resource that was analyzed.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the finding was created.</p>",
"smithy.api#required": {}
}
},
"analyzedAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the resource was analyzed.</p>",
"smithy.api#required": {}
}
},
"updatedAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the finding was updated.</p>",
"smithy.api#required": {}
}
},
"isPublic": {
"target": "smithy.api#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the policy that generated the finding grants public access to the\n resource.</p>",
"smithy.api#required": {}
}
},
"actions": {
"target": "com.amazonaws.accessanalyzer#ActionList",
"traits": {
"smithy.api#documentation": "<p>The actions that an external principal is granted permission to use by the policy that\n generated the finding.</p>"
}
},
"sharedVia": {
"target": "com.amazonaws.accessanalyzer#SharedViaList",
"traits": {
"smithy.api#documentation": "<p>Indicates how the access that generated the finding is granted. This is populated for\n Amazon S3 bucket findings.</p>"
}
},
"status": {
"target": "com.amazonaws.accessanalyzer#FindingStatus",
"traits": {
"smithy.api#documentation": "<p>The current status of the finding generated from the analyzed resource.</p>"
}
},
"resourceOwnerAccount": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Web Services account ID that owns the resource.</p>",
"smithy.api#required": {}
}
},
"error": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>An error message.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about the analyzed resource.</p>"
}
},
"com.amazonaws.accessanalyzer#AnalyzedResourceSummary": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.accessanalyzer#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the analyzed resource.</p>",
"smithy.api#required": {}
}
},
"resourceOwnerAccount": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Web Services account ID that owns the resource.</p>",
"smithy.api#required": {}
}
},
"resourceType": {
"target": "com.amazonaws.accessanalyzer#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The type of resource that was analyzed.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the ARN of the analyzed resource.</p>"
}
},
"com.amazonaws.accessanalyzer#AnalyzedResourcesList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#AnalyzedResourceSummary"
}
},
"com.amazonaws.accessanalyzer#Analyzer": {
"type": "resource",
"identifiers": {
"analyzerName": {
"target": "com.amazonaws.accessanalyzer#Name"
}
},
"put": {
"target": "com.amazonaws.accessanalyzer#CreateAnalyzer"
},
"read": {
"target": "com.amazonaws.accessanalyzer#GetAnalyzer"
},
"delete": {
"target": "com.amazonaws.accessanalyzer#DeleteAnalyzer"
},
"list": {
"target": "com.amazonaws.accessanalyzer#ListAnalyzers"
},
"resources": [
{
"target": "com.amazonaws.accessanalyzer#ArchiveRule"
}
],
"traits": {
"aws.api#arn": {
"template": "analyzer/{analyzerName}",
"absolute": false,
"noAccount": false,
"noRegion": false
},
"smithy.api#noReplace": {}
}
},
"com.amazonaws.accessanalyzer#AnalyzerArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:analyzer/.{1,255}$"
}
},
"com.amazonaws.accessanalyzer#AnalyzerStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "DISABLED",
"name": "DISABLED"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.accessanalyzer#AnalyzerSummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.accessanalyzer#AnalyzerArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the analyzer.</p>",
"smithy.api#required": {}
}
},
"name": {
"target": "com.amazonaws.accessanalyzer#Name",
"traits": {
"smithy.api#documentation": "<p>The name of the analyzer.</p>",
"smithy.api#required": {}
}
},
"type": {
"target": "com.amazonaws.accessanalyzer#Type",
"traits": {
"smithy.api#documentation": "<p>The type of analyzer, which corresponds to the zone of trust chosen for the\n analyzer.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>A timestamp for the time at which the analyzer was created.</p>",
"smithy.api#required": {}
}
},
"lastResourceAnalyzed": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The resource that was most recently analyzed by the analyzer.</p>"
}
},
"lastResourceAnalyzedAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the most recently analyzed resource was analyzed.</p>"
}
},
"tags": {
"target": "com.amazonaws.accessanalyzer#TagsMap",
"traits": {
"smithy.api#documentation": "<p>The tags added to the analyzer.</p>"
}
},
"status": {
"target": "com.amazonaws.accessanalyzer#AnalyzerStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the analyzer. An <code>Active</code> analyzer successfully monitors\n supported resources and generates new findings. The analyzer is <code>Disabled</code> when\n a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes\n the analyzer to stop generating new findings. The status is <code>Creating</code> when the\n analyzer creation is in progress and <code>Failed</code> when the analyzer creation has\n failed. </p>",
"smithy.api#required": {}
}
},
"statusReason": {
"target": "com.amazonaws.accessanalyzer#StatusReason",
"traits": {
"smithy.api#documentation": "<p>The <code>statusReason</code> provides more details about the current status of the\n analyzer. For example, if the creation for the analyzer fails, a <code>Failed</code> status\n is returned. For an analyzer with organization as the type, this failure can be due to an\n issue with creating the service-linked roles required in the member accounts of the Amazon Web Services\n organization.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the analyzer.</p>"
}
},
"com.amazonaws.accessanalyzer#AnalyzersList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#AnalyzerSummary"
}
},
"com.amazonaws.accessanalyzer#ApplyArchiveRule": {
"type": "operation",
"input": {
"target": "com.amazonaws.accessanalyzer#ApplyArchiveRuleRequest"
},
"errors": [
{
"target": "com.amazonaws.accessanalyzer#AccessDeniedException"
},
{
"target": "com.amazonaws.accessanalyzer#InternalServerException"
},
{
"target": "com.amazonaws.accessanalyzer#ResourceNotFoundException"
},
{
"target": "com.amazonaws.accessanalyzer#ThrottlingException"
},
{
"target": "com.amazonaws.accessanalyzer#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retroactively applies the archive rule to existing findings that meet the archive rule\n criteria.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/archive-rule",
"code": 200
},
"smithy.api#idempotent": {}
}
},
"com.amazonaws.accessanalyzer#ApplyArchiveRuleRequest": {
"type": "structure",
"members": {
"analyzerArn": {
"target": "com.amazonaws.accessanalyzer#AnalyzerArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon resource name (ARN) of the analyzer.</p>",
"smithy.api#required": {}
}
},
"ruleName": {
"target": "com.amazonaws.accessanalyzer#Name",
"traits": {
"smithy.api#documentation": "<p>The name of the rule to apply.</p>",
"smithy.api#required": {}
}
},
"clientToken": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>A client token.</p>",
"smithy.api#idempotencyToken": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Retroactively applies an archive rule.</p>"
}
},
"com.amazonaws.accessanalyzer#ArchiveRule": {
"type": "resource",
"identifiers": {
"analyzerName": {
"target": "com.amazonaws.accessanalyzer#Name"
},
"ruleName": {
"target": "com.amazonaws.accessanalyzer#Name"
}
},
"put": {
"target": "com.amazonaws.accessanalyzer#CreateArchiveRule"
},
"read": {
"target": "com.amazonaws.accessanalyzer#GetArchiveRule"
},
"update": {
"target": "com.amazonaws.accessanalyzer#UpdateArchiveRule"
},
"delete": {
"target": "com.amazonaws.accessanalyzer#DeleteArchiveRule"
},
"list": {
"target": "com.amazonaws.accessanalyzer#ListArchiveRules"
},
"traits": {
"aws.api#arn": {
"template": "analyzer/{analyzerName}/archive-rule/{ruleName}",
"absolute": false,
"noAccount": false,
"noRegion": false
},
"smithy.api#noReplace": {}
}
},
"com.amazonaws.accessanalyzer#ArchiveRuleSummary": {
"type": "structure",
"members": {
"ruleName": {
"target": "com.amazonaws.accessanalyzer#Name",
"traits": {
"smithy.api#documentation": "<p>The name of the archive rule.</p>",
"smithy.api#required": {}
}
},
"filter": {
"target": "com.amazonaws.accessanalyzer#FilterCriteriaMap",
"traits": {
"smithy.api#documentation": "<p>A filter used to define the archive rule.</p>",
"smithy.api#required": {}
}
},
"createdAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the archive rule was created.</p>",
"smithy.api#required": {}
}
},
"updatedAt": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the archive rule was last updated.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about an archive rule.</p>"
}
},
"com.amazonaws.accessanalyzer#ArchiveRulesList": {
"type": "list",
"member": {
"target": "com.amazonaws.accessanalyzer#ArchiveRuleSummary"
}
},
"com.amazonaws.accessanalyzer#CancelPolicyGeneration": {
"type": "operation",
"input": {
"target": "com.amazonaws.accessanalyzer#CancelPolicyGenerationRequest"
},
"output": {
"target": "com.amazonaws.accessanalyzer#CancelPolicyGenerationResponse"
},
"errors": [
{
"target": "com.amazonaws.accessanalyzer#AccessDeniedException"
},
{
"target": "com.amazonaws.accessanalyzer#InternalServerException"
},
{
"target": "com.amazonaws.accessanalyzer#ThrottlingException"
},
{
"target": "com.amazonaws.accessanalyzer#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Cancels the requested policy generation.</p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/policy/generation/{jobId}",
"code": 200
},
"smithy.api#idempotent": {}
}
},
"com.amazonaws.accessanalyzer#CancelPolicyGenerationRequest": {
"type": "structure",
"members": {
"jobId": {
"target": "com.amazonaws.accessanalyzer#JobId",
"traits": {
"smithy.api#documentation": "<p>The <code>JobId</code> that is returned by the <code>StartPolicyGeneration</code>\n operation. The <code>JobId</code> can be used with <code>GetGeneratedPolicy</code> to\n retrieve the generated policies or used with <code>CancelPolicyGeneration</code> to cancel\n the policy generation request.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.accessanalyzer#CancelPolicyGenerationResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.accessanalyzer#CloudTrailArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "^arn:[^:]*:cloudtrail:[^:]*:[^:]*:trail/.{1,576}$"
}
},
"com.amazonaws.accessanalyzer#CloudTrailDetails": {
"type": "structure",
"members": {
"trails": {
"target": "com.amazonaws.accessanalyzer#TrailList",
"traits": {
"smithy.api#documentation": "<p>A <code>Trail</code> object that contains settings for a trail.</p>",
"smithy.api#required": {}
}
},
"accessRole": {
"target": "com.amazonaws.accessanalyzer#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and\n service last accessed information.</p>",
"smithy.api#required": {}
}
},
"startTime": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events\n with a timestamp before this time are not considered to generate a policy.</p>",
"smithy.api#required": {}
}
},
"endTime": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with\n a timestamp after this time are not considered to generate a policy. If this is not\n included in the request, the default value is the current time.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about CloudTrail access.</p>"
}
},
"com.amazonaws.accessanalyzer#CloudTrailProperties": {
"type": "structure",
"members": {
"trailProperties": {
"target": "com.amazonaws.accessanalyzer#TrailPropertiesList",
"traits": {
"smithy.api#documentation": "<p>A <code>TrailProperties</code> object that contains settings for trail\n properties.</p>",
"smithy.api#required": {}
}
},
"startTime": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events\n with a timestamp before this time are not considered to generate a policy.</p>",
"smithy.api#required": {}
}
},
"endTime": {
"target": "com.amazonaws.accessanalyzer#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with\n a timestamp after this time are not considered to generate a policy. If this is not\n included in the request, the default value is the current time.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about CloudTrail access.</p>"
}
},
"com.amazonaws.accessanalyzer#ConditionKeyMap": {
"type": "map",
"key": {
"target": "smithy.api#String"
},
"value": {
"target": "smithy.api#String"
}
},
"com.amazonaws.accessanalyzer#Configuration": {
"type": "union",
"members": {
"iamRole": {
"target": "com.amazonaws.accessanalyzer#IamRoleConfiguration",
"traits": {
"smithy.api#documentation": "<p>The access control configuration is for an IAM role. </p>"
}
},
"kmsKey": {
"target": "com.amazonaws.accessanalyzer#KmsKeyConfiguration",
"traits": {
"smithy.api#documentation": "<p>The access control configuration is for a KMS key. </p>"
}
},
"secretsManagerSecret": {
"target": "com.amazonaws.accessanalyzer#SecretsManagerSecretConfiguration",
"traits": {
"smithy.api#documentation": "<p>The access control configuration is for a Secrets Manager secret.</p>"
}
},
"s3Bucket": {
"target": "com.amazonaws.accessanalyzer#S3BucketConfiguration",
"traits": {
"smithy.api#documentation": "<p>The access control configuration is for an Amazon S3 Bucket. </p>"
}
},
"sqsQueue": {
"target": "com.amazonaws.accessanalyzer#SqsQueueConfiguration",
"traits": {
"smithy.api#documentation": "<p>The access control configuration is for an Amazon SQS queue. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Access control configuration structures for your resource. You specify the configuration\n as a type-value pair. You can specify only one type of access control configuration.</p>"
}
},
"com.amazonaws.accessanalyzer#ConfigurationsMap": {
"type": "map",
"key": {
"target": "com.amazonaws.accessanalyzer#ConfigurationsMapKey"
},
"value": {