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(* 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_wisdom 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_assistant ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAssistant input let create_assistant_association ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAssistantAssociation input let create_content ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateContent input let create_knowledge_base ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateKnowledgeBase input let create_quick_response ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateQuickResponse input let create_session ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateSession input let delete_assistant ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAssistant input let delete_assistant_association ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAssistantAssociation input let delete_content ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteContent input let delete_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteImportJob input let delete_knowledge_base ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteKnowledgeBase input let delete_quick_response ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteQuickResponse input let get_assistant ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAssistant input let get_assistant_association ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAssistantAssociation input let get_content ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetContent input let get_content_summary ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetContentSummary input let get_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetImportJob input let get_knowledge_base ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetKnowledgeBase input let get_quick_response ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetQuickResponse input let get_recommendations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRecommendations input let get_session ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetSession input let list_assistant_associations ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAssistantAssociations input let list_assistants ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAssistants input let list_contents ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListContents input let list_import_jobs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListImportJobs input let list_knowledge_bases ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListKnowledgeBases input let list_quick_responses ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListQuickResponses input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTagsForResource input let notify_recommendations_received ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.NotifyRecommendationsReceived input let query_assistant ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.QueryAssistant input let remove_knowledge_base_template_uri ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.RemoveKnowledgeBaseTemplateUri input let search_content ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchContent input let search_quick_responses ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchQuickResponses input let search_sessions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SearchSessions input let start_content_upload ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartContentUpload input let start_import_job ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StartImportJob 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_content ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateContent input let update_knowledge_base_template_uri ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateKnowledgeBaseTemplateUri input let update_quick_response ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateQuickResponse input