|
149 | 149 | %% <<"accessRole">> => string(), |
150 | 150 | %% <<"endTime">> => non_neg_integer(), |
151 | 151 | %% <<"startTime">> => non_neg_integer(), |
152 | | -%% <<"trails">> => list(trail()()) |
| 152 | +%% <<"trails">> => list(trail()) |
153 | 153 | %% } |
154 | 154 | -type cloud_trail_details() :: #{binary() => any()}. |
155 | 155 |
|
|
200 | 200 |
|
201 | 201 | %% Example: |
202 | 202 | %% analysis_rule() :: #{ |
203 | | -%% <<"exclusions">> => list(analysis_rule_criteria()()) |
| 203 | +%% <<"exclusions">> => list(analysis_rule_criteria()) |
204 | 204 | %% } |
205 | 205 | -type analysis_rule() :: #{binary() => any()}. |
206 | 206 |
|
|
216 | 216 | %% Example: |
217 | 217 | %% check_no_public_access_response() :: #{ |
218 | 218 | %% <<"message">> => [string()], |
219 | | -%% <<"reasons">> => list(reason_summary()()), |
| 219 | +%% <<"reasons">> => list(reason_summary()), |
220 | 220 | %% <<"result">> => string() |
221 | 221 | %% } |
222 | 222 | -type check_no_public_access_response() :: #{binary() => any()}. |
|
244 | 244 |
|
245 | 245 | %% Example: |
246 | 246 | %% list_access_previews_response() :: #{ |
247 | | -%% <<"accessPreviews">> := list(access_preview_summary()()), |
| 247 | +%% <<"accessPreviews">> := list(access_preview_summary()), |
248 | 248 | %% <<"nextToken">> => string() |
249 | 249 | %% } |
250 | 250 | -type list_access_previews_response() :: #{binary() => any()}. |
|
289 | 289 | %% <<"resourceControlPolicyRestriction">> => string(), |
290 | 290 | %% <<"resourceOwnerAccount">> => [string()], |
291 | 291 | %% <<"resourceType">> => string(), |
292 | | -%% <<"sources">> => list(finding_source()()), |
| 292 | +%% <<"sources">> => list(finding_source()), |
293 | 293 | %% <<"status">> => string(), |
294 | 294 | %% <<"updatedAt">> => non_neg_integer() |
295 | 295 | %% } |
|
330 | 330 |
|
331 | 331 | %% Example: |
332 | 332 | %% get_findings_statistics_response() :: #{ |
333 | | -%% <<"findingsStatistics">> => list(list()()), |
| 333 | +%% <<"findingsStatistics">> => list(list()), |
334 | 334 | %% <<"lastUpdatedAt">> => non_neg_integer() |
335 | 335 | %% } |
336 | 336 | -type get_findings_statistics_response() :: #{binary() => any()}. |
|
342 | 342 | %% <<"error">> => recommendation_error(), |
343 | 343 | %% <<"nextToken">> => string(), |
344 | 344 | %% <<"recommendationType">> => string(), |
345 | | -%% <<"recommendedSteps">> => list(list()()), |
| 345 | +%% <<"recommendedSteps">> => list(list()), |
346 | 346 | %% <<"resourceArn">> => string(), |
347 | 347 | %% <<"startedAt">> => non_neg_integer(), |
348 | 348 | %% <<"status">> => string() |
|
378 | 378 | %% internal_access_analysis_rule_criteria() :: #{ |
379 | 379 | %% <<"accountIds">> => list([string()]()), |
380 | 380 | %% <<"resourceArns">> => list([string()]()), |
381 | | -%% <<"resourceTypes">> => list(string()()) |
| 381 | +%% <<"resourceTypes">> => list(string()) |
382 | 382 | %% } |
383 | 383 | -type internal_access_analysis_rule_criteria() :: #{binary() => any()}. |
384 | 384 |
|
385 | 385 |
|
386 | 386 | %% Example: |
387 | 387 | %% list_findings_response() :: #{ |
388 | | -%% <<"findings">> => list(finding_summary()()), |
| 388 | +%% <<"findings">> => list(finding_summary()), |
389 | 389 | %% <<"nextToken">> => string() |
390 | 390 | %% } |
391 | 391 | -type list_findings_response() :: #{binary() => any()}. |
|
394 | 394 | %% Example: |
395 | 395 | %% create_analyzer_request() :: #{ |
396 | 396 | %% <<"analyzerName">> => string(), |
397 | | -%% <<"archiveRules">> => list(inline_archive_rule()()), |
| 397 | +%% <<"archiveRules">> => list(inline_archive_rule()), |
398 | 398 | %% <<"clientToken">> => [string()], |
399 | 399 | %% <<"configuration">> => list(), |
400 | 400 | %% <<"tags">> => map(), |
|
419 | 419 |
|
420 | 420 | %% Example: |
421 | 421 | %% unused_permission_details() :: #{ |
422 | | -%% <<"actions">> => list(unused_action()()), |
| 422 | +%% <<"actions">> => list(unused_action()), |
423 | 423 | %% <<"lastAccessed">> => non_neg_integer(), |
424 | 424 | %% <<"serviceNamespace">> => [string()] |
425 | 425 | %% } |
|
484 | 484 |
|
485 | 485 | %% Example: |
486 | 486 | %% list_analyzers_response() :: #{ |
487 | | -%% <<"analyzers">> => list(analyzer_summary()()), |
| 487 | +%% <<"analyzers">> => list(analyzer_summary()), |
488 | 488 | %% <<"nextToken">> => string() |
489 | 489 | %% } |
490 | 490 | -type list_analyzers_response() :: #{binary() => any()}. |
|
493 | 493 | %% Example: |
494 | 494 | %% analysis_rule_criteria() :: #{ |
495 | 495 | %% <<"accountIds">> => list([string()]()), |
496 | | -%% <<"resourceTags">> => list(map()()) |
| 496 | +%% <<"resourceTags">> => list(map()) |
497 | 497 | %% } |
498 | 498 | -type analysis_rule_criteria() :: #{binary() => any()}. |
499 | 499 |
|
500 | 500 |
|
501 | 501 | %% Example: |
502 | 502 | %% check_access_not_granted_response() :: #{ |
503 | 503 | %% <<"message">> => [string()], |
504 | | -%% <<"reasons">> => list(reason_summary()()), |
| 504 | +%% <<"reasons">> => list(reason_summary()), |
505 | 505 | %% <<"result">> => string() |
506 | 506 | %% } |
507 | 507 | -type check_access_not_granted_response() :: #{binary() => any()}. |
|
572 | 572 |
|
573 | 573 | %% Example: |
574 | 574 | %% list_analyzed_resources_response() :: #{ |
575 | | -%% <<"analyzedResources">> => list(analyzed_resource_summary()()), |
| 575 | +%% <<"analyzedResources">> => list(analyzed_resource_summary()), |
576 | 576 | %% <<"nextToken">> => string() |
577 | 577 | %% } |
578 | 578 | -type list_analyzed_resources_response() :: #{binary() => any()}. |
|
594 | 594 | %% <<"resourceControlPolicyRestriction">> => string(), |
595 | 595 | %% <<"resourceOwnerAccount">> => [string()], |
596 | 596 | %% <<"resourceType">> => string(), |
597 | | -%% <<"sources">> => list(finding_source()()), |
| 597 | +%% <<"sources">> => list(finding_source()), |
598 | 598 | %% <<"status">> => string() |
599 | 599 | %% } |
600 | 600 | -type access_preview_finding() :: #{binary() => any()}. |
|
663 | 663 |
|
664 | 664 | %% Example: |
665 | 665 | %% internal_access_analysis_rule() :: #{ |
666 | | -%% <<"inclusions">> => list(internal_access_analysis_rule_criteria()()) |
| 666 | +%% <<"inclusions">> => list(internal_access_analysis_rule_criteria()) |
667 | 667 | %% } |
668 | 668 | -type internal_access_analysis_rule() :: #{binary() => any()}. |
669 | 669 |
|
|
699 | 699 | %% <<"findingType">> => string(), |
700 | 700 | %% <<"issueCode">> => string(), |
701 | 701 | %% <<"learnMoreLink">> => string(), |
702 | | -%% <<"locations">> => list(location()()) |
| 702 | +%% <<"locations">> => list(location()) |
703 | 703 | %% } |
704 | 704 | -type validate_policy_finding() :: #{binary() => any()}. |
705 | 705 |
|
706 | 706 |
|
707 | 707 | %% Example: |
708 | 708 | %% list_archive_rules_response() :: #{ |
709 | | -%% <<"archiveRules">> => list(archive_rule_summary()()), |
| 709 | +%% <<"archiveRules">> => list(archive_rule_summary()), |
710 | 710 | %% <<"nextToken">> => string() |
711 | 711 | %% } |
712 | 712 | -type list_archive_rules_response() :: #{binary() => any()}. |
|
743 | 743 | %% <<"resourceControlPolicyRestriction">> => string(), |
744 | 744 | %% <<"resourceOwnerAccount">> => [string()], |
745 | 745 | %% <<"resourceType">> => string(), |
746 | | -%% <<"sources">> => list(finding_source()()), |
| 746 | +%% <<"sources">> => list(finding_source()), |
747 | 747 | %% <<"status">> => string(), |
748 | 748 | %% <<"updatedAt">> => non_neg_integer() |
749 | 749 | %% } |
|
755 | 755 | %% <<"constraints">> => kms_grant_constraints(), |
756 | 756 | %% <<"granteePrincipal">> => string(), |
757 | 757 | %% <<"issuingAccount">> => string(), |
758 | | -%% <<"operations">> => list(string()()), |
| 758 | +%% <<"operations">> => list(string()), |
759 | 759 | %% <<"retiringPrincipal">> => string() |
760 | 760 | %% } |
761 | 761 | -type kms_grant_configuration() :: #{binary() => any()}. |
|
764 | 764 | %% Example: |
765 | 765 | %% check_no_new_access_response() :: #{ |
766 | 766 | %% <<"message">> => [string()], |
767 | | -%% <<"reasons">> => list(reason_summary()()), |
| 767 | +%% <<"reasons">> => list(reason_summary()), |
768 | 768 | %% <<"result">> => string() |
769 | 769 | %% } |
770 | 770 | -type check_no_new_access_response() :: #{binary() => any()}. |
|
807 | 807 | %% <<"principalType">> => string(), |
808 | 808 | %% <<"resourceControlPolicyRestriction">> => string(), |
809 | 809 | %% <<"serviceControlPolicyRestriction">> => string(), |
810 | | -%% <<"sources">> => list(finding_source()()) |
| 810 | +%% <<"sources">> => list(finding_source()) |
811 | 811 | %% } |
812 | 812 | -type internal_access_details() :: #{binary() => any()}. |
813 | 813 |
|
814 | 814 |
|
815 | 815 | %% Example: |
816 | 816 | %% generated_policy_result() :: #{ |
817 | | -%% <<"generatedPolicies">> => list(generated_policy()()), |
| 817 | +%% <<"generatedPolicies">> => list(generated_policy()), |
818 | 818 | %% <<"properties">> => generated_policy_properties() |
819 | 819 | %% } |
820 | 820 | -type generated_policy_result() :: #{binary() => any()}. |
|
845 | 845 |
|
846 | 846 | %% Example: |
847 | 847 | %% location() :: #{ |
848 | | -%% <<"path">> => list(list()()), |
| 848 | +%% <<"path">> => list(list()), |
849 | 849 | %% <<"span">> => span() |
850 | 850 | %% } |
851 | 851 | -type location() :: #{binary() => any()}. |
|
882 | 882 | %% Example: |
883 | 883 | %% list_policy_generations_response() :: #{ |
884 | 884 | %% <<"nextToken">> => string(), |
885 | | -%% <<"policyGenerations">> := list(policy_generation()()) |
| 885 | +%% <<"policyGenerations">> := list(policy_generation()) |
886 | 886 | %% } |
887 | 887 | -type list_policy_generations_response() :: #{binary() => any()}. |
888 | 888 |
|
|
905 | 905 |
|
906 | 906 | %% Example: |
907 | 907 | %% kms_key_configuration() :: #{ |
908 | | -%% <<"grants">> => list(kms_grant_configuration()()), |
| 908 | +%% <<"grants">> => list(kms_grant_configuration()), |
909 | 909 | %% <<"keyPolicies">> => map() |
910 | 910 | %% } |
911 | 911 | -type kms_key_configuration() :: #{binary() => any()}. |
|
932 | 932 |
|
933 | 933 | %% Example: |
934 | 934 | %% ebs_snapshot_configuration() :: #{ |
935 | | -%% <<"groups">> => list(string()()), |
| 935 | +%% <<"groups">> => list(string()), |
936 | 936 | %% <<"kmsKeyId">> => string(), |
937 | | -%% <<"userIds">> => list(string()()) |
| 937 | +%% <<"userIds">> => list(string()) |
938 | 938 | %% } |
939 | 939 | -type ebs_snapshot_configuration() :: #{binary() => any()}. |
940 | 940 |
|
|
970 | 970 |
|
971 | 971 | %% Example: |
972 | 972 | %% validate_policy_response() :: #{ |
973 | | -%% <<"findings">> := list(validate_policy_finding()()), |
| 973 | +%% <<"findings">> := list(validate_policy_finding()), |
974 | 974 | %% <<"nextToken">> => string() |
975 | 975 | %% } |
976 | 976 | -type validate_policy_response() :: #{binary() => any()}. |
|
1007 | 1007 | %% <<"isPublic">> => [boolean()], |
1008 | 1008 | %% <<"principal">> => map(), |
1009 | 1009 | %% <<"resourceControlPolicyRestriction">> => string(), |
1010 | | -%% <<"sources">> => list(finding_source()()) |
| 1010 | +%% <<"sources">> => list(finding_source()) |
1011 | 1011 | %% } |
1012 | 1012 | -type external_access_details() :: #{binary() => any()}. |
1013 | 1013 |
|
|
1031 | 1031 | %% cloud_trail_properties() :: #{ |
1032 | 1032 | %% <<"endTime">> => non_neg_integer(), |
1033 | 1033 | %% <<"startTime">> => non_neg_integer(), |
1034 | | -%% <<"trailProperties">> => list(trail_properties()()) |
| 1034 | +%% <<"trailProperties">> => list(trail_properties()) |
1035 | 1035 | %% } |
1036 | 1036 | -type cloud_trail_properties() :: #{binary() => any()}. |
1037 | 1037 |
|
|
1122 | 1122 |
|
1123 | 1123 | %% Example: |
1124 | 1124 | %% unused_access_findings_statistics() :: #{ |
1125 | | -%% <<"topAccounts">> => list(finding_aggregation_account_details()()), |
| 1125 | +%% <<"topAccounts">> => list(finding_aggregation_account_details()), |
1126 | 1126 | %% <<"totalActiveFindings">> => [integer()], |
1127 | 1127 | %% <<"totalArchivedFindings">> => [integer()], |
1128 | 1128 | %% <<"totalResolvedFindings">> => [integer()], |
1129 | | -%% <<"unusedAccessTypeStatistics">> => list(unused_access_type_statistics()()) |
| 1129 | +%% <<"unusedAccessTypeStatistics">> => list(unused_access_type_statistics()) |
1130 | 1130 | %% } |
1131 | 1131 | -type unused_access_findings_statistics() :: #{binary() => any()}. |
1132 | 1132 |
|
1133 | 1133 |
|
1134 | 1134 | %% Example: |
1135 | 1135 | %% s3_bucket_configuration() :: #{ |
1136 | 1136 | %% <<"accessPoints">> => map(), |
1137 | | -%% <<"bucketAclGrants">> => list(s3_bucket_acl_grant_configuration()()), |
| 1137 | +%% <<"bucketAclGrants">> => list(s3_bucket_acl_grant_configuration()), |
1138 | 1138 | %% <<"bucketPolicy">> => string(), |
1139 | 1139 | %% <<"bucketPublicAccessBlock">> => s3_public_access_block_configuration() |
1140 | 1140 | %% } |
|
1143 | 1143 |
|
1144 | 1144 | %% Example: |
1145 | 1145 | %% validation_exception() :: #{ |
1146 | | -%% <<"fieldList">> => list(validation_exception_field()()), |
| 1146 | +%% <<"fieldList">> => list(validation_exception_field()), |
1147 | 1147 | %% <<"message">> => [string()], |
1148 | 1148 | %% <<"reason">> => string() |
1149 | 1149 | %% } |
|
1158 | 1158 | %% update_findings_request() :: #{ |
1159 | 1159 | %% <<"analyzerArn">> => string(), |
1160 | 1160 | %% <<"clientToken">> => [string()], |
1161 | | -%% <<"ids">> => list(string()()), |
| 1161 | +%% <<"ids">> => list(string()), |
1162 | 1162 | %% <<"resourceArn">> => string(), |
1163 | 1163 | %% <<"status">> => string() |
1164 | 1164 | %% } |
|
1199 | 1199 |
|
1200 | 1200 | %% Example: |
1201 | 1201 | %% access() :: #{ |
1202 | | -%% <<"actions">> => list(string()()), |
1203 | | -%% <<"resources">> => list(string()()) |
| 1202 | +%% <<"actions">> => list(string()), |
| 1203 | +%% <<"resources">> => list(string()) |
1204 | 1204 | %% } |
1205 | 1205 | -type access() :: #{binary() => any()}. |
1206 | 1206 |
|
|
1218 | 1218 | %% <<"analyzedAt">> => non_neg_integer(), |
1219 | 1219 | %% <<"createdAt">> => non_neg_integer(), |
1220 | 1220 | %% <<"error">> => [string()], |
1221 | | -%% <<"findingDetails">> => list(list()()), |
| 1221 | +%% <<"findingDetails">> => list(list()), |
1222 | 1222 | %% <<"findingType">> => string(), |
1223 | 1223 | %% <<"id">> => string(), |
1224 | 1224 | %% <<"nextToken">> => string(), |
|
1289 | 1289 |
|
1290 | 1290 | %% Example: |
1291 | 1291 | %% check_access_not_granted_request() :: #{ |
1292 | | -%% <<"access">> := list(access()()), |
| 1292 | +%% <<"access">> := list(access()), |
1293 | 1293 | %% <<"policyDocument">> := string(), |
1294 | 1294 | %% <<"policyType">> := string() |
1295 | 1295 | %% } |
|
1336 | 1336 |
|
1337 | 1337 | %% Example: |
1338 | 1338 | %% list_findings_v2_response() :: #{ |
1339 | | -%% <<"findings">> => list(finding_summary_v2()()), |
| 1339 | +%% <<"findings">> => list(finding_summary_v2()), |
1340 | 1340 | %% <<"nextToken">> => string() |
1341 | 1341 | %% } |
1342 | 1342 | -type list_findings_v2_response() :: #{binary() => any()}. |
|
1457 | 1457 |
|
1458 | 1458 | %% Example: |
1459 | 1459 | %% list_access_preview_findings_response() :: #{ |
1460 | | -%% <<"findings">> := list(access_preview_finding()()), |
| 1460 | +%% <<"findings">> := list(access_preview_finding()), |
1461 | 1461 | %% <<"nextToken">> => string() |
1462 | 1462 | %% } |
1463 | 1463 | -type list_access_preview_findings_response() :: #{binary() => any()}. |
|
0 commit comments