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(* 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_frauddetector 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 batch_create_variable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchCreateVariable input let batch_get_variable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.BatchGetVariable input let cancel_batch_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelBatchImportJob input let cancel_batch_prediction_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CancelBatchPredictionJob input let create_batch_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateBatchImportJob input let create_batch_prediction_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateBatchPredictionJob input let create_detector_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateDetectorVersion input let create_list ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateList input let create_model ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateModel input let create_model_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateModelVersion input let create_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateRule input let create_variable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateVariable input let delete_batch_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteBatchImportJob input let delete_batch_prediction_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteBatchPredictionJob input let delete_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDetector input let delete_detector_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteDetectorVersion input let delete_entity_type ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEntityType input let delete_event ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEvent input let delete_event_type ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEventType input let delete_events_by_event_type ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEventsByEventType input let delete_external_model ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteExternalModel input let delete_label ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteLabel input let delete_list ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteList input let delete_model ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteModel input let delete_model_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteModelVersion input let delete_outcome ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteOutcome input let delete_rule ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteRule input let delete_variable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteVariable input let describe_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeDetector input let describe_model_versions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeModelVersions input let get_batch_import_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetBatchImportJobs input let get_batch_prediction_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetBatchPredictionJobs input let get_delete_events_by_event_type_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDeleteEventsByEventTypeStatus input let get_detector_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDetectorVersion input let get_detectors ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDetectors input let get_entity_types ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEntityTypes input let get_event ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEvent input let get_event_prediction ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEventPrediction input let get_event_prediction_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEventPredictionMetadata input let get_event_types ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEventTypes input let get_external_models ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetExternalModels input let get_k_m_s_encryption_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKMSEncryptionKey input let get_labels ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetLabels input let get_list_elements ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetListElements input let get_lists_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetListsMetadata input let get_model_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetModelVersion input let get_models ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetModels input let get_outcomes ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetOutcomes input let get_rules ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRules input let get_variables ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetVariables input let list_event_predictions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListEventPredictions input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let put_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutDetector input let put_entity_type ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutEntityType input let put_event_type ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutEventType input let put_external_model ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutExternalModel input let put_k_m_s_encryption_key ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutKMSEncryptionKey input let put_label ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutLabel input let put_outcome ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutOutcome input let send_event ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendEvent 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_detector_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateDetectorVersion input let update_detector_version_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateDetectorVersionMetadata input let update_detector_version_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateDetectorVersionStatus input let update_event_label ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateEventLabel input let update_list ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateList input let update_model ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateModel input let update_model_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateModelVersion input let update_model_version_status ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateModelVersionStatus input let update_rule_metadata ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateRuleMetadata input let update_rule_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateRuleVersion input let update_variable ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateVariable input