package awso-async

  1. Overview
  2. Docs
AWS client for Async (400+ services, auto-generated from botocore)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

awso-0.9.1.tbz
sha256=e0e7510192b7e45871cff5c60e5162a77a9fa103b6924136fb1fea5db2092b26
sha512=51a18cf74c122b021bd84ef5728b7c5b2d5e767f03d5cd2387d886edc34a68cf54a3183e2d6c4939b4c8d3e0c0e406c869d019f2ee9a0903ae4cf7ca725572f0

doc/src/awso-async.applicationcostprofiler/io.ml.html

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
(* 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_applicationcostprofiler
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 delete_report_definition ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DeleteReportDefinition input
let get_report_definition ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetReportDefinition input
let import_application_usage ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ImportApplicationUsage input
let list_report_definitions ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListReportDefinitions input
let put_report_definition ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.PutReportDefinition input
let update_report_definition ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdateReportDefinition input