package awso-async
Source file io.ml
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(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *) open Awso_inspector2 open Awso_async module Io = Http.Io let eval ?endpoint_url ?cfg endpoint input = Io.bind (Io.resolve_cfg cfg) (fun cfg -> let meth = Endpoints.method_of_endpoint endpoint in let uri = Endpoints.uri_of_endpoint endpoint input in Io.map (Io.call ?endpoint_url ~cfg ~service:Values.service meth (Endpoints.to_request endpoint input) uri) (fun resp_result -> Endpoints.of_response endpoint resp_result)) let associate_member ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.AssociateMember input let batch_associate_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchAssociateCodeSecurityScanConfiguration input let batch_disassociate_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchDisassociateCodeSecurityScanConfiguration input let batch_get_account_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetAccountStatus input let batch_get_code_snippet ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetCodeSnippet input let batch_get_finding_details ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetFindingDetails input let batch_get_free_trial_info ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetFreeTrialInfo input let batch_get_member_ec2_deep_inspection_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetMemberEc2DeepInspectionStatus input let batch_update_member_ec2_deep_inspection_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchUpdateMemberEc2DeepInspectionStatus input let cancel_findings_report ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelFindingsReport input let cancel_sbom_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelSbomExport input let create_cis_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCisScanConfiguration input let create_code_security_integration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCodeSecurityIntegration input let create_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCodeSecurityScanConfiguration input let create_filter ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateFilter input let create_findings_report ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateFindingsReport input let create_sbom_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateSbomExport input let delete_cis_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCisScanConfiguration input let delete_code_security_integration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCodeSecurityIntegration input let delete_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCodeSecurityScanConfiguration input let delete_filter ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFilter input let describe_organization_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeOrganizationConfiguration input let disable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.Disable input let disable_delegated_admin_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DisableDelegatedAdminAccount input let disassociate_member ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DisassociateMember input let enable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.Enable input let enable_delegated_admin_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.EnableDelegatedAdminAccount input let get_cis_scan_report ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCisScanReport input let get_cis_scan_result_details ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCisScanResultDetails input let get_clusters_for_image ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetClustersForImage input let get_code_security_integration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCodeSecurityIntegration input let get_code_security_scan ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCodeSecurityScan input let get_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCodeSecurityScanConfiguration input let get_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetConfiguration input let get_delegated_admin_account ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDelegatedAdminAccount input let get_ec2_deep_inspection_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEc2DeepInspectionConfiguration input let get_encryption_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEncryptionKey input let get_findings_report_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFindingsReportStatus input let get_member ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetMember input let get_sbom_export ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSbomExport input let list_account_permissions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAccountPermissions input let list_cis_scan_configurations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCisScanConfigurations input let list_cis_scan_results_aggregated_by_checks ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCisScanResultsAggregatedByChecks input let list_cis_scan_results_aggregated_by_target_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCisScanResultsAggregatedByTargetResource input let list_cis_scans ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCisScans input let list_code_security_integrations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCodeSecurityIntegrations input let list_code_security_scan_configuration_associations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCodeSecurityScanConfigurationAssociations input let list_code_security_scan_configurations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCodeSecurityScanConfigurations input let list_coverage ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCoverage input let list_coverage_statistics ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCoverageStatistics input let list_delegated_admin_accounts ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDelegatedAdminAccounts input let list_filters ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFilters input let list_finding_aggregations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFindingAggregations input let list_findings ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFindings input let list_members ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListMembers input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_usage_totals ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListUsageTotals input let reset_encryption_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ResetEncryptionKey input let search_vulnerabilities ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchVulnerabilities input let send_cis_session_health ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendCisSessionHealth input let send_cis_session_telemetry ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendCisSessionTelemetry input let start_cis_session ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartCisSession input let start_code_security_scan ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartCodeSecurityScan input let stop_cis_session ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StopCisSession input let tag_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.TagResource input let untag_resource ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UntagResource input let update_cis_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCisScanConfiguration input let update_code_security_integration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCodeSecurityIntegration input let update_code_security_scan_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCodeSecurityScanConfiguration input let update_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateConfiguration input let update_ec2_deep_inspection_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateEc2DeepInspectionConfiguration input let update_encryption_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateEncryptionKey input let update_filter ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateFilter input let update_org_ec2_deep_inspection_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateOrgEc2DeepInspectionConfiguration input let update_organization_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateOrganizationConfiguration input