1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482(* 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.importexportletapiVersion="2010-06-01"letendpointPrefix="importexport"letserviceFullName="AWS Import/Export"letsignatureVersion="v2"letprotocol="query"letglobalEndpoint=endpointPrefix^".amazonaws.com"letxmlNamespace="http://importexport.amazonaws.com/doc/2010-06-01/"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[]))])moduleDescription=structtypenonrect=string[@@ocaml.doc"The associated description for this object."]letcontext_="Description"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:"Description"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The associated description for this object."]moduleURL=structtypenonrect=string[@@ocaml.doc"The URL for a given Artifact."]letcontext_="URL"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:"URL"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The URL for a given Artifact."]moduleCreationDate=structtypenonrect=string[@@ocaml.doc"Timestamp of the CreateJob request in ISO8601 date format. For example \"2010-03-28T20:27:35Z\"."]letmakei=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_valueend[@@ocaml.doc"Timestamp of the CreateJob request in ISO8601 date format. For example \"2010-03-28T20:27:35Z\"."]moduleIsCanceled=structtypenonrect=bool[@@ocaml.doc"Indicates whether the job was canceled."]letmakei=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_valueend[@@ocaml.doc"Indicates whether the job was canceled."]moduleJobId=structtypenonrect=string[@@ocaml.doc"A unique identifier which refers to a particular job."]letcontext_="JobId"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:"JobId"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A unique identifier which refers to a particular job."]moduleJobType=structtypenonrect=|Import|Export|Non_static_idofstringletmakei=iletto_string=function|Import->"Import"|Export->"Export"|Non_static_ids->sletof_string=function|"Import"->Import|"Export"->Export|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 JobType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"JobType"j)letto_json=simple_to_jsonto_valueendmoduleArtifact=structtypenonrect={description:Description.toption;uRL:URL.toption}letmake?description=fun?uRL->fun()->{description;uRL}letto_valuex=structure_to_value[("Description",(Option.mapx.description~f:Description.to_value));("URL",(Option.mapx.uRL~f:URL.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letuRL=(Option.map~f:URL.of_xml)(Xml.childxml_arg0"URL")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inmake?uRL?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letuRL=field_mapjson__"URL"URL.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninmake?uRL?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A discrete item that contains the description and URL of an artifact (such as a PDF)."]moduleErrorMessage=structtypenonrect=string[@@ocaml.doc"The human-readable description of a particular error."]letcontext_="ErrorMessage"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:"ErrorMessage"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The human-readable description of a particular error."]moduleJob=structtypenonrect={jobId:JobId.toption;creationDate:CreationDate.toption;isCanceled:IsCanceled.toption;jobType:JobType.toption}letmake?jobId=fun?creationDate->fun?isCanceled->fun?jobType->fun()->{jobId;creationDate;isCanceled;jobType}letto_valuex=structure_to_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("CreationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("IsCanceled",(Option.mapx.isCanceled~f:IsCanceled.to_value));("JobType",(Option.mapx.jobType~f:JobType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letjobType=(Option.map~f:JobType.of_xml)(Xml.childxml_arg0"JobType")inletisCanceled=(Option.map~f:IsCanceled.of_xml)(Xml.childxml_arg0"IsCanceled")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"CreationDate")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?jobType?isCanceled?creationDate?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letjobType=field_mapjson__"JobType"JobType.of_jsoninletisCanceled=field_mapjson__"IsCanceled"IsCanceled.of_jsoninletcreationDate=field_mapjson__"CreationDate"CreationDate.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?jobType?isCanceled?creationDate?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Representation of a job returned by the ListJobs operation."]moduleGenericString=structtypenonrect=stringletcontext_="GenericString"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:"GenericString"jletto_json=simple_to_jsonto_valueendmoduleArtifactList=structtypenonrect=Artifact.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Artifact.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:Artifact.of_xml)letof_jsonj=list_of_json~kind:"ArtifactList"~of_json:Artifact.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBucketPermissionException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The account specified does not have the appropriate bucket permissions."]moduleCanceledJobIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified job ID has been canceled and is no longer valid."]moduleExpiredJobIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Indicates that the specified job has expired out of the system."]moduleInvalidAccessKeyIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The AWS Access Key ID specified in the request did not match the manifest's accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID."]moduleInvalidAddressException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The address specified in the manifest is invalid."]moduleInvalidCustomsException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more customs parameters was invalid. Please correct and resubmit."]moduleInvalidFileSystemException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"File system specified in export manifest is invalid."]moduleInvalidJobIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The JOBID was missing, not found, or not associated with the AWS account."]moduleInvalidManifestFieldException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more manifest fields was invalid. Please correct and resubmit."]moduleInvalidParameterException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more parameters had an invalid value."]moduleInvalidVersionException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The client tool version is invalid."]moduleMalformedManifestException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Your manifest is not well-formed."]moduleMissingCustomsException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more required customs parameters was missing from the manifest."]moduleMissingManifestFieldException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more required fields were missing from the manifest file. Please correct and resubmit."]moduleMissingParameterException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more required parameters was missing from the request."]moduleMultipleRegionsException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit."]moduleNoSuchBucketException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified bucket does not exist. Create the specified bucket or change the manifest's bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest's Access Key ID, has write permissions to."]moduleSuccess=structtypenonrect=bool[@@ocaml.doc"Specifies whether (true) or not (false) AWS Import/Export updated your job."]letmakei=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_valueend[@@ocaml.doc"Specifies whether (true) or not (false) AWS Import/Export updated your job."]moduleUnableToUpdateJobIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"AWS Import/Export cannot update the job"]moduleWarningMessage=structtypenonrect=string[@@ocaml.doc"An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name."]letcontext_="WarningMessage"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:"WarningMessage"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name."]moduleAPIVersion=structtypenonrect=string[@@ocaml.doc"Specifies the version of the client tool."]letcontext_="APIVersion"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:"APIVersion"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the version of the client tool."]moduleManifest=structtypenonrect=string[@@ocaml.doc"The UTF-8 encoded text of the manifest file."]letcontext_="Manifest"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:"Manifest"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The UTF-8 encoded text of the manifest file."]moduleValidateOnly=structtypenonrect=bool[@@ocaml.doc"Validate the manifest and parameter values in the request but do not actually create a job."]letmakei=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_valueend[@@ocaml.doc"Validate the manifest and parameter values in the request but do not actually create a job."]moduleIsTruncated=structtypenonrect=bool[@@ocaml.doc"Indicates whether the list of jobs was truncated. If true, then call ListJobs again using the last JobId element as the marker."]letmakei=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_valueend[@@ocaml.doc"Indicates whether the list of jobs was truncated. If true, then call ListJobs again using the last JobId element as the marker."]moduleJobsList=structtypenonrect=Job.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Job.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:Job.of_xml)letof_jsonj=list_of_json~kind:"JobsList"~of_json:Job.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMarker=structtypenonrect=string[@@ocaml.doc"Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs."]letcontext_="Marker"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:"Marker"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs."]moduleMaxJobs=structtypenonrect=int[@@ocaml.doc"Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains <IsTruncated>true</IsTruncated>. To return the additional jobs, see Marker."]letmakei=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 MaxJobs"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueend[@@ocaml.doc"Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains <IsTruncated>true</IsTruncated>. To return the additional jobs, see Marker."]moduleCarrier=structtypenonrect=string[@@ocaml.doc"Name of the shipping company. This value is included when the LocationCode is \"Returned\"."]letcontext_="Carrier"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:"Carrier"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Name of the shipping company. This value is included when the LocationCode is \"Returned\"."]moduleCurrentManifest=structtypenonrect=string[@@ocaml.doc"The last manifest submitted, which will be used to process the job."]letcontext_="CurrentManifest"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:"CurrentManifest"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The last manifest submitted, which will be used to process the job."]moduleErrorCount=structtypenonrect=int[@@ocaml.doc"Number of errors. We return this value when the ProgressCode is Success or SuccessWithErrors."]letmakei=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 ErrorCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueend[@@ocaml.doc"Number of errors. We return this value when the ProgressCode is Success or SuccessWithErrors."]moduleLocationCode=structtypenonrect=string[@@ocaml.doc"A token representing the location of the storage device, such as \"AtAWS\"."]letcontext_="LocationCode"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:"LocationCode"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A token representing the location of the storage device, such as \"AtAWS\"."]moduleLocationMessage=structtypenonrect=string[@@ocaml.doc"A more human readable form of the physical location of the storage device."]letcontext_="LocationMessage"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:"LocationMessage"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A more human readable form of the physical location of the storage device."]moduleLogBucket=structtypenonrect=string[@@ocaml.doc"Amazon S3 bucket for user logs."]letcontext_="LogBucket"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:"LogBucket"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Amazon S3 bucket for user logs."]moduleLogKey=structtypenonrect=string[@@ocaml.doc"The key where the user logs were stored."]letcontext_="LogKey"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:"LogKey"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The key where the user logs were stored."]moduleProgressCode=structtypenonrect=string[@@ocaml.doc"A token representing the state of the job, such as \"Started\"."]letcontext_="ProgressCode"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:"ProgressCode"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A token representing the state of the job, such as \"Started\"."]moduleProgressMessage=structtypenonrect=string[@@ocaml.doc"A more human readable form of the job status."]letcontext_="ProgressMessage"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:"ProgressMessage"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"A more human readable form of the job status."]moduleSignature=structtypenonrect=string[@@ocaml.doc"An encrypted code used to authenticate the request and response, for example, \"DV+TpDfx1/TdSE9ktyK9k/bDTVI=\". Only use this value is you want to create the signature file yourself. Generally you should use the SignatureFileContents value."]letcontext_="Signature"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:"Signature"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"An encrypted code used to authenticate the request and response, for example, \"DV+TpDfx1/TdSE9ktyK9k/bDTVI=\". Only use this value is you want to create the signature file yourself. Generally you should use the SignatureFileContents value."]moduleTrackingNumber=structtypenonrect=string[@@ocaml.doc"The shipping tracking number assigned by AWS Import/Export to the storage device when it's returned to you. We return this value when the LocationCode is \"Returned\"."]letcontext_="TrackingNumber"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:"TrackingNumber"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The shipping tracking number assigned by AWS Import/Export to the storage device when it's returned to you. We return this value when the LocationCode is \"Returned\"."]moduleJobIdList=structtypenonrect=GenericString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:GenericString.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:GenericString.of_xml)letof_jsonj=list_of_json~kind:"JobIdList"~of_json:GenericString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCity=structtypenonrect=string[@@ocaml.doc"Specifies the name of your city for the return address."]letcontext_="city"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:"city"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the name of your city for the return address."]moduleCompany=structtypenonrect=string[@@ocaml.doc"Specifies the name of the company that will ship this package."]letcontext_="company"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:"company"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the name of the company that will ship this package."]moduleCountry=structtypenonrect=string[@@ocaml.doc"Specifies the name of your country for the return address."]letcontext_="country"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:"country"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the name of your country for the return address."]moduleName=structtypenonrect=string[@@ocaml.doc"Specifies the name of the person responsible for shipping this package."]letcontext_="name"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:"name"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the name of the person responsible for shipping this package."]modulePhoneNumber=structtypenonrect=string[@@ocaml.doc"Specifies the phone number of the person responsible for shipping this package."]letcontext_="phoneNumber"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:"phoneNumber"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the phone number of the person responsible for shipping this package."]modulePostalCode=structtypenonrect=string[@@ocaml.doc"Specifies the postal code for the return address."]letcontext_="postalCode"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:"postalCode"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the postal code for the return address."]moduleStateOrProvince=structtypenonrect=string[@@ocaml.doc"Specifies the name of your state or your province for the return address."]letcontext_="stateOrProvince"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:"stateOrProvince"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the name of your state or your province for the return address."]moduleStreet1=structtypenonrect=string[@@ocaml.doc"Specifies the first part of the street address for the return address, for example 1234 Main Street."]letcontext_="street1"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:"street1"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the first part of the street address for the return address, for example 1234 Main Street."]moduleStreet2=structtypenonrect=string[@@ocaml.doc"Specifies the optional second part of the street address for the return address, for example Suite 100."]letcontext_="street2"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:"street2"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the optional second part of the street address for the return address, for example Suite 100."]moduleStreet3=structtypenonrect=string[@@ocaml.doc"Specifies the optional third part of the street address for the return address, for example c/o Jane Doe."]letcontext_="street3"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:"street3"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"Specifies the optional third part of the street address for the return address, for example c/o Jane Doe."]moduleCreateJobQuotaExceededException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Each account can create only a certain number of jobs per day. If you need to create more than this, please contact awsimportexport\\@amazon.com to explain your particular use case."]moduleSignatureFileContents=structtypenonrect=string[@@ocaml.doc"The actual text of the SIGNATURE file to be written to disk."]letcontext_="SignatureFileContents"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:"SignatureFileContents"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"The actual text of the SIGNATURE file to be written to disk."]moduleManifestAddendum=structtypenonrect=string[@@ocaml.doc"For internal use only."]letcontext_="ManifestAddendum"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:"ManifestAddendum"jletto_json=simple_to_jsonto_valueend[@@ocaml.doc"For internal use only."]moduleUnableToCancelJobIdException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"AWS Import/Export cannot cancel the job"]moduleUpdateJobOutput=structtypeupdateJobResult={success:Success.toption;warningMessage:WarningMessage.toption;artifactList:ArtifactList.toption}andresponseMetaData=unitandt={updateJobResult:updateJobResult;responseMetaData:responseMetaData}typeerror=[`BucketPermissionExceptionofBucketPermissionException.t|`CanceledJobIdExceptionofCanceledJobIdException.t|`ExpiredJobIdExceptionofExpiredJobIdException.t|`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidAddressExceptionofInvalidAddressException.t|`InvalidCustomsExceptionofInvalidCustomsException.t|`InvalidFileSystemExceptionofInvalidFileSystemException.t|`InvalidJobIdExceptionofInvalidJobIdException.t|`InvalidManifestFieldExceptionofInvalidManifestFieldException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidVersionExceptionofInvalidVersionException.t|`MalformedManifestExceptionofMalformedManifestException.t|`MissingCustomsExceptionofMissingCustomsException.t|`MissingManifestFieldExceptionofMissingManifestFieldException.t|`MissingParameterExceptionofMissingParameterException.t|`MultipleRegionsExceptionofMultipleRegionsException.t|`NoSuchBucketExceptionofNoSuchBucketException.t|`UnableToUpdateJobIdExceptionofUnableToUpdateJobIdException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="UpdateJobOutput"letmake?success=fun?warningMessage->fun?artifactList->fun()->{updateJobResult={success;warningMessage;artifactList};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"BucketPermissionException"->`BucketPermissionException(BucketPermissionException.of_jsonjson)|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_jsonjson)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_jsonjson)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_jsonjson)|"InvalidCustomsException"->`InvalidCustomsException(InvalidCustomsException.of_jsonjson)|"InvalidFileSystemException"->`InvalidFileSystemException(InvalidFileSystemException.of_jsonjson)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_jsonjson)|"InvalidManifestFieldException"->`InvalidManifestFieldException(InvalidManifestFieldException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|"MalformedManifestException"->`MalformedManifestException(MalformedManifestException.of_jsonjson)|"MissingCustomsException"->`MissingCustomsException(MissingCustomsException.of_jsonjson)|"MissingManifestFieldException"->`MissingManifestFieldException(MissingManifestFieldException.of_jsonjson)|"MissingParameterException"->`MissingParameterException(MissingParameterException.of_jsonjson)|"MultipleRegionsException"->`MultipleRegionsException(MultipleRegionsException.of_jsonjson)|"NoSuchBucketException"->`NoSuchBucketException(NoSuchBucketException.of_jsonjson)|"UnableToUpdateJobIdException"->`UnableToUpdateJobIdException(UnableToUpdateJobIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BucketPermissionException"->`BucketPermissionException(BucketPermissionException.of_xmlxml)|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_xmlxml)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_xmlxml)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_xmlxml)|"InvalidCustomsException"->`InvalidCustomsException(InvalidCustomsException.of_xmlxml)|"InvalidFileSystemException"->`InvalidFileSystemException(InvalidFileSystemException.of_xmlxml)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_xmlxml)|"InvalidManifestFieldException"->`InvalidManifestFieldException(InvalidManifestFieldException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|"MalformedManifestException"->`MalformedManifestException(MalformedManifestException.of_xmlxml)|"MissingCustomsException"->`MissingCustomsException(MissingCustomsException.of_xmlxml)|"MissingManifestFieldException"->`MissingManifestFieldException(MissingManifestFieldException.of_xmlxml)|"MissingParameterException"->`MissingParameterException(MissingParameterException.of_xmlxml)|"MultipleRegionsException"->`MultipleRegionsException(MultipleRegionsException.of_xmlxml)|"NoSuchBucketException"->`NoSuchBucketException(NoSuchBucketException.of_xmlxml)|"UnableToUpdateJobIdException"->`UnableToUpdateJobIdException(UnableToUpdateJobIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BucketPermissionExceptione->`Assoc[("error",(`String"BucketPermissionException"));("details",(BucketPermissionException.to_jsone))]|`CanceledJobIdExceptione->`Assoc[("error",(`String"CanceledJobIdException"));("details",(CanceledJobIdException.to_jsone))]|`ExpiredJobIdExceptione->`Assoc[("error",(`String"ExpiredJobIdException"));("details",(ExpiredJobIdException.to_jsone))]|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidAddressExceptione->`Assoc[("error",(`String"InvalidAddressException"));("details",(InvalidAddressException.to_jsone))]|`InvalidCustomsExceptione->`Assoc[("error",(`String"InvalidCustomsException"));("details",(InvalidCustomsException.to_jsone))]|`InvalidFileSystemExceptione->`Assoc[("error",(`String"InvalidFileSystemException"));("details",(InvalidFileSystemException.to_jsone))]|`InvalidJobIdExceptione->`Assoc[("error",(`String"InvalidJobIdException"));("details",(InvalidJobIdException.to_jsone))]|`InvalidManifestFieldExceptione->`Assoc[("error",(`String"InvalidManifestFieldException"));("details",(InvalidManifestFieldException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`MalformedManifestExceptione->`Assoc[("error",(`String"MalformedManifestException"));("details",(MalformedManifestException.to_jsone))]|`MissingCustomsExceptione->`Assoc[("error",(`String"MissingCustomsException"));("details",(MissingCustomsException.to_jsone))]|`MissingManifestFieldExceptione->`Assoc[("error",(`String"MissingManifestFieldException"));("details",(MissingManifestFieldException.to_jsone))]|`MissingParameterExceptione->`Assoc[("error",(`String"MissingParameterException"));("details",(MissingParameterException.to_jsone))]|`MultipleRegionsExceptione->`Assoc[("error",(`String"MultipleRegionsException"));("details",(MultipleRegionsException.to_jsone))]|`NoSuchBucketExceptione->`Assoc[("error",(`String"NoSuchBucketException"));("details",(NoSuchBucketException.to_jsone))]|`UnableToUpdateJobIdExceptione->`Assoc[("error",(`String"UnableToUpdateJobIdException"));("details",(UnableToUpdateJobIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.updateJobResultinstructure_to_wrapped_value[("Success",(Option.mapx.success~f:Success.to_value));("WarningMessage",(Option.mapx.warningMessage~f:WarningMessage.to_value));("ArtifactList",(Option.mapx.artifactList~f:ArtifactList.to_value))]~wrapper:"UpdateJobResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"UpdateJobResult"inletartifactList=(Option.map~f:ArtifactList.of_xml)(Xml.childxml_arg0"ArtifactList")inletwarningMessage=(Option.map~f:WarningMessage.of_xml)(Xml.childxml_arg0"WarningMessage")inletsuccess=(Option.map~f:Success.of_xml)(Xml.childxml_arg0"Success")inmake?artifactList?warningMessage?success()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letartifactList=field_mapjson__"ArtifactList"ArtifactList.of_jsoninletwarningMessage=field_mapjson__"WarningMessage"WarningMessage.of_jsoninletsuccess=field_mapjson__"Success"Success.of_jsoninmake?artifactList?warningMessage?success()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output structure for the UpateJob operation."]moduleUpdateJobInput=structtypenonrect={jobId:JobId.t;manifest:Manifest.t;jobType:JobType.t;validateOnly:ValidateOnly.t;aPIVersion:APIVersion.toption}letcontext_="UpdateJobInput"letmake?aPIVersion=fun~jobId->fun~manifest->fun~jobType->fun~validateOnly->fun()->{aPIVersion;jobId;manifest;jobType;validateOnly}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)));("Manifest",(Some(Manifest.to_valuex.manifest)));("JobType",(Some(JobType.to_valuex.jobType)));("ValidateOnly",(Some(ValidateOnly.to_valuex.validateOnly)));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletvalidateOnly=ValidateOnly.of_xml(Xml.child_exn~context:context_xml_arg0"ValidateOnly")inletjobType=JobType.of_xml(Xml.child_exn~context:context_xml_arg0"JobType")inletmanifest=Manifest.of_xml(Xml.child_exn~context:context_xml_arg0"Manifest")inletjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake?aPIVersion~validateOnly~jobType~manifest~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletvalidateOnly=field_map_exnjson__"ValidateOnly"ValidateOnly.of_jsoninletjobType=field_map_exnjson__"JobType"JobType.of_jsoninletmanifest=field_map_exnjson__"Manifest"Manifest.of_jsoninletjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake?aPIVersion~validateOnly~jobType~manifest~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input structure for the UpateJob operation."]moduleListJobsOutput=structtypelistJobsResult={jobs:JobsList.toption;isTruncated:IsTruncated.toption}andresponseMetaData=unitandt={listJobsResult:listJobsResult;responseMetaData:responseMetaData}typeerror=[`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidVersionExceptionofInvalidVersionException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="ListJobsOutput"letmake?jobs=fun?isTruncated->fun()->{listJobsResult={jobs;isTruncated};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.listJobsResultinstructure_to_wrapped_value[("Jobs",(Option.mapx.jobs~f:JobsList.to_value));("IsTruncated",(Option.mapx.isTruncated~f:IsTruncated.to_value))]~wrapper:"ListJobsResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"ListJobsResult"inletisTruncated=(Option.map~f:IsTruncated.of_xml)(Xml.childxml_arg0"IsTruncated")inletjobs=(Option.map~f:JobsList.of_xml)(Xml.childxml_arg0"Jobs")inmake?isTruncated?jobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letisTruncated=field_mapjson__"IsTruncated"IsTruncated.of_jsoninletjobs=field_mapjson__"Jobs"JobsList.of_jsoninmake?isTruncated?jobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output structure for the ListJobs operation."]moduleListJobsInput=structtypenonrect={maxJobs:MaxJobs.toption;marker:Marker.toption;aPIVersion:APIVersion.toption}letmake?maxJobs=fun?marker->fun?aPIVersion->fun()->{maxJobs;marker;aPIVersion}letto_valuex=structure_to_value[("MaxJobs",(Option.mapx.maxJobs~f:MaxJobs.to_value));("Marker",(Option.mapx.marker~f:Marker.to_value));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletmarker=(Option.map~f:Marker.of_xml)(Xml.childxml_arg0"Marker")inletmaxJobs=(Option.map~f:MaxJobs.of_xml)(Xml.childxml_arg0"MaxJobs")inmake?aPIVersion?marker?maxJobs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletmarker=field_mapjson__"Marker"Marker.of_jsoninletmaxJobs=field_mapjson__"MaxJobs"MaxJobs.of_jsoninmake?aPIVersion?marker?maxJobs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input structure for the ListJobs operation."]moduleGetStatusOutput=structtypegetStatusResult={jobId:JobId.toption;jobType:JobType.toption;locationCode:LocationCode.toption;locationMessage:LocationMessage.toption;progressCode:ProgressCode.toption;progressMessage:ProgressMessage.toption;carrier:Carrier.toption;trackingNumber:TrackingNumber.toption;logBucket:LogBucket.toption;logKey:LogKey.toption;errorCount:ErrorCount.toption;signature:Signature.toption;signatureFileContents:Signature.toption;currentManifest:CurrentManifest.toption;creationDate:CreationDate.toption;artifactList:ArtifactList.toption}andresponseMetaData=unitandt={getStatusResult:getStatusResult;responseMetaData:responseMetaData}typeerror=[`CanceledJobIdExceptionofCanceledJobIdException.t|`ExpiredJobIdExceptionofExpiredJobIdException.t|`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidJobIdExceptionofInvalidJobIdException.t|`InvalidVersionExceptionofInvalidVersionException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetStatusOutput"letmake?jobId=fun?jobType->fun?locationCode->fun?locationMessage->fun?progressCode->fun?progressMessage->fun?carrier->fun?trackingNumber->fun?logBucket->fun?logKey->fun?errorCount->fun?signature->fun?signatureFileContents->fun?currentManifest->fun?creationDate->fun?artifactList->fun()->{getStatusResult={jobId;jobType;locationCode;locationMessage;progressCode;progressMessage;carrier;trackingNumber;logBucket;logKey;errorCount;signature;signatureFileContents;currentManifest;creationDate;artifactList};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_jsonjson)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_jsonjson)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_xmlxml)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_xmlxml)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CanceledJobIdExceptione->`Assoc[("error",(`String"CanceledJobIdException"));("details",(CanceledJobIdException.to_jsone))]|`ExpiredJobIdExceptione->`Assoc[("error",(`String"ExpiredJobIdException"));("details",(ExpiredJobIdException.to_jsone))]|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidJobIdExceptione->`Assoc[("error",(`String"InvalidJobIdException"));("details",(InvalidJobIdException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getStatusResultinstructure_to_wrapped_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobType",(Option.mapx.jobType~f:JobType.to_value));("LocationCode",(Option.mapx.locationCode~f:LocationCode.to_value));("LocationMessage",(Option.mapx.locationMessage~f:LocationMessage.to_value));("ProgressCode",(Option.mapx.progressCode~f:ProgressCode.to_value));("ProgressMessage",(Option.mapx.progressMessage~f:ProgressMessage.to_value));("Carrier",(Option.mapx.carrier~f:Carrier.to_value));("TrackingNumber",(Option.mapx.trackingNumber~f:TrackingNumber.to_value));("LogBucket",(Option.mapx.logBucket~f:LogBucket.to_value));("LogKey",(Option.mapx.logKey~f:LogKey.to_value));("ErrorCount",(Option.mapx.errorCount~f:ErrorCount.to_value));("Signature",(Option.mapx.signature~f:Signature.to_value));("SignatureFileContents",(Option.mapx.signatureFileContents~f:Signature.to_value));("CurrentManifest",(Option.mapx.currentManifest~f:CurrentManifest.to_value));("CreationDate",(Option.mapx.creationDate~f:CreationDate.to_value));("ArtifactList",(Option.mapx.artifactList~f:ArtifactList.to_value))]~wrapper:"GetStatusResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetStatusResult"inletartifactList=(Option.map~f:ArtifactList.of_xml)(Xml.childxml_arg0"ArtifactList")inletcreationDate=(Option.map~f:CreationDate.of_xml)(Xml.childxml_arg0"CreationDate")inletcurrentManifest=(Option.map~f:CurrentManifest.of_xml)(Xml.childxml_arg0"CurrentManifest")inletsignatureFileContents=(Option.map~f:Signature.of_xml)(Xml.childxml_arg0"SignatureFileContents")inletsignature=(Option.map~f:Signature.of_xml)(Xml.childxml_arg0"Signature")inleterrorCount=(Option.map~f:ErrorCount.of_xml)(Xml.childxml_arg0"ErrorCount")inletlogKey=(Option.map~f:LogKey.of_xml)(Xml.childxml_arg0"LogKey")inletlogBucket=(Option.map~f:LogBucket.of_xml)(Xml.childxml_arg0"LogBucket")inlettrackingNumber=(Option.map~f:TrackingNumber.of_xml)(Xml.childxml_arg0"TrackingNumber")inletcarrier=(Option.map~f:Carrier.of_xml)(Xml.childxml_arg0"Carrier")inletprogressMessage=(Option.map~f:ProgressMessage.of_xml)(Xml.childxml_arg0"ProgressMessage")inletprogressCode=(Option.map~f:ProgressCode.of_xml)(Xml.childxml_arg0"ProgressCode")inletlocationMessage=(Option.map~f:LocationMessage.of_xml)(Xml.childxml_arg0"LocationMessage")inletlocationCode=(Option.map~f:LocationCode.of_xml)(Xml.childxml_arg0"LocationCode")inletjobType=(Option.map~f:JobType.of_xml)(Xml.childxml_arg0"JobType")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?artifactList?creationDate?currentManifest?signatureFileContents?signature?errorCount?logKey?logBucket?trackingNumber?carrier?progressMessage?progressCode?locationMessage?locationCode?jobType?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letartifactList=field_mapjson__"ArtifactList"ArtifactList.of_jsoninletcreationDate=field_mapjson__"CreationDate"CreationDate.of_jsoninletcurrentManifest=field_mapjson__"CurrentManifest"CurrentManifest.of_jsoninletsignatureFileContents=field_mapjson__"SignatureFileContents"Signature.of_jsoninletsignature=field_mapjson__"Signature"Signature.of_jsoninleterrorCount=field_mapjson__"ErrorCount"ErrorCount.of_jsoninletlogKey=field_mapjson__"LogKey"LogKey.of_jsoninletlogBucket=field_mapjson__"LogBucket"LogBucket.of_jsoninlettrackingNumber=field_mapjson__"TrackingNumber"TrackingNumber.of_jsoninletcarrier=field_mapjson__"Carrier"Carrier.of_jsoninletprogressMessage=field_mapjson__"ProgressMessage"ProgressMessage.of_jsoninletprogressCode=field_mapjson__"ProgressCode"ProgressCode.of_jsoninletlocationMessage=field_mapjson__"LocationMessage"LocationMessage.of_jsoninletlocationCode=field_mapjson__"LocationCode"LocationCode.of_jsoninletjobType=field_mapjson__"JobType"JobType.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?artifactList?creationDate?currentManifest?signatureFileContents?signature?errorCount?logKey?logBucket?trackingNumber?carrier?progressMessage?progressCode?locationMessage?locationCode?jobType?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output structure for the GetStatus operation."]moduleGetStatusInput=structtypenonrect={jobId:JobId.t;aPIVersion:APIVersion.toption}letcontext_="GetStatusInput"letmake?aPIVersion=fun~jobId->fun()->{aPIVersion;jobId}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake?aPIVersion~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake?aPIVersion~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input structure for the GetStatus operation."]moduleGetShippingLabelOutput=structtypegetShippingLabelResult={shippingLabelURL:GenericString.toption;warning:GenericString.toption}andresponseMetaData=unitandt={getShippingLabelResult:getShippingLabelResult;responseMetaData:responseMetaData}typeerror=[`CanceledJobIdExceptionofCanceledJobIdException.t|`ExpiredJobIdExceptionofExpiredJobIdException.t|`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidAddressExceptionofInvalidAddressException.t|`InvalidJobIdExceptionofInvalidJobIdException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidVersionExceptionofInvalidVersionException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="GetShippingLabelOutput"letmake?shippingLabelURL=fun?warning->fun()->{getShippingLabelResult={shippingLabelURL;warning};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_jsonjson)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_jsonjson)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_jsonjson)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_xmlxml)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_xmlxml)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_xmlxml)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CanceledJobIdExceptione->`Assoc[("error",(`String"CanceledJobIdException"));("details",(CanceledJobIdException.to_jsone))]|`ExpiredJobIdExceptione->`Assoc[("error",(`String"ExpiredJobIdException"));("details",(ExpiredJobIdException.to_jsone))]|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidAddressExceptione->`Assoc[("error",(`String"InvalidAddressException"));("details",(InvalidAddressException.to_jsone))]|`InvalidJobIdExceptione->`Assoc[("error",(`String"InvalidJobIdException"));("details",(InvalidJobIdException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.getShippingLabelResultinstructure_to_wrapped_value[("ShippingLabelURL",(Option.mapx.shippingLabelURL~f:GenericString.to_value));("Warning",(Option.mapx.warning~f:GenericString.to_value))]~wrapper:"GetShippingLabelResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"GetShippingLabelResult"inletwarning=(Option.map~f:GenericString.of_xml)(Xml.childxml_arg0"Warning")inletshippingLabelURL=(Option.map~f:GenericString.of_xml)(Xml.childxml_arg0"ShippingLabelURL")inmake?warning?shippingLabelURL()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letwarning=field_mapjson__"Warning"GenericString.of_jsoninletshippingLabelURL=field_mapjson__"ShippingLabelURL"GenericString.of_jsoninmake?warning?shippingLabelURL()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing."]moduleGetShippingLabelInput=structtypenonrect={jobIds:JobIdList.t;name:Name.toption;company:Company.toption;phoneNumber:PhoneNumber.toption;country:Country.toption;stateOrProvince:StateOrProvince.toption;city:City.toption;postalCode:PostalCode.toption;street1:Street1.toption;street2:Street2.toption;street3:Street3.toption;aPIVersion:APIVersion.toption}letcontext_="GetShippingLabelInput"letmake?name=fun?company->fun?phoneNumber->fun?country->fun?stateOrProvince->fun?city->fun?postalCode->fun?street1->fun?street2->fun?street3->fun?aPIVersion->fun~jobIds->fun()->{name;company;phoneNumber;country;stateOrProvince;city;postalCode;street1;street2;street3;aPIVersion;jobIds}letto_valuex=structure_to_value[("jobIds",(Some(JobIdList.to_valuex.jobIds)));("name",(Option.mapx.name~f:Name.to_value));("company",(Option.mapx.company~f:Company.to_value));("phoneNumber",(Option.mapx.phoneNumber~f:PhoneNumber.to_value));("country",(Option.mapx.country~f:Country.to_value));("stateOrProvince",(Option.mapx.stateOrProvince~f:StateOrProvince.to_value));("city",(Option.mapx.city~f:City.to_value));("postalCode",(Option.mapx.postalCode~f:PostalCode.to_value));("street1",(Option.mapx.street1~f:Street1.to_value));("street2",(Option.mapx.street2~f:Street2.to_value));("street3",(Option.mapx.street3~f:Street3.to_value));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletstreet3=(Option.map~f:Street3.of_xml)(Xml.childxml_arg0"Street3")inletstreet2=(Option.map~f:Street2.of_xml)(Xml.childxml_arg0"Street2")inletstreet1=(Option.map~f:Street1.of_xml)(Xml.childxml_arg0"Street1")inletpostalCode=(Option.map~f:PostalCode.of_xml)(Xml.childxml_arg0"PostalCode")inletcity=(Option.map~f:City.of_xml)(Xml.childxml_arg0"City")inletstateOrProvince=(Option.map~f:StateOrProvince.of_xml)(Xml.childxml_arg0"StateOrProvince")inletcountry=(Option.map~f:Country.of_xml)(Xml.childxml_arg0"Country")inletphoneNumber=(Option.map~f:PhoneNumber.of_xml)(Xml.childxml_arg0"PhoneNumber")inletcompany=(Option.map~f:Company.of_xml)(Xml.childxml_arg0"Company")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletjobIds=JobIdList.of_xml(Xml.child_exn~context:context_xml_arg0"JobIds")inmake?aPIVersion?street3?street2?street1?postalCode?city?stateOrProvince?country?phoneNumber?company?name~jobIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletstreet3=field_mapjson__"street3"Street3.of_jsoninletstreet2=field_mapjson__"street2"Street2.of_jsoninletstreet1=field_mapjson__"street1"Street1.of_jsoninletpostalCode=field_mapjson__"postalCode"PostalCode.of_jsoninletcity=field_mapjson__"city"City.of_jsoninletstateOrProvince=field_mapjson__"stateOrProvince"StateOrProvince.of_jsoninletcountry=field_mapjson__"country"Country.of_jsoninletphoneNumber=field_mapjson__"phoneNumber"PhoneNumber.of_jsoninletcompany=field_mapjson__"company"Company.of_jsoninletname=field_mapjson__"name"Name.of_jsoninletjobIds=field_map_exnjson__"jobIds"JobIdList.of_jsoninmake?aPIVersion?street3?street2?street1?postalCode?city?stateOrProvince?country?phoneNumber?company?name~jobIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing."]moduleCreateJobOutput=structtypecreateJobResult={jobId:JobId.toption;jobType:JobType.toption;signature:Signature.toption;signatureFileContents:SignatureFileContents.toption;warningMessage:WarningMessage.toption;artifactList:ArtifactList.toption}andresponseMetaData=unitandt={createJobResult:createJobResult;responseMetaData:responseMetaData}typeerror=[`BucketPermissionExceptionofBucketPermissionException.t|`CreateJobQuotaExceededExceptionofCreateJobQuotaExceededException.t|`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidAddressExceptionofInvalidAddressException.t|`InvalidCustomsExceptionofInvalidCustomsException.t|`InvalidFileSystemExceptionofInvalidFileSystemException.t|`InvalidJobIdExceptionofInvalidJobIdException.t|`InvalidManifestFieldExceptionofInvalidManifestFieldException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidVersionExceptionofInvalidVersionException.t|`MalformedManifestExceptionofMalformedManifestException.t|`MissingCustomsExceptionofMissingCustomsException.t|`MissingManifestFieldExceptionofMissingManifestFieldException.t|`MissingParameterExceptionofMissingParameterException.t|`MultipleRegionsExceptionofMultipleRegionsException.t|`NoSuchBucketExceptionofNoSuchBucketException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CreateJobOutput"letmake?jobId=fun?jobType->fun?signature->fun?signatureFileContents->fun?warningMessage->fun?artifactList->fun()->{createJobResult={jobId;jobType;signature;signatureFileContents;warningMessage;artifactList};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"BucketPermissionException"->`BucketPermissionException(BucketPermissionException.of_jsonjson)|"CreateJobQuotaExceededException"->`CreateJobQuotaExceededException(CreateJobQuotaExceededException.of_jsonjson)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_jsonjson)|"InvalidCustomsException"->`InvalidCustomsException(InvalidCustomsException.of_jsonjson)|"InvalidFileSystemException"->`InvalidFileSystemException(InvalidFileSystemException.of_jsonjson)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_jsonjson)|"InvalidManifestFieldException"->`InvalidManifestFieldException(InvalidManifestFieldException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|"MalformedManifestException"->`MalformedManifestException(MalformedManifestException.of_jsonjson)|"MissingCustomsException"->`MissingCustomsException(MissingCustomsException.of_jsonjson)|"MissingManifestFieldException"->`MissingManifestFieldException(MissingManifestFieldException.of_jsonjson)|"MissingParameterException"->`MissingParameterException(MissingParameterException.of_jsonjson)|"MultipleRegionsException"->`MultipleRegionsException(MultipleRegionsException.of_jsonjson)|"NoSuchBucketException"->`NoSuchBucketException(NoSuchBucketException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"BucketPermissionException"->`BucketPermissionException(BucketPermissionException.of_xmlxml)|"CreateJobQuotaExceededException"->`CreateJobQuotaExceededException(CreateJobQuotaExceededException.of_xmlxml)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidAddressException"->`InvalidAddressException(InvalidAddressException.of_xmlxml)|"InvalidCustomsException"->`InvalidCustomsException(InvalidCustomsException.of_xmlxml)|"InvalidFileSystemException"->`InvalidFileSystemException(InvalidFileSystemException.of_xmlxml)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_xmlxml)|"InvalidManifestFieldException"->`InvalidManifestFieldException(InvalidManifestFieldException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|"MalformedManifestException"->`MalformedManifestException(MalformedManifestException.of_xmlxml)|"MissingCustomsException"->`MissingCustomsException(MissingCustomsException.of_xmlxml)|"MissingManifestFieldException"->`MissingManifestFieldException(MissingManifestFieldException.of_xmlxml)|"MissingParameterException"->`MissingParameterException(MissingParameterException.of_xmlxml)|"MultipleRegionsException"->`MultipleRegionsException(MultipleRegionsException.of_xmlxml)|"NoSuchBucketException"->`NoSuchBucketException(NoSuchBucketException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`BucketPermissionExceptione->`Assoc[("error",(`String"BucketPermissionException"));("details",(BucketPermissionException.to_jsone))]|`CreateJobQuotaExceededExceptione->`Assoc[("error",(`String"CreateJobQuotaExceededException"));("details",(CreateJobQuotaExceededException.to_jsone))]|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidAddressExceptione->`Assoc[("error",(`String"InvalidAddressException"));("details",(InvalidAddressException.to_jsone))]|`InvalidCustomsExceptione->`Assoc[("error",(`String"InvalidCustomsException"));("details",(InvalidCustomsException.to_jsone))]|`InvalidFileSystemExceptione->`Assoc[("error",(`String"InvalidFileSystemException"));("details",(InvalidFileSystemException.to_jsone))]|`InvalidJobIdExceptione->`Assoc[("error",(`String"InvalidJobIdException"));("details",(InvalidJobIdException.to_jsone))]|`InvalidManifestFieldExceptione->`Assoc[("error",(`String"InvalidManifestFieldException"));("details",(InvalidManifestFieldException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`MalformedManifestExceptione->`Assoc[("error",(`String"MalformedManifestException"));("details",(MalformedManifestException.to_jsone))]|`MissingCustomsExceptione->`Assoc[("error",(`String"MissingCustomsException"));("details",(MissingCustomsException.to_jsone))]|`MissingManifestFieldExceptione->`Assoc[("error",(`String"MissingManifestFieldException"));("details",(MissingManifestFieldException.to_jsone))]|`MissingParameterExceptione->`Assoc[("error",(`String"MissingParameterException"));("details",(MissingParameterException.to_jsone))]|`MultipleRegionsExceptione->`Assoc[("error",(`String"MultipleRegionsException"));("details",(MultipleRegionsException.to_jsone))]|`NoSuchBucketExceptione->`Assoc[("error",(`String"NoSuchBucketException"));("details",(NoSuchBucketException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.createJobResultinstructure_to_wrapped_value[("JobId",(Option.mapx.jobId~f:JobId.to_value));("JobType",(Option.mapx.jobType~f:JobType.to_value));("Signature",(Option.mapx.signature~f:Signature.to_value));("SignatureFileContents",(Option.mapx.signatureFileContents~f:SignatureFileContents.to_value));("WarningMessage",(Option.mapx.warningMessage~f:WarningMessage.to_value));("ArtifactList",(Option.mapx.artifactList~f:ArtifactList.to_value))]~wrapper:"CreateJobResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CreateJobResult"inletartifactList=(Option.map~f:ArtifactList.of_xml)(Xml.childxml_arg0"ArtifactList")inletwarningMessage=(Option.map~f:WarningMessage.of_xml)(Xml.childxml_arg0"WarningMessage")inletsignatureFileContents=(Option.map~f:SignatureFileContents.of_xml)(Xml.childxml_arg0"SignatureFileContents")inletsignature=(Option.map~f:Signature.of_xml)(Xml.childxml_arg0"Signature")inletjobType=(Option.map~f:JobType.of_xml)(Xml.childxml_arg0"JobType")inletjobId=(Option.map~f:JobId.of_xml)(Xml.childxml_arg0"JobId")inmake?artifactList?warningMessage?signatureFileContents?signature?jobType?jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letartifactList=field_mapjson__"ArtifactList"ArtifactList.of_jsoninletwarningMessage=field_mapjson__"WarningMessage"WarningMessage.of_jsoninletsignatureFileContents=field_mapjson__"SignatureFileContents"SignatureFileContents.of_jsoninletsignature=field_mapjson__"Signature"Signature.of_jsoninletjobType=field_mapjson__"JobType"JobType.of_jsoninletjobId=field_mapjson__"JobId"JobId.of_jsoninmake?artifactList?warningMessage?signatureFileContents?signature?jobType?jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output structure for the CreateJob operation."]moduleCreateJobInput=structtypenonrect={jobType:JobType.t;manifest:Manifest.t;manifestAddendum:ManifestAddendum.toption;validateOnly:ValidateOnly.t;aPIVersion:APIVersion.toption}letcontext_="CreateJobInput"letmake?manifestAddendum=fun?aPIVersion->fun~jobType->fun~manifest->fun~validateOnly->fun()->{manifestAddendum;aPIVersion;jobType;manifest;validateOnly}letto_valuex=structure_to_value[("JobType",(Some(JobType.to_valuex.jobType)));("Manifest",(Some(Manifest.to_valuex.manifest)));("ManifestAddendum",(Option.mapx.manifestAddendum~f:ManifestAddendum.to_value));("ValidateOnly",(Some(ValidateOnly.to_valuex.validateOnly)));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletvalidateOnly=ValidateOnly.of_xml(Xml.child_exn~context:context_xml_arg0"ValidateOnly")inletmanifestAddendum=(Option.map~f:ManifestAddendum.of_xml)(Xml.childxml_arg0"ManifestAddendum")inletmanifest=Manifest.of_xml(Xml.child_exn~context:context_xml_arg0"Manifest")inletjobType=JobType.of_xml(Xml.child_exn~context:context_xml_arg0"JobType")inmake?aPIVersion~validateOnly?manifestAddendum~manifest~jobType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletvalidateOnly=field_map_exnjson__"ValidateOnly"ValidateOnly.of_jsoninletmanifestAddendum=field_mapjson__"ManifestAddendum"ManifestAddendum.of_jsoninletmanifest=field_map_exnjson__"Manifest"Manifest.of_jsoninletjobType=field_map_exnjson__"JobType"JobType.of_jsoninmake?aPIVersion~validateOnly?manifestAddendum~manifest~jobType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input structure for the CreateJob operation."]moduleCancelJobOutput=structtypecancelJobResult={success:Success.toption}andresponseMetaData=unitandt={cancelJobResult:cancelJobResult;responseMetaData:responseMetaData}typeerror=[`CanceledJobIdExceptionofCanceledJobIdException.t|`ExpiredJobIdExceptionofExpiredJobIdException.t|`InvalidAccessKeyIdExceptionofInvalidAccessKeyIdException.t|`InvalidJobIdExceptionofInvalidJobIdException.t|`InvalidVersionExceptionofInvalidVersionException.t|`UnableToCancelJobIdExceptionofUnableToCancelJobIdException.t|`Unknown_operation_errorof(string*stringoption)]letcontext_="CancelJobOutput"letmake?success=fun()->{cancelJobResult={success};responseMetaData=()}leterror_of_jsonnamejson=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_jsonjson)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_jsonjson)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_jsonjson)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_jsonjson)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_jsonjson)|"UnableToCancelJobIdException"->`UnableToCancelJobIdException(UnableToCancelJobIdException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"CanceledJobIdException"->`CanceledJobIdException(CanceledJobIdException.of_xmlxml)|"ExpiredJobIdException"->`ExpiredJobIdException(ExpiredJobIdException.of_xmlxml)|"InvalidAccessKeyIdException"->`InvalidAccessKeyIdException(InvalidAccessKeyIdException.of_xmlxml)|"InvalidJobIdException"->`InvalidJobIdException(InvalidJobIdException.of_xmlxml)|"InvalidVersionException"->`InvalidVersionException(InvalidVersionException.of_xmlxml)|"UnableToCancelJobIdException"->`UnableToCancelJobIdException(UnableToCancelJobIdException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`CanceledJobIdExceptione->`Assoc[("error",(`String"CanceledJobIdException"));("details",(CanceledJobIdException.to_jsone))]|`ExpiredJobIdExceptione->`Assoc[("error",(`String"ExpiredJobIdException"));("details",(ExpiredJobIdException.to_jsone))]|`InvalidAccessKeyIdExceptione->`Assoc[("error",(`String"InvalidAccessKeyIdException"));("details",(InvalidAccessKeyIdException.to_jsone))]|`InvalidJobIdExceptione->`Assoc[("error",(`String"InvalidJobIdException"));("details",(InvalidJobIdException.to_jsone))]|`InvalidVersionExceptione->`Assoc[("error",(`String"InvalidVersionException"));("details",(InvalidVersionException.to_jsone))]|`UnableToCancelJobIdExceptione->`Assoc[("error",(`String"UnableToCancelJobIdException"));("details",(UnableToCancelJobIdException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuet=letx=t.cancelJobResultinstructure_to_wrapped_value[("Success",(Option.mapx.success~f:Success.to_value))]~wrapper:"CancelJobResult"~response:"ResponseMetaData"letto_queryv=to_queryto_valuevletof_xmlt=letxml_arg0=Xml.child_exn~context:context_t"CancelJobResult"inletsuccess=(Option.map~f:Success.of_xml)(Xml.childxml_arg0"Success")inmake?success()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsuccess=field_mapjson__"Success"Success.of_jsoninmake?success()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Output structure for the CancelJob operation."]moduleCancelJobInput=structtypenonrect={jobId:JobId.t;aPIVersion:APIVersion.toption}letcontext_="CancelJobInput"letmake?aPIVersion=fun~jobId->fun()->{aPIVersion;jobId}letto_valuex=structure_to_value[("JobId",(Some(JobId.to_valuex.jobId)));("APIVersion",(Option.mapx.aPIVersion~f:APIVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaPIVersion=(Option.map~f:APIVersion.of_xml)(Xml.childxml_arg0"APIVersion")inletjobId=JobId.of_xml(Xml.child_exn~context:context_xml_arg0"JobId")inmake?aPIVersion~jobId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaPIVersion=field_mapjson__"APIVersion"APIVersion.of_jsoninletjobId=field_map_exnjson__"JobId"JobId.of_jsoninmake?aPIVersion~jobId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Input structure for the CancelJob operation."]