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
(* 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_marketplace_agreement
open Awso_lwt
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 accept_agreement_cancellation_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptAgreementCancellationRequest input
let accept_agreement_payment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptAgreementPaymentRequest input
let accept_agreement_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.AcceptAgreementRequest input
let batch_create_billing_adjustment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.BatchCreateBillingAdjustmentRequest input
let cancel_agreement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelAgreement input
let cancel_agreement_cancellation_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelAgreementCancellationRequest input
let cancel_agreement_payment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CancelAgreementPaymentRequest input
let create_agreement_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.CreateAgreementRequest input
let describe_agreement ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.DescribeAgreement input
let get_agreement_cancellation_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAgreementCancellationRequest input
let get_agreement_entitlements ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAgreementEntitlements input
let get_agreement_payment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAgreementPaymentRequest input
let get_agreement_terms ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetAgreementTerms input
let get_billing_adjustment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.GetBillingAdjustmentRequest input
let list_agreement_cancellation_requests ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAgreementCancellationRequests input
let list_agreement_charges ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAgreementCharges input
let list_agreement_invoice_line_items ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAgreementInvoiceLineItems input
let list_agreement_payment_requests ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListAgreementPaymentRequests input
let list_billing_adjustment_requests ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.ListBillingAdjustmentRequests input
let reject_agreement_cancellation_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RejectAgreementCancellationRequest input
let reject_agreement_payment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.RejectAgreementPaymentRequest input
let search_agreements ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SearchAgreements input
let send_agreement_cancellation_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendAgreementCancellationRequest input
let send_agreement_payment_request ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.SendAgreementPaymentRequest input
let update_purchase_orders ?endpoint_url ?cfg input =
  eval ?endpoint_url ?cfg Endpoints.UpdatePurchaseOrders input