1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595(* 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.healthlakeletapiVersion="2017-07-01"letendpointPrefix="healthlake"letserviceFullName="Amazon HealthLake"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="HealthLake"lettargetPrefix="HealthLake"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[]))])moduleEncryptionKeyID=structtypenonrect=stringletcontext_="EncryptionKeyID"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:400)>>=(fun()->check_patterni~pattern:"(arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:kms:)?([a-z]{2}-[a-z]+(-[a-z]+)?-\\d:)?(\\d{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-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:"EncryptionKeyID"jletto_json=simple_to_jsonto_valueendmoduleS3Uri=structtypenonrect=stringletcontext_="S3Uri"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[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:"S3Uri"jletto_json=simple_to_jsonto_valueendmoduleCmkType=structtypenonrect=|CUSTOMER_MANAGED_KMS_KEY|AWS_OWNED_KMS_KEY|Non_static_idofstringletmakei=iletto_string=function|CUSTOMER_MANAGED_KMS_KEY->"CUSTOMER_MANAGED_KMS_KEY"|AWS_OWNED_KMS_KEY->"AWS_OWNED_KMS_KEY"|Non_static_ids->sletof_string=function|"CUSTOMER_MANAGED_KMS_KEY"->CUSTOMER_MANAGED_KMS_KEY|"AWS_OWNED_KMS_KEY"->AWS_OWNED_KMS_KEY|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 CmkType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CmkType"j)letto_json=simple_to_jsonto_valueendmoduleGenericDouble=structtypenonrect=floatletmakei=iletof_string=Float.of_stringletto_valuex=`Doublexletto_queryv=to_queryto_valuevletto_headerx=Stdlib.Float.to_stringxletof_xmlxml_arg0=Float.of_string(string_of_xml~kind:"a double"xml_arg0)letof_jsonj=float_of_json~kind:"a double"jletto_json=simple_to_jsonto_valueendmoduleGenericLong=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmoduleS3Configuration=structtypenonrect={s3Uri:S3Uri.t[@ocaml.doc"The S3Uri is the user-specified S3 location of the FHIR data to be imported into AWS HealthLake."];kmsKeyId:EncryptionKeyID.t[@ocaml.doc"The Key Management Service (KMS) key ID used to access the S3 bucket."]}letcontext_="S3Configuration"letmake~s3Uri=fun~kmsKeyId->fun()->{s3Uri;kmsKeyId}letto_valuex=structure_to_value[("S3Uri",(Some(S3Uri.to_valuex.s3Uri)));("KmsKeyId",(Some(EncryptionKeyID.to_valuex.kmsKeyId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=EncryptionKeyID.of_xml(Xml.child_exn~context:context_xml_arg0"KmsKeyId")inlets3Uri=S3Uri.of_xml(Xml.child_exn~context:context_xml_arg0"S3Uri")inmake~kmsKeyId~s3Uri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_map_exnjson__"KmsKeyId"EncryptionKeyID.of_jsoninlets3Uri=field_map_exnjson__"S3Uri"S3Uri.of_jsoninmake~kmsKeyId~s3Uri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration of the S3 bucket for either an import or export job. This includes assigning access permissions."]moduleErrorCategory=structtypenonrect=|RETRYABLE_ERROR|NON_RETRYABLE_ERROR|Non_static_idofstringletmakei=iletto_string=function|RETRYABLE_ERROR->"RETRYABLE_ERROR"|NON_RETRYABLE_ERROR->"NON_RETRYABLE_ERROR"|Non_static_ids->sletof_string=function|"RETRYABLE_ERROR"->RETRYABLE_ERROR|"NON_RETRYABLE_ERROR"->NON_RETRYABLE_ERROR|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 ErrorCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ErrorCategory"j)letto_json=simple_to_jsonto_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:4096)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleAuthorizationStrategy=structtypenonrect=|SMART_ON_FHIR_V1|SMART_ON_FHIR|AWS_AUTH|Non_static_idofstringletmakei=iletto_string=function|SMART_ON_FHIR_V1->"SMART_ON_FHIR_V1"|SMART_ON_FHIR->"SMART_ON_FHIR"|AWS_AUTH->"AWS_AUTH"|Non_static_ids->sletof_string=function|"SMART_ON_FHIR_V1"->SMART_ON_FHIR_V1|"SMART_ON_FHIR"->SMART_ON_FHIR|"AWS_AUTH"->AWS_AUTH|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 AuthorizationStrategy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuthorizationStrategy"j)letto_json=simple_to_jsonto_valueendmoduleBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleConfigurationMetadata=structtypenonrect=stringletcontext_="ConfigurationMetadata"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:"ConfigurationMetadata"jletto_json=simple_to_jsonto_valueendmoduleLambdaArn=structtypenonrect=stringletcontext_="LambdaArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:49)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-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:"LambdaArn"jletto_json=simple_to_jsonto_valueendmodulePreloadDataType=structtypenonrect=|SYNTHEA|Non_static_idofstringletmakei=iletto_string=function|SYNTHEA->"SYNTHEA"|Non_static_ids->sletof_string=function|"SYNTHEA"->SYNTHEA|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 PreloadDataType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PreloadDataType"j)letto_json=simple_to_jsonto_valueendmoduleKmsEncryptionConfig=structtypenonrect={cmkType:CmkType.t[@ocaml.doc"The type of customer-managed-key (CMK) used for encryption."];kmsKeyId:EncryptionKeyID.toption[@ocaml.doc"The Key Management Service (KMS) encryption key id/alias used to encrypt the data store contents at rest."]}letcontext_="KmsEncryptionConfig"letmake?kmsKeyId=fun~cmkType->fun()->{kmsKeyId;cmkType}letto_valuex=structure_to_value[("CmkType",(Some(CmkType.to_valuex.cmkType)));("KmsKeyId",(Option.mapx.kmsKeyId~f:EncryptionKeyID.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsKeyId=(Option.map~f:EncryptionKeyID.of_xml)(Xml.childxml_arg0"KmsKeyId")inletcmkType=CmkType.of_xml(Xml.child_exn~context:context_xml_arg0"CmkType")inmake?kmsKeyId~cmkType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsKeyId=field_mapjson__"KmsKeyId"EncryptionKeyID.of_jsoninletcmkType=field_map_exnjson__"CmkType"CmkType.of_jsoninmake?kmsKeyId~cmkType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The customer-managed-key (CMK) used when creating a data store. If a customer-owned key is not specified, an AWS-owned key is used for encryption."]moduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleDatastoreId=structtypenonrect=stringletcontext_="DatastoreId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DatastoreId"jletto_json=simple_to_jsonto_valueendmoduleIamRoleArn=structtypenonrect=stringletcontext_="IamRoleArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IamRoleArn"jletto_json=simple_to_jsonto_valueendmoduleInputDataConfig=structtypenonrect={s3Uri:S3Uri.toption[@ocaml.doc"The S3Uri is the user-specified S3 location of the FHIR data to be imported into AWS HealthLake."]}letmake?s3Uri=fun()->{s3Uri}letto_valuex=structure_to_value[("S3Uri",(Option.mapx.s3Uri~f:S3Uri.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Uri=(Option.map~f:S3Uri.of_xml)(Xml.childxml_arg0"S3Uri")inmake?s3Uri()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Uri=field_mapjson__"S3Uri"S3Uri.of_jsoninmake?s3Uri()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The import job input properties."]moduleJobId=structtypenonrect=stringletcontext_="JobId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"JobId"jletto_json=simple_to_jsonto_valueendmoduleJobName=structtypenonrect=stringletcontext_="JobName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"JobName"jletto_json=simple_to_jsonto_valueendmoduleJobProgressReport=structtypenonrect={totalNumberOfScannedFiles:GenericLong.toption[@ocaml.doc"The number of files scanned from the S3 input bucket."];totalSizeOfScannedFilesInMB:GenericDouble.toption[@ocaml.doc"The size (in MB) of files scanned from the S3 input bucket."];totalNumberOfImportedFiles:GenericLong.toption[@ocaml.doc"The number of files imported."];totalNumberOfResourcesScanned:GenericLong.toption[@ocaml.doc"The number of resources scanned from the S3 input bucket."];totalNumberOfResourcesImported:GenericLong.toption[@ocaml.doc"The number of resources imported."];totalNumberOfResourcesWithCustomerError:GenericLong.toption[@ocaml.doc"The number of resources that failed due to customer error."];totalNumberOfFilesReadWithCustomerError:GenericLong.toption[@ocaml.doc"The number of files that failed to be read from the S3 input bucket due to customer error."];throughput:GenericDouble.toption[@ocaml.doc"The transaction rate the import job is processed at."]}letmake?totalNumberOfScannedFiles=fun?totalSizeOfScannedFilesInMB->fun?totalNumberOfImportedFiles->fun?totalNumberOfResourcesScanned->fun?totalNumberOfResourcesImported->fun?totalNumberOfResourcesWithCustomerError->fun?totalNumberOfFilesReadWithCustomerError->fun?throughput->fun()->{totalNumberOfScannedFiles;totalSizeOfScannedFilesInMB;totalNumberOfImportedFiles;totalNumberOfResourcesScanned;totalNumberOfResourcesImported;totalNumberOfResourcesWithCustomerError;totalNumberOfFilesReadWithCustomerError;throughput}letto_valuex=structure_to_value[("TotalNumberOfScannedFiles",(Option.mapx.totalNumberOfScannedFiles~f:GenericLong.to_value));("TotalSizeOfScannedFilesInMB",(Option.mapx.totalSizeOfScannedFilesInMB~f:GenericDouble.to_value));("TotalNumberOfImportedFiles",(Option.mapx.totalNumberOfImportedFiles~f:GenericLong.to_value));("TotalNumberOfResourcesScanned",(Option.mapx.totalNumberOfResourcesScanned~f:GenericLong.to_value));("TotalNumberOfResourcesImported",(Option.mapx.totalNumberOfResourcesImported~f:GenericLong.to_value));("TotalNumberOfResourcesWithCustomerError",(Option.mapx.totalNumberOfResourcesWithCustomerError~f:GenericLong.to_value));("TotalNumberOfFilesReadWithCustomerError",(Option.mapx.totalNumberOfFilesReadWithCustomerError~f:GenericLong.to_value));("Throughput",(Option.mapx.throughput~f:GenericDouble.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letthroughput=(Option.map~f:GenericDouble.of_xml)(Xml.childxml_arg0"Throughput")inlettotalNumberOfFilesReadWithCustomerError=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfFilesReadWithCustomerError")inlettotalNumberOfResourcesWithCustomerError=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfResourcesWithCustomerError")inlettotalNumberOfResourcesImported=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfResourcesImported")inlettotalNumberOfResourcesScanned=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfResourcesScanned")inlettotalNumberOfImportedFiles=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfImportedFiles")inlettotalSizeOfScannedFilesInMB=(Option.map~f:GenericDouble.of_xml)(Xml.childxml_arg0"TotalSizeOfScannedFilesInMB")inlettotalNumberOfScannedFiles=(Option.map~f:GenericLong.of_xml)(Xml.childxml_arg0"TotalNumberOfScannedFiles")inmake?throughput?totalNumberOfFilesReadWithCustomerError?totalNumberOfResourcesWithCustomerError?totalNumberOfResourcesImported?totalNumberOfResourcesScanned?totalNumberOfImportedFiles?totalSizeOfScannedFilesInMB?totalNumberOfScannedFiles()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letthroughput=field_mapjson__"Throughput"GenericDouble.of_jsoninlettotalNumberOfFilesReadWithCustomerError=field_mapjson__"TotalNumberOfFilesReadWithCustomerError"GenericLong.of_jsoninlettotalNumberOfResourcesWithCustomerError=field_mapjson__"TotalNumberOfResourcesWithCustomerError"GenericLong.of_jsoninlettotalNumberOfResourcesImported=field_mapjson__"TotalNumberOfResourcesImported"GenericLong.of_jsoninlettotalNumberOfResourcesScanned=field_mapjson__"TotalNumberOfResourcesScanned"GenericLong.of_jsoninlettotalNumberOfImportedFiles=field_mapjson__"TotalNumberOfImportedFiles"GenericLong.of_jsoninlettotalSizeOfScannedFilesInMB=field_mapjson__"TotalSizeOfScannedFilesInMB"GenericDouble.of_jsoninlettotalNumberOfScannedFiles=field_mapjson__"TotalNumberOfScannedFiles"GenericLong.of_jsoninmake?throughput?totalNumberOfFilesReadWithCustomerError?totalNumberOfResourcesWithCustomerError?totalNumberOfResourcesImported?totalNumberOfResourcesScanned?totalNumberOfImportedFiles?totalSizeOfScannedFilesInMB?totalNumberOfScannedFiles()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The progress report for the import job."]moduleJobStatus=structtypenonrect=|SUBMITTED|QUEUED|IN_PROGRESS|COMPLETED_WITH_ERRORS|COMPLETED|FAILED|CANCEL_SUBMITTED|CANCEL_IN_PROGRESS|CANCEL_COMPLETED|CANCEL_FAILED|Non_static_idofstringletmakei=iletto_string=function|SUBMITTED->"SUBMITTED"|QUEUED->"QUEUED"|IN_PROGRESS->"IN_PROGRESS"|COMPLETED_WITH_ERRORS->"COMPLETED_WITH_ERRORS"|COMPLETED->"COMPLETED"|FAILED->"FAILED"|CANCEL_SUBMITTED->"CANCEL_SUBMITTED"|CANCEL_IN_PROGRESS->"CANCEL_IN_PROGRESS"|CANCEL_COMPLETED->"CANCEL_COMPLETED"|CANCEL_FAILED->"CANCEL_FAILED"|Non_static_ids->sletof_string=function|"SUBMITTED"->SUBMITTED|"QUEUED"->QUEUED|"IN_PROGRESS"->IN_PROGRESS|"COMPLETED_WITH_ERRORS"->COMPLETED_WITH_ERRORS|"COMPLETED"->COMPLETED|"FAILED"->FAILED|"CANCEL_SUBMITTED"->CANCEL_SUBMITTED|"CANCEL_IN_PROGRESS"->CANCEL_IN_PROGRESS|"CANCEL_COMPLETED"->CANCEL_COMPLETED|"CANCEL_FAILED"->CANCEL_FAILED|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 JobStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"JobStatus"j)letto_json=simple_to_jsonto_valueendmoduleMessage=structtypenonrect=stringletcontext_="Message"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Message"jletto_json=simple_to_jsonto_valueendmoduleOutputDataConfig=structtypenonrect={s3Configuration:S3Configuration.toption[@ocaml.doc"The output data configuration supplied when the export job was created."]}letmake?s3Configuration=fun()->{s3Configuration}letto_valuex=structure_to_value[("S3Configuration",(Option.mapx.s3Configuration~f:S3Configuration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3Configuration=(Option.map~f:S3Configuration.of_xml)(Xml.childxml_arg0"S3Configuration")inmake?s3Configuration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3Configuration=field_mapjson__"S3Configuration"S3Configuration.of_jsoninmake?s3Configuration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The output data configuration supplied when the export job was created."]moduleTimestamp=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_valueendmoduleValidationLevel=structtypenonrect=|Strict|Structure_only|Minimal|Non_static_idofstringletmakei=iletto_string=function|Strict->"strict"|Structure_only->"structure-only"|Minimal->"minimal"|Non_static_ids->sletof_string=function|"strict"->Strict|"structure-only"->Structure_only|"minimal"->Minimal|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 ValidationLevel"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ValidationLevel"j)letto_json=simple_to_jsonto_valueendmoduleDatastoreArn=structtypenonrect=stringletcontext_="DatastoreArn"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:healthlake:[a-zA-Z0-9-]+:[0-9]{12}:datastore/.+?");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DatastoreArn"jletto_json=simple_to_jsonto_valueendmoduleDatastoreName=structtypenonrect=stringletcontext_="DatastoreName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DatastoreName"jletto_json=simple_to_jsonto_valueendmoduleDatastoreStatus=structtypenonrect=|CREATING|ACTIVE|DELETING|DELETED|CREATE_FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|ACTIVE->"ACTIVE"|DELETING->"DELETING"|DELETED->"DELETED"|CREATE_FAILED->"CREATE_FAILED"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"ACTIVE"->ACTIVE|"DELETING"->DELETING|"DELETED"->DELETED|"CREATE_FAILED"->CREATE_FAILED|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 DatastoreStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DatastoreStatus"j)letto_json=simple_to_jsonto_valueendmoduleErrorCause=structtypenonrect={errorMessage:ErrorMessage.toption[@ocaml.doc"The error message text for ErrorCause."];errorCategory:ErrorCategory.toption[@ocaml.doc"The error category for ErrorCause."]}letmake?errorMessage=fun?errorCategory->fun()->{errorMessage;errorCategory}letto_valuex=structure_to_value[("ErrorMessage",(Option.mapx.errorMessage~f:ErrorMessage.to_value));("ErrorCategory",(Option.mapx.errorCategory~f:ErrorCategory.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorCategory=(Option.map~f:ErrorCategory.of_xml)(Xml.childxml_arg0"ErrorCategory")inleterrorMessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inmake?errorCategory?errorMessage()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorCategory=field_mapjson__"ErrorCategory"ErrorCategory.of_jsoninleterrorMessage=field_mapjson__"ErrorMessage"ErrorMessage.of_jsoninmake?errorCategory?errorMessage()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The error information for CreateFHIRDatastore and DeleteFHIRDatastore actions."]moduleFHIRVersion=structtypenonrect=|R4|Non_static_idofstringletmakei=iletto_string=function|R4->"R4"|Non_static_ids->sletof_string=function|"R4"->R4|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 FHIRVersion"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FHIRVersion"j)letto_json=simple_to_jsonto_valueendmoduleIdentityProviderConfiguration=structtypenonrect={authorizationStrategy:AuthorizationStrategy.t[@ocaml.doc"The authorization strategy selected when the HealthLake data store is created. HealthLake provides support for both SMART on FHIR V1 and V2 as described below. SMART_ON_FHIR_V1 \226\128\147 Support for only SMART on FHIR V1, which includes read (read/search) and write (create/update/delete) permissions. SMART_ON_FHIR \226\128\147 Support for both SMART on FHIR V1 and V2, which includes create, read, update, delete, and search permissions. AWS_AUTH \226\128\147 The default HealthLake authorization strategy; not affiliated with SMART on FHIR."];fineGrainedAuthorizationEnabled:Boolean.toption[@ocaml.doc"The parameter to enable SMART on FHIR fine-grained authorization for the data store."];metadata:ConfigurationMetadata.toption[@ocaml.doc"The JSON metadata elements to use in your identity provider configuration. Required elements are listed based on the launch specification of the SMART application. For more information on all possible elements, see Metadata in SMART's App Launch specification. authorization_endpoint: The URL to the OAuth2 authorization endpoint. grant_types_supported: An array of grant types that are supported at the token endpoint. You must provide at least one grant type option. Valid options are authorization_code and client_credentials. token_endpoint: The URL to the OAuth2 token endpoint. capabilities: An array of strings of the SMART capabilities that the authorization server supports. code_challenge_methods_supported: An array of strings of supported PKCE code challenge methods. You must include the S256 method in the array of PKCE code challenge methods."];idpLambdaArn:LambdaArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Lambda function to use to decode the access token created by the authorization server."]}letcontext_="IdentityProviderConfiguration"letmake?fineGrainedAuthorizationEnabled=fun?metadata->fun?idpLambdaArn->fun~authorizationStrategy->fun()->{fineGrainedAuthorizationEnabled;metadata;idpLambdaArn;authorizationStrategy}letto_valuex=structure_to_value[("AuthorizationStrategy",(Some(AuthorizationStrategy.to_valuex.authorizationStrategy)));("FineGrainedAuthorizationEnabled",(Option.mapx.fineGrainedAuthorizationEnabled~f:Boolean.to_value));("Metadata",(Option.mapx.metadata~f:ConfigurationMetadata.to_value));("IdpLambdaArn",(Option.mapx.idpLambdaArn~f:LambdaArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidpLambdaArn=(Option.map~f:LambdaArn.of_xml)(Xml.childxml_arg0"IdpLambdaArn")inletmetadata=(Option.map~f:ConfigurationMetadata.of_xml)(Xml.childxml_arg0"Metadata")inletfineGrainedAuthorizationEnabled=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"FineGrainedAuthorizationEnabled")inletauthorizationStrategy=AuthorizationStrategy.of_xml(Xml.child_exn~context:context_xml_arg0"AuthorizationStrategy")inmake?idpLambdaArn?metadata?fineGrainedAuthorizationEnabled~authorizationStrategy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidpLambdaArn=field_mapjson__"IdpLambdaArn"LambdaArn.of_jsoninletmetadata=field_mapjson__"Metadata"ConfigurationMetadata.of_jsoninletfineGrainedAuthorizationEnabled=field_mapjson__"FineGrainedAuthorizationEnabled"Boolean.of_jsoninletauthorizationStrategy=field_map_exnjson__"AuthorizationStrategy"AuthorizationStrategy.of_jsoninmake?idpLambdaArn?metadata?fineGrainedAuthorizationEnabled~authorizationStrategy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The identity provider configuration selected when the data store was created."]modulePreloadDataConfig=structtypenonrect={preloadDataType:PreloadDataType.t[@ocaml.doc"The type of preloaded data. Only Synthea preloaded data is supported."]}letcontext_="PreloadDataConfig"letmake~preloadDataType=fun()->{preloadDataType}letto_valuex=structure_to_value[("PreloadDataType",(Some(PreloadDataType.to_valuex.preloadDataType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpreloadDataType=PreloadDataType.of_xml(Xml.child_exn~context:context_xml_arg0"PreloadDataType")inmake~preloadDataType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpreloadDataType=field_map_exnjson__"PreloadDataType"PreloadDataType.of_jsoninmake~preloadDataType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The input properties for the preloaded (Synthea) data store."]moduleSseConfiguration=structtypenonrect={kmsEncryptionConfig:KmsEncryptionConfig.t[@ocaml.doc"The Key Management Service (KMS) encryption configuration used to provide details for data encryption."]}letcontext_="SseConfiguration"letmake~kmsEncryptionConfig=fun()->{kmsEncryptionConfig}letto_valuex=structure_to_value[("KmsEncryptionConfig",(Some(KmsEncryptionConfig.to_valuex.kmsEncryptionConfig)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letkmsEncryptionConfig=KmsEncryptionConfig.of_xml(Xml.child_exn~context:context_xml_arg0"KmsEncryptionConfig")inmake~kmsEncryptionConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letkmsEncryptionConfig=field_map_exnjson__"KmsEncryptionConfig"KmsEncryptionConfig.of_jsoninmake~kmsEncryptionConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The server-side encryption key configuration for a customer-provided encryption key."]moduleString_=structtypenonrect=stringletcontext_="String"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:10000)>>=(fun()->check_patterni~pattern:"[\\P{M}\\p{M}]{0,10000}"));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_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The key portion of a tag. Tag keys are case sensitive."];value:TagValue.t[@ocaml.doc"The value portion of a tag. Tag values are case-sensitive."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A label consisting of a user-defined key and value. The form for tags is \\{\"Key\", \"Value\"\\}"]moduleImportJobProperties=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The import job identifier."];jobName:JobName.toption[@ocaml.doc"The import job name."];jobStatus:JobStatus.toption[@ocaml.doc"The import job status."];submitTime:Timestamp.toption[@ocaml.doc"The time the import job was submitted for processing."];endTime:Timestamp.toption[@ocaml.doc"The time the import job was completed."];datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier."];inputDataConfig:InputDataConfig.toption[@ocaml.doc"The input data configuration supplied when the import job was created."];jobOutputDataConfig:OutputDataConfig.toption;jobProgressReport:JobProgressReport.toption[@ocaml.doc"Displays the progress of the import job, including total resources scanned, total resources imported, and total size of data imported."];dataAccessRoleArn:IamRoleArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) that grants AWS HealthLake access to the input data."];message:Message.toption[@ocaml.doc"An explanation of any errors that might have occurred during the FHIR import job."];validationLevel:ValidationLevel.toption[@ocaml.doc"The validation level of the import job."]}letmake?jobId=fun?jobName->fun?jobStatus->fun?submitTime->fun?endTime->fun?datastoreId->fun?inputDataConfig->fun?jobOutputDataConfig->fun?jobProgressReport->fun?dataAccessRoleArn->fun?message->fun?validationLevel->fun()->{jobId;jobName;jobStatus;submitTime;endTime;datastoreId;inputDataConfig;jobOutputDataConfig;jobProgressReport;dataAccessRoleArn;message;validationLevel}letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobName",(Option.mapx.jobName~f:JobName.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("SubmitTime",(Option.mapx.submitTime~f:Timestamp.to_value));("EndTime",(Option.mapx.endTime~f:Timestamp.to_value));("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value));("InputDataConfig",(Option.mapx.inputDataConfig~f:InputDataConfig.to_value));("JobOutputDataConfig",(Option.mapx.jobOutputDataConfig~f:OutputDataConfig.to_value));("JobProgressReport",(Option.mapx.jobProgressReport~f:JobProgressReport.to_value));("DataAccessRoleArn",(Option.mapx.dataAccessRoleArn~f:IamRoleArn.to_value));("Message",(Option.mapx.message~f:Message.to_value));("ValidationLevel",(Option.mapx.validationLevel~f:ValidationLevel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationLevel=(Option.map~f:ValidationLevel.of_xml)(Xml.childxml_arg0"ValidationLevel")inletmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"Message")inletdataAccessRoleArn=(Option.map~f:IamRoleArn.of_xml)(Xml.childxml_arg0"DataAccessRoleArn")inletjobProgressReport=(Option.map~f:JobProgressReport.of_xml)(Xml.childxml_arg0"JobProgressReport")inletjobOutputDataConfig=(Option.map~f:OutputDataConfig.of_xml)(Xml.childxml_arg0"JobOutputDataConfig")inletinputDataConfig=(Option.map~f:InputDataConfig.of_xml)(Xml.childxml_arg0"InputDataConfig")inletdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTime")inletsubmitTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmitTime")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?validationLevel?message?dataAccessRoleArn?jobProgressReport?jobOutputDataConfig?inputDataConfig?datastoreId?endTime?submitTime?jobStatus?jobName?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationLevel=field_mapjson__"ValidationLevel"ValidationLevel.of_jsoninletmessage=field_mapjson__"Message"Message.of_jsoninletdataAccessRoleArn=field_mapjson__"DataAccessRoleArn"IamRoleArn.of_jsoninletjobProgressReport=field_mapjson__"JobProgressReport"JobProgressReport.of_jsoninletjobOutputDataConfig=field_mapjson__"JobOutputDataConfig"OutputDataConfig.of_jsoninletinputDataConfig=field_mapjson__"InputDataConfig"InputDataConfig.of_jsoninletdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninletendTime=field_mapjson__"EndTime"Timestamp.of_jsoninletsubmitTime=field_mapjson__"SubmitTime"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?validationLevel?message?dataAccessRoleArn?jobProgressReport?jobOutputDataConfig?inputDataConfig?datastoreId?endTime?submitTime?jobStatus?jobName?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The import job properties."]moduleExportJobProperties=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The export job identifier."];jobName:JobName.toption[@ocaml.doc"The export job name."];jobStatus:JobStatus.toption[@ocaml.doc"The export job status."];submitTime:Timestamp.toption[@ocaml.doc"The time the export job was initiated."];endTime:Timestamp.toption[@ocaml.doc"The time the export job completed."];datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier from which files are being exported."];outputDataConfig:OutputDataConfig.toption[@ocaml.doc"The output data configuration supplied when the export job was created."];dataAccessRoleArn:IamRoleArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) used during the initiation of the export job."];message:Message.toption[@ocaml.doc"An explanation of any errors that might have occurred during the export job."]}letmake?jobId=fun?jobName->fun?jobStatus->fun?submitTime->fun?endTime->fun?datastoreId->fun?outputDataConfig->fun?dataAccessRoleArn->fun?message->fun()->{jobId;jobName;jobStatus;submitTime;endTime;datastoreId;outputDataConfig;dataAccessRoleArn;message}letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobName",(Option.mapx.jobName~f:JobName.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("SubmitTime",(Option.mapx.submitTime~f:Timestamp.to_value));("EndTime",(Option.mapx.endTime~f:Timestamp.to_value));("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value));("OutputDataConfig",(Option.mapx.outputDataConfig~f:OutputDataConfig.to_value));("DataAccessRoleArn",(Option.mapx.dataAccessRoleArn~f:IamRoleArn.to_value));("Message",(Option.mapx.message~f:Message.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:Message.of_xml)(Xml.childxml_arg0"Message")inletdataAccessRoleArn=(Option.map~f:IamRoleArn.of_xml)(Xml.childxml_arg0"DataAccessRoleArn")inletoutputDataConfig=(Option.map~f:OutputDataConfig.of_xml)(Xml.childxml_arg0"OutputDataConfig")inletdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"EndTime")inletsubmitTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmitTime")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?message?dataAccessRoleArn?outputDataConfig?datastoreId?endTime?submitTime?jobStatus?jobName?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"Message.of_jsoninletdataAccessRoleArn=field_mapjson__"DataAccessRoleArn"IamRoleArn.of_jsoninletoutputDataConfig=field_mapjson__"OutputDataConfig"OutputDataConfig.of_jsoninletdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninletendTime=field_mapjson__"EndTime"Timestamp.of_jsoninletsubmitTime=field_mapjson__"SubmitTime"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?message?dataAccessRoleArn?outputDataConfig?datastoreId?endTime?submitTime?jobStatus?jobName?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The properties of a FHIR export job."]moduleDatastoreProperties=structtypenonrect={datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier."];datastoreArn:DatastoreArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) used in the creation of the data store."];datastoreName:DatastoreName.toption[@ocaml.doc"The data store name."];datastoreStatus:DatastoreStatus.toption[@ocaml.doc"The data store status."];createdAt:Timestamp.toption[@ocaml.doc"The time the data store was created."];datastoreTypeVersion:FHIRVersion.toption[@ocaml.doc"The FHIR release version supported by the data store. Current support is for version R4."];datastoreEndpoint:String_.toption[@ocaml.doc"The AWS endpoint for the data store."];sseConfiguration:SseConfiguration.toption[@ocaml.doc"The server-side encryption key configuration for a customer provided encryption key."];preloadDataConfig:PreloadDataConfig.toption[@ocaml.doc"The preloaded Synthea data configuration for the data store."];identityProviderConfiguration:IdentityProviderConfiguration.toption[@ocaml.doc"The identity provider selected during data store creation."];errorCause:ErrorCause.toption[@ocaml.doc"The error cause for the current data store operation."]}letmake?datastoreId=fun?datastoreArn->fun?datastoreName->fun?datastoreStatus->fun?createdAt->fun?datastoreTypeVersion->fun?datastoreEndpoint->fun?sseConfiguration->fun?preloadDataConfig->fun?identityProviderConfiguration->fun?errorCause->fun()->{datastoreId;datastoreArn;datastoreName;datastoreStatus;createdAt;datastoreTypeVersion;datastoreEndpoint;sseConfiguration;preloadDataConfig;identityProviderConfiguration;errorCause}letto_valuex=structure_to_value[("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value));("DatastoreArn",(Option.mapx.datastoreArn~f:DatastoreArn.to_value));("DatastoreName",(Option.mapx.datastoreName~f:DatastoreName.to_value));("DatastoreStatus",(Option.mapx.datastoreStatus~f:DatastoreStatus.to_value));("CreatedAt",(Option.mapx.createdAt~f:Timestamp.to_value));("DatastoreTypeVersion",(Option.mapx.datastoreTypeVersion~f:FHIRVersion.to_value));("DatastoreEndpoint",(Option.mapx.datastoreEndpoint~f:String_.to_value));("SseConfiguration",(Option.mapx.sseConfiguration~f:SseConfiguration.to_value));("PreloadDataConfig",(Option.mapx.preloadDataConfig~f:PreloadDataConfig.to_value));("IdentityProviderConfiguration",(Option.mapx.identityProviderConfiguration~f:IdentityProviderConfiguration.to_value));("ErrorCause",(Option.mapx.errorCause~f:ErrorCause.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=leterrorCause=(Option.map~f:ErrorCause.of_xml)(Xml.childxml_arg0"ErrorCause")inletidentityProviderConfiguration=(Option.map~f:IdentityProviderConfiguration.of_xml)(Xml.childxml_arg0"IdentityProviderConfiguration")inletpreloadDataConfig=(Option.map~f:PreloadDataConfig.of_xml)(Xml.childxml_arg0"PreloadDataConfig")inletsseConfiguration=(Option.map~f:SseConfiguration.of_xml)(Xml.childxml_arg0"SseConfiguration")inletdatastoreEndpoint=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"DatastoreEndpoint")inletdatastoreTypeVersion=(Option.map~f:FHIRVersion.of_xml)(Xml.childxml_arg0"DatastoreTypeVersion")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedAt")inletdatastoreStatus=(Option.map~f:DatastoreStatus.of_xml)(Xml.childxml_arg0"DatastoreStatus")inletdatastoreName=(Option.map~f:DatastoreName.of_xml)(Xml.childxml_arg0"DatastoreName")inletdatastoreArn=(Option.map~f:DatastoreArn.of_xml)(Xml.childxml_arg0"DatastoreArn")inletdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inmake?errorCause?identityProviderConfiguration?preloadDataConfig?sseConfiguration?datastoreEndpoint?datastoreTypeVersion?createdAt?datastoreStatus?datastoreName?datastoreArn?datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=leterrorCause=field_mapjson__"ErrorCause"ErrorCause.of_jsoninletidentityProviderConfiguration=field_mapjson__"IdentityProviderConfiguration"IdentityProviderConfiguration.of_jsoninletpreloadDataConfig=field_mapjson__"PreloadDataConfig"PreloadDataConfig.of_jsoninletsseConfiguration=field_mapjson__"SseConfiguration"SseConfiguration.of_jsoninletdatastoreEndpoint=field_mapjson__"DatastoreEndpoint"String_.of_jsoninletdatastoreTypeVersion=field_mapjson__"DatastoreTypeVersion"FHIRVersion.of_jsoninletcreatedAt=field_mapjson__"CreatedAt"Timestamp.of_jsoninletdatastoreStatus=field_mapjson__"DatastoreStatus"DatastoreStatus.of_jsoninletdatastoreName=field_mapjson__"DatastoreName"DatastoreName.of_jsoninletdatastoreArn=field_mapjson__"DatastoreArn"DatastoreArn.of_jsoninletdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninmake?errorCause?identityProviderConfiguration?preloadDataConfig?sseConfiguration?datastoreEndpoint?datastoreTypeVersion?createdAt?datastoreStatus?datastoreName?datastoreArn?datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The data store properties."]moduleResourceNotFoundException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested data store was not found."]moduleValidationException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user input parameter was invalid."]moduleAmazonResourceName=structtypenonrect=stringletcontext_="AmazonResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1011)>>=(fun()->check_patterni~pattern:"^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:healthlake:[a-z0-9-]+:\\d{12}:datastore\\/fhir\\/.{32}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AmazonResourceName"jletto_json=simple_to_jsonto_valueendmoduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.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:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.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:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessDeniedException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Access is denied. Your account is not authorized to perform this operation."]moduleInternalServerException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An unknown internal error occurred in the service."]moduleThrottlingException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The user has exceeded their maximum number of allowed calls to the given API."]moduleClientTokenString=structtypenonrect=stringletcontext_="ClientTokenString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"^[a-zA-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:"ClientTokenString"jletto_json=simple_to_jsonto_valueendmoduleImportJobPropertiesList=structtypenonrect=ImportJobProperties.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImportJobProperties.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:ImportJobProperties.of_xml)letof_jsonj=list_of_json~kind:"ImportJobPropertiesList"~of_json:ImportJobProperties.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:8192)>>=(fun()->check_patterni~pattern:"\\p{ASCII}{0,8192}"));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_valueendmoduleMaxResultsInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:500)>>=(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 MaxResultsInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleExportJobPropertiesList=structtypenonrect=ExportJobProperties.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ExportJobProperties.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:ExportJobProperties.of_xml)letof_jsonj=list_of_json~kind:"ExportJobPropertiesList"~of_json:ExportJobProperties.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDatastorePropertiesList=structtypenonrect=DatastoreProperties.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DatastoreProperties.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:DatastoreProperties.of_xml)letof_jsonj=list_of_json~kind:"DatastorePropertiesList"~of_json:DatastoreProperties.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDatastoreFilter=structtypenonrect={datastoreName:DatastoreName.toption[@ocaml.doc"Filter data store results by name."];datastoreStatus:DatastoreStatus.toption[@ocaml.doc"Filter data store results by status."];createdBefore:Timestamp.toption[@ocaml.doc"Filter to set cutoff dates for records. All data stores created before the specified date are included in the results."];createdAfter:Timestamp.toption[@ocaml.doc"Filter to set cutoff dates for records. All data stores created after the specified date are included in the results."]}letmake?datastoreName=fun?datastoreStatus->fun?createdBefore->fun?createdAfter->fun()->{datastoreName;datastoreStatus;createdBefore;createdAfter}letto_valuex=structure_to_value[("DatastoreName",(Option.mapx.datastoreName~f:DatastoreName.to_value));("DatastoreStatus",(Option.mapx.datastoreStatus~f:DatastoreStatus.to_value));("CreatedBefore",(Option.mapx.createdBefore~f:Timestamp.to_value));("CreatedAfter",(Option.mapx.createdAfter~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreatedAfter=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedAfter")inletcreatedBefore=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"CreatedBefore")inletdatastoreStatus=(Option.map~f:DatastoreStatus.of_xml)(Xml.childxml_arg0"DatastoreStatus")inletdatastoreName=(Option.map~f:DatastoreName.of_xml)(Xml.childxml_arg0"DatastoreName")inmake?createdAfter?createdBefore?datastoreStatus?datastoreName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreatedAfter=field_mapjson__"CreatedAfter"Timestamp.of_jsoninletcreatedBefore=field_mapjson__"CreatedBefore"Timestamp.of_jsoninletdatastoreStatus=field_mapjson__"DatastoreStatus"DatastoreStatus.of_jsoninletdatastoreName=field_mapjson__"DatastoreName"DatastoreName.of_jsoninmake?createdAfter?createdBefore?datastoreStatus?datastoreName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The filters applied to a data store query."]moduleBoundedLengthString=structtypenonrect=stringletcontext_="BoundedLengthString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:5000)>>=(fun()->check_patterni~pattern:"[\\P{M}\\p{M}]{1,5000}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BoundedLengthString"jletto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The data store is in a transition state and the user requested action cannot be performed."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.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"Remove a user-specifed key and value tag from a data store."]moduleUntagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the data store from which tags are being removed."];tagKeys:TagKeyList.t[@ocaml.doc"The keys for the tags to be removed from the data store."]}letcontext_="UntagResourceRequest"letmake~resourceARN=fun~tagKeys->fun()->{resourceARN;tagKeys}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("TagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tagKeys~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tagKeys~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Remove a user-specifed key and value tag from a data store."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.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"Add a user-specifed key and value tag to a data store."]moduleTagResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) that grants access to the data store tags are being added to."];tags:TagList.t[@ocaml.doc"The user-specified key and value pair tags being added to a data store."]}letcontext_="TagResourceRequest"letmake~resourceARN=fun~tags->fun()->{resourceARN;tags}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~tags~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~tags~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Add a user-specifed key and value tag to a data store."]moduleStartFHIRImportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The import job identifier."];jobStatus:JobStatus.toption[@ocaml.doc"The import job status."];datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?jobStatus->fun?datastoreId->fun()->{jobId;jobStatus;datastoreId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?datastoreId?jobStatus?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?datastoreId?jobStatus?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Start importing bulk FHIR data into an ACTIVE data store. The import job imports FHIR data found in the InputDataConfig object and stores processing results in the JobOutputDataConfig object."]moduleStartFHIRImportJobRequest=structtypenonrect={jobName:JobName.toption[@ocaml.doc"The import job name."];inputDataConfig:InputDataConfig.t[@ocaml.doc"The input properties for the import job request."];jobOutputDataConfig:OutputDataConfig.t;datastoreId:DatastoreId.t[@ocaml.doc"The data store identifier."];dataAccessRoleArn:IamRoleArn.t[@ocaml.doc"The Amazon Resource Name (ARN) that grants access permission to AWS HealthLake."];clientToken:ClientTokenString.toption[@ocaml.doc"The optional user-provided token used for ensuring API idempotency."];validationLevel:ValidationLevel.toption[@ocaml.doc"The validation level of the import job."]}letcontext_="StartFHIRImportJobRequest"letmake?jobName=fun?clientToken->fun?validationLevel->fun~inputDataConfig->fun~jobOutputDataConfig->fun~datastoreId->fun~dataAccessRoleArn->fun()->{jobName;clientToken;validationLevel;inputDataConfig;jobOutputDataConfig;datastoreId;dataAccessRoleArn}letto_valuex=structure_to_value[("JobName",(Option.mapx.jobName~f:JobName.to_value));("InputDataConfig",(Some(InputDataConfig.to_valuex.inputDataConfig)));("JobOutputDataConfig",(Some(OutputDataConfig.to_valuex.jobOutputDataConfig)));("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("DataAccessRoleArn",(Some(IamRoleArn.to_valuex.dataAccessRoleArn)));("ClientToken",(Option.mapx.clientToken~f:ClientTokenString.to_value));("ValidationLevel",(Option.mapx.validationLevel~f:ValidationLevel.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationLevel=(Option.map~f:ValidationLevel.of_xml)(Xml.childxml_arg0"ValidationLevel")inletclientToken=(Option.map~f:ClientTokenString.of_xml)(Xml.childxml_arg0"ClientToken")inletdataAccessRoleArn=IamRoleArn.of_xml(Xml.child_exn~context:context_xml_arg0"DataAccessRoleArn")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inletjobOutputDataConfig=OutputDataConfig.of_xml(Xml.child_exn~context:context_xml_arg0"JobOutputDataConfig")inletinputDataConfig=InputDataConfig.of_xml(Xml.child_exn~context:context_xml_arg0"InputDataConfig")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inmake?validationLevel?clientToken~dataAccessRoleArn~datastoreId~jobOutputDataConfig~inputDataConfig?jobName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationLevel=field_mapjson__"ValidationLevel"ValidationLevel.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientTokenString.of_jsoninletdataAccessRoleArn=field_map_exnjson__"DataAccessRoleArn"IamRoleArn.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninletjobOutputDataConfig=field_map_exnjson__"JobOutputDataConfig"OutputDataConfig.of_jsoninletinputDataConfig=field_map_exnjson__"InputDataConfig"InputDataConfig.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninmake?validationLevel?clientToken~dataAccessRoleArn~datastoreId~jobOutputDataConfig~inputDataConfig?jobName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Start importing bulk FHIR data into an ACTIVE data store. The import job imports FHIR data found in the InputDataConfig object and stores processing results in the JobOutputDataConfig object."]moduleStartFHIRExportJobResponse=structtypenonrect={jobId:JobId.toption[@ocaml.doc"The export job identifier."];jobStatus:JobStatus.toption[@ocaml.doc"The export job status."];datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier from which files are being exported."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?jobId=fun?jobStatus->fun?datastoreId->fun()->{jobId;jobStatus;datastoreId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?datastoreId?jobStatus?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?datastoreId?jobStatus?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Start a FHIR export job."]moduleStartFHIRExportJobRequest=structtypenonrect={jobName:JobName.toption[@ocaml.doc"The export job name."];outputDataConfig:OutputDataConfig.t[@ocaml.doc"The output data configuration supplied when the export job was started."];datastoreId:DatastoreId.t[@ocaml.doc"The data store identifier from which files are being exported."];dataAccessRoleArn:IamRoleArn.t[@ocaml.doc"The Amazon Resource Name (ARN) used during initiation of the export job."];clientToken:ClientTokenString.toption[@ocaml.doc"An optional user provided token used for ensuring API idempotency."]}letcontext_="StartFHIRExportJobRequest"letmake?jobName=fun?clientToken->fun~outputDataConfig->fun~datastoreId->fun~dataAccessRoleArn->fun()->{jobName;clientToken;outputDataConfig;datastoreId;dataAccessRoleArn}letto_valuex=structure_to_value[("JobName",(Option.mapx.jobName~f:JobName.to_value));("OutputDataConfig",(Some(OutputDataConfig.to_valuex.outputDataConfig)));("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("DataAccessRoleArn",(Some(IamRoleArn.to_valuex.dataAccessRoleArn)));("ClientToken",(Option.mapx.clientToken~f:ClientTokenString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letclientToken=(Option.map~f:ClientTokenString.of_xml)(Xml.childxml_arg0"ClientToken")inletdataAccessRoleArn=IamRoleArn.of_xml(Xml.child_exn~context:context_xml_arg0"DataAccessRoleArn")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inletoutputDataConfig=OutputDataConfig.of_xml(Xml.child_exn~context:context_xml_arg0"OutputDataConfig")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inmake?clientToken~dataAccessRoleArn~datastoreId~outputDataConfig?jobName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letclientToken=field_mapjson__"ClientToken"ClientTokenString.of_jsoninletdataAccessRoleArn=field_map_exnjson__"DataAccessRoleArn"IamRoleArn.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninletoutputDataConfig=field_map_exnjson__"OutputDataConfig"OutputDataConfig.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninmake?clientToken~dataAccessRoleArn~datastoreId~outputDataConfig?jobName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Start a FHIR export job."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"Returns a list of tags associated with a data store."]}typenonrecerror=[`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.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[("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all existing tags associated with a data store."]moduleListTagsForResourceRequest=structtypenonrect={resourceARN:AmazonResourceName.t[@ocaml.doc"The Amazon Resource Name (ARN) of the data store to which tags are being added."]}letcontext_="ListTagsForResourceRequest"letmake~resourceARN=fun()->{resourceARN}letto_valuex=structure_to_value[("ResourceARN",(Some(AmazonResourceName.to_valuex.resourceARN)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceARN=AmazonResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceARN")inmake~resourceARN()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceARN=field_map_exnjson__"ResourceARN"AmazonResourceName.of_jsoninmake~resourceARN()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all existing tags associated with a data store."]moduleListFHIRImportJobsResponse=structtypenonrect={importJobPropertiesList:ImportJobPropertiesList.toption[@ocaml.doc"The properties for listed import jobs."];nextToken:NextToken.toption[@ocaml.doc"The pagination token used to identify the next page of results to return."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?importJobPropertiesList=fun?nextToken->fun()->{importJobPropertiesList;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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[("ImportJobPropertiesList",(Option.mapx.importJobPropertiesList~f:ImportJobPropertiesList.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")inletimportJobPropertiesList=(Option.map~f:ImportJobPropertiesList.of_xml)(Xml.childxml_arg0"ImportJobPropertiesList")inmake?nextToken?importJobPropertiesList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletimportJobPropertiesList=field_mapjson__"ImportJobPropertiesList"ImportJobPropertiesList.of_jsoninmake?nextToken?importJobPropertiesList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List all FHIR import jobs associated with an account and their statuses."]moduleListFHIRImportJobsRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"Limits the response to the import job with the specified data store ID."];nextToken:NextToken.toption[@ocaml.doc"The pagination token used to identify the next page of results to return."];maxResults:MaxResultsInteger.toption[@ocaml.doc"Limits the number of results returned for ListFHIRImportJobs to a maximum quantity specified by the user."];jobName:JobName.toption[@ocaml.doc"Limits the response to the import job with the specified job name."];jobStatus:JobStatus.toption[@ocaml.doc"Limits the response to the import job with the specified job status."];submittedBefore:Timestamp.toption[@ocaml.doc"Limits the response to FHIR import jobs submitted before a user- specified date."];submittedAfter:Timestamp.toption[@ocaml.doc"Limits the response to FHIR import jobs submitted after a user-specified date."]}letcontext_="ListFHIRImportJobsRequest"letmake?nextToken=fun?maxResults->fun?jobName->fun?jobStatus->fun?submittedBefore->fun?submittedAfter->fun~datastoreId->fun()->{nextToken;maxResults;jobName;jobStatus;submittedBefore;submittedAfter;datastoreId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResultsInteger.to_value));("JobName",(Option.mapx.jobName~f:JobName.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("SubmittedBefore",(Option.mapx.submittedBefore~f:Timestamp.to_value));("SubmittedAfter",(Option.mapx.submittedAfter~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubmittedAfter=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmittedAfter")inletsubmittedBefore=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmittedBefore")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inletmaxResults=(Option.map~f:MaxResultsInteger.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake?submittedAfter?submittedBefore?jobStatus?jobName?maxResults?nextToken~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubmittedAfter=field_mapjson__"SubmittedAfter"Timestamp.of_jsoninletsubmittedBefore=field_mapjson__"SubmittedBefore"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResultsInteger.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake?submittedAfter?submittedBefore?jobStatus?jobName?maxResults?nextToken~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List all FHIR import jobs associated with an account and their statuses."]moduleListFHIRExportJobsResponse=structtypenonrect={exportJobPropertiesList:ExportJobPropertiesList.toption[@ocaml.doc"The properties of listed FHIR export jobs."];nextToken:NextToken.toption[@ocaml.doc"The pagination token used to identify the next page of results to return."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?exportJobPropertiesList=fun?nextToken->fun()->{exportJobPropertiesList;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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[("ExportJobPropertiesList",(Option.mapx.exportJobPropertiesList~f:ExportJobPropertiesList.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")inletexportJobPropertiesList=(Option.map~f:ExportJobPropertiesList.of_xml)(Xml.childxml_arg0"ExportJobPropertiesList")inmake?nextToken?exportJobPropertiesList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletexportJobPropertiesList=field_mapjson__"ExportJobPropertiesList"ExportJobPropertiesList.of_jsoninmake?nextToken?exportJobPropertiesList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all FHIR export jobs associated with an account and their statuses."]moduleListFHIRExportJobsRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"Limits the response to the export job with the specified data store ID."];nextToken:NextToken.toption[@ocaml.doc"A pagination token used to identify the next page of results to return."];maxResults:MaxResultsInteger.toption[@ocaml.doc"Limits the number of results returned for a ListFHIRExportJobs to a maximum quantity specified by the user."];jobName:JobName.toption[@ocaml.doc"Limits the response to the export job with the specified job name."];jobStatus:JobStatus.toption[@ocaml.doc"Limits the response to export jobs with the specified job status."];submittedBefore:Timestamp.toption[@ocaml.doc"Limits the response to FHIR export jobs submitted before a user- specified date."];submittedAfter:Timestamp.toption[@ocaml.doc"Limits the response to FHIR export jobs submitted after a user-specified date."]}letcontext_="ListFHIRExportJobsRequest"letmake?nextToken=fun?maxResults->fun?jobName->fun?jobStatus->fun?submittedBefore->fun?submittedAfter->fun~datastoreId->fun()->{nextToken;maxResults;jobName;jobStatus;submittedBefore;submittedAfter;datastoreId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResultsInteger.to_value));("JobName",(Option.mapx.jobName~f:JobName.to_value));("JobStatus",(Option.mapx.jobStatus~f:JobStatus.to_value));("SubmittedBefore",(Option.mapx.submittedBefore~f:Timestamp.to_value));("SubmittedAfter",(Option.mapx.submittedAfter~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubmittedAfter=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmittedAfter")inletsubmittedBefore=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"SubmittedBefore")inletjobStatus=(Option.map~f:JobStatus.of_xml)(Xml.childxml_arg0"JobStatus")inletjobName=(Option.map~f:JobName.of_xml)(Xml.childxml_arg0"JobName")inletmaxResults=(Option.map~f:MaxResultsInteger.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake?submittedAfter?submittedBefore?jobStatus?jobName?maxResults?nextToken~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubmittedAfter=field_mapjson__"SubmittedAfter"Timestamp.of_jsoninletsubmittedBefore=field_mapjson__"SubmittedBefore"Timestamp.of_jsoninletjobStatus=field_mapjson__"JobStatus"JobStatus.of_jsoninletjobName=field_mapjson__"JobName"JobName.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResultsInteger.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake?submittedAfter?submittedBefore?jobStatus?jobName?maxResults?nextToken~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all FHIR export jobs associated with an account and their statuses."]moduleListFHIRDatastoresResponse=structtypenonrect={datastorePropertiesList:DatastorePropertiesList.toption[@ocaml.doc"The properties associated with all listed data stores."];nextToken:NextToken.toption[@ocaml.doc"The pagination token used to retrieve the next page of results."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?datastorePropertiesList=fun?nextToken->fun()->{datastorePropertiesList;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.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)|"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))]|`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[("DatastorePropertiesList",(Option.mapx.datastorePropertiesList~f:DatastorePropertiesList.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")inletdatastorePropertiesList=(Option.map~f:DatastorePropertiesList.of_xml)(Xml.childxml_arg0"DatastorePropertiesList")inmake?nextToken?datastorePropertiesList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletdatastorePropertiesList=field_mapjson__"DatastorePropertiesList"DatastorePropertiesList.of_jsoninmake?nextToken?datastorePropertiesList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List all FHIR-enabled data stores in a user\226\128\153s account, regardless of data store status."]moduleListFHIRDatastoresRequest=structtypenonrect={filter:DatastoreFilter.toption[@ocaml.doc"List all filters associated with a FHIR data store request."];nextToken:NextToken.toption[@ocaml.doc"The token used to retrieve the next page of data stores when results are paginated."];maxResults:MaxResultsInteger.toption[@ocaml.doc"The maximum number of data stores returned on a page."]}letmake?filter=fun?nextToken->fun?maxResults->fun()->{filter;nextToken;maxResults}letto_valuex=structure_to_value[("Filter",(Option.mapx.filter~f:DatastoreFilter.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResultsInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:MaxResultsInteger.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletfilter=(Option.map~f:DatastoreFilter.of_xml)(Xml.childxml_arg0"Filter")inmake?maxResults?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"MaxResultsInteger.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletfilter=field_mapjson__"Filter"DatastoreFilter.of_jsoninmake?maxResults?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"List all FHIR-enabled data stores in a user\226\128\153s account, regardless of data store status."]moduleDescribeFHIRImportJobResponse=structtypenonrect={importJobProperties:ImportJobProperties.toption[@ocaml.doc"The import job properties."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?importJobProperties=fun()->{importJobProperties}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[("ImportJobProperties",(Option.mapx.importJobProperties~f:ImportJobProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimportJobProperties=(Option.map~f:ImportJobProperties.of_xml)(Xml.childxml_arg0"ImportJobProperties")inmake?importJobProperties()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimportJobProperties=field_mapjson__"ImportJobProperties"ImportJobProperties.of_jsoninmake?importJobProperties()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get the import job properties to learn more about the job or job progress."]moduleDescribeFHIRImportJobRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"The data store identifier."];jobId:JobId.t[@ocaml.doc"The import job identifier."]}letcontext_="DescribeFHIRImportJobRequest"letmake~datastoreId=fun~jobId->fun()->{datastoreId;jobId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("JobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake~jobId~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"JobId"JobId.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake~jobId~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get the import job properties to learn more about the job or job progress."]moduleDescribeFHIRExportJobResponse=structtypenonrect={exportJobProperties:ExportJobProperties.toption[@ocaml.doc"The export job properties."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?exportJobProperties=fun()->{exportJobProperties}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[("ExportJobProperties",(Option.mapx.exportJobProperties~f:ExportJobProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letexportJobProperties=(Option.map~f:ExportJobProperties.of_xml)(Xml.childxml_arg0"ExportJobProperties")inmake?exportJobProperties()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letexportJobProperties=field_mapjson__"ExportJobProperties"ExportJobProperties.of_jsoninmake?exportJobProperties()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get FHIR export job properties."]moduleDescribeFHIRExportJobRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"The data store identifier from which FHIR data is being exported from."];jobId:JobId.t[@ocaml.doc"The export job identifier."]}letcontext_="DescribeFHIRExportJobRequest"letmake~datastoreId=fun~jobId->fun()->{datastoreId;jobId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)));("JobId",(Some(JobId.to_valuex.jobId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inletdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake~jobId~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobId=field_map_exnjson__"JobId"JobId.of_jsoninletdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake~jobId~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get FHIR export job properties."]moduleDescribeFHIRDatastoreResponse=structtypenonrect={datastoreProperties:DatastoreProperties.toption[@ocaml.doc"The data store properties."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?datastoreProperties=fun()->{datastoreProperties}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[("DatastoreProperties",(Option.mapx.datastoreProperties~f:DatastoreProperties.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreProperties=(Option.map~f:DatastoreProperties.of_xml)(Xml.childxml_arg0"DatastoreProperties")inmake?datastoreProperties()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreProperties=field_mapjson__"DatastoreProperties"DatastoreProperties.of_jsoninmake?datastoreProperties()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get properties for a FHIR-enabled data store."]moduleDescribeFHIRDatastoreRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"The data store identifier."]}letcontext_="DescribeFHIRDatastoreRequest"letmake~datastoreId=fun()->{datastoreId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Get properties for a FHIR-enabled data store."]moduleDeleteFHIRDatastoreResponse=structtypenonrect={datastoreId:DatastoreId.toption[@ocaml.doc"The AWS-generated ID for the deleted data store."];datastoreArn:DatastoreArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) that grants access permission to AWS HealthLake."];datastoreStatus:DatastoreStatus.toption[@ocaml.doc"The data store status."];datastoreEndpoint:BoundedLengthString.toption[@ocaml.doc"The AWS endpoint of the data store to be deleted."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?datastoreId=fun?datastoreArn->fun?datastoreStatus->fun?datastoreEndpoint->fun()->{datastoreId;datastoreArn;datastoreStatus;datastoreEndpoint}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`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[("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value));("DatastoreArn",(Option.mapx.datastoreArn~f:DatastoreArn.to_value));("DatastoreStatus",(Option.mapx.datastoreStatus~f:DatastoreStatus.to_value));("DatastoreEndpoint",(Option.mapx.datastoreEndpoint~f:BoundedLengthString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreEndpoint=(Option.map~f:BoundedLengthString.of_xml)(Xml.childxml_arg0"DatastoreEndpoint")inletdatastoreStatus=(Option.map~f:DatastoreStatus.of_xml)(Xml.childxml_arg0"DatastoreStatus")inletdatastoreArn=(Option.map~f:DatastoreArn.of_xml)(Xml.childxml_arg0"DatastoreArn")inletdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inmake?datastoreEndpoint?datastoreStatus?datastoreArn?datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreEndpoint=field_mapjson__"DatastoreEndpoint"BoundedLengthString.of_jsoninletdatastoreStatus=field_mapjson__"DatastoreStatus"DatastoreStatus.of_jsoninletdatastoreArn=field_mapjson__"DatastoreArn"DatastoreArn.of_jsoninletdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninmake?datastoreEndpoint?datastoreStatus?datastoreArn?datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete a FHIR-enabled data store."]moduleDeleteFHIRDatastoreRequest=structtypenonrect={datastoreId:DatastoreId.t[@ocaml.doc"The AWS-generated identifier for the data store to be deleted."]}letcontext_="DeleteFHIRDatastoreRequest"letmake~datastoreId=fun()->{datastoreId}letto_valuex=structure_to_value[("DatastoreId",(Some(DatastoreId.to_valuex.datastoreId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreId=DatastoreId.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreId")inmake~datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreId=field_map_exnjson__"DatastoreId"DatastoreId.of_jsoninmake~datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Delete a FHIR-enabled data store."]moduleCreateFHIRDatastoreResponse=structtypenonrect={datastoreId:DatastoreId.toption[@ocaml.doc"The data store identifier."];datastoreArn:DatastoreArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) for the data store."];datastoreStatus:DatastoreStatus.toption[@ocaml.doc"The data store status."];datastoreEndpoint:BoundedLengthString.toption[@ocaml.doc"The AWS endpoint created for the data store."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?datastoreId=fun?datastoreArn->fun?datastoreStatus->fun?datastoreEndpoint->fun()->{datastoreId;datastoreArn;datastoreStatus;datastoreEndpoint}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("DatastoreId",(Option.mapx.datastoreId~f:DatastoreId.to_value));("DatastoreArn",(Option.mapx.datastoreArn~f:DatastoreArn.to_value));("DatastoreStatus",(Option.mapx.datastoreStatus~f:DatastoreStatus.to_value));("DatastoreEndpoint",(Option.mapx.datastoreEndpoint~f:BoundedLengthString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatastoreEndpoint=(Option.map~f:BoundedLengthString.of_xml)(Xml.childxml_arg0"DatastoreEndpoint")inletdatastoreStatus=(Option.map~f:DatastoreStatus.of_xml)(Xml.childxml_arg0"DatastoreStatus")inletdatastoreArn=(Option.map~f:DatastoreArn.of_xml)(Xml.childxml_arg0"DatastoreArn")inletdatastoreId=(Option.map~f:DatastoreId.of_xml)(Xml.childxml_arg0"DatastoreId")inmake?datastoreEndpoint?datastoreStatus?datastoreArn?datastoreId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatastoreEndpoint=field_mapjson__"DatastoreEndpoint"BoundedLengthString.of_jsoninletdatastoreStatus=field_mapjson__"DatastoreStatus"DatastoreStatus.of_jsoninletdatastoreArn=field_mapjson__"DatastoreArn"DatastoreArn.of_jsoninletdatastoreId=field_mapjson__"DatastoreId"DatastoreId.of_jsoninmake?datastoreEndpoint?datastoreStatus?datastoreArn?datastoreId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create a FHIR-enabled data store."]moduleCreateFHIRDatastoreRequest=structtypenonrect={datastoreName:DatastoreName.toption[@ocaml.doc"The data store name (user-generated)."];datastoreTypeVersion:FHIRVersion.t[@ocaml.doc"The FHIR release version supported by the data store. Current support is for version R4."];sseConfiguration:SseConfiguration.toption[@ocaml.doc"The server-side encryption key configuration for a customer-provided encryption key specified for creating a data store."];preloadDataConfig:PreloadDataConfig.toption[@ocaml.doc"An optional parameter to preload (import) open source Synthea FHIR data upon creation of the data store."];clientToken:ClientTokenString.toption[@ocaml.doc"An optional user-provided token to ensure API idempotency."];tags:TagList.toption[@ocaml.doc"The resource tags applied to a data store when it is created."];identityProviderConfiguration:IdentityProviderConfiguration.toption[@ocaml.doc"The identity provider configuration to use for the data store."]}letcontext_="CreateFHIRDatastoreRequest"letmake?datastoreName=fun?sseConfiguration->fun?preloadDataConfig->fun?clientToken->fun?tags->fun?identityProviderConfiguration->fun~datastoreTypeVersion->fun()->{datastoreName;sseConfiguration;preloadDataConfig;clientToken;tags;identityProviderConfiguration;datastoreTypeVersion}letto_valuex=structure_to_value[("DatastoreName",(Option.mapx.datastoreName~f:DatastoreName.to_value));("DatastoreTypeVersion",(Some(FHIRVersion.to_valuex.datastoreTypeVersion)));("SseConfiguration",(Option.mapx.sseConfiguration~f:SseConfiguration.to_value));("PreloadDataConfig",(Option.mapx.preloadDataConfig~f:PreloadDataConfig.to_value));("ClientToken",(Option.mapx.clientToken~f:ClientTokenString.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("IdentityProviderConfiguration",(Option.mapx.identityProviderConfiguration~f:IdentityProviderConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letidentityProviderConfiguration=(Option.map~f:IdentityProviderConfiguration.of_xml)(Xml.childxml_arg0"IdentityProviderConfiguration")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletclientToken=(Option.map~f:ClientTokenString.of_xml)(Xml.childxml_arg0"ClientToken")inletpreloadDataConfig=(Option.map~f:PreloadDataConfig.of_xml)(Xml.childxml_arg0"PreloadDataConfig")inletsseConfiguration=(Option.map~f:SseConfiguration.of_xml)(Xml.childxml_arg0"SseConfiguration")inletdatastoreTypeVersion=FHIRVersion.of_xml(Xml.child_exn~context:context_xml_arg0"DatastoreTypeVersion")inletdatastoreName=(Option.map~f:DatastoreName.of_xml)(Xml.childxml_arg0"DatastoreName")inmake?identityProviderConfiguration?tags?clientToken?preloadDataConfig?sseConfiguration~datastoreTypeVersion?datastoreName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letidentityProviderConfiguration=field_mapjson__"IdentityProviderConfiguration"IdentityProviderConfiguration.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletclientToken=field_mapjson__"ClientToken"ClientTokenString.of_jsoninletpreloadDataConfig=field_mapjson__"PreloadDataConfig"PreloadDataConfig.of_jsoninletsseConfiguration=field_mapjson__"SseConfiguration"SseConfiguration.of_jsoninletdatastoreTypeVersion=field_map_exnjson__"DatastoreTypeVersion"FHIRVersion.of_jsoninletdatastoreName=field_mapjson__"DatastoreName"DatastoreName.of_jsoninmake?identityProviderConfiguration?tags?clientToken?preloadDataConfig?sseConfiguration~datastoreTypeVersion?datastoreName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Create a FHIR-enabled data store."]