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
open Awso_bedrock_agentcore
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_memory_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchCreateMemoryRecords input
let batch_delete_memory_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchDeleteMemoryRecords input
let batch_update_memory_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.BatchUpdateMemoryRecords input
let complete_resource_token_auth ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CompleteResourceTokenAuth input
let create_a_b_test ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateABTest input
let create_event ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreateEvent input
let create_payment_instrument ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePaymentInstrument input
let create_payment_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.CreatePaymentSession input
let delete_a_b_test ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteABTest input
let delete_batch_evaluation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteBatchEvaluation input
let delete_event ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteEvent input
let delete_memory_record ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteMemoryRecord input
let delete_payment_instrument ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePaymentInstrument input
let delete_payment_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeletePaymentSession input
let delete_recommendation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.DeleteRecommendation input
let evaluate ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.Evaluate input
let get_a_b_test ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetABTest input
let get_agent_card ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetAgentCard input
let get_batch_evaluation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetBatchEvaluation input
let get_browser_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetBrowserSession input
let get_code_interpreter_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetCodeInterpreterSession input
let get_event ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetEvent input
let get_memory_record ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetMemoryRecord input
let get_payment_instrument ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPaymentInstrument input
let get_payment_instrument_balance ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPaymentInstrumentBalance input
let get_payment_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetPaymentSession input
let get_recommendation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetRecommendation input
let get_resource_api_key ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourceApiKey input
let get_resource_oauth2_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourceOauth2Token input
let get_resource_payment_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetResourcePaymentToken input
let get_workload_access_token ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWorkloadAccessToken input
let get_workload_access_token_for_j_w_t ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWorkloadAccessTokenForJWT input
let get_workload_access_token_for_user_id ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.GetWorkloadAccessTokenForUserId input
let invoke_agent_runtime ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InvokeAgentRuntime input
let invoke_agent_runtime_command ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InvokeAgentRuntimeCommand input
let invoke_browser ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InvokeBrowser input
let invoke_code_interpreter ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InvokeCodeInterpreter input
let invoke_harness ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.InvokeHarness input
let list_a_b_tests ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListABTests input
let list_actors ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListActors input
let list_batch_evaluations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListBatchEvaluations input
let list_browser_sessions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListBrowserSessions input
let list_code_interpreter_sessions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListCodeInterpreterSessions input
let list_events ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListEvents input
let ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListMemoryExtractionJobs input
let list_memory_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListMemoryRecords input
let list_payment_instruments ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPaymentInstruments input
let list_payment_sessions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListPaymentSessions input
let list_recommendations ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListRecommendations input
let list_sessions ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ListSessions input
let process_payment ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.ProcessPayment input
let retrieve_memory_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.RetrieveMemoryRecords input
let save_browser_session_profile ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SaveBrowserSessionProfile input
let search_registry_records ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.SearchRegistryRecords input
let start_batch_evaluation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartBatchEvaluation input
let start_browser_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartBrowserSession input
let start_code_interpreter_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartCodeInterpreterSession input
let ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartMemoryExtractionJob input
let start_recommendation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StartRecommendation input
let stop_batch_evaluation ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopBatchEvaluation input
let stop_browser_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopBrowserSession input
let stop_code_interpreter_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopCodeInterpreterSession input
let stop_runtime_session ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.StopRuntimeSession input
let update_a_b_test ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateABTest input
let update_browser_stream ?endpoint_url ?cfg input =
eval ?endpoint_url ?cfg Endpoints.UpdateBrowserStream input