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 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 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184(* 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_lambda 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 add_layer_version_permission ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.AddLayerVersionPermission input let add_permission ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.AddPermission input let checkpoint_durable_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CheckpointDurableExecution input let create_alias ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateAlias input let create_capacity_provider ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCapacityProvider input let create_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateCodeSigningConfig input let create_event_source_mapping ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateEventSourceMapping input let create_function ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateFunction input let create_function_url_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.CreateFunctionUrlConfig input let delete_alias ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteAlias input let delete_capacity_provider ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCapacityProvider input let delete_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteCodeSigningConfig input let delete_event_source_mapping ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteEventSourceMapping input let delete_function ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFunction input let delete_function_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFunctionCodeSigningConfig input let delete_function_concurrency ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFunctionConcurrency input let delete_function_event_invoke_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFunctionEventInvokeConfig input let delete_function_url_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteFunctionUrlConfig input let delete_layer_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteLayerVersion input let delete_provisioned_concurrency_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.DeleteProvisionedConcurrencyConfig input let get_account_settings ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAccountSettings input let get_alias ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetAlias input let get_capacity_provider ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCapacityProvider input let get_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetCodeSigningConfig input let get_durable_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDurableExecution input let get_durable_execution_history ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDurableExecutionHistory input let get_durable_execution_state ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetDurableExecutionState input let get_event_source_mapping ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetEventSourceMapping input let get_function ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunction input let get_function_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionCodeSigningConfig input let get_function_concurrency ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionConcurrency input let get_function_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionConfiguration input let get_function_event_invoke_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionEventInvokeConfig input let get_function_recursion_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionRecursionConfig input let get_function_scaling_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionScalingConfig input let get_function_url_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetFunctionUrlConfig input let get_layer_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetLayerVersion input let get_layer_version_by_arn ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetLayerVersionByArn input let get_layer_version_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetLayerVersionPolicy input let get_policy ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetPolicy input let get_provisioned_concurrency_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetProvisionedConcurrencyConfig input let get_runtime_management_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.GetRuntimeManagementConfig input let invoke ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.Invoke input let invoke_async ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.InvokeAsync input let invoke_with_response_stream ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.InvokeWithResponseStream input let list_aliases ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListAliases input let list_capacity_providers ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCapacityProviders input let list_code_signing_configs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListCodeSigningConfigs input let list_durable_executions_by_function ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListDurableExecutionsByFunction input let list_event_source_mappings ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListEventSourceMappings input let list_function_event_invoke_configs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFunctionEventInvokeConfigs input let list_function_url_configs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFunctionUrlConfigs input let list_function_versions_by_capacity_provider ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFunctionVersionsByCapacityProvider input let list_functions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFunctions input let list_functions_by_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListFunctionsByCodeSigningConfig input let list_layer_versions ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListLayerVersions input let list_layers ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListLayers input let list_provisioned_concurrency_configs ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListProvisionedConcurrencyConfigs input let ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListTags input let list_versions_by_function ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.ListVersionsByFunction input let publish_layer_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PublishLayerVersion input let publish_version ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PublishVersion input let put_function_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutFunctionCodeSigningConfig input let put_function_concurrency ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutFunctionConcurrency input let put_function_event_invoke_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutFunctionEventInvokeConfig input let put_function_recursion_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutFunctionRecursionConfig input let put_function_scaling_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutFunctionScalingConfig input let put_provisioned_concurrency_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutProvisionedConcurrencyConfig input let put_runtime_management_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.PutRuntimeManagementConfig input let remove_layer_version_permission ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.RemoveLayerVersionPermission input let remove_permission ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.RemovePermission input let send_durable_execution_callback_failure ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendDurableExecutionCallbackFailure input let send_durable_execution_callback_heartbeat ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendDurableExecutionCallbackHeartbeat input let send_durable_execution_callback_success ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.SendDurableExecutionCallbackSuccess input let stop_durable_execution ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.StopDurableExecution 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_alias ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateAlias input let update_capacity_provider ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCapacityProvider input let update_code_signing_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateCodeSigningConfig input let update_event_source_mapping ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateEventSourceMapping input let update_function_code ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateFunctionCode input let update_function_configuration ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateFunctionConfiguration input let update_function_event_invoke_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateFunctionEventInvokeConfig input let update_function_url_config ?endpoint_url ?cfg input = eval ?endpoint_url ?cfg Endpoints.UpdateFunctionUrlConfig input