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(* 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_amp 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 create_alert_manager_definition ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAlertManagerDefinition input let create_anomaly_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAnomalyDetector input let create_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateLoggingConfiguration input let create_query_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateQueryLoggingConfiguration input let create_rule_groups_namespace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateRuleGroupsNamespace input let create_scraper ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateScraper input let create_workspace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateWorkspace input let delete_alert_manager_definition ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAlertManagerDefinition input let delete_anomaly_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAnomalyDetector input let delete_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteLoggingConfiguration input let delete_query_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteQueryLoggingConfiguration input let delete_resource_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteResourcePolicy input let delete_rule_groups_namespace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteRuleGroupsNamespace input let delete_scraper ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteScraper input let delete_scraper_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteScraperLoggingConfiguration input let delete_workspace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteWorkspace input let describe_alert_manager_definition ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAlertManagerDefinition input let describe_anomaly_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeAnomalyDetector input let describe_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeLoggingConfiguration input let describe_query_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeQueryLoggingConfiguration input let describe_resource_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeResourcePolicy input let describe_rule_groups_namespace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeRuleGroupsNamespace input let describe_scraper ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeScraper input let describe_scraper_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeScraperLoggingConfiguration input let describe_workspace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeWorkspace input let describe_workspace_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DescribeWorkspaceConfiguration input let get_default_scraper_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDefaultScraperConfiguration input let list_anomaly_detectors ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAnomalyDetectors input let list_rule_groups_namespaces ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListRuleGroupsNamespaces input let list_scrapers ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListScrapers input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let list_workspaces ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListWorkspaces input let put_alert_manager_definition ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutAlertManagerDefinition input let put_anomaly_detector ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutAnomalyDetector input let put_resource_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutResourcePolicy input let put_rule_groups_namespace ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutRuleGroupsNamespace 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_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateLoggingConfiguration input let update_query_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateQueryLoggingConfiguration input let update_scraper ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateScraper input let update_scraper_logging_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateScraperLoggingConfiguration input let update_workspace_alias ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateWorkspaceAlias input let update_workspace_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateWorkspaceConfiguration input