1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *)openAwsoopen!Import[@@@warning"-32"]letservice=Service.sagemaker_a2i_runtimeletapiVersion="2019-11-07"letendpointPrefix="a2i-runtime.sagemaker"letserviceFullName="Amazon Augmented AI Runtime"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letsimple_to_jsonto_valuex=Botodata.Json.value_to_json_scalar(to_valuex)letcomposed_to_jsonto_valuex=Botodata.Json.value_to_json(to_valuex)letto_queryto_valuex=Client.Query.of_value(to_valuex)letstructure_to_value_auxst~f=letfilter=function|(k,Somev)->Some(k,v)|_->Noneinletpairkv=(k,v)inletdefer_value(k,dv)=pairkdvin((List.filter_mapst~f:filter)|>(List.map~f:defer_value))|>(funx->`Structure(fx))letstructure_to_value=structure_to_value_aux~f:Fn.idletstructure_to_wrapped_value~wrapper~response=structure_to_value_aux~f:(funx->[(wrapper,(`Structurex));(response,(`Structure[]))])moduleContentClassifier=structtypenonrect=|FreeOfPersonallyIdentifiableInformation|FreeOfAdultContent|Non_static_idofstringletmakei=iletto_string=function|FreeOfPersonallyIdentifiableInformation->"FreeOfPersonallyIdentifiableInformation"|FreeOfAdultContent->"FreeOfAdultContent"|Non_static_ids->sletof_string=function|"FreeOfPersonallyIdentifiableInformation"->FreeOfPersonallyIdentifiableInformation|"FreeOfAdultContent"->FreeOfAdultContent|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ContentClassifier"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ContentClassifier"j)letto_json=simple_to_jsonto_valueendmoduleFailureReason=structtypenonrect=stringletcontext_="FailureReason"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:1024);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FailureReason"jletto_json=simple_to_jsonto_valueendmoduleFlowDefinitionArn=structtypenonrect=stringletcontext_="FlowDefinitionArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:flow-definition/.*"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FlowDefinitionArn"jletto_json=simple_to_jsonto_valueendmoduleHumanLoopName=structtypenonrect=stringletcontext_="HumanLoopName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"^[a-z0-9](-*[a-z0-9])*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HumanLoopName"jletto_json=simple_to_jsonto_valueendmoduleHumanLoopStatus=structtypenonrect=|InProgress|Failed|Completed|Stopped|Stopping|Non_static_idofstringletmakei=iletto_string=function|InProgress->"InProgress"|Failed->"Failed"|Completed->"Completed"|Stopped->"Stopped"|Stopping->"Stopping"|Non_static_ids->sletof_string=function|"InProgress"->InProgress|"Failed"->Failed|"Completed"->Completed|"Stopped"->Stopped|"Stopping"->Stopping|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration HumanLoopStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HumanLoopStatus"j)letto_json=simple_to_jsonto_valueendmoduleTimestamp=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleContentClassifiers=structtypenonrect=ContentClassifier.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:256);iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ContentClassifier.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ContentClassifier.of_xml)letof_jsonj=list_of_json~kind:"ContentClassifiers"~of_json:ContentClassifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInputContent=structtypenonrect=stringletcontext_="InputContent"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:3145728);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"InputContent"jletto_json=simple_to_jsonto_valueendmoduleHumanLoopSummary=structtypenonrect={humanLoopName:HumanLoopName.toption[@ocaml.doc"The name of the human loop."];humanLoopStatus:HumanLoopStatus.toption[@ocaml.doc"The status of the human loop."];creationTime:Timestamp.toption[@ocaml.doc"When Amazon Augmented AI created the human loop."];failureReason:FailureReason.toption[@ocaml.doc"The reason why the human loop failed. A failure reason is returned when the status of the human loop is Failed."];flowDefinitionArn:FlowDefinitionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the flow definition used to configure the human loop."]}letmake?humanLoopName=fun?humanLoopStatus->fun?creationTime->fun?failureReason->fun?flowDefinitionArn->fun()->{humanLoopName;humanLoopStatus;creationTime;failureReason;flowDefinitionArn}letto_valuex=structure_to_value[("HumanLoopName",(Option.mapx.humanLoopName~f:HumanLoopName.to_value));("HumanLoopStatus",(Option.mapx.humanLoopStatus~f:HumanLoopStatus.to_value));("CreationTime",(Option.mapx.creationTime~f:Timestamp.to_value));("FailureReason",(Option.mapx.failureReason~f:FailureReason.to_value));("FlowDefinitionArn",(Option.mapx.flowDefinitionArn~f:FlowDefinitionArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowDefinitionArn=(Option.map~f:FlowDefinitionArn.of_xml)(Xml.childxml_arg0"FlowDefinitionArn")inletfailureReason=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"FailureReason")inletcreationTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inlethumanLoopStatus=(Option.map~f:HumanLoopStatus.of_xml)(Xml.childxml_arg0"HumanLoopStatus")inlethumanLoopName=(Option.map~f:HumanLoopName.of_xml)(Xml.childxml_arg0"HumanLoopName")inmake?flowDefinitionArn?failureReason?creationTime?humanLoopStatus?humanLoopName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowDefinitionArn=field_mapjson__"FlowDefinitionArn"FlowDefinitionArn.of_jsoninletfailureReason=field_mapjson__"FailureReason"FailureReason.of_jsoninletcreationTime=field_mapjson__"CreationTime"Timestamp.of_jsoninlethumanLoopStatus=field_mapjson__"HumanLoopStatus"HumanLoopStatus.of_jsoninlethumanLoopName=field_mapjson__"HumanLoopName"HumanLoopName.of_jsoninmake?flowDefinitionArn?failureReason?creationTime?humanLoopStatus?humanLoopName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary information about the human loop."]moduleString_=structtypenonrect=stringletcontext_="String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmoduleInternalServerException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"We couldn't process your request because of an issue with the server. Try again later."]moduleResourceNotFoundException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"We couldn't find the requested resource. Check that your resources exists and were created in the same AWS Region as your request, and try your request again."]moduleThrottlingException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You exceeded the maximum number of requests."]moduleValidationException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request isn't valid. Check the syntax and try again."]moduleConflictException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Your request has the same name as another active human loop but has different input data. You cannot start two human loops with the same name and different input data."]moduleHumanLoopArn=structtypenonrect=stringletcontext_="HumanLoopArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:human-loop/.*"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HumanLoopArn"jletto_json=simple_to_jsonto_valueendmoduleServiceQuotaExceededException=structtypenonrect={message:FailureReason.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:FailureReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:FailureReason.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"FailureReason.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your AWS account. For a list of Amazon A2I service quotes, see Amazon Augmented AI Service Quotes. Delete some resources or request an increase in your service quota. You can request a quota increase using Service Quotas or the AWS Support Center. To request an increase, see AWS Service Quotas in the AWS General Reference."]moduleHumanLoopDataAttributes=structtypenonrect={contentClassifiers:ContentClassifiers.t[@ocaml.doc"Declares that your content is free of personally identifiable information or adult content. Amazon SageMaker can restrict the Amazon Mechanical Turk workers who can view your task based on this information."]}letcontext_="HumanLoopDataAttributes"letmake~contentClassifiers=fun()->{contentClassifiers}letto_valuex=structure_to_value[("ContentClassifiers",(Some(ContentClassifiers.to_valuex.contentClassifiers)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontentClassifiers=ContentClassifiers.of_xml(Xml.child_exn~context:context_xml_arg0"ContentClassifiers")inmake~contentClassifiers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontentClassifiers=field_map_exnjson__"ContentClassifiers"ContentClassifiers.of_jsoninmake~contentClassifiers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attributes of the data specified by the customer. Use these to describe the data to be labeled."]moduleHumanLoopInput=structtypenonrect={inputContent:InputContent.t[@ocaml.doc"Serialized input from the human loop. The input must be a string representation of a file in JSON format."]}letcontext_="HumanLoopInput"letmake~inputContent=fun()->{inputContent}letto_valuex=structure_to_value[("InputContent",(Some(InputContent.to_valuex.inputContent)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinputContent=InputContent.of_xml(Xml.child_exn~context:context_xml_arg0"InputContent")inmake~inputContent()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinputContent=field_map_exnjson__"InputContent"InputContent.of_jsoninmake~inputContent()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object containing the human loop input in JSON format."]moduleHumanLoopSummaries=structtypenonrect=HumanLoopSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:HumanLoopSummary.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:HumanLoopSummary.of_xml)letof_jsonj=list_of_json~kind:"HumanLoopSummaries"~of_json:HumanLoopSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:8192)>>=(fun()->check_patterni~pattern:".*"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleSortOrder=structtypenonrect=|Ascending|Descending|Non_static_idofstringletmakei=iletto_string=function|Ascending->"Ascending"|Descending->"Descending"|Non_static_ids->sletof_string=function|"Ascending"->Ascending|"Descending"->Descending|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SortOrder"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SortOrder"j)letto_json=simple_to_jsonto_valueendmoduleHumanLoopOutput=structtypenonrect={outputS3Uri:String_.toption[@ocaml.doc"The location of the Amazon S3 object where Amazon Augmented AI stores your human loop output."]}letmake?outputS3Uri=fun()->{outputS3Uri}letto_valuex=structure_to_value[("OutputS3Uri",(Option.mapx.outputS3Uri~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutputS3Uri=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"OutputS3Uri")inmake?outputS3Uri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutputS3Uri=field_mapjson__"OutputS3Uri"String_.of_jsoninmake?outputS3Uri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about where the human output will be stored."]moduleStopHumanLoopResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops the specified human loop."]moduleStopHumanLoopRequest=structtypenonrect={humanLoopName:HumanLoopName.t[@ocaml.doc"The name of the human loop that you want to stop."]}letcontext_="StopHumanLoopRequest"letmake~humanLoopName=fun()->{humanLoopName}letto_valuex=structure_to_value[("HumanLoopName",(Some(HumanLoopName.to_valuex.humanLoopName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethumanLoopName=HumanLoopName.of_xml(Xml.child_exn~context:context_xml_arg0"HumanLoopName")inmake~humanLoopName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethumanLoopName=field_map_exnjson__"HumanLoopName"HumanLoopName.of_jsoninmake~humanLoopName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops the specified human loop."]moduleStartHumanLoopResponse=structtypenonrect={humanLoopArn:HumanLoopArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the human loop."]}typenonrecerror=[`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?humanLoopArn=fun()->{humanLoopArn}leterror_of_jsonnamejson=matchnamewith|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("HumanLoopArn",(Option.mapx.humanLoopArn~f:HumanLoopArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethumanLoopArn=(Option.map~f:HumanLoopArn.of_xml)(Xml.childxml_arg0"HumanLoopArn")inmake?humanLoopArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethumanLoopArn=field_mapjson__"HumanLoopArn"HumanLoopArn.of_jsoninmake?humanLoopArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a human loop, provided that at least one activation condition is met."]moduleStartHumanLoopRequest=structtypenonrect={humanLoopName:HumanLoopName.t[@ocaml.doc"The name of the human loop."];flowDefinitionArn:FlowDefinitionArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the flow definition associated with this human loop."];humanLoopInput:HumanLoopInput.t[@ocaml.doc"An object that contains information about the human loop."];dataAttributes:HumanLoopDataAttributes.toption[@ocaml.doc"Attributes of the specified data. Use DataAttributes to specify if your data is free of personally identifiable information and/or free of adult content."]}letcontext_="StartHumanLoopRequest"letmake?dataAttributes=fun~humanLoopName->fun~flowDefinitionArn->fun~humanLoopInput->fun()->{dataAttributes;humanLoopName;flowDefinitionArn;humanLoopInput}letto_valuex=structure_to_value[("HumanLoopName",(Some(HumanLoopName.to_valuex.humanLoopName)));("FlowDefinitionArn",(Some(FlowDefinitionArn.to_valuex.flowDefinitionArn)));("HumanLoopInput",(Some(HumanLoopInput.to_valuex.humanLoopInput)));("DataAttributes",(Option.mapx.dataAttributes~f:HumanLoopDataAttributes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdataAttributes=(Option.map~f:HumanLoopDataAttributes.of_xml)(Xml.childxml_arg0"DataAttributes")inlethumanLoopInput=HumanLoopInput.of_xml(Xml.child_exn~context:context_xml_arg0"HumanLoopInput")inletflowDefinitionArn=FlowDefinitionArn.of_xml(Xml.child_exn~context:context_xml_arg0"FlowDefinitionArn")inlethumanLoopName=HumanLoopName.of_xml(Xml.child_exn~context:context_xml_arg0"HumanLoopName")inmake?dataAttributes~humanLoopInput~flowDefinitionArn~humanLoopName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdataAttributes=field_mapjson__"DataAttributes"HumanLoopDataAttributes.of_jsoninlethumanLoopInput=field_map_exnjson__"HumanLoopInput"HumanLoopInput.of_jsoninletflowDefinitionArn=field_map_exnjson__"FlowDefinitionArn"FlowDefinitionArn.of_jsoninlethumanLoopName=field_map_exnjson__"HumanLoopName"HumanLoopName.of_jsoninmake?dataAttributes~humanLoopInput~flowDefinitionArn~humanLoopName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a human loop, provided that at least one activation condition is met."]moduleListHumanLoopsResponse=structtypenonrect={humanLoopSummaries:HumanLoopSummaries.toption[@ocaml.doc"An array of objects that contain information about the human loops."];nextToken:NextToken.toption[@ocaml.doc"A token to display the next page of results."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?humanLoopSummaries=fun?nextToken->fun()->{humanLoopSummaries;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("HumanLoopSummaries",(Option.mapx.humanLoopSummaries~f:HumanLoopSummaries.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlethumanLoopSummaries=(Option.map~f:HumanLoopSummaries.of_xml)(Xml.childxml_arg0"HumanLoopSummaries")inmake?nextToken?humanLoopSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlethumanLoopSummaries=field_mapjson__"HumanLoopSummaries"HumanLoopSummaries.of_jsoninmake?nextToken?humanLoopSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included."]moduleListHumanLoopsRequest=structtypenonrect={creationTimeAfter:Timestamp.toption[@ocaml.doc"(Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example, 2020-02-24."];creationTimeBefore:Timestamp.toption[@ocaml.doc"(Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For example, 2020-02-24."];flowDefinitionArn:FlowDefinitionArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of a flow definition."];sortOrder:SortOrder.toption[@ocaml.doc"Optional. The order for displaying results. Valid values: Ascending and Descending."];nextToken:NextToken.toption[@ocaml.doc"A token to display the next page of results."];maxResults:MaxResults.toption[@ocaml.doc"The total number of items to return. If the total number of available items is more than the value specified in MaxResults, then a NextToken is returned in the output. You can use this token to display the next page of results."]}letcontext_="ListHumanLoopsRequest"letmake?creationTimeAfter=fun?creationTimeBefore->fun?sortOrder->fun?nextToken->fun?maxResults->fun~flowDefinitionArn->fun()->{creationTimeAfter;creationTimeBefore;sortOrder;nextToken;maxResults;flowDefinitionArn}letto_valuex=structure_to_value[("CreationTimeAfter",(Option.mapx.creationTimeAfter~f:Timestamp.to_value));("CreationTimeBefore",(Option.mapx.creationTimeBefore~f:Timestamp.to_value));("FlowDefinitionArn",(Some(FlowDefinitionArn.to_valuex.flowDefinitionArn)));("SortOrder",(Option.mapx.sortOrder~f:SortOrder.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletsortOrder=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"SortOrder")inletflowDefinitionArn=FlowDefinitionArn.of_xml(Xml.child_exn~context:context_xml_arg0"FlowDefinitionArn")inletcreationTimeBefore=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTimeBefore")inletcreationTimeAfter=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTimeAfter")inmake?maxResults?nextToken?sortOrder~flowDefinitionArn?creationTimeBefore?creationTimeAfter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletsortOrder=field_mapjson__"SortOrder"SortOrder.of_jsoninletflowDefinitionArn=field_map_exnjson__"FlowDefinitionArn"FlowDefinitionArn.of_jsoninletcreationTimeBefore=field_mapjson__"CreationTimeBefore"Timestamp.of_jsoninletcreationTimeAfter=field_mapjson__"CreationTimeAfter"Timestamp.of_jsoninmake?maxResults?nextToken?sortOrder~flowDefinitionArn?creationTimeBefore?creationTimeAfter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included."]moduleDescribeHumanLoopResponse=structtypenonrect={creationTime:Timestamp.toption[@ocaml.doc"The creation time when Amazon Augmented AI created the human loop."];failureReason:String_.toption[@ocaml.doc"The reason why a human loop failed. The failure reason is returned when the status of the human loop is Failed."];failureCode:String_.toption[@ocaml.doc"A failure code that identifies the type of failure. Possible values: ValidationError, Expired, InternalError"];humanLoopStatus:HumanLoopStatus.toption[@ocaml.doc"The status of the human loop."];humanLoopName:HumanLoopName.toption[@ocaml.doc"The name of the human loop. The name must be lowercase, unique within the Region in your account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen)."];humanLoopArn:HumanLoopArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the human loop."];flowDefinitionArn:FlowDefinitionArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the flow definition."];humanLoopOutput:HumanLoopOutput.toption[@ocaml.doc"An object that contains information about the output of the human loop."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?creationTime=fun?failureReason->fun?failureCode->fun?humanLoopStatus->fun?humanLoopName->fun?humanLoopArn->fun?flowDefinitionArn->fun?humanLoopOutput->fun()->{creationTime;failureReason;failureCode;humanLoopStatus;humanLoopName;humanLoopArn;flowDefinitionArn;humanLoopOutput}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("CreationTime",(Option.mapx.creationTime~f:Timestamp.to_value));("FailureReason",(Option.mapx.failureReason~f:String_.to_value));("FailureCode",(Option.mapx.failureCode~f:String_.to_value));("HumanLoopStatus",(Option.mapx.humanLoopStatus~f:HumanLoopStatus.to_value));("HumanLoopName",(Option.mapx.humanLoopName~f:HumanLoopName.to_value));("HumanLoopArn",(Option.mapx.humanLoopArn~f:HumanLoopArn.to_value));("FlowDefinitionArn",(Option.mapx.flowDefinitionArn~f:FlowDefinitionArn.to_value));("HumanLoopOutput",(Option.mapx.humanLoopOutput~f:HumanLoopOutput.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethumanLoopOutput=(Option.map~f:HumanLoopOutput.of_xml)(Xml.childxml_arg0"HumanLoopOutput")inletflowDefinitionArn=(Option.map~f:FlowDefinitionArn.of_xml)(Xml.childxml_arg0"FlowDefinitionArn")inlethumanLoopArn=(Option.map~f:HumanLoopArn.of_xml)(Xml.childxml_arg0"HumanLoopArn")inlethumanLoopName=(Option.map~f:HumanLoopName.of_xml)(Xml.childxml_arg0"HumanLoopName")inlethumanLoopStatus=(Option.map~f:HumanLoopStatus.of_xml)(Xml.childxml_arg0"HumanLoopStatus")inletfailureCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FailureCode")inletfailureReason=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FailureReason")inletcreationTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreationTime")inmake?humanLoopOutput?flowDefinitionArn?humanLoopArn?humanLoopName?humanLoopStatus?failureCode?failureReason?creationTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethumanLoopOutput=field_mapjson__"HumanLoopOutput"HumanLoopOutput.of_jsoninletflowDefinitionArn=field_mapjson__"FlowDefinitionArn"FlowDefinitionArn.of_jsoninlethumanLoopArn=field_mapjson__"HumanLoopArn"HumanLoopArn.of_jsoninlethumanLoopName=field_mapjson__"HumanLoopName"HumanLoopName.of_jsoninlethumanLoopStatus=field_mapjson__"HumanLoopStatus"HumanLoopStatus.of_jsoninletfailureCode=field_mapjson__"FailureCode"String_.of_jsoninletfailureReason=field_mapjson__"FailureReason"String_.of_jsoninletcreationTime=field_mapjson__"CreationTime"Timestamp.of_jsoninmake?humanLoopOutput?flowDefinitionArn?humanLoopArn?humanLoopName?humanLoopStatus?failureCode?failureReason?creationTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the specified human loop. If the human loop was deleted, this operation will return a ResourceNotFoundException error."]moduleDescribeHumanLoopRequest=structtypenonrect={humanLoopName:HumanLoopName.t[@ocaml.doc"The name of the human loop that you want information about."]}letcontext_="DescribeHumanLoopRequest"letmake~humanLoopName=fun()->{humanLoopName}letto_valuex=structure_to_value[("HumanLoopName",(Some(HumanLoopName.to_valuex.humanLoopName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethumanLoopName=HumanLoopName.of_xml(Xml.child_exn~context:context_xml_arg0"HumanLoopName")inmake~humanLoopName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethumanLoopName=field_map_exnjson__"HumanLoopName"HumanLoopName.of_jsoninmake~humanLoopName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns information about the specified human loop. If the human loop was deleted, this operation will return a ResourceNotFoundException error."]moduleDeleteHumanLoopResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified human loop for a flow definition. If the human loop was deleted, this operation will return a ResourceNotFoundException."]moduleDeleteHumanLoopRequest=structtypenonrect={humanLoopName:HumanLoopName.t[@ocaml.doc"The name of the human loop that you want to delete."]}letcontext_="DeleteHumanLoopRequest"letmake~humanLoopName=fun()->{humanLoopName}letto_valuex=structure_to_value[("HumanLoopName",(Some(HumanLoopName.to_valuex.humanLoopName)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lethumanLoopName=HumanLoopName.of_xml(Xml.child_exn~context:context_xml_arg0"HumanLoopName")inmake~humanLoopName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lethumanLoopName=field_map_exnjson__"HumanLoopName"HumanLoopName.of_jsoninmake~humanLoopName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified human loop for a flow definition. If the human loop was deleted, this operation will return a ResourceNotFoundException."]