123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344(* 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.applicationcostprofilerletapiVersion="2020-09-10"letendpointPrefix="application-cost-profiler"letserviceFullName="AWS Application Cost Profiler"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letsimple_to_jsonto_valuex=Botodata.Json.value_to_json_scalar(to_valuex)letcomposed_to_jsonto_valuex=Botodata.Json.value_to_json(to_valuex)letto_queryto_valuex=Client.Query.of_value(to_valuex)letstructure_to_value_auxst~f=letfilter=function|(k,Somev)->Some(k,v)|_->Noneinletpairkv=(k,v)inletdefer_value(k,dv)=pairkdvin((List.filter_mapst~f:filter)|>(List.map~f:defer_value))|>(funx->`Structure(fx))letstructure_to_value=structure_to_value_aux~f:Fn.idletstructure_to_wrapped_value~wrapper~response=structure_to_value_aux~f:(funx->[(wrapper,(`Structurex));(response,(`Structure[]))])moduleS3Bucket=structtypenonrect=stringletcontext_="S3Bucket"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Bucket"jletto_json=simple_to_jsonto_valueendmoduleS3Prefix=structtypenonrect=stringletcontext_="S3Prefix"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Prefix"jletto_json=simple_to_jsonto_valueendmoduleFormat_=structtypenonrect=|CSV|PARQUET|Non_static_idofstringletmakei=iletto_string=function|CSV->"CSV"|PARQUET->"PARQUET"|Non_static_ids->sletof_string=function|"CSV"->CSV|"PARQUET"->PARQUET|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 Format"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Format"j)letto_json=simple_to_jsonto_valueendmoduleReportDescription=structtypenonrect=stringletcontext_="ReportDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ReportDescription"jletto_json=simple_to_jsonto_valueendmoduleReportFrequency=structtypenonrect=|MONTHLY|DAILY|ALL|Non_static_idofstringletmakei=iletto_string=function|MONTHLY->"MONTHLY"|DAILY->"DAILY"|ALL->"ALL"|Non_static_ids->sletof_string=function|"MONTHLY"->MONTHLY|"DAILY"->DAILY|"ALL"->ALL|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 ReportFrequency"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ReportFrequency"j)letto_json=simple_to_jsonto_valueendmoduleReportId=structtypenonrect=stringletcontext_="ReportId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^[0-9A-Za-z\\.\\-_]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ReportId"jletto_json=simple_to_jsonto_valueendmoduleS3Location=structtypenonrect={bucket:S3Bucket.t[@ocaml.doc"Name of the S3 bucket."];prefix:S3Prefix.t[@ocaml.doc"Prefix for the location to write to."]}letcontext_="S3Location"letmake~bucket=fun~prefix->fun()->{bucket;prefix}letto_valuex=structure_to_value[("bucket",(Some(S3Bucket.to_valuex.bucket)));("prefix",(Some(S3Prefix.to_valuex.prefix)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprefix=S3Prefix.of_xml(Xml.child_exn~context:context_xml_arg0"prefix")inletbucket=S3Bucket.of_xml(Xml.child_exn~context:context_xml_arg0"bucket")inmake~prefix~bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprefix=field_map_exnjson__"prefix"S3Prefix.of_jsoninletbucket=field_map_exnjson__"bucket"S3Bucket.of_jsoninmake~prefix~bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler reports are generated and then written to."]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_valueendmoduleErrorMessage=structtypenonrect=stringletcontext_="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_valueendmoduleReportDefinition=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"The ID of the report."];reportDescription:ReportDescription.toption[@ocaml.doc"Description of the report"];reportFrequency:ReportFrequency.toption[@ocaml.doc"The cadence at which the report is generated."];format:Format_.toption[@ocaml.doc"The format used for the generated reports."];destinationS3Location:S3Location.toption[@ocaml.doc"The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to."];createdAt:Timestamp.toption[@ocaml.doc"Timestamp (milliseconds) when this report definition was created."];lastUpdatedAt:Timestamp.toption[@ocaml.doc"Timestamp (milliseconds) when this report definition was last updated."]}letmake?reportId=fun?reportDescription->fun?reportFrequency->fun?format->fun?destinationS3Location->fun?createdAt->fun?lastUpdatedAt->fun()->{reportId;reportDescription;reportFrequency;format;destinationS3Location;createdAt;lastUpdatedAt}letto_valuex=structure_to_value[("reportId",(Option.mapx.reportId~f:ReportId.to_value));("reportDescription",(Option.mapx.reportDescription~f:ReportDescription.to_value));("reportFrequency",(Option.mapx.reportFrequency~f:ReportFrequency.to_value));("format",(Option.mapx.format~f:Format_.to_value));("destinationS3Location",(Option.mapx.destinationS3Location~f:S3Location.to_value));("createdAt",(Option.mapx.createdAt~f:Timestamp.to_value));("lastUpdatedAt",(Option.mapx.lastUpdatedAt~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastUpdatedAt")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"createdAt")inletdestinationS3Location=(Option.map~f:S3Location.of_xml)(Xml.childxml_arg0"destinationS3Location")inletformat=(Option.map~f:Format_.of_xml)(Xml.childxml_arg0"format")inletreportFrequency=(Option.map~f:ReportFrequency.of_xml)(Xml.childxml_arg0"reportFrequency")inletreportDescription=(Option.map~f:ReportDescription.of_xml)(Xml.childxml_arg0"reportDescription")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"reportId")inmake?lastUpdatedAt?createdAt?destinationS3Location?format?reportFrequency?reportDescription?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdatedAt=field_mapjson__"lastUpdatedAt"Timestamp.of_jsoninletcreatedAt=field_mapjson__"createdAt"Timestamp.of_jsoninletdestinationS3Location=field_mapjson__"destinationS3Location"S3Location.of_jsoninletformat=field_mapjson__"format"Format_.of_jsoninletreportFrequency=field_mapjson__"reportFrequency"ReportFrequency.of_jsoninletreportDescription=field_mapjson__"reportDescription"ReportDescription.of_jsoninletreportId=field_mapjson__"reportId"ReportId.of_jsoninmake?lastUpdatedAt?createdAt?destinationS3Location?format?reportFrequency?reportDescription?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The configuration of a report in AWS Application Cost Profiler."]moduleS3BucketRegion=structtypenonrect=|Ap_east_1|Me_south_1|Eu_south_1|Af_south_1|Non_static_idofstringletmakei=iletto_string=function|Ap_east_1->"ap-east-1"|Me_south_1->"me-south-1"|Eu_south_1->"eu-south-1"|Af_south_1->"af-south-1"|Non_static_ids->sletof_string=function|"ap-east-1"->Ap_east_1|"me-south-1"->Me_south_1|"eu-south-1"->Eu_south_1|"af-south-1"->Af_south_1|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 S3BucketRegion"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"S3BucketRegion"j)letto_json=simple_to_jsonto_valueendmoduleS3Key=structtypenonrect=stringletcontext_="S3Key"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Key"jletto_json=simple_to_jsonto_valueendmoduleAccessDeniedException=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"You do not have permission to perform this action."]moduleInternalServerException=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"An internal server error occurred. Retry your request."]moduleThrottlingException=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 calls to AWS Application Cost Profiler API are throttled. The request was denied."]moduleValidationException=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 input fails to satisfy the constraints for the API."]moduleServiceQuotaExceededException=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 request exceeds one or more of the service quotas."]moduleReportDefinitionList=structtypenonrect=ReportDefinition.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ReportDefinition.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:ReportDefinition.of_xml)letof_jsonj=list_of_json~kind:"ReportDefinitionList"~of_json:ReportDefinition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleToken=structtypenonrect=stringletcontext_="Token"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:102400)>>=(fun()->check_patterni~pattern:"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Token"jletto_json=simple_to_jsonto_valueendmoduleInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleImportId=structtypenonrect=stringletcontext_="ImportId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"[0-9A-Za-z\\.\\-_]*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ImportId"jletto_json=simple_to_jsonto_valueendmoduleSourceS3Location=structtypenonrect={bucket:S3Bucket.t[@ocaml.doc"Name of the bucket."];key:S3Key.t[@ocaml.doc"Key of the object."];region:S3BucketRegion.toption[@ocaml.doc"Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide."]}letcontext_="SourceS3Location"letmake?region=fun~bucket->fun~key->fun()->{region;bucket;key}letto_valuex=structure_to_value[("bucket",(Some(S3Bucket.to_valuex.bucket)));("key",(Some(S3Key.to_valuex.key)));("region",(Option.mapx.region~f:S3BucketRegion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregion=(Option.map~f:S3BucketRegion.of_xml)(Xml.childxml_arg0"region")inletkey=S3Key.of_xml(Xml.child_exn~context:context_xml_arg0"key")inletbucket=S3Bucket.of_xml(Xml.child_exn~context:context_xml_arg0"bucket")inmake?region~key~bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregion=field_mapjson__"region"S3BucketRegion.of_jsoninletkey=field_map_exnjson__"key"S3Key.of_jsoninletbucket=field_map_exnjson__"bucket"S3Bucket.of_jsoninmake?region~key~bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from."]moduleUpdateReportDefinitionResult=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"ID of the report."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun()->{reportId}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[("reportId",(Option.mapx.reportId~f:ReportId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"reportId")inmake?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_mapjson__"reportId"ReportId.of_jsoninmake?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates existing report in AWS Application Cost Profiler."]moduleUpdateReportDefinitionRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"Required. ID of the report to update."];reportDescription:ReportDescription.t[@ocaml.doc"Required. Description of the report."];reportFrequency:ReportFrequency.t[@ocaml.doc"Required. The cadence to generate the report."];format:Format_.t[@ocaml.doc"Required. The format to use for the generated report."];destinationS3Location:S3Location.t[@ocaml.doc"Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report."]}letcontext_="UpdateReportDefinitionRequest"letmake~reportId=fun~reportDescription->fun~reportFrequency->fun~format->fun~destinationS3Location->fun()->{reportId;reportDescription;reportFrequency;format;destinationS3Location}letto_valuex=structure_to_value[("reportId",(Some(ReportId.to_valuex.reportId)));("reportDescription",(Some(ReportDescription.to_valuex.reportDescription)));("reportFrequency",(Some(ReportFrequency.to_valuex.reportFrequency)));("format",(Some(Format_.to_valuex.format)));("destinationS3Location",(Some(S3Location.to_valuex.destinationS3Location)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationS3Location=S3Location.of_xml(Xml.child_exn~context:context_xml_arg0"destinationS3Location")inletformat=Format_.of_xml(Xml.child_exn~context:context_xml_arg0"format")inletreportFrequency=ReportFrequency.of_xml(Xml.child_exn~context:context_xml_arg0"reportFrequency")inletreportDescription=ReportDescription.of_xml(Xml.child_exn~context:context_xml_arg0"reportDescription")inletreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"reportId")inmake~destinationS3Location~format~reportFrequency~reportDescription~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationS3Location=field_map_exnjson__"destinationS3Location"S3Location.of_jsoninletformat=field_map_exnjson__"format"Format_.of_jsoninletreportFrequency=field_map_exnjson__"reportFrequency"ReportFrequency.of_jsoninletreportDescription=field_map_exnjson__"reportDescription"ReportDescription.of_jsoninletreportId=field_map_exnjson__"reportId"ReportId.of_jsoninmake~destinationS3Location~format~reportFrequency~reportDescription~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates existing report in AWS Application Cost Profiler."]modulePutReportDefinitionResult=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"ID of the report."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun()->{reportId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("reportId",(Option.mapx.reportId~f:ReportId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"reportId")inmake?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_mapjson__"reportId"ReportId.of_jsoninmake?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the report definition for a report in Application Cost Profiler."]modulePutReportDefinitionRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"Required. ID of the report. You can choose any valid string matching the pattern for the ID."];reportDescription:ReportDescription.t[@ocaml.doc"Required. Description of the report."];reportFrequency:ReportFrequency.t[@ocaml.doc"Required. The cadence to generate the report."];format:Format_.t[@ocaml.doc"Required. The format to use for the generated report."];destinationS3Location:S3Location.t[@ocaml.doc"Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report."]}letcontext_="PutReportDefinitionRequest"letmake~reportId=fun~reportDescription->fun~reportFrequency->fun~format->fun~destinationS3Location->fun()->{reportId;reportDescription;reportFrequency;format;destinationS3Location}letto_valuex=structure_to_value[("reportId",(Some(ReportId.to_valuex.reportId)));("reportDescription",(Some(ReportDescription.to_valuex.reportDescription)));("reportFrequency",(Some(ReportFrequency.to_valuex.reportFrequency)));("format",(Some(Format_.to_valuex.format)));("destinationS3Location",(Some(S3Location.to_valuex.destinationS3Location)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationS3Location=S3Location.of_xml(Xml.child_exn~context:context_xml_arg0"destinationS3Location")inletformat=Format_.of_xml(Xml.child_exn~context:context_xml_arg0"format")inletreportFrequency=ReportFrequency.of_xml(Xml.child_exn~context:context_xml_arg0"reportFrequency")inletreportDescription=ReportDescription.of_xml(Xml.child_exn~context:context_xml_arg0"reportDescription")inletreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"reportId")inmake~destinationS3Location~format~reportFrequency~reportDescription~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationS3Location=field_map_exnjson__"destinationS3Location"S3Location.of_jsoninletformat=field_map_exnjson__"format"Format_.of_jsoninletreportFrequency=field_map_exnjson__"reportFrequency"ReportFrequency.of_jsoninletreportDescription=field_map_exnjson__"reportDescription"ReportDescription.of_jsoninletreportId=field_map_exnjson__"reportId"ReportId.of_jsoninmake~destinationS3Location~format~reportFrequency~reportDescription~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the report definition for a report in Application Cost Profiler."]moduleListReportDefinitionsResult=structtypenonrect={reportDefinitions:ReportDefinitionList.toption[@ocaml.doc"The retrieved reports."];nextToken:Token.toption[@ocaml.doc"The value of the next token, if it exists. Null if there are no more results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportDefinitions=fun?nextToken->fun()->{reportDefinitions;nextToken}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[("reportDefinitions",(Option.mapx.reportDefinitions~f:ReportDefinitionList.to_value));("nextToken",(Option.mapx.nextToken~f:Token.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"nextToken")inletreportDefinitions=(Option.map~f:ReportDefinitionList.of_xml)(Xml.childxml_arg0"reportDefinitions")inmake?nextToken?reportDefinitions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"Token.of_jsoninletreportDefinitions=field_mapjson__"reportDefinitions"ReportDefinitionList.of_jsoninmake?nextToken?reportDefinitions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all reports and their configurations for your AWS account. The maximum number of reports is one."]moduleListReportDefinitionsRequest=structtypenonrect={nextToken:Token.toption[@ocaml.doc"The token value from a previous call to access the next page of results."];maxResults:Integer.toption[@ocaml.doc"The maximum number of results to return."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:Token.to_value));("maxResults",(Option.mapx.maxResults~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:Token.of_xml)(Xml.childxml_arg0"nextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"Integer.of_jsoninletnextToken=field_mapjson__"nextToken"Token.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all reports and their configurations for your AWS account. The maximum number of reports is one."]moduleImportApplicationUsageResult=structtypenonrect={importId:ImportId.toption[@ocaml.doc"ID of the import request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?importId=fun()->{importId}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[("importId",(Option.mapx.importId~f:ImportId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letimportId=(Option.map~f:ImportId.of_xml)(Xml.childxml_arg0"importId")inmake?importId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letimportId=field_mapjson__"importId"ImportId.of_jsoninmake?importId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Ingests application usage data from Amazon Simple Storage Service (Amazon S3). The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously."]moduleImportApplicationUsageRequest=structtypenonrect={sourceS3Location:SourceS3Location.t[@ocaml.doc"Amazon S3 location to import application usage data from."]}letcontext_="ImportApplicationUsageRequest"letmake~sourceS3Location=fun()->{sourceS3Location}letto_valuex=structure_to_value[("sourceS3Location",(Some(SourceS3Location.to_valuex.sourceS3Location)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceS3Location=SourceS3Location.of_xml(Xml.child_exn~context:context_xml_arg0"sourceS3Location")inmake~sourceS3Location()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceS3Location=field_map_exnjson__"sourceS3Location"SourceS3Location.of_jsoninmake~sourceS3Location()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Ingests application usage data from Amazon Simple Storage Service (Amazon S3). The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously."]moduleGetReportDefinitionResult=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"ID of the report retrieved."];reportDescription:ReportDescription.toption[@ocaml.doc"Description of the report."];reportFrequency:ReportFrequency.toption[@ocaml.doc"Cadence used to generate the report."];format:Format_.toption[@ocaml.doc"Format of the generated report."];destinationS3Location:S3Location.toption[@ocaml.doc"Amazon Simple Storage Service (Amazon S3) location where the report is uploaded."];createdAt:Timestamp.toption[@ocaml.doc"Timestamp (milliseconds) when this report definition was created."];lastUpdated:Timestamp.toption[@ocaml.doc"Timestamp (milliseconds) when this report definition was last updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun?reportDescription->fun?reportFrequency->fun?format->fun?destinationS3Location->fun?createdAt->fun?lastUpdated->fun()->{reportId;reportDescription;reportFrequency;format;destinationS3Location;createdAt;lastUpdated}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[("reportId",(Option.mapx.reportId~f:ReportId.to_value));("reportDescription",(Option.mapx.reportDescription~f:ReportDescription.to_value));("reportFrequency",(Option.mapx.reportFrequency~f:ReportFrequency.to_value));("format",(Option.mapx.format~f:Format_.to_value));("destinationS3Location",(Option.mapx.destinationS3Location~f:S3Location.to_value));("createdAt",(Option.mapx.createdAt~f:Timestamp.to_value));("lastUpdated",(Option.mapx.lastUpdated~f:Timestamp.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastUpdated=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"lastUpdated")inletcreatedAt=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"createdAt")inletdestinationS3Location=(Option.map~f:S3Location.of_xml)(Xml.childxml_arg0"destinationS3Location")inletformat=(Option.map~f:Format_.of_xml)(Xml.childxml_arg0"format")inletreportFrequency=(Option.map~f:ReportFrequency.of_xml)(Xml.childxml_arg0"reportFrequency")inletreportDescription=(Option.map~f:ReportDescription.of_xml)(Xml.childxml_arg0"reportDescription")inletreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"reportId")inmake?lastUpdated?createdAt?destinationS3Location?format?reportFrequency?reportDescription?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastUpdated=field_mapjson__"lastUpdated"Timestamp.of_jsoninletcreatedAt=field_mapjson__"createdAt"Timestamp.of_jsoninletdestinationS3Location=field_mapjson__"destinationS3Location"S3Location.of_jsoninletformat=field_mapjson__"format"Format_.of_jsoninletreportFrequency=field_mapjson__"reportFrequency"ReportFrequency.of_jsoninletreportDescription=field_mapjson__"reportDescription"ReportDescription.of_jsoninletreportId=field_mapjson__"reportId"ReportId.of_jsoninmake?lastUpdated?createdAt?destinationS3Location?format?reportFrequency?reportDescription?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the definition of a report already configured in AWS Application Cost Profiler."]moduleGetReportDefinitionRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"ID of the report to retrieve."]}letcontext_="GetReportDefinitionRequest"letmake~reportId=fun()->{reportId}letto_valuex=structure_to_value[("reportId",(Some(ReportId.to_valuex.reportId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"reportId")inmake~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_map_exnjson__"reportId"ReportId.of_jsoninmake~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the definition of a report already configured in AWS Application Cost Profiler."]moduleDeleteReportDefinitionResult=structtypenonrect={reportId:ReportId.toption[@ocaml.doc"ID of the report that was deleted."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?reportId=fun()->{reportId}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[("reportId",(Option.mapx.reportId~f:ReportId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=(Option.map~f:ReportId.of_xml)(Xml.childxml_arg0"reportId")inmake?reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_mapjson__"reportId"ReportId.of_jsoninmake?reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated."]moduleDeleteReportDefinitionRequest=structtypenonrect={reportId:ReportId.t[@ocaml.doc"Required. ID of the report to delete."]}letcontext_="DeleteReportDefinitionRequest"letmake~reportId=fun()->{reportId}letto_valuex=structure_to_value[("reportId",(Some(ReportId.to_valuex.reportId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreportId=ReportId.of_xml(Xml.child_exn~context:context_xml_arg0"reportId")inmake~reportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreportId=field_map_exnjson__"reportId"ReportId.of_jsoninmake~reportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated."]