forecastservice.d.ts 229 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class ForecastService extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: ForecastService.Types.ClientConfiguration)
  13. config: Config & ForecastService.Types.ClientConfiguration;
  14. /**
  15. * Creates an Amazon Forecast predictor. Amazon Forecast creates predictors with AutoPredictor, which involves applying the optimal combination of algorithms to each time series in your datasets. You can use CreateAutoPredictor to create new predictors or upgrade/retrain existing predictors. Creating new predictors The following parameters are required when creating a new predictor: PredictorName - A unique name for the predictor. DatasetGroupArn - The ARN of the dataset group used to train the predictor. ForecastFrequency - The granularity of your forecasts (hourly, daily, weekly, etc). ForecastHorizon - The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. When creating a new predictor, do not specify a value for ReferencePredictorArn. Upgrading and retraining predictors The following parameters are required when retraining or upgrading a predictor: PredictorName - A unique name for the predictor. ReferencePredictorArn - The ARN of the predictor to retrain or upgrade. When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn and PredictorName.
  16. */
  17. createAutoPredictor(params: ForecastService.Types.CreateAutoPredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateAutoPredictorResponse) => void): Request<ForecastService.Types.CreateAutoPredictorResponse, AWSError>;
  18. /**
  19. * Creates an Amazon Forecast predictor. Amazon Forecast creates predictors with AutoPredictor, which involves applying the optimal combination of algorithms to each time series in your datasets. You can use CreateAutoPredictor to create new predictors or upgrade/retrain existing predictors. Creating new predictors The following parameters are required when creating a new predictor: PredictorName - A unique name for the predictor. DatasetGroupArn - The ARN of the dataset group used to train the predictor. ForecastFrequency - The granularity of your forecasts (hourly, daily, weekly, etc). ForecastHorizon - The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. When creating a new predictor, do not specify a value for ReferencePredictorArn. Upgrading and retraining predictors The following parameters are required when retraining or upgrading a predictor: PredictorName - A unique name for the predictor. ReferencePredictorArn - The ARN of the predictor to retrain or upgrade. When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn and PredictorName.
  20. */
  21. createAutoPredictor(callback?: (err: AWSError, data: ForecastService.Types.CreateAutoPredictorResponse) => void): Request<ForecastService.Types.CreateAutoPredictorResponse, AWSError>;
  22. /**
  23. * Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following: DataFrequency - How frequently your historical time-series data is collected. Domain and DatasetType - Each dataset has an associated dataset domain and a type within the domain. Amazon Forecast provides a list of predefined domains and types within each domain. For each unique dataset domain and type within the domain, Amazon Forecast requires your data to include a minimum set of predefined fields. Schema - A schema specifies the fields in the dataset, including the field name and data type. After creating a dataset, you import your training data into it and add the dataset to a dataset group. You use the dataset group to create a predictor. For more information, see Importing datasets. To get a list of all your datasets, use the ListDatasets operation. For example Forecast datasets, see the Amazon Forecast Sample GitHub repository. The Status of a dataset must be ACTIVE before you can import training data. Use the DescribeDataset operation to get the status.
  24. */
  25. createDataset(params: ForecastService.Types.CreateDatasetRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetResponse) => void): Request<ForecastService.Types.CreateDatasetResponse, AWSError>;
  26. /**
  27. * Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following: DataFrequency - How frequently your historical time-series data is collected. Domain and DatasetType - Each dataset has an associated dataset domain and a type within the domain. Amazon Forecast provides a list of predefined domains and types within each domain. For each unique dataset domain and type within the domain, Amazon Forecast requires your data to include a minimum set of predefined fields. Schema - A schema specifies the fields in the dataset, including the field name and data type. After creating a dataset, you import your training data into it and add the dataset to a dataset group. You use the dataset group to create a predictor. For more information, see Importing datasets. To get a list of all your datasets, use the ListDatasets operation. For example Forecast datasets, see the Amazon Forecast Sample GitHub repository. The Status of a dataset must be ACTIVE before you can import training data. Use the DescribeDataset operation to get the status.
  28. */
  29. createDataset(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetResponse) => void): Request<ForecastService.Types.CreateDatasetResponse, AWSError>;
  30. /**
  31. * Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation. After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see Dataset groups. To get a list of all your datasets groups, use the ListDatasetGroups operation. The Status of a dataset group must be ACTIVE before you can use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.
  32. */
  33. createDatasetGroup(params: ForecastService.Types.CreateDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetGroupResponse) => void): Request<ForecastService.Types.CreateDatasetGroupResponse, AWSError>;
  34. /**
  35. * Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation. After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see Dataset groups. To get a list of all your datasets groups, use the ListDatasetGroups operation. The Status of a dataset group must be ACTIVE before you can use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.
  36. */
  37. createDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetGroupResponse) => void): Request<ForecastService.Types.CreateDatasetGroupResponse, AWSError>;
  38. /**
  39. * Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to. You must specify a DataSource object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy of your data and processes it in an internal Amazon Web Services system. For more information, see Set up permissions. The training data must be in CSV or Parquet format. The delimiter must be a comma (,). You can specify the path to a specific file, the S3 bucket, or to a folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000 files. Because dataset imports are not aggregated, your most recent dataset import is the one that is used when training a predictor or generating a forecast. Make sure that your most recent dataset import contains all of the data you want to model off of, and not just the new data collected since the previous import. To get a list of all your dataset import jobs, filtered by specified criteria, use the ListDatasetImportJobs operation.
  40. */
  41. createDatasetImportJob(params: ForecastService.Types.CreateDatasetImportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetImportJobResponse) => void): Request<ForecastService.Types.CreateDatasetImportJobResponse, AWSError>;
  42. /**
  43. * Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to. You must specify a DataSource object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy of your data and processes it in an internal Amazon Web Services system. For more information, see Set up permissions. The training data must be in CSV or Parquet format. The delimiter must be a comma (,). You can specify the path to a specific file, the S3 bucket, or to a folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000 files. Because dataset imports are not aggregated, your most recent dataset import is the one that is used when training a predictor or generating a forecast. Make sure that your most recent dataset import contains all of the data you want to model off of, and not just the new data collected since the previous import. To get a list of all your dataset import jobs, filtered by specified criteria, use the ListDatasetImportJobs operation.
  44. */
  45. createDatasetImportJob(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetImportJobResponse) => void): Request<ForecastService.Types.CreateDatasetImportJobResponse, AWSError>;
  46. /**
  47. * Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor) Creates an Amazon Forecast Explainability. Explainability helps you better understand how the attributes in your datasets impact forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative impact of each attribute and determine whether they increase or decrease forecast values. To enable Forecast Explainability, your predictor must include at least one of the following: related time series, item metadata, or additional datasets like Holidays and the Weather Index. CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive aggregated Impact scores for all time series and time points in your datasets, provide a Predictor ARN. To receive Impact scores for specific time series and time points, provide a Forecast ARN. CreateExplainability with a Predictor ARN You can only have one Explainability resource per predictor. If you already enabled ExplainPredictor in CreateAutoPredictor, that predictor already has an Explainability resource. The following parameters are required when providing a Predictor ARN: ExplainabilityName - A unique name for the Explainability. ResourceArn - The Arn of the predictor. TimePointGranularity - Must be set to “ALL”. TimeSeriesGranularity - Must be set to “ALL”. Do not specify a value for the following parameters: DataSource - Only valid when TimeSeriesGranularity is “SPECIFIC”. Schema - Only valid when TimeSeriesGranularity is “SPECIFIC”. StartDateTime - Only valid when TimePointGranularity is “SPECIFIC”. EndDateTime - Only valid when TimePointGranularity is “SPECIFIC”. CreateExplainability with a Forecast ARN You can specify a maximum of 50 time series and 500 time points. The following parameters are required when providing a Predictor ARN: ExplainabilityName - A unique name for the Explainability. ResourceArn - The Arn of the forecast. TimePointGranularity - Either “ALL” or “SPECIFIC”. TimeSeriesGranularity - Either “ALL” or “SPECIFIC”. If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the following: DataSource - The S3 location of the CSV file specifying your time series. Schema - The Schema defines the attributes and attribute types listed in the Data Source. If you set TimePointGranularity to “SPECIFIC”, you must also provide the following: StartDateTime - The first timestamp in the range of time points. EndDateTime - The last timestamp in the range of time points.
  48. */
  49. createExplainability(params: ForecastService.Types.CreateExplainabilityRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateExplainabilityResponse) => void): Request<ForecastService.Types.CreateExplainabilityResponse, AWSError>;
  50. /**
  51. * Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor) Creates an Amazon Forecast Explainability. Explainability helps you better understand how the attributes in your datasets impact forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative impact of each attribute and determine whether they increase or decrease forecast values. To enable Forecast Explainability, your predictor must include at least one of the following: related time series, item metadata, or additional datasets like Holidays and the Weather Index. CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive aggregated Impact scores for all time series and time points in your datasets, provide a Predictor ARN. To receive Impact scores for specific time series and time points, provide a Forecast ARN. CreateExplainability with a Predictor ARN You can only have one Explainability resource per predictor. If you already enabled ExplainPredictor in CreateAutoPredictor, that predictor already has an Explainability resource. The following parameters are required when providing a Predictor ARN: ExplainabilityName - A unique name for the Explainability. ResourceArn - The Arn of the predictor. TimePointGranularity - Must be set to “ALL”. TimeSeriesGranularity - Must be set to “ALL”. Do not specify a value for the following parameters: DataSource - Only valid when TimeSeriesGranularity is “SPECIFIC”. Schema - Only valid when TimeSeriesGranularity is “SPECIFIC”. StartDateTime - Only valid when TimePointGranularity is “SPECIFIC”. EndDateTime - Only valid when TimePointGranularity is “SPECIFIC”. CreateExplainability with a Forecast ARN You can specify a maximum of 50 time series and 500 time points. The following parameters are required when providing a Predictor ARN: ExplainabilityName - A unique name for the Explainability. ResourceArn - The Arn of the forecast. TimePointGranularity - Either “ALL” or “SPECIFIC”. TimeSeriesGranularity - Either “ALL” or “SPECIFIC”. If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the following: DataSource - The S3 location of the CSV file specifying your time series. Schema - The Schema defines the attributes and attribute types listed in the Data Source. If you set TimePointGranularity to “SPECIFIC”, you must also provide the following: StartDateTime - The first timestamp in the range of time points. EndDateTime - The last timestamp in the range of time points.
  52. */
  53. createExplainability(callback?: (err: AWSError, data: ForecastService.Types.CreateExplainabilityResponse) => void): Request<ForecastService.Types.CreateExplainabilityResponse, AWSError>;
  54. /**
  55. * Exports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.
  56. */
  57. createExplainabilityExport(params: ForecastService.Types.CreateExplainabilityExportRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateExplainabilityExportResponse) => void): Request<ForecastService.Types.CreateExplainabilityExportResponse, AWSError>;
  58. /**
  59. * Exports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.
  60. */
  61. createExplainabilityExport(callback?: (err: AWSError, data: ForecastService.Types.CreateExplainabilityExportResponse) => void): Request<ForecastService.Types.CreateExplainabilityExportResponse, AWSError>;
  62. /**
  63. * Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation. The range of the forecast is determined by the ForecastHorizon value, which you specify in the CreatePredictor request. When you query a forecast, you can request a specific date range within the forecast. To get a list of all your forecasts, use the ListForecasts operation. The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was used to create the predictor. For more information, see howitworks-forecast. The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status. By default, a forecast includes predictions for every item (item_id) in the dataset group that was used to train the predictor. However, you can use the TimeSeriesSelector object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.
  64. */
  65. createForecast(params: ForecastService.Types.CreateForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateForecastResponse) => void): Request<ForecastService.Types.CreateForecastResponse, AWSError>;
  66. /**
  67. * Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation. The range of the forecast is determined by the ForecastHorizon value, which you specify in the CreatePredictor request. When you query a forecast, you can request a specific date range within the forecast. To get a list of all your forecasts, use the ListForecasts operation. The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was used to create the predictor. For more information, see howitworks-forecast. The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status. By default, a forecast includes predictions for every item (item_id) in the dataset group that was used to train the predictor. However, you can use the TimeSeriesSelector object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.
  68. */
  69. createForecast(callback?: (err: AWSError, data: ForecastService.Types.CreateForecastResponse) => void): Request<ForecastService.Types.CreateForecastResponse, AWSError>;
  70. /**
  71. * Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions: &lt;ForecastExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt; where the &lt;ExportTimestamp&gt; component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your forecast export jobs, use the ListForecastExportJobs operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeForecastExportJob operation.
  72. */
  73. createForecastExportJob(params: ForecastService.Types.CreateForecastExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateForecastExportJobResponse) => void): Request<ForecastService.Types.CreateForecastExportJobResponse, AWSError>;
  74. /**
  75. * Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions: &lt;ForecastExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt; where the &lt;ExportTimestamp&gt; component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your forecast export jobs, use the ListForecastExportJobs operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeForecastExportJob operation.
  76. */
  77. createForecastExportJob(callback?: (err: AWSError, data: ForecastService.Types.CreateForecastExportJobResponse) => void): Request<ForecastService.Types.CreateForecastExportJobResponse, AWSError>;
  78. /**
  79. * Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
  80. */
  81. createMonitor(params: ForecastService.Types.CreateMonitorRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateMonitorResponse) => void): Request<ForecastService.Types.CreateMonitorResponse, AWSError>;
  82. /**
  83. * Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
  84. */
  85. createMonitor(callback?: (err: AWSError, data: ForecastService.Types.CreateMonitorResponse) => void): Request<ForecastService.Types.CreateMonitorResponse, AWSError>;
  86. /**
  87. * This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast. To create a predictor that is compatible with all aspects of Forecast, use CreateAutoPredictor. Creates an Amazon Forecast predictor. In the request, provide a dataset group and either specify an algorithm or let Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters. Amazon Forecast uses the algorithm to train a predictor using the latest version of the datasets in the specified dataset group. You can then generate a forecast using the CreateForecast operation. To see the evaluation metrics, use the GetAccuracyMetrics operation. You can specify a featurization configuration to fill and aggregate the data fields in the TARGET_TIME_SERIES dataset to improve model training. For more information, see FeaturizationConfig. For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the DataFrequency specified when the dataset was created matches the ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction. Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups. By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9 (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor by setting the ForecastTypes. AutoML If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the objective function, set PerformAutoML to true. The objective function is defined as the mean of the weighted losses over the forecast types. By default, these are the p10, p50, and p90 quantile losses. For more information, see EvaluationResult. When AutoML is enabled, the following properties are disallowed: AlgorithmArn HPOConfig PerformHPO TrainingParameters To get a list of all of your predictors, use the ListPredictors operation. Before you can use the predictor to create a forecast, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
  88. */
  89. createPredictor(params: ForecastService.Types.CreatePredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorResponse) => void): Request<ForecastService.Types.CreatePredictorResponse, AWSError>;
  90. /**
  91. * This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast. To create a predictor that is compatible with all aspects of Forecast, use CreateAutoPredictor. Creates an Amazon Forecast predictor. In the request, provide a dataset group and either specify an algorithm or let Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters. Amazon Forecast uses the algorithm to train a predictor using the latest version of the datasets in the specified dataset group. You can then generate a forecast using the CreateForecast operation. To see the evaluation metrics, use the GetAccuracyMetrics operation. You can specify a featurization configuration to fill and aggregate the data fields in the TARGET_TIME_SERIES dataset to improve model training. For more information, see FeaturizationConfig. For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the DataFrequency specified when the dataset was created matches the ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction. Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups. By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9 (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor by setting the ForecastTypes. AutoML If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the objective function, set PerformAutoML to true. The objective function is defined as the mean of the weighted losses over the forecast types. By default, these are the p10, p50, and p90 quantile losses. For more information, see EvaluationResult. When AutoML is enabled, the following properties are disallowed: AlgorithmArn HPOConfig PerformHPO TrainingParameters To get a list of all of your predictors, use the ListPredictors operation. Before you can use the predictor to create a forecast, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
  92. */
  93. createPredictor(callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorResponse) => void): Request<ForecastService.Types.CreatePredictorResponse, AWSError>;
  94. /**
  95. * Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV or Parquet files are exported to your specified S3 bucket. The export file names will match the following conventions: &lt;ExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt;.csv The &lt;ExportTimestamp&gt; component is in Java SimpleDate format (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.
  96. */
  97. createPredictorBacktestExportJob(params: ForecastService.Types.CreatePredictorBacktestExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorBacktestExportJobResponse) => void): Request<ForecastService.Types.CreatePredictorBacktestExportJobResponse, AWSError>;
  98. /**
  99. * Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV or Parquet files are exported to your specified S3 bucket. The export file names will match the following conventions: &lt;ExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt;.csv The &lt;ExportTimestamp&gt; component is in Java SimpleDate format (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Amazon S3 bucket and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.
  100. */
  101. createPredictorBacktestExportJob(callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorBacktestExportJobResponse) => void): Request<ForecastService.Types.CreatePredictorBacktestExportJobResponse, AWSError>;
  102. /**
  103. * What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series. It is important to remember that the purpose of a what-if analysis is to understand how a forecast can change given different modifications to the baseline time series. For example, imagine you are a clothing retailer who is considering an end of season sale to clear space for new styles. After creating a baseline forecast, you can use a what-if analysis to investigate how different sales tactics might affect your goals. You could create a scenario where everything is given a 25% markdown, and another where everything is given a fixed dollar markdown. You could create a scenario where the sale lasts for one week and another where the sale lasts for one month. With a what-if analysis, you can compare many different scenarios against each other. Note that a what-if analysis is meant to display what the forecasting model has learned and how it will behave in the scenarios that you are evaluating. Do not blindly use the results of the what-if analysis to make business decisions. For instance, forecasts might not be accurate for novel scenarios where there is no reference available to determine whether a forecast is good. The TimeSeriesSelector object defines the items that you want in the what-if analysis.
  104. */
  105. createWhatIfAnalysis(params: ForecastService.Types.CreateWhatIfAnalysisRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfAnalysisResponse) => void): Request<ForecastService.Types.CreateWhatIfAnalysisResponse, AWSError>;
  106. /**
  107. * What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series. It is important to remember that the purpose of a what-if analysis is to understand how a forecast can change given different modifications to the baseline time series. For example, imagine you are a clothing retailer who is considering an end of season sale to clear space for new styles. After creating a baseline forecast, you can use a what-if analysis to investigate how different sales tactics might affect your goals. You could create a scenario where everything is given a 25% markdown, and another where everything is given a fixed dollar markdown. You could create a scenario where the sale lasts for one week and another where the sale lasts for one month. With a what-if analysis, you can compare many different scenarios against each other. Note that a what-if analysis is meant to display what the forecasting model has learned and how it will behave in the scenarios that you are evaluating. Do not blindly use the results of the what-if analysis to make business decisions. For instance, forecasts might not be accurate for novel scenarios where there is no reference available to determine whether a forecast is good. The TimeSeriesSelector object defines the items that you want in the what-if analysis.
  108. */
  109. createWhatIfAnalysis(callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfAnalysisResponse) => void): Request<ForecastService.Types.CreateWhatIfAnalysisResponse, AWSError>;
  110. /**
  111. * A what-if forecast is a forecast that is created from a modified version of the baseline forecast. Each what-if forecast incorporates either a replacement dataset or a set of transformations to the original dataset.
  112. */
  113. createWhatIfForecast(params: ForecastService.Types.CreateWhatIfForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfForecastResponse) => void): Request<ForecastService.Types.CreateWhatIfForecastResponse, AWSError>;
  114. /**
  115. * A what-if forecast is a forecast that is created from a modified version of the baseline forecast. Each what-if forecast incorporates either a replacement dataset or a set of transformations to the original dataset.
  116. */
  117. createWhatIfForecast(callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfForecastResponse) => void): Request<ForecastService.Types.CreateWhatIfForecastResponse, AWSError>;
  118. /**
  119. * Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions: ≈&lt;ForecastExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt; The &lt;ExportTimestamp&gt; component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your what-if forecast export jobs, use the ListWhatIfForecastExports operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeWhatIfForecastExport operation.
  120. */
  121. createWhatIfForecastExport(params: ForecastService.Types.CreateWhatIfForecastExportRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfForecastExportResponse) => void): Request<ForecastService.Types.CreateWhatIfForecastExportResponse, AWSError>;
  122. /**
  123. * Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions: ≈&lt;ForecastExportJobName&gt;_&lt;ExportTimestamp&gt;_&lt;PartNumber&gt; The &lt;ExportTimestamp&gt; component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your what-if forecast export jobs, use the ListWhatIfForecastExports operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeWhatIfForecastExport operation.
  124. */
  125. createWhatIfForecastExport(callback?: (err: AWSError, data: ForecastService.Types.CreateWhatIfForecastExportResponse) => void): Request<ForecastService.Types.CreateWhatIfForecastExportResponse, AWSError>;
  126. /**
  127. * Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE or CREATE_FAILED. To get the status use the DescribeDataset operation. Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the UpdateDatasetGroup operation, omitting the deleted dataset's ARN.
  128. */
  129. deleteDataset(params: ForecastService.Types.DeleteDatasetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  130. /**
  131. * Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE or CREATE_FAILED. To get the status use the DescribeDataset operation. Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the UpdateDatasetGroup operation, omitting the deleted dataset's ARN.
  132. */
  133. deleteDataset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  134. /**
  135. * Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of ACTIVE, CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation. This operation deletes only the dataset group, not the datasets in the group.
  136. */
  137. deleteDatasetGroup(params: ForecastService.Types.DeleteDatasetGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  138. /**
  139. * Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of ACTIVE, CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation. This operation deletes only the dataset group, not the datasets in the group.
  140. */
  141. deleteDatasetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  142. /**
  143. * Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.
  144. */
  145. deleteDatasetImportJob(params: ForecastService.Types.DeleteDatasetImportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  146. /**
  147. * Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.
  148. */
  149. deleteDatasetImportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  150. /**
  151. * Deletes an Explainability resource. You can delete only predictor that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeExplainability operation.
  152. */
  153. deleteExplainability(params: ForecastService.Types.DeleteExplainabilityRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  154. /**
  155. * Deletes an Explainability resource. You can delete only predictor that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeExplainability operation.
  156. */
  157. deleteExplainability(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  158. /**
  159. * Deletes an Explainability export.
  160. */
  161. deleteExplainabilityExport(params: ForecastService.Types.DeleteExplainabilityExportRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  162. /**
  163. * Deletes an Explainability export.
  164. */
  165. deleteExplainabilityExport(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  166. /**
  167. * Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeForecast operation. You can't delete a forecast while it is being exported. After a forecast is deleted, you can no longer query the forecast.
  168. */
  169. deleteForecast(params: ForecastService.Types.DeleteForecastRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  170. /**
  171. * Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeForecast operation. You can't delete a forecast while it is being exported. After a forecast is deleted, you can no longer query the forecast.
  172. */
  173. deleteForecast(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  174. /**
  175. * Deletes a forecast export job created using the CreateForecastExportJob operation. You can delete only export jobs that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeForecastExportJob operation.
  176. */
  177. deleteForecastExportJob(params: ForecastService.Types.DeleteForecastExportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  178. /**
  179. * Deletes a forecast export job created using the CreateForecastExportJob operation. You can delete only export jobs that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeForecastExportJob operation.
  180. */
  181. deleteForecastExportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  182. /**
  183. * Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE, ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED.
  184. */
  185. deleteMonitor(params: ForecastService.Types.DeleteMonitorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  186. /**
  187. * Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE, ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED.
  188. */
  189. deleteMonitor(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  190. /**
  191. * Deletes a predictor created using the DescribePredictor or CreatePredictor operations. You can delete only predictor that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribePredictor operation.
  192. */
  193. deletePredictor(params: ForecastService.Types.DeletePredictorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  194. /**
  195. * Deletes a predictor created using the DescribePredictor or CreatePredictor operations. You can delete only predictor that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribePredictor operation.
  196. */
  197. deletePredictor(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  198. /**
  199. * Deletes a predictor backtest export job.
  200. */
  201. deletePredictorBacktestExportJob(params: ForecastService.Types.DeletePredictorBacktestExportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  202. /**
  203. * Deletes a predictor backtest export job.
  204. */
  205. deletePredictorBacktestExportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  206. /**
  207. * Deletes an entire resource tree. This operation will delete the parent resource and its child resources. Child resources are resources that were created from another resource. For example, when a forecast is generated from a predictor, the forecast is the child resource and the predictor is the parent resource. Amazon Forecast resources possess the following parent-child resource hierarchies: Dataset: dataset import jobs Dataset Group: predictors, predictor backtest export jobs, forecasts, forecast export jobs Predictor: predictor backtest export jobs, forecasts, forecast export jobs Forecast: forecast export jobs DeleteResourceTree will only delete Amazon Forecast resources, and will not delete datasets or exported files stored in Amazon S3.
  208. */
  209. deleteResourceTree(params: ForecastService.Types.DeleteResourceTreeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  210. /**
  211. * Deletes an entire resource tree. This operation will delete the parent resource and its child resources. Child resources are resources that were created from another resource. For example, when a forecast is generated from a predictor, the forecast is the child resource and the predictor is the parent resource. Amazon Forecast resources possess the following parent-child resource hierarchies: Dataset: dataset import jobs Dataset Group: predictors, predictor backtest export jobs, forecasts, forecast export jobs Predictor: predictor backtest export jobs, forecasts, forecast export jobs Forecast: forecast export jobs DeleteResourceTree will only delete Amazon Forecast resources, and will not delete datasets or exported files stored in Amazon S3.
  212. */
  213. deleteResourceTree(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  214. /**
  215. * Deletes a what-if analysis created using the CreateWhatIfAnalysis operation. You can delete only what-if analyses that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfAnalysis operation. You can't delete a what-if analysis while any of its forecasts are being exported.
  216. */
  217. deleteWhatIfAnalysis(params: ForecastService.Types.DeleteWhatIfAnalysisRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  218. /**
  219. * Deletes a what-if analysis created using the CreateWhatIfAnalysis operation. You can delete only what-if analyses that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfAnalysis operation. You can't delete a what-if analysis while any of its forecasts are being exported.
  220. */
  221. deleteWhatIfAnalysis(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  222. /**
  223. * Deletes a what-if forecast created using the CreateWhatIfForecast operation. You can delete only what-if forecasts that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecast operation. You can't delete a what-if forecast while it is being exported. After a what-if forecast is deleted, you can no longer query the what-if analysis.
  224. */
  225. deleteWhatIfForecast(params: ForecastService.Types.DeleteWhatIfForecastRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  226. /**
  227. * Deletes a what-if forecast created using the CreateWhatIfForecast operation. You can delete only what-if forecasts that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecast operation. You can't delete a what-if forecast while it is being exported. After a what-if forecast is deleted, you can no longer query the what-if analysis.
  228. */
  229. deleteWhatIfForecast(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  230. /**
  231. * Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation. You can delete only what-if forecast exports that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecastExport operation.
  232. */
  233. deleteWhatIfForecastExport(params: ForecastService.Types.DeleteWhatIfForecastExportRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  234. /**
  235. * Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation. You can delete only what-if forecast exports that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecastExport operation.
  236. */
  237. deleteWhatIfForecastExport(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  238. /**
  239. * Describes a predictor created using the CreateAutoPredictor operation.
  240. */
  241. describeAutoPredictor(params: ForecastService.Types.DescribeAutoPredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeAutoPredictorResponse) => void): Request<ForecastService.Types.DescribeAutoPredictorResponse, AWSError>;
  242. /**
  243. * Describes a predictor created using the CreateAutoPredictor operation.
  244. */
  245. describeAutoPredictor(callback?: (err: AWSError, data: ForecastService.Types.DescribeAutoPredictorResponse) => void): Request<ForecastService.Types.DescribeAutoPredictorResponse, AWSError>;
  246. /**
  247. * Describes an Amazon Forecast dataset created using the CreateDataset operation. In addition to listing the parameters specified in the CreateDataset request, this operation includes the following dataset properties: CreationTime LastModificationTime Status
  248. */
  249. describeDataset(params: ForecastService.Types.DescribeDatasetRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetResponse) => void): Request<ForecastService.Types.DescribeDatasetResponse, AWSError>;
  250. /**
  251. * Describes an Amazon Forecast dataset created using the CreateDataset operation. In addition to listing the parameters specified in the CreateDataset request, this operation includes the following dataset properties: CreationTime LastModificationTime Status
  252. */
  253. describeDataset(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetResponse) => void): Request<ForecastService.Types.DescribeDatasetResponse, AWSError>;
  254. /**
  255. * Describes a dataset group created using the CreateDatasetGroup operation. In addition to listing the parameters provided in the CreateDatasetGroup request, this operation includes the following properties: DatasetArns - The datasets belonging to the group. CreationTime LastModificationTime Status
  256. */
  257. describeDatasetGroup(params: ForecastService.Types.DescribeDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetGroupResponse) => void): Request<ForecastService.Types.DescribeDatasetGroupResponse, AWSError>;
  258. /**
  259. * Describes a dataset group created using the CreateDatasetGroup operation. In addition to listing the parameters provided in the CreateDatasetGroup request, this operation includes the following properties: DatasetArns - The datasets belonging to the group. CreationTime LastModificationTime Status
  260. */
  261. describeDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetGroupResponse) => void): Request<ForecastService.Types.DescribeDatasetGroupResponse, AWSError>;
  262. /**
  263. * Describes a dataset import job created using the CreateDatasetImportJob operation. In addition to listing the parameters provided in the CreateDatasetImportJob request, this operation includes the following properties: CreationTime LastModificationTime DataSize FieldStatistics Status Message - If an error occurred, information about the error.
  264. */
  265. describeDatasetImportJob(params: ForecastService.Types.DescribeDatasetImportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetImportJobResponse) => void): Request<ForecastService.Types.DescribeDatasetImportJobResponse, AWSError>;
  266. /**
  267. * Describes a dataset import job created using the CreateDatasetImportJob operation. In addition to listing the parameters provided in the CreateDatasetImportJob request, this operation includes the following properties: CreationTime LastModificationTime DataSize FieldStatistics Status Message - If an error occurred, information about the error.
  268. */
  269. describeDatasetImportJob(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetImportJobResponse) => void): Request<ForecastService.Types.DescribeDatasetImportJobResponse, AWSError>;
  270. /**
  271. * Describes an Explainability resource created using the CreateExplainability operation.
  272. */
  273. describeExplainability(params: ForecastService.Types.DescribeExplainabilityRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeExplainabilityResponse) => void): Request<ForecastService.Types.DescribeExplainabilityResponse, AWSError>;
  274. /**
  275. * Describes an Explainability resource created using the CreateExplainability operation.
  276. */
  277. describeExplainability(callback?: (err: AWSError, data: ForecastService.Types.DescribeExplainabilityResponse) => void): Request<ForecastService.Types.DescribeExplainabilityResponse, AWSError>;
  278. /**
  279. * Describes an Explainability export created using the CreateExplainabilityExport operation.
  280. */
  281. describeExplainabilityExport(params: ForecastService.Types.DescribeExplainabilityExportRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeExplainabilityExportResponse) => void): Request<ForecastService.Types.DescribeExplainabilityExportResponse, AWSError>;
  282. /**
  283. * Describes an Explainability export created using the CreateExplainabilityExport operation.
  284. */
  285. describeExplainabilityExport(callback?: (err: AWSError, data: ForecastService.Types.DescribeExplainabilityExportResponse) => void): Request<ForecastService.Types.DescribeExplainabilityExportResponse, AWSError>;
  286. /**
  287. * Describes a forecast created using the CreateForecast operation. In addition to listing the properties provided in the CreateForecast request, this operation lists the following properties: DatasetGroupArn - The dataset group that provided the training data. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  288. */
  289. describeForecast(params: ForecastService.Types.DescribeForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastResponse) => void): Request<ForecastService.Types.DescribeForecastResponse, AWSError>;
  290. /**
  291. * Describes a forecast created using the CreateForecast operation. In addition to listing the properties provided in the CreateForecast request, this operation lists the following properties: DatasetGroupArn - The dataset group that provided the training data. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  292. */
  293. describeForecast(callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastResponse) => void): Request<ForecastService.Types.DescribeForecastResponse, AWSError>;
  294. /**
  295. * Describes a forecast export job created using the CreateForecastExportJob operation. In addition to listing the properties provided by the user in the CreateForecastExportJob request, this operation lists the following properties: CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  296. */
  297. describeForecastExportJob(params: ForecastService.Types.DescribeForecastExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastExportJobResponse) => void): Request<ForecastService.Types.DescribeForecastExportJobResponse, AWSError>;
  298. /**
  299. * Describes a forecast export job created using the CreateForecastExportJob operation. In addition to listing the properties provided by the user in the CreateForecastExportJob request, this operation lists the following properties: CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  300. */
  301. describeForecastExportJob(callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastExportJobResponse) => void): Request<ForecastService.Types.DescribeForecastExportJobResponse, AWSError>;
  302. /**
  303. * Describes a monitor resource. In addition to listing the properties provided in the CreateMonitor request, this operation lists the following properties: Baseline CreationTime LastEvaluationTime LastEvaluationState LastModificationTime Message Status
  304. */
  305. describeMonitor(params: ForecastService.Types.DescribeMonitorRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeMonitorResponse) => void): Request<ForecastService.Types.DescribeMonitorResponse, AWSError>;
  306. /**
  307. * Describes a monitor resource. In addition to listing the properties provided in the CreateMonitor request, this operation lists the following properties: Baseline CreationTime LastEvaluationTime LastEvaluationState LastModificationTime Message Status
  308. */
  309. describeMonitor(callback?: (err: AWSError, data: ForecastService.Types.DescribeMonitorResponse) => void): Request<ForecastService.Types.DescribeMonitorResponse, AWSError>;
  310. /**
  311. * This operation is only valid for legacy predictors created with CreatePredictor. If you are not using a legacy predictor, use DescribeAutoPredictor. Describes a predictor created using the CreatePredictor operation. In addition to listing the properties provided in the CreatePredictor request, this operation lists the following properties: DatasetImportJobArns - The dataset import jobs used to import training data. AutoMLAlgorithmArns - If AutoML is performed, the algorithms that were evaluated. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  312. */
  313. describePredictor(params: ForecastService.Types.DescribePredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorResponse) => void): Request<ForecastService.Types.DescribePredictorResponse, AWSError>;
  314. /**
  315. * This operation is only valid for legacy predictors created with CreatePredictor. If you are not using a legacy predictor, use DescribeAutoPredictor. Describes a predictor created using the CreatePredictor operation. In addition to listing the properties provided in the CreatePredictor request, this operation lists the following properties: DatasetImportJobArns - The dataset import jobs used to import training data. AutoMLAlgorithmArns - If AutoML is performed, the algorithms that were evaluated. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
  316. */
  317. describePredictor(callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorResponse) => void): Request<ForecastService.Types.DescribePredictorResponse, AWSError>;
  318. /**
  319. * Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation. In addition to listing the properties provided by the user in the CreatePredictorBacktestExportJob request, this operation lists the following properties: CreationTime LastModificationTime Status Message (if an error occurred)
  320. */
  321. describePredictorBacktestExportJob(params: ForecastService.Types.DescribePredictorBacktestExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorBacktestExportJobResponse) => void): Request<ForecastService.Types.DescribePredictorBacktestExportJobResponse, AWSError>;
  322. /**
  323. * Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation. In addition to listing the properties provided by the user in the CreatePredictorBacktestExportJob request, this operation lists the following properties: CreationTime LastModificationTime Status Message (if an error occurred)
  324. */
  325. describePredictorBacktestExportJob(callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorBacktestExportJobResponse) => void): Request<ForecastService.Types.DescribePredictorBacktestExportJobResponse, AWSError>;
  326. /**
  327. * Describes the what-if analysis created using the CreateWhatIfAnalysis operation. In addition to listing the properties provided in the CreateWhatIfAnalysis request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  328. */
  329. describeWhatIfAnalysis(params: ForecastService.Types.DescribeWhatIfAnalysisRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfAnalysisResponse) => void): Request<ForecastService.Types.DescribeWhatIfAnalysisResponse, AWSError>;
  330. /**
  331. * Describes the what-if analysis created using the CreateWhatIfAnalysis operation. In addition to listing the properties provided in the CreateWhatIfAnalysis request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  332. */
  333. describeWhatIfAnalysis(callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfAnalysisResponse) => void): Request<ForecastService.Types.DescribeWhatIfAnalysisResponse, AWSError>;
  334. /**
  335. * Describes the what-if forecast created using the CreateWhatIfForecast operation. In addition to listing the properties provided in the CreateWhatIfForecast request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  336. */
  337. describeWhatIfForecast(params: ForecastService.Types.DescribeWhatIfForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfForecastResponse) => void): Request<ForecastService.Types.DescribeWhatIfForecastResponse, AWSError>;
  338. /**
  339. * Describes the what-if forecast created using the CreateWhatIfForecast operation. In addition to listing the properties provided in the CreateWhatIfForecast request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  340. */
  341. describeWhatIfForecast(callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfForecastResponse) => void): Request<ForecastService.Types.DescribeWhatIfForecastResponse, AWSError>;
  342. /**
  343. * Describes the what-if forecast export created using the CreateWhatIfForecastExport operation. In addition to listing the properties provided in the CreateWhatIfForecastExport request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  344. */
  345. describeWhatIfForecastExport(params: ForecastService.Types.DescribeWhatIfForecastExportRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfForecastExportResponse) => void): Request<ForecastService.Types.DescribeWhatIfForecastExportResponse, AWSError>;
  346. /**
  347. * Describes the what-if forecast export created using the CreateWhatIfForecastExport operation. In addition to listing the properties provided in the CreateWhatIfForecastExport request, this operation lists the following properties: CreationTime LastModificationTime Message - If an error occurred, information about the error. Status
  348. */
  349. describeWhatIfForecastExport(callback?: (err: AWSError, data: ForecastService.Types.DescribeWhatIfForecastExportResponse) => void): Request<ForecastService.Types.DescribeWhatIfForecastExportResponse, AWSError>;
  350. /**
  351. * Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. For more information, see Predictor Metrics. This operation generates metrics for each backtest window that was evaluated. The number of backtest windows (NumberOfBacktestWindows) is specified using the EvaluationParameters object, which is optionally included in the CreatePredictor request. If NumberOfBacktestWindows isn't specified, the number defaults to one. The parameters of the filling method determine which items contribute to the metrics. If you want all items to contribute, specify zero. If you want only those items that have complete data in the range being evaluated to contribute, specify nan. For more information, see FeaturizationMethod. Before you can get accuracy metrics, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
  352. */
  353. getAccuracyMetrics(params: ForecastService.Types.GetAccuracyMetricsRequest, callback?: (err: AWSError, data: ForecastService.Types.GetAccuracyMetricsResponse) => void): Request<ForecastService.Types.GetAccuracyMetricsResponse, AWSError>;
  354. /**
  355. * Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. For more information, see Predictor Metrics. This operation generates metrics for each backtest window that was evaluated. The number of backtest windows (NumberOfBacktestWindows) is specified using the EvaluationParameters object, which is optionally included in the CreatePredictor request. If NumberOfBacktestWindows isn't specified, the number defaults to one. The parameters of the filling method determine which items contribute to the metrics. If you want all items to contribute, specify zero. If you want only those items that have complete data in the range being evaluated to contribute, specify nan. For more information, see FeaturizationMethod. Before you can get accuracy metrics, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
  356. */
  357. getAccuracyMetrics(callback?: (err: AWSError, data: ForecastService.Types.GetAccuracyMetricsResponse) => void): Request<ForecastService.Types.GetAccuracyMetricsResponse, AWSError>;
  358. /**
  359. * Returns a list of dataset groups created using the CreateDatasetGroup operation. For each dataset group, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the dataset group ARN with the DescribeDatasetGroup operation.
  360. */
  361. listDatasetGroups(params: ForecastService.Types.ListDatasetGroupsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetGroupsResponse) => void): Request<ForecastService.Types.ListDatasetGroupsResponse, AWSError>;
  362. /**
  363. * Returns a list of dataset groups created using the CreateDatasetGroup operation. For each dataset group, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the dataset group ARN with the DescribeDatasetGroup operation.
  364. */
  365. listDatasetGroups(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetGroupsResponse) => void): Request<ForecastService.Types.ListDatasetGroupsResponse, AWSError>;
  366. /**
  367. * Returns a list of dataset import jobs created using the CreateDatasetImportJob operation. For each import job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the DescribeDatasetImportJob operation. You can filter the list by providing an array of Filter objects.
  368. */
  369. listDatasetImportJobs(params: ForecastService.Types.ListDatasetImportJobsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetImportJobsResponse) => void): Request<ForecastService.Types.ListDatasetImportJobsResponse, AWSError>;
  370. /**
  371. * Returns a list of dataset import jobs created using the CreateDatasetImportJob operation. For each import job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the DescribeDatasetImportJob operation. You can filter the list by providing an array of Filter objects.
  372. */
  373. listDatasetImportJobs(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetImportJobsResponse) => void): Request<ForecastService.Types.ListDatasetImportJobsResponse, AWSError>;
  374. /**
  375. * Returns a list of datasets created using the CreateDataset operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. To retrieve the complete set of properties, use the ARN with the DescribeDataset operation.
  376. */
  377. listDatasets(params: ForecastService.Types.ListDatasetsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetsResponse) => void): Request<ForecastService.Types.ListDatasetsResponse, AWSError>;
  378. /**
  379. * Returns a list of datasets created using the CreateDataset operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. To retrieve the complete set of properties, use the ARN with the DescribeDataset operation.
  380. */
  381. listDatasets(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetsResponse) => void): Request<ForecastService.Types.ListDatasetsResponse, AWSError>;
  382. /**
  383. * Returns a list of Explainability resources created using the CreateExplainability operation. This operation returns a summary for each Explainability. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular Explainability resource, use the ARN with the DescribeExplainability operation.
  384. */
  385. listExplainabilities(params: ForecastService.Types.ListExplainabilitiesRequest, callback?: (err: AWSError, data: ForecastService.Types.ListExplainabilitiesResponse) => void): Request<ForecastService.Types.ListExplainabilitiesResponse, AWSError>;
  386. /**
  387. * Returns a list of Explainability resources created using the CreateExplainability operation. This operation returns a summary for each Explainability. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular Explainability resource, use the ARN with the DescribeExplainability operation.
  388. */
  389. listExplainabilities(callback?: (err: AWSError, data: ForecastService.Types.ListExplainabilitiesResponse) => void): Request<ForecastService.Types.ListExplainabilitiesResponse, AWSError>;
  390. /**
  391. * Returns a list of Explainability exports created using the CreateExplainabilityExport operation. This operation returns a summary for each Explainability export. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular Explainability export, use the ARN with the DescribeExplainability operation.
  392. */
  393. listExplainabilityExports(params: ForecastService.Types.ListExplainabilityExportsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListExplainabilityExportsResponse) => void): Request<ForecastService.Types.ListExplainabilityExportsResponse, AWSError>;
  394. /**
  395. * Returns a list of Explainability exports created using the CreateExplainabilityExport operation. This operation returns a summary for each Explainability export. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular Explainability export, use the ARN with the DescribeExplainability operation.
  396. */
  397. listExplainabilityExports(callback?: (err: AWSError, data: ForecastService.Types.ListExplainabilityExportsResponse) => void): Request<ForecastService.Types.ListExplainabilityExportsResponse, AWSError>;
  398. /**
  399. * Returns a list of forecast export jobs created using the CreateForecastExportJob operation. For each forecast export job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, use the ARN with the DescribeForecastExportJob operation. You can filter the list using an array of Filter objects.
  400. */
  401. listForecastExportJobs(params: ForecastService.Types.ListForecastExportJobsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListForecastExportJobsResponse) => void): Request<ForecastService.Types.ListForecastExportJobsResponse, AWSError>;
  402. /**
  403. * Returns a list of forecast export jobs created using the CreateForecastExportJob operation. For each forecast export job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, use the ARN with the DescribeForecastExportJob operation. You can filter the list using an array of Filter objects.
  404. */
  405. listForecastExportJobs(callback?: (err: AWSError, data: ForecastService.Types.ListForecastExportJobsResponse) => void): Request<ForecastService.Types.ListForecastExportJobsResponse, AWSError>;
  406. /**
  407. * Returns a list of forecasts created using the CreateForecast operation. For each forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, specify the ARN with the DescribeForecast operation. You can filter the list using an array of Filter objects.
  408. */
  409. listForecasts(params: ForecastService.Types.ListForecastsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListForecastsResponse) => void): Request<ForecastService.Types.ListForecastsResponse, AWSError>;
  410. /**
  411. * Returns a list of forecasts created using the CreateForecast operation. For each forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, specify the ARN with the DescribeForecast operation. You can filter the list using an array of Filter objects.
  412. */
  413. listForecasts(callback?: (err: AWSError, data: ForecastService.Types.ListForecastsResponse) => void): Request<ForecastService.Types.ListForecastsResponse, AWSError>;
  414. /**
  415. * Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time. For information about monitoring see predictor-monitoring. For more information about retrieving monitoring results see Viewing Monitoring Results.
  416. */
  417. listMonitorEvaluations(params: ForecastService.Types.ListMonitorEvaluationsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListMonitorEvaluationsResponse) => void): Request<ForecastService.Types.ListMonitorEvaluationsResponse, AWSError>;
  418. /**
  419. * Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time. For information about monitoring see predictor-monitoring. For more information about retrieving monitoring results see Viewing Monitoring Results.
  420. */
  421. listMonitorEvaluations(callback?: (err: AWSError, data: ForecastService.Types.ListMonitorEvaluationsResponse) => void): Request<ForecastService.Types.ListMonitorEvaluationsResponse, AWSError>;
  422. /**
  423. * Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation. For each monitor resource, this operation returns of a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve a complete set of properties of a monitor resource by specify the monitor's ARN in the DescribeMonitor operation.
  424. */
  425. listMonitors(params: ForecastService.Types.ListMonitorsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListMonitorsResponse) => void): Request<ForecastService.Types.ListMonitorsResponse, AWSError>;
  426. /**
  427. * Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation. For each monitor resource, this operation returns of a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve a complete set of properties of a monitor resource by specify the monitor's ARN in the DescribeMonitor operation.
  428. */
  429. listMonitors(callback?: (err: AWSError, data: ForecastService.Types.ListMonitorsResponse) => void): Request<ForecastService.Types.ListMonitorsResponse, AWSError>;
  430. /**
  431. * Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation. This operation returns a summary for each backtest export job. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular backtest export job, use the ARN with the DescribePredictorBacktestExportJob operation.
  432. */
  433. listPredictorBacktestExportJobs(params: ForecastService.Types.ListPredictorBacktestExportJobsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListPredictorBacktestExportJobsResponse) => void): Request<ForecastService.Types.ListPredictorBacktestExportJobsResponse, AWSError>;
  434. /**
  435. * Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation. This operation returns a summary for each backtest export job. You can filter the list using an array of Filter objects. To retrieve the complete set of properties for a particular backtest export job, use the ARN with the DescribePredictorBacktestExportJob operation.
  436. */
  437. listPredictorBacktestExportJobs(callback?: (err: AWSError, data: ForecastService.Types.ListPredictorBacktestExportJobsResponse) => void): Request<ForecastService.Types.ListPredictorBacktestExportJobsResponse, AWSError>;
  438. /**
  439. * Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations. For each predictor, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the DescribeAutoPredictor and DescribePredictor operations. You can filter the list using an array of Filter objects.
  440. */
  441. listPredictors(params: ForecastService.Types.ListPredictorsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListPredictorsResponse) => void): Request<ForecastService.Types.ListPredictorsResponse, AWSError>;
  442. /**
  443. * Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations. For each predictor, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the DescribeAutoPredictor and DescribePredictor operations. You can filter the list using an array of Filter objects.
  444. */
  445. listPredictors(callback?: (err: AWSError, data: ForecastService.Types.ListPredictorsResponse) => void): Request<ForecastService.Types.ListPredictorsResponse, AWSError>;
  446. /**
  447. * Lists the tags for an Amazon Forecast resource.
  448. */
  449. listTagsForResource(params: ForecastService.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ForecastService.Types.ListTagsForResourceResponse) => void): Request<ForecastService.Types.ListTagsForResourceResponse, AWSError>;
  450. /**
  451. * Lists the tags for an Amazon Forecast resource.
  452. */
  453. listTagsForResource(callback?: (err: AWSError, data: ForecastService.Types.ListTagsForResourceResponse) => void): Request<ForecastService.Types.ListTagsForResourceResponse, AWSError>;
  454. /**
  455. * Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation. For each what-if analysis, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if analysis ARN with the DescribeWhatIfAnalysis operation.
  456. */
  457. listWhatIfAnalyses(params: ForecastService.Types.ListWhatIfAnalysesRequest, callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfAnalysesResponse) => void): Request<ForecastService.Types.ListWhatIfAnalysesResponse, AWSError>;
  458. /**
  459. * Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation. For each what-if analysis, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if analysis ARN with the DescribeWhatIfAnalysis operation.
  460. */
  461. listWhatIfAnalyses(callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfAnalysesResponse) => void): Request<ForecastService.Types.ListWhatIfAnalysesResponse, AWSError>;
  462. /**
  463. * Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation. For each what-if forecast export, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast export ARN with the DescribeWhatIfForecastExport operation.
  464. */
  465. listWhatIfForecastExports(params: ForecastService.Types.ListWhatIfForecastExportsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfForecastExportsResponse) => void): Request<ForecastService.Types.ListWhatIfForecastExportsResponse, AWSError>;
  466. /**
  467. * Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation. For each what-if forecast export, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast export ARN with the DescribeWhatIfForecastExport operation.
  468. */
  469. listWhatIfForecastExports(callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfForecastExportsResponse) => void): Request<ForecastService.Types.ListWhatIfForecastExportsResponse, AWSError>;
  470. /**
  471. * Returns a list of what-if forecasts created using the CreateWhatIfForecast operation. For each what-if forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast ARN with the DescribeWhatIfForecast operation.
  472. */
  473. listWhatIfForecasts(params: ForecastService.Types.ListWhatIfForecastsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfForecastsResponse) => void): Request<ForecastService.Types.ListWhatIfForecastsResponse, AWSError>;
  474. /**
  475. * Returns a list of what-if forecasts created using the CreateWhatIfForecast operation. For each what-if forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast ARN with the DescribeWhatIfForecast operation.
  476. */
  477. listWhatIfForecasts(callback?: (err: AWSError, data: ForecastService.Types.ListWhatIfForecastsResponse) => void): Request<ForecastService.Types.ListWhatIfForecastsResponse, AWSError>;
  478. /**
  479. * Resumes a stopped monitor resource.
  480. */
  481. resumeResource(params: ForecastService.Types.ResumeResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  482. /**
  483. * Resumes a stopped monitor resource.
  484. */
  485. resumeResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  486. /**
  487. * Stops a resource. The resource undergoes the following states: CREATE_STOPPING and CREATE_STOPPED. You cannot resume a resource once it has been stopped. This operation can be applied to the following resources (and their corresponding child resources): Dataset Import Job Predictor Job Forecast Job Forecast Export Job Predictor Backtest Export Job Explainability Job Explainability Export Job
  488. */
  489. stopResource(params: ForecastService.Types.StopResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  490. /**
  491. * Stops a resource. The resource undergoes the following states: CREATE_STOPPING and CREATE_STOPPED. You cannot resume a resource once it has been stopped. This operation can be applied to the following resources (and their corresponding child resources): Dataset Import Job Predictor Job Forecast Job Forecast Export Job Predictor Backtest Export Job Explainability Job Explainability Export Job
  492. */
  493. stopResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  494. /**
  495. * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
  496. */
  497. tagResource(params: ForecastService.Types.TagResourceRequest, callback?: (err: AWSError, data: ForecastService.Types.TagResourceResponse) => void): Request<ForecastService.Types.TagResourceResponse, AWSError>;
  498. /**
  499. * Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
  500. */
  501. tagResource(callback?: (err: AWSError, data: ForecastService.Types.TagResourceResponse) => void): Request<ForecastService.Types.TagResourceResponse, AWSError>;
  502. /**
  503. * Deletes the specified tags from a resource.
  504. */
  505. untagResource(params: ForecastService.Types.UntagResourceRequest, callback?: (err: AWSError, data: ForecastService.Types.UntagResourceResponse) => void): Request<ForecastService.Types.UntagResourceResponse, AWSError>;
  506. /**
  507. * Deletes the specified tags from a resource.
  508. */
  509. untagResource(callback?: (err: AWSError, data: ForecastService.Types.UntagResourceResponse) => void): Request<ForecastService.Types.UntagResourceResponse, AWSError>;
  510. /**
  511. * Replaces the datasets in a dataset group with the specified datasets. The Status of the dataset group must be ACTIVE before you can use the dataset group to create a predictor. Use the DescribeDatasetGroup operation to get the status.
  512. */
  513. updateDatasetGroup(params: ForecastService.Types.UpdateDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.UpdateDatasetGroupResponse) => void): Request<ForecastService.Types.UpdateDatasetGroupResponse, AWSError>;
  514. /**
  515. * Replaces the datasets in a dataset group with the specified datasets. The Status of the dataset group must be ACTIVE before you can use the dataset group to create a predictor. Use the DescribeDatasetGroup operation to get the status.
  516. */
  517. updateDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.UpdateDatasetGroupResponse) => void): Request<ForecastService.Types.UpdateDatasetGroupResponse, AWSError>;
  518. }
  519. declare namespace ForecastService {
  520. export interface Action {
  521. /**
  522. * The related time series that you are modifying. This value is case insensitive.
  523. */
  524. AttributeName: Name;
  525. /**
  526. * The operation that is applied to the provided attribute. Operations include: ADD - adds Value to all rows of AttributeName. SUBTRACT - subtracts Value from all rows of AttributeName. MULTIPLY - multiplies all rows of AttributeName by Value. DIVIDE - divides all rows of AttributeName by Value.
  527. */
  528. Operation: Operation;
  529. /**
  530. * The value that is applied for the chosen Operation.
  531. */
  532. Value: Double;
  533. }
  534. export interface AdditionalDataset {
  535. /**
  536. * The name of the additional dataset. Valid names: "holiday" and "weather".
  537. */
  538. Name: Name;
  539. /**
  540. * Weather Index To enable the Weather Index, do not specify a value for Configuration. Holidays Holidays To enable Holidays, set CountryCode to one of the following two-letter country codes: "AL" - ALBANIA "AR" - ARGENTINA "AT" - AUSTRIA "AU" - AUSTRALIA "BA" - BOSNIA HERZEGOVINA "BE" - BELGIUM "BG" - BULGARIA "BO" - BOLIVIA "BR" - BRAZIL "BY" - BELARUS "CA" - CANADA "CL" - CHILE "CO" - COLOMBIA "CR" - COSTA RICA "HR" - CROATIA "CZ" - CZECH REPUBLIC "DK" - DENMARK "EC" - ECUADOR "EE" - ESTONIA "ET" - ETHIOPIA "FI" - FINLAND "FR" - FRANCE "DE" - GERMANY "GR" - GREECE "HU" - HUNGARY "IS" - ICELAND "IN" - INDIA "IE" - IRELAND "IT" - ITALY "JP" - JAPAN "KZ" - KAZAKHSTAN "KR" - KOREA "LV" - LATVIA "LI" - LIECHTENSTEIN "LT" - LITHUANIA "LU" - LUXEMBOURG "MK" - MACEDONIA "MT" - MALTA "MX" - MEXICO "MD" - MOLDOVA "ME" - MONTENEGRO "NL" - NETHERLANDS "NZ" - NEW ZEALAND "NI" - NICARAGUA "NG" - NIGERIA "NO" - NORWAY "PA" - PANAMA "PY" - PARAGUAY "PE" - PERU "PL" - POLAND "PT" - PORTUGAL "RO" - ROMANIA "RU" - RUSSIA "RS" - SERBIA "SK" - SLOVAKIA "SI" - SLOVENIA "ZA" - SOUTH AFRICA "ES" - SPAIN "SE" - SWEDEN "CH" - SWITZERLAND "UA" - UKRAINE "AE" - UNITED ARAB EMIRATES "US" - UNITED STATES "UK" - UNITED KINGDOM "UY" - URUGUAY "VE" - VENEZUELA
  541. */
  542. Configuration?: Configuration;
  543. }
  544. export type AdditionalDatasets = AdditionalDataset[];
  545. export type Arn = string;
  546. export type ArnList = Arn[];
  547. export interface AttributeConfig {
  548. /**
  549. * The name of the attribute as specified in the schema. Amazon Forecast supports the target field of the target time series and the related time series datasets. For example, for the RETAIL domain, the target is demand.
  550. */
  551. AttributeName: Name;
  552. /**
  553. * The method parameters (key-value pairs), which are a map of override parameters. Specify these parameters to override the default values. Related Time Series attributes do not accept aggregation parameters. The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Default values are bolded. aggregation: sum, avg, first, min, max frontfill: none middlefill: zero, nan (not a number), value, median, mean, min, max backfill: zero, nan, value, median, mean, min, max The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults): middlefill: zero, value, median, mean, min, max backfill: zero, value, median, mean, min, max futurefill: zero, value, median, mean, min, max To set a filling method to a specific value, set the fill parameter to value and define the value in a corresponding _value parameter. For example, to set backfilling to a value of 2, include the following: "backfill": "value" and "backfill_value":"2".
  554. */
  555. Transformations: Transformations;
  556. }
  557. export type AttributeConfigs = AttributeConfig[];
  558. export type AttributeType = "string"|"integer"|"float"|"timestamp"|"geolocation"|string;
  559. export type AttributeValue = string;
  560. export type AutoMLOverrideStrategy = "LatencyOptimized"|"AccuracyOptimized"|string;
  561. export interface Baseline {
  562. /**
  563. * The initial accuracy metrics for the predictor you are monitoring. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.
  564. */
  565. PredictorBaseline?: PredictorBaseline;
  566. }
  567. export interface BaselineMetric {
  568. /**
  569. * The name of the metric.
  570. */
  571. Name?: Name;
  572. /**
  573. * The value for the metric.
  574. */
  575. Value?: Double;
  576. }
  577. export type BaselineMetrics = BaselineMetric[];
  578. export type Boolean = boolean;
  579. export interface CategoricalParameterRange {
  580. /**
  581. * The name of the categorical hyperparameter to tune.
  582. */
  583. Name: Name;
  584. /**
  585. * A list of the tunable categories for the hyperparameter.
  586. */
  587. Values: Values;
  588. }
  589. export type CategoricalParameterRanges = CategoricalParameterRange[];
  590. export type Condition = "EQUALS"|"NOT_EQUALS"|"LESS_THAN"|"GREATER_THAN"|string;
  591. export type Configuration = {[key: string]: Values};
  592. export interface ContinuousParameterRange {
  593. /**
  594. * The name of the hyperparameter to tune.
  595. */
  596. Name: Name;
  597. /**
  598. * The maximum tunable value of the hyperparameter.
  599. */
  600. MaxValue: Double;
  601. /**
  602. * The minimum tunable value of the hyperparameter.
  603. */
  604. MinValue: Double;
  605. /**
  606. * The scale that hyperparameter tuning uses to search the hyperparameter range. Valid values: Auto Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have values greater than 0. ReverseLogarithmic hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale. Reverse logarithmic scaling works only for ranges that are entirely within the range 0 &lt;= x &lt; 1.0. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
  607. */
  608. ScalingType?: ScalingType;
  609. }
  610. export type ContinuousParameterRanges = ContinuousParameterRange[];
  611. export interface CreateAutoPredictorRequest {
  612. /**
  613. * A unique name for the predictor
  614. */
  615. PredictorName: Name;
  616. /**
  617. * The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the TARGET_TIME_SERIES dataset length. If you are retraining an existing AutoPredictor, then the maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length. If you are upgrading to an AutoPredictor or retraining an existing AutoPredictor, you cannot update the forecast horizon parameter. You can meet this requirement by providing longer time-series in the dataset.
  618. */
  619. ForecastHorizon?: Integer;
  620. /**
  621. * The forecast types used to train a predictor. You can specify up to five forecast types. Forecast types can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify the mean forecast with mean.
  622. */
  623. ForecastTypes?: ForecastTypes;
  624. /**
  625. * An array of dimension (field) names that specify how to group the generated forecast. For example, if you are generating forecasts for item sales across all your stores, and your dataset contains a store_id field, you would specify store_id as a dimension to group sales forecasts for each store.
  626. */
  627. ForecastDimensions?: ForecastDimensions;
  628. /**
  629. * The frequency of predictions in a forecast. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following: Minute - 1-59 Hour - 1-23 Day - 1-6 Week - 1-4 Month - 1-11 Year - 1 Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M". The frequency must be greater than or equal to the TARGET_TIME_SERIES dataset frequency. When a RELATED_TIME_SERIES dataset is provided, the frequency must be equal to the RELATED_TIME_SERIES dataset frequency.
  630. */
  631. ForecastFrequency?: Frequency;
  632. /**
  633. * The data configuration for your dataset group and any additional datasets.
  634. */
  635. DataConfig?: DataConfig;
  636. EncryptionConfig?: EncryptionConfig;
  637. /**
  638. * The ARN of the predictor to retrain or upgrade. This parameter is only used when retraining or upgrading a predictor. When creating a new predictor, do not specify a value for this parameter. When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn and PredictorName. The value for PredictorName must be a unique predictor name.
  639. */
  640. ReferencePredictorArn?: Arn;
  641. /**
  642. * The accuracy metric used to optimize the predictor.
  643. */
  644. OptimizationMetric?: OptimizationMetric;
  645. /**
  646. * Create an Explainability resource for the predictor.
  647. */
  648. ExplainPredictor?: Boolean;
  649. /**
  650. * Optional metadata to help you categorize and organize your predictors. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags: For each resource, each tag key must be unique and each tag key must have one value. Maximum number of tags per resource: 50. Maximum key length: 128 Unicode characters in UTF-8. Maximum value length: 256 Unicode characters in UTF-8. Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply. Key prefixes cannot include any upper or lowercase combination of aws: or AWS:. Values can have this prefix. If a tag value has aws as its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
  651. */
  652. Tags?: Tags;
  653. /**
  654. * The configuration details for predictor monitoring. Provide a name for the monitor resource to enable predictor monitoring. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
  655. */
  656. MonitorConfig?: MonitorConfig;
  657. /**
  658. * The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair. For more information on specifying a time boundary, see Specifying a Time Boundary. If you don't provide a time boundary, Forecast uses a set of Default Time Boundaries.
  659. */
  660. TimeAlignmentBoundary?: TimeAlignmentBoundary;
  661. }
  662. export interface CreateAutoPredictorResponse {
  663. /**
  664. * The Amazon Resource Name (ARN) of the predictor.
  665. */
  666. PredictorArn?: Arn;
  667. }
  668. export interface CreateDatasetGroupRequest {
  669. /**
  670. * A name for the dataset group.
  671. */
  672. DatasetGroupName: Name;
  673. /**
  674. * The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for the Domain parameter of the CreateDataset operation must match. The Domain and DatasetType that you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires that item_id, timestamp, and demand fields are present in your data. For more information, see Dataset groups.
  675. */
  676. Domain: Domain;
  677. /**
  678. * An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
  679. */
  680. DatasetArns?: ArnList;
  681. /**
  682. * The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  683. */
  684. Tags?: Tags;
  685. }
  686. export interface CreateDatasetGroupResponse {
  687. /**
  688. * The Amazon Resource Name (ARN) of the dataset group.
  689. */
  690. DatasetGroupArn?: Arn;
  691. }
  692. export interface CreateDatasetImportJobRequest {
  693. /**
  694. * The name for the dataset import job. We recommend including the current timestamp in the name, for example, 20190721DatasetImport. This can help you avoid getting a ResourceAlreadyExistsException exception.
  695. */
  696. DatasetImportJobName: Name;
  697. /**
  698. * The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
  699. */
  700. DatasetArn: Arn;
  701. /**
  702. * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket. If encryption is used, DataSource must include an Key Management Service (KMS) key and the IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match those specified in the EncryptionConfig parameter of the CreateDataset operation.
  703. */
  704. DataSource: DataSource;
  705. /**
  706. * The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported "yyyy-MM-dd" For the following data frequencies: Y, M, W, and D "yyyy-MM-dd HH:mm:ss" For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
  707. */
  708. TimestampFormat?: TimestampFormat;
  709. /**
  710. * A single time zone for every item in your dataset. This option is ideal for datasets with all timestamps within a single time zone, or if all timestamps are normalized to a single time zone. Refer to the Joda-Time API for a complete list of valid time zone names.
  711. */
  712. TimeZone?: TimeZone;
  713. /**
  714. * Automatically derive time zone information from the geolocation attribute. This option is ideal for datasets that contain timestamps in multiple time zones and those timestamps are expressed in local time.
  715. */
  716. UseGeolocationForTimeZone?: UseGeolocationForTimeZone;
  717. /**
  718. * The format of the geolocation attribute. The geolocation attribute can be formatted in one of two ways: LAT_LONG - the latitude and longitude in decimal format (Example: 47.61_-122.33). CC_POSTALCODE (US Only) - the country code (US), followed by the 5-digit ZIP code (Example: US_98121).
  719. */
  720. GeolocationFormat?: GeolocationFormat;
  721. /**
  722. * The optional metadata that you apply to the dataset import job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  723. */
  724. Tags?: Tags;
  725. /**
  726. * The format of the imported data, CSV or PARQUET. The default value is CSV.
  727. */
  728. Format?: Format;
  729. /**
  730. * Specifies whether the dataset import job is a FULL or INCREMENTAL import. A FULL dataset import replaces all of the existing data with the newly imported data. An INCREMENTAL import appends the imported data to the existing data.
  731. */
  732. ImportMode?: ImportMode;
  733. }
  734. export interface CreateDatasetImportJobResponse {
  735. /**
  736. * The Amazon Resource Name (ARN) of the dataset import job.
  737. */
  738. DatasetImportJobArn?: Arn;
  739. }
  740. export interface CreateDatasetRequest {
  741. /**
  742. * A name for the dataset.
  743. */
  744. DatasetName: Name;
  745. /**
  746. * The domain associated with the dataset. When you add a dataset to a dataset group, this value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match. The Domain and DatasetType that you choose determine the fields that must be present in the training data that you import to the dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to be present in your data. For more information, see Importing datasets.
  747. */
  748. Domain: Domain;
  749. /**
  750. * The dataset type. Valid values depend on the chosen Domain.
  751. */
  752. DatasetType: DatasetType;
  753. /**
  754. * The frequency of data collection. This parameter is required for RELATED_TIME_SERIES datasets. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following: Minute - 1-59 Hour - 1-23 Day - 1-6 Week - 1-4 Month - 1-11 Year - 1 Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M".
  755. */
  756. DataFrequency?: Frequency;
  757. /**
  758. * The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset Domain and DatasetType that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see Dataset Domains and Dataset Types.
  759. */
  760. Schema: Schema;
  761. /**
  762. * An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
  763. */
  764. EncryptionConfig?: EncryptionConfig;
  765. /**
  766. * The optional metadata that you apply to the dataset to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  767. */
  768. Tags?: Tags;
  769. }
  770. export interface CreateDatasetResponse {
  771. /**
  772. * The Amazon Resource Name (ARN) of the dataset.
  773. */
  774. DatasetArn?: Arn;
  775. }
  776. export interface CreateExplainabilityExportRequest {
  777. /**
  778. * A unique name for the Explainability export.
  779. */
  780. ExplainabilityExportName: Name;
  781. /**
  782. * The Amazon Resource Name (ARN) of the Explainability to export.
  783. */
  784. ExplainabilityArn: Arn;
  785. Destination: DataDestination;
  786. /**
  787. * Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags: For each resource, each tag key must be unique and each tag key must have one value. Maximum number of tags per resource: 50. Maximum key length: 128 Unicode characters in UTF-8. Maximum value length: 256 Unicode characters in UTF-8. Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply. Key prefixes cannot include any upper or lowercase combination of aws: or AWS:. Values can have this prefix. If a tag value has aws as its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
  788. */
  789. Tags?: Tags;
  790. /**
  791. * The format of the exported data, CSV or PARQUET.
  792. */
  793. Format?: Format;
  794. }
  795. export interface CreateExplainabilityExportResponse {
  796. /**
  797. * The Amazon Resource Name (ARN) of the export.
  798. */
  799. ExplainabilityExportArn?: Arn;
  800. }
  801. export interface CreateExplainabilityRequest {
  802. /**
  803. * A unique name for the Explainability.
  804. */
  805. ExplainabilityName: Name;
  806. /**
  807. * The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability.
  808. */
  809. ResourceArn: Arn;
  810. /**
  811. * The configuration settings that define the granularity of time series and time points for the Explainability.
  812. */
  813. ExplainabilityConfig: ExplainabilityConfig;
  814. DataSource?: DataSource;
  815. Schema?: Schema;
  816. /**
  817. * Create an Explainability visualization that is viewable within the Amazon Web Services console.
  818. */
  819. EnableVisualization?: Boolean;
  820. /**
  821. * If TimePointGranularity is set to SPECIFIC, define the first point for the Explainability. Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
  822. */
  823. StartDateTime?: LocalDateTime;
  824. /**
  825. * If TimePointGranularity is set to SPECIFIC, define the last time point for the Explainability. Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
  826. */
  827. EndDateTime?: LocalDateTime;
  828. /**
  829. * Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags: For each resource, each tag key must be unique and each tag key must have one value. Maximum number of tags per resource: 50. Maximum key length: 128 Unicode characters in UTF-8. Maximum value length: 256 Unicode characters in UTF-8. Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply. Key prefixes cannot include any upper or lowercase combination of aws: or AWS:. Values can have this prefix. If a tag value has aws as its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
  830. */
  831. Tags?: Tags;
  832. }
  833. export interface CreateExplainabilityResponse {
  834. /**
  835. * The Amazon Resource Name (ARN) of the Explainability.
  836. */
  837. ExplainabilityArn?: Arn;
  838. }
  839. export interface CreateForecastExportJobRequest {
  840. /**
  841. * The name for the forecast export job.
  842. */
  843. ForecastExportJobName: Name;
  844. /**
  845. * The Amazon Resource Name (ARN) of the forecast that you want to export.
  846. */
  847. ForecastArn: Arn;
  848. /**
  849. * The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket. If encryption is used, Destination must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.
  850. */
  851. Destination: DataDestination;
  852. /**
  853. * The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  854. */
  855. Tags?: Tags;
  856. /**
  857. * The format of the exported data, CSV or PARQUET. The default value is CSV.
  858. */
  859. Format?: Format;
  860. }
  861. export interface CreateForecastExportJobResponse {
  862. /**
  863. * The Amazon Resource Name (ARN) of the export job.
  864. */
  865. ForecastExportJobArn?: Arn;
  866. }
  867. export interface CreateForecastRequest {
  868. /**
  869. * A name for the forecast.
  870. */
  871. ForecastName: Name;
  872. /**
  873. * The Amazon Resource Name (ARN) of the predictor to use to generate the forecast.
  874. */
  875. PredictorArn: Arn;
  876. /**
  877. * The quantiles at which probabilistic forecasts are generated. You can currently specify up to 5 quantiles per forecast. Accepted values include 0.01 to 0.99 (increments of .01 only) and mean. The mean forecast is different from the median (0.50) when the distribution is not symmetric (for example, Beta and Negative Binomial). The default quantiles are the quantiles you specified during predictor creation. If you didn't specify quantiles, the default values are ["0.1", "0.5", "0.9"].
  878. */
  879. ForecastTypes?: ForecastTypes;
  880. /**
  881. * The optional metadata that you apply to the forecast to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  882. */
  883. Tags?: Tags;
  884. /**
  885. * Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers object. The TimeSeriesIdentifiers object needs the following information: DataSource Format Schema
  886. */
  887. TimeSeriesSelector?: TimeSeriesSelector;
  888. }
  889. export interface CreateForecastResponse {
  890. /**
  891. * The Amazon Resource Name (ARN) of the forecast.
  892. */
  893. ForecastArn?: Arn;
  894. }
  895. export interface CreateMonitorRequest {
  896. /**
  897. * The name of the monitor resource.
  898. */
  899. MonitorName: Name;
  900. /**
  901. * The Amazon Resource Name (ARN) of the predictor to monitor.
  902. */
  903. ResourceArn: Arn;
  904. /**
  905. * A list of tags to apply to the monitor resource.
  906. */
  907. Tags?: Tags;
  908. }
  909. export interface CreateMonitorResponse {
  910. /**
  911. * The Amazon Resource Name (ARN) of the monitor resource.
  912. */
  913. MonitorArn?: Arn;
  914. }
  915. export interface CreatePredictorBacktestExportJobRequest {
  916. /**
  917. * The name for the backtest export job.
  918. */
  919. PredictorBacktestExportJobName: Name;
  920. /**
  921. * The Amazon Resource Name (ARN) of the predictor that you want to export.
  922. */
  923. PredictorArn: Arn;
  924. Destination: DataDestination;
  925. /**
  926. * Optional metadata to help you categorize and organize your backtests. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags: For each resource, each tag key must be unique and each tag key must have one value. Maximum number of tags per resource: 50. Maximum key length: 128 Unicode characters in UTF-8. Maximum value length: 256 Unicode characters in UTF-8. Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply. Key prefixes cannot include any upper or lowercase combination of aws: or AWS:. Values can have this prefix. If a tag value has aws as its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
  927. */
  928. Tags?: Tags;
  929. /**
  930. * The format of the exported data, CSV or PARQUET. The default value is CSV.
  931. */
  932. Format?: Format;
  933. }
  934. export interface CreatePredictorBacktestExportJobResponse {
  935. /**
  936. * The Amazon Resource Name (ARN) of the predictor backtest export job that you want to export.
  937. */
  938. PredictorBacktestExportJobArn?: Arn;
  939. }
  940. export interface CreatePredictorRequest {
  941. /**
  942. * A name for the predictor.
  943. */
  944. PredictorName: Name;
  945. /**
  946. * The Amazon Resource Name (ARN) of the algorithm to use for model training. Required if PerformAutoML is not set to true. Supported algorithms: arn:aws:forecast:::algorithm/ARIMA arn:aws:forecast:::algorithm/CNN-QR arn:aws:forecast:::algorithm/Deep_AR_Plus arn:aws:forecast:::algorithm/ETS arn:aws:forecast:::algorithm/NPTS arn:aws:forecast:::algorithm/Prophet
  947. */
  948. AlgorithmArn?: Arn;
  949. /**
  950. * Specifies the number of time-steps that the model is trained to predict. The forecast horizon is also called the prediction length. For example, if you configure a dataset for daily data collection (using the DataFrequency parameter of the CreateDataset operation) and set the forecast horizon to 10, the model returns predictions for 10 days. The maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length.
  951. */
  952. ForecastHorizon: Integer;
  953. /**
  954. * Specifies the forecast types used to train a predictor. You can specify up to five forecast types. Forecast types can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify the mean forecast with mean. The default value is ["0.10", "0.50", "0.9"].
  955. */
  956. ForecastTypes?: ForecastTypes;
  957. /**
  958. * Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it provides and chooses the best algorithm and configuration for your training dataset. The default value is false. In this case, you are required to specify an algorithm. Set PerformAutoML to true to have Amazon Forecast perform AutoML. This is a good option if you aren't sure which algorithm is suitable for your training data. In this case, PerformHPO must be false.
  959. */
  960. PerformAutoML?: Boolean;
  961. /**
  962. * The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges. Used to overide the default AutoML strategy, which is to optimize predictor accuracy. To apply an AutoML strategy that minimizes training time, use LatencyOptimized. This parameter is only valid for predictors trained using AutoML.
  963. */
  964. AutoMLOverrideStrategy?: AutoMLOverrideStrategy;
  965. /**
  966. * Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter values for your training data. The process of performing HPO is known as running a hyperparameter tuning job. The default value is false. In this case, Amazon Forecast uses default hyperparameter values from the chosen algorithm. To override the default values, set PerformHPO to true and, optionally, supply the HyperParameterTuningJobConfig object. The tuning job specifies a metric to optimize, which hyperparameters participate in tuning, and the valid range for each tunable hyperparameter. In this case, you are required to specify an algorithm and PerformAutoML must be false. The following algorithms support HPO: DeepAR+ CNN-QR
  967. */
  968. PerformHPO?: Boolean;
  969. /**
  970. * The hyperparameters to override for model training. The hyperparameters that you can override are listed in the individual algorithms. For the list of supported algorithms, see aws-forecast-choosing-recipes.
  971. */
  972. TrainingParameters?: TrainingParameters;
  973. /**
  974. * Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
  975. */
  976. EvaluationParameters?: EvaluationParameters;
  977. /**
  978. * Provides hyperparameter override values for the algorithm. If you don't provide this parameter, Amazon Forecast uses default values. The individual algorithms specify which hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes. If you included the HPOConfig object, you must set PerformHPO to true.
  979. */
  980. HPOConfig?: HyperParameterTuningJobConfig;
  981. /**
  982. * Describes the dataset group that contains the data to use to train the predictor.
  983. */
  984. InputDataConfig: InputDataConfig;
  985. /**
  986. * The featurization configuration.
  987. */
  988. FeaturizationConfig: FeaturizationConfig;
  989. /**
  990. * An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
  991. */
  992. EncryptionConfig?: EncryptionConfig;
  993. /**
  994. * The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  995. */
  996. Tags?: Tags;
  997. /**
  998. * The accuracy metric used to optimize the predictor.
  999. */
  1000. OptimizationMetric?: OptimizationMetric;
  1001. }
  1002. export interface CreatePredictorResponse {
  1003. /**
  1004. * The Amazon Resource Name (ARN) of the predictor.
  1005. */
  1006. PredictorArn?: Arn;
  1007. }
  1008. export interface CreateWhatIfAnalysisRequest {
  1009. /**
  1010. * The name of the what-if analysis. Each name must be unique.
  1011. */
  1012. WhatIfAnalysisName: Name;
  1013. /**
  1014. * The Amazon Resource Name (ARN) of the baseline forecast.
  1015. */
  1016. ForecastArn: Arn;
  1017. /**
  1018. * Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers object. What-if analyses are performed only for the time series in this object. The TimeSeriesIdentifiers object needs the following information: DataSource Format Schema
  1019. */
  1020. TimeSeriesSelector?: TimeSeriesSelector;
  1021. /**
  1022. * A list of tags to apply to the what if forecast.
  1023. */
  1024. Tags?: Tags;
  1025. }
  1026. export interface CreateWhatIfAnalysisResponse {
  1027. /**
  1028. * The Amazon Resource Name (ARN) of the what-if analysis.
  1029. */
  1030. WhatIfAnalysisArn?: Arn;
  1031. }
  1032. export interface CreateWhatIfForecastExportRequest {
  1033. /**
  1034. * The name of the what-if forecast to export.
  1035. */
  1036. WhatIfForecastExportName: Name;
  1037. /**
  1038. * The list of what-if forecast Amazon Resource Names (ARNs) to export.
  1039. */
  1040. WhatIfForecastArns: WhatIfForecastArnListForExport;
  1041. /**
  1042. * The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket. If encryption is used, Destination must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.
  1043. */
  1044. Destination: DataDestination;
  1045. /**
  1046. * A list of tags to apply to the what if forecast.
  1047. */
  1048. Tags?: Tags;
  1049. /**
  1050. * The format of the exported data, CSV or PARQUET.
  1051. */
  1052. Format?: Format;
  1053. }
  1054. export interface CreateWhatIfForecastExportResponse {
  1055. /**
  1056. * The Amazon Resource Name (ARN) of the what-if forecast.
  1057. */
  1058. WhatIfForecastExportArn?: LongArn;
  1059. }
  1060. export interface CreateWhatIfForecastRequest {
  1061. /**
  1062. * The name of the what-if forecast. Names must be unique within each what-if analysis.
  1063. */
  1064. WhatIfForecastName: Name;
  1065. /**
  1066. * The Amazon Resource Name (ARN) of the what-if analysis.
  1067. */
  1068. WhatIfAnalysisArn: Arn;
  1069. /**
  1070. * The transformations that are applied to the baseline time series. Each transformation contains an action and a set of conditions. An action is applied only when all conditions are met. If no conditions are provided, the action is applied to all items.
  1071. */
  1072. TimeSeriesTransformations?: TimeSeriesTransformations;
  1073. /**
  1074. * The replacement time series dataset, which contains the rows that you want to change in the related time series dataset. A replacement time series does not need to contain all rows that are in the baseline related time series. Include only the rows (measure-dimension combinations) that you want to include in the what-if forecast. This dataset is merged with the original time series to create a transformed dataset that is used for the what-if analysis. This dataset should contain the items to modify (such as item_id or workforce_type), any relevant dimensions, the timestamp column, and at least one of the related time series columns. This file should not contain duplicate timestamps for the same time series. Timestamps and item_ids not included in this dataset are not included in the what-if analysis.
  1075. */
  1076. TimeSeriesReplacementsDataSource?: TimeSeriesReplacementsDataSource;
  1077. /**
  1078. * A list of tags to apply to the what if forecast.
  1079. */
  1080. Tags?: Tags;
  1081. }
  1082. export interface CreateWhatIfForecastResponse {
  1083. /**
  1084. * The Amazon Resource Name (ARN) of the what-if forecast.
  1085. */
  1086. WhatIfForecastArn?: LongArn;
  1087. }
  1088. export interface DataConfig {
  1089. /**
  1090. * The ARN of the dataset group used to train the predictor.
  1091. */
  1092. DatasetGroupArn: Arn;
  1093. /**
  1094. * Aggregation and filling options for attributes in your dataset group.
  1095. */
  1096. AttributeConfigs?: AttributeConfigs;
  1097. /**
  1098. * Additional built-in datasets like Holidays and the Weather Index.
  1099. */
  1100. AdditionalDatasets?: AdditionalDatasets;
  1101. }
  1102. export interface DataDestination {
  1103. /**
  1104. * The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.
  1105. */
  1106. S3Config: S3Config;
  1107. }
  1108. export interface DataSource {
  1109. /**
  1110. * The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
  1111. */
  1112. S3Config: S3Config;
  1113. }
  1114. export interface DatasetGroupSummary {
  1115. /**
  1116. * The Amazon Resource Name (ARN) of the dataset group.
  1117. */
  1118. DatasetGroupArn?: Arn;
  1119. /**
  1120. * The name of the dataset group.
  1121. */
  1122. DatasetGroupName?: Name;
  1123. /**
  1124. * When the dataset group was created.
  1125. */
  1126. CreationTime?: Timestamp;
  1127. /**
  1128. * When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated, LastModificationTime is the current time of the ListDatasetGroups call.
  1129. */
  1130. LastModificationTime?: Timestamp;
  1131. }
  1132. export type DatasetGroups = DatasetGroupSummary[];
  1133. export interface DatasetImportJobSummary {
  1134. /**
  1135. * The Amazon Resource Name (ARN) of the dataset import job.
  1136. */
  1137. DatasetImportJobArn?: Arn;
  1138. /**
  1139. * The name of the dataset import job.
  1140. */
  1141. DatasetImportJobName?: Name;
  1142. /**
  1143. * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket. If encryption is used, DataSource includes an Key Management Service (KMS) key.
  1144. */
  1145. DataSource?: DataSource;
  1146. /**
  1147. * The status of the dataset import job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED CREATE_STOPPING, CREATE_STOPPED
  1148. */
  1149. Status?: Status;
  1150. /**
  1151. * If an error occurred, an informational message about the error.
  1152. */
  1153. Message?: ErrorMessage;
  1154. /**
  1155. * When the dataset import job was created.
  1156. */
  1157. CreationTime?: Timestamp;
  1158. /**
  1159. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1160. */
  1161. LastModificationTime?: Timestamp;
  1162. /**
  1163. * The import mode of the dataset import job, FULL or INCREMENTAL.
  1164. */
  1165. ImportMode?: ImportMode;
  1166. }
  1167. export type DatasetImportJobs = DatasetImportJobSummary[];
  1168. export interface DatasetSummary {
  1169. /**
  1170. * The Amazon Resource Name (ARN) of the dataset.
  1171. */
  1172. DatasetArn?: Arn;
  1173. /**
  1174. * The name of the dataset.
  1175. */
  1176. DatasetName?: Name;
  1177. /**
  1178. * The dataset type.
  1179. */
  1180. DatasetType?: DatasetType;
  1181. /**
  1182. * The domain associated with the dataset.
  1183. */
  1184. Domain?: Domain;
  1185. /**
  1186. * When the dataset was created.
  1187. */
  1188. CreationTime?: Timestamp;
  1189. /**
  1190. * When you create a dataset, LastModificationTime is the same as CreationTime. While data is being imported to the dataset, LastModificationTime is the current time of the ListDatasets call. After a CreateDatasetImportJob operation has finished, LastModificationTime is when the import job completed or failed.
  1191. */
  1192. LastModificationTime?: Timestamp;
  1193. }
  1194. export type DatasetType = "TARGET_TIME_SERIES"|"RELATED_TIME_SERIES"|"ITEM_METADATA"|string;
  1195. export type Datasets = DatasetSummary[];
  1196. export type DayOfMonth = number;
  1197. export type DayOfWeek = "MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|"SUNDAY"|string;
  1198. export interface DeleteDatasetGroupRequest {
  1199. /**
  1200. * The Amazon Resource Name (ARN) of the dataset group to delete.
  1201. */
  1202. DatasetGroupArn: Arn;
  1203. }
  1204. export interface DeleteDatasetImportJobRequest {
  1205. /**
  1206. * The Amazon Resource Name (ARN) of the dataset import job to delete.
  1207. */
  1208. DatasetImportJobArn: Arn;
  1209. }
  1210. export interface DeleteDatasetRequest {
  1211. /**
  1212. * The Amazon Resource Name (ARN) of the dataset to delete.
  1213. */
  1214. DatasetArn: Arn;
  1215. }
  1216. export interface DeleteExplainabilityExportRequest {
  1217. /**
  1218. * The Amazon Resource Name (ARN) of the Explainability export to delete.
  1219. */
  1220. ExplainabilityExportArn: Arn;
  1221. }
  1222. export interface DeleteExplainabilityRequest {
  1223. /**
  1224. * The Amazon Resource Name (ARN) of the Explainability resource to delete.
  1225. */
  1226. ExplainabilityArn: Arn;
  1227. }
  1228. export interface DeleteForecastExportJobRequest {
  1229. /**
  1230. * The Amazon Resource Name (ARN) of the forecast export job to delete.
  1231. */
  1232. ForecastExportJobArn: Arn;
  1233. }
  1234. export interface DeleteForecastRequest {
  1235. /**
  1236. * The Amazon Resource Name (ARN) of the forecast to delete.
  1237. */
  1238. ForecastArn: Arn;
  1239. }
  1240. export interface DeleteMonitorRequest {
  1241. /**
  1242. * The Amazon Resource Name (ARN) of the monitor resource to delete.
  1243. */
  1244. MonitorArn: Arn;
  1245. }
  1246. export interface DeletePredictorBacktestExportJobRequest {
  1247. /**
  1248. * The Amazon Resource Name (ARN) of the predictor backtest export job to delete.
  1249. */
  1250. PredictorBacktestExportJobArn: Arn;
  1251. }
  1252. export interface DeletePredictorRequest {
  1253. /**
  1254. * The Amazon Resource Name (ARN) of the predictor to delete.
  1255. */
  1256. PredictorArn: Arn;
  1257. }
  1258. export interface DeleteResourceTreeRequest {
  1259. /**
  1260. * The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.
  1261. */
  1262. ResourceArn: Arn;
  1263. }
  1264. export interface DeleteWhatIfAnalysisRequest {
  1265. /**
  1266. * The Amazon Resource Name (ARN) of the what-if analysis that you want to delete.
  1267. */
  1268. WhatIfAnalysisArn: Arn;
  1269. }
  1270. export interface DeleteWhatIfForecastExportRequest {
  1271. /**
  1272. * The Amazon Resource Name (ARN) of the what-if forecast export that you want to delete.
  1273. */
  1274. WhatIfForecastExportArn: LongArn;
  1275. }
  1276. export interface DeleteWhatIfForecastRequest {
  1277. /**
  1278. * The Amazon Resource Name (ARN) of the what-if forecast that you want to delete.
  1279. */
  1280. WhatIfForecastArn: LongArn;
  1281. }
  1282. export interface DescribeAutoPredictorRequest {
  1283. /**
  1284. * The Amazon Resource Name (ARN) of the predictor.
  1285. */
  1286. PredictorArn: Arn;
  1287. }
  1288. export interface DescribeAutoPredictorResponse {
  1289. /**
  1290. * The Amazon Resource Name (ARN) of the predictor
  1291. */
  1292. PredictorArn?: Arn;
  1293. /**
  1294. * The name of the predictor.
  1295. */
  1296. PredictorName?: Name;
  1297. /**
  1298. * The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
  1299. */
  1300. ForecastHorizon?: Integer;
  1301. /**
  1302. * The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
  1303. */
  1304. ForecastTypes?: ForecastTypes;
  1305. /**
  1306. * The frequency of predictions in a forecast. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "Y" indicates every year and "5min" indicates every five minutes.
  1307. */
  1308. ForecastFrequency?: Frequency;
  1309. /**
  1310. * An array of dimension (field) names that specify the attributes used to group your time series.
  1311. */
  1312. ForecastDimensions?: ForecastDimensions;
  1313. /**
  1314. * An array of the ARNs of the dataset import jobs used to import training data for the predictor.
  1315. */
  1316. DatasetImportJobArns?: ArnList;
  1317. /**
  1318. * The data configuration for your dataset group and any additional datasets.
  1319. */
  1320. DataConfig?: DataConfig;
  1321. EncryptionConfig?: EncryptionConfig;
  1322. /**
  1323. * The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
  1324. */
  1325. ReferencePredictorSummary?: ReferencePredictorSummary;
  1326. /**
  1327. * The estimated time remaining in minutes for the predictor training job to complete.
  1328. */
  1329. EstimatedTimeRemainingInMinutes?: Long;
  1330. /**
  1331. * The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  1332. */
  1333. Status?: Status;
  1334. /**
  1335. * In the event of an error, a message detailing the cause of the error.
  1336. */
  1337. Message?: Message;
  1338. /**
  1339. * The timestamp of the CreateAutoPredictor request.
  1340. */
  1341. CreationTime?: Timestamp;
  1342. /**
  1343. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1344. */
  1345. LastModificationTime?: Timestamp;
  1346. /**
  1347. * The accuracy metric used to optimize the predictor.
  1348. */
  1349. OptimizationMetric?: OptimizationMetric;
  1350. /**
  1351. * Provides the status and ARN of the Predictor Explainability.
  1352. */
  1353. ExplainabilityInfo?: ExplainabilityInfo;
  1354. /**
  1355. * A object with the Amazon Resource Name (ARN) and status of the monitor resource.
  1356. */
  1357. MonitorInfo?: MonitorInfo;
  1358. /**
  1359. * The time boundary Forecast uses when aggregating data.
  1360. */
  1361. TimeAlignmentBoundary?: TimeAlignmentBoundary;
  1362. }
  1363. export interface DescribeDatasetGroupRequest {
  1364. /**
  1365. * The Amazon Resource Name (ARN) of the dataset group.
  1366. */
  1367. DatasetGroupArn: Arn;
  1368. }
  1369. export interface DescribeDatasetGroupResponse {
  1370. /**
  1371. * The name of the dataset group.
  1372. */
  1373. DatasetGroupName?: Name;
  1374. /**
  1375. * The ARN of the dataset group.
  1376. */
  1377. DatasetGroupArn?: Arn;
  1378. /**
  1379. * An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group.
  1380. */
  1381. DatasetArns?: ArnList;
  1382. /**
  1383. * The domain associated with the dataset group.
  1384. */
  1385. Domain?: Domain;
  1386. /**
  1387. * The status of the dataset group. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The UPDATE states apply when you call the UpdateDatasetGroup operation. The Status of the dataset group must be ACTIVE before you can use the dataset group to create a predictor.
  1388. */
  1389. Status?: Status;
  1390. /**
  1391. * When the dataset group was created.
  1392. */
  1393. CreationTime?: Timestamp;
  1394. /**
  1395. * When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated, LastModificationTime is the current time of the DescribeDatasetGroup call.
  1396. */
  1397. LastModificationTime?: Timestamp;
  1398. }
  1399. export interface DescribeDatasetImportJobRequest {
  1400. /**
  1401. * The Amazon Resource Name (ARN) of the dataset import job.
  1402. */
  1403. DatasetImportJobArn: Arn;
  1404. }
  1405. export interface DescribeDatasetImportJobResponse {
  1406. /**
  1407. * The name of the dataset import job.
  1408. */
  1409. DatasetImportJobName?: Name;
  1410. /**
  1411. * The ARN of the dataset import job.
  1412. */
  1413. DatasetImportJobArn?: Arn;
  1414. /**
  1415. * The Amazon Resource Name (ARN) of the dataset that the training data was imported to.
  1416. */
  1417. DatasetArn?: Arn;
  1418. /**
  1419. * The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported "yyyy-MM-dd" For the following data frequencies: Y, M, W, and D "yyyy-MM-dd HH:mm:ss" For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
  1420. */
  1421. TimestampFormat?: TimestampFormat;
  1422. /**
  1423. * The single time zone applied to every item in the dataset
  1424. */
  1425. TimeZone?: TimeZone;
  1426. /**
  1427. * Whether TimeZone is automatically derived from the geolocation attribute.
  1428. */
  1429. UseGeolocationForTimeZone?: UseGeolocationForTimeZone;
  1430. /**
  1431. * The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE".
  1432. */
  1433. GeolocationFormat?: GeolocationFormat;
  1434. /**
  1435. * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. If encryption is used, DataSource includes an Key Management Service (KMS) key.
  1436. */
  1437. DataSource?: DataSource;
  1438. /**
  1439. * The estimated time remaining in minutes for the dataset import job to complete.
  1440. */
  1441. EstimatedTimeRemainingInMinutes?: Long;
  1442. /**
  1443. * Statistical information about each field in the input data.
  1444. */
  1445. FieldStatistics?: FieldStatistics;
  1446. /**
  1447. * The size of the dataset in gigabytes (GB) after the import job has finished.
  1448. */
  1449. DataSize?: Double;
  1450. /**
  1451. * The status of the dataset import job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED CREATE_STOPPING, CREATE_STOPPED
  1452. */
  1453. Status?: Status;
  1454. /**
  1455. * If an error occurred, an informational message about the error.
  1456. */
  1457. Message?: Message;
  1458. /**
  1459. * When the dataset import job was created.
  1460. */
  1461. CreationTime?: Timestamp;
  1462. /**
  1463. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1464. */
  1465. LastModificationTime?: Timestamp;
  1466. /**
  1467. * The format of the imported data, CSV or PARQUET.
  1468. */
  1469. Format?: Format;
  1470. /**
  1471. * The import mode of the dataset import job, FULL or INCREMENTAL.
  1472. */
  1473. ImportMode?: ImportMode;
  1474. }
  1475. export interface DescribeDatasetRequest {
  1476. /**
  1477. * The Amazon Resource Name (ARN) of the dataset.
  1478. */
  1479. DatasetArn: Arn;
  1480. }
  1481. export interface DescribeDatasetResponse {
  1482. /**
  1483. * The Amazon Resource Name (ARN) of the dataset.
  1484. */
  1485. DatasetArn?: Arn;
  1486. /**
  1487. * The name of the dataset.
  1488. */
  1489. DatasetName?: Name;
  1490. /**
  1491. * The domain associated with the dataset.
  1492. */
  1493. Domain?: Domain;
  1494. /**
  1495. * The dataset type.
  1496. */
  1497. DatasetType?: DatasetType;
  1498. /**
  1499. * The frequency of data collection. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
  1500. */
  1501. DataFrequency?: Frequency;
  1502. /**
  1503. * An array of SchemaAttribute objects that specify the dataset fields. Each SchemaAttribute specifies the name and data type of a field.
  1504. */
  1505. Schema?: Schema;
  1506. /**
  1507. * The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
  1508. */
  1509. EncryptionConfig?: EncryptionConfig;
  1510. /**
  1511. * The status of the dataset. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The UPDATE states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example, when the import job status is CREATE_IN_PROGRESS, the status of the dataset is UPDATE_IN_PROGRESS. The Status of the dataset must be ACTIVE before you can import training data.
  1512. */
  1513. Status?: Status;
  1514. /**
  1515. * When the dataset was created.
  1516. */
  1517. CreationTime?: Timestamp;
  1518. /**
  1519. * When you create a dataset, LastModificationTime is the same as CreationTime. While data is being imported to the dataset, LastModificationTime is the current time of the DescribeDataset call. After a CreateDatasetImportJob operation has finished, LastModificationTime is when the import job completed or failed.
  1520. */
  1521. LastModificationTime?: Timestamp;
  1522. }
  1523. export interface DescribeExplainabilityExportRequest {
  1524. /**
  1525. * The Amazon Resource Name (ARN) of the Explainability export.
  1526. */
  1527. ExplainabilityExportArn: Arn;
  1528. }
  1529. export interface DescribeExplainabilityExportResponse {
  1530. /**
  1531. * The Amazon Resource Name (ARN) of the Explainability export.
  1532. */
  1533. ExplainabilityExportArn?: Arn;
  1534. /**
  1535. * The name of the Explainability export.
  1536. */
  1537. ExplainabilityExportName?: Name;
  1538. /**
  1539. * The Amazon Resource Name (ARN) of the Explainability export.
  1540. */
  1541. ExplainabilityArn?: Arn;
  1542. Destination?: DataDestination;
  1543. /**
  1544. * Information about any errors that occurred during the export.
  1545. */
  1546. Message?: Message;
  1547. /**
  1548. * The status of the Explainability export. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  1549. */
  1550. Status?: Status;
  1551. /**
  1552. * When the Explainability export was created.
  1553. */
  1554. CreationTime?: Timestamp;
  1555. /**
  1556. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1557. */
  1558. LastModificationTime?: Timestamp;
  1559. /**
  1560. * The format of the exported data, CSV or PARQUET.
  1561. */
  1562. Format?: Format;
  1563. }
  1564. export interface DescribeExplainabilityRequest {
  1565. /**
  1566. * The Amazon Resource Name (ARN) of the Explaianability to describe.
  1567. */
  1568. ExplainabilityArn: Arn;
  1569. }
  1570. export interface DescribeExplainabilityResponse {
  1571. /**
  1572. * The Amazon Resource Name (ARN) of the Explainability.
  1573. */
  1574. ExplainabilityArn?: Arn;
  1575. /**
  1576. * The name of the Explainability.
  1577. */
  1578. ExplainabilityName?: Name;
  1579. /**
  1580. * The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability resource.
  1581. */
  1582. ResourceArn?: Arn;
  1583. /**
  1584. * The configuration settings that define the granularity of time series and time points for the Explainability.
  1585. */
  1586. ExplainabilityConfig?: ExplainabilityConfig;
  1587. /**
  1588. * Whether the visualization was enabled for the Explainability resource.
  1589. */
  1590. EnableVisualization?: Boolean;
  1591. DataSource?: DataSource;
  1592. Schema?: Schema;
  1593. /**
  1594. * If TimePointGranularity is set to SPECIFIC, the first time point in the Explainability.
  1595. */
  1596. StartDateTime?: LocalDateTime;
  1597. /**
  1598. * If TimePointGranularity is set to SPECIFIC, the last time point in the Explainability.
  1599. */
  1600. EndDateTime?: LocalDateTime;
  1601. /**
  1602. * The estimated time remaining in minutes for the CreateExplainability job to complete.
  1603. */
  1604. EstimatedTimeRemainingInMinutes?: Long;
  1605. /**
  1606. * If an error occurred, a message about the error.
  1607. */
  1608. Message?: Message;
  1609. /**
  1610. * The status of the Explainability resource. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  1611. */
  1612. Status?: Status;
  1613. /**
  1614. * When the Explainability resource was created.
  1615. */
  1616. CreationTime?: Timestamp;
  1617. /**
  1618. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1619. */
  1620. LastModificationTime?: Timestamp;
  1621. }
  1622. export interface DescribeForecastExportJobRequest {
  1623. /**
  1624. * The Amazon Resource Name (ARN) of the forecast export job.
  1625. */
  1626. ForecastExportJobArn: Arn;
  1627. }
  1628. export interface DescribeForecastExportJobResponse {
  1629. /**
  1630. * The ARN of the forecast export job.
  1631. */
  1632. ForecastExportJobArn?: Arn;
  1633. /**
  1634. * The name of the forecast export job.
  1635. */
  1636. ForecastExportJobName?: Name;
  1637. /**
  1638. * The Amazon Resource Name (ARN) of the exported forecast.
  1639. */
  1640. ForecastArn?: Arn;
  1641. /**
  1642. * The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.
  1643. */
  1644. Destination?: DataDestination;
  1645. /**
  1646. * If an error occurred, an informational message about the error.
  1647. */
  1648. Message?: Message;
  1649. /**
  1650. * The status of the forecast export job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast export job must be ACTIVE before you can access the forecast in your S3 bucket.
  1651. */
  1652. Status?: Status;
  1653. /**
  1654. * When the forecast export job was created.
  1655. */
  1656. CreationTime?: Timestamp;
  1657. /**
  1658. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1659. */
  1660. LastModificationTime?: Timestamp;
  1661. /**
  1662. * The format of the exported data, CSV or PARQUET.
  1663. */
  1664. Format?: Format;
  1665. }
  1666. export interface DescribeForecastRequest {
  1667. /**
  1668. * The Amazon Resource Name (ARN) of the forecast.
  1669. */
  1670. ForecastArn: Arn;
  1671. }
  1672. export interface DescribeForecastResponse {
  1673. /**
  1674. * The forecast ARN as specified in the request.
  1675. */
  1676. ForecastArn?: Arn;
  1677. /**
  1678. * The name of the forecast.
  1679. */
  1680. ForecastName?: Name;
  1681. /**
  1682. * The quantiles at which probabilistic forecasts were generated.
  1683. */
  1684. ForecastTypes?: ForecastTypes;
  1685. /**
  1686. * The ARN of the predictor used to generate the forecast.
  1687. */
  1688. PredictorArn?: Arn;
  1689. /**
  1690. * The ARN of the dataset group that provided the data used to train the predictor.
  1691. */
  1692. DatasetGroupArn?: Arn;
  1693. /**
  1694. * The estimated time remaining in minutes for the forecast job to complete.
  1695. */
  1696. EstimatedTimeRemainingInMinutes?: Long;
  1697. /**
  1698. * The status of the forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast must be ACTIVE before you can query or export the forecast.
  1699. */
  1700. Status?: String;
  1701. /**
  1702. * If an error occurred, an informational message about the error.
  1703. */
  1704. Message?: ErrorMessage;
  1705. /**
  1706. * When the forecast creation task was created.
  1707. */
  1708. CreationTime?: Timestamp;
  1709. /**
  1710. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1711. */
  1712. LastModificationTime?: Timestamp;
  1713. /**
  1714. * The time series to include in the forecast.
  1715. */
  1716. TimeSeriesSelector?: TimeSeriesSelector;
  1717. }
  1718. export interface DescribeMonitorRequest {
  1719. /**
  1720. * The Amazon Resource Name (ARN) of the monitor resource to describe.
  1721. */
  1722. MonitorArn: Arn;
  1723. }
  1724. export interface DescribeMonitorResponse {
  1725. /**
  1726. * The name of the monitor.
  1727. */
  1728. MonitorName?: Name;
  1729. /**
  1730. * The Amazon Resource Name (ARN) of the monitor resource described.
  1731. */
  1732. MonitorArn?: Arn;
  1733. /**
  1734. * The Amazon Resource Name (ARN) of the auto predictor being monitored.
  1735. */
  1736. ResourceArn?: Arn;
  1737. /**
  1738. * The status of the monitor resource.
  1739. */
  1740. Status?: Status;
  1741. /**
  1742. * The timestamp of the latest evaluation completed by the monitor.
  1743. */
  1744. LastEvaluationTime?: Timestamp;
  1745. /**
  1746. * The state of the monitor's latest evaluation.
  1747. */
  1748. LastEvaluationState?: EvaluationState;
  1749. /**
  1750. * Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.
  1751. */
  1752. Baseline?: Baseline;
  1753. /**
  1754. * An error message, if any, for the monitor.
  1755. */
  1756. Message?: Message;
  1757. /**
  1758. * The timestamp for when the monitor resource was created.
  1759. */
  1760. CreationTime?: Timestamp;
  1761. /**
  1762. * The timestamp of the latest modification to the monitor.
  1763. */
  1764. LastModificationTime?: Timestamp;
  1765. /**
  1766. * The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
  1767. */
  1768. EstimatedEvaluationTimeRemainingInMinutes?: Long;
  1769. }
  1770. export interface DescribePredictorBacktestExportJobRequest {
  1771. /**
  1772. * The Amazon Resource Name (ARN) of the predictor backtest export job.
  1773. */
  1774. PredictorBacktestExportJobArn: Arn;
  1775. }
  1776. export interface DescribePredictorBacktestExportJobResponse {
  1777. /**
  1778. * The Amazon Resource Name (ARN) of the predictor backtest export job.
  1779. */
  1780. PredictorBacktestExportJobArn?: Arn;
  1781. /**
  1782. * The name of the predictor backtest export job.
  1783. */
  1784. PredictorBacktestExportJobName?: Name;
  1785. /**
  1786. * The Amazon Resource Name (ARN) of the predictor.
  1787. */
  1788. PredictorArn?: Arn;
  1789. Destination?: DataDestination;
  1790. /**
  1791. * Information about any errors that may have occurred during the backtest export.
  1792. */
  1793. Message?: Message;
  1794. /**
  1795. * The status of the predictor backtest export job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  1796. */
  1797. Status?: Status;
  1798. /**
  1799. * When the predictor backtest export job was created.
  1800. */
  1801. CreationTime?: Timestamp;
  1802. /**
  1803. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1804. */
  1805. LastModificationTime?: Timestamp;
  1806. /**
  1807. * The format of the exported data, CSV or PARQUET.
  1808. */
  1809. Format?: Format;
  1810. }
  1811. export interface DescribePredictorRequest {
  1812. /**
  1813. * The Amazon Resource Name (ARN) of the predictor that you want information about.
  1814. */
  1815. PredictorArn: Arn;
  1816. }
  1817. export interface DescribePredictorResponse {
  1818. /**
  1819. * The ARN of the predictor.
  1820. */
  1821. PredictorArn?: Name;
  1822. /**
  1823. * The name of the predictor.
  1824. */
  1825. PredictorName?: Name;
  1826. /**
  1827. * The Amazon Resource Name (ARN) of the algorithm used for model training.
  1828. */
  1829. AlgorithmArn?: Arn;
  1830. /**
  1831. * When PerformAutoML is specified, the ARN of the chosen algorithm.
  1832. */
  1833. AutoMLAlgorithmArns?: ArnList;
  1834. /**
  1835. * The number of time-steps of the forecast. The forecast horizon is also called the prediction length.
  1836. */
  1837. ForecastHorizon?: Integer;
  1838. /**
  1839. * The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"]
  1840. */
  1841. ForecastTypes?: ForecastTypes;
  1842. /**
  1843. * Whether the predictor is set to perform AutoML.
  1844. */
  1845. PerformAutoML?: Boolean;
  1846. /**
  1847. * The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges. The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy. This parameter is only valid for predictors trained using AutoML.
  1848. */
  1849. AutoMLOverrideStrategy?: AutoMLOverrideStrategy;
  1850. /**
  1851. * Whether the predictor is set to perform hyperparameter optimization (HPO).
  1852. */
  1853. PerformHPO?: Boolean;
  1854. /**
  1855. * The default training parameters or overrides selected during model training. When running AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.
  1856. */
  1857. TrainingParameters?: TrainingParameters;
  1858. /**
  1859. * Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
  1860. */
  1861. EvaluationParameters?: EvaluationParameters;
  1862. /**
  1863. * The hyperparameter override values for the algorithm.
  1864. */
  1865. HPOConfig?: HyperParameterTuningJobConfig;
  1866. /**
  1867. * Describes the dataset group that contains the data to use to train the predictor.
  1868. */
  1869. InputDataConfig?: InputDataConfig;
  1870. /**
  1871. * The featurization configuration.
  1872. */
  1873. FeaturizationConfig?: FeaturizationConfig;
  1874. /**
  1875. * An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
  1876. */
  1877. EncryptionConfig?: EncryptionConfig;
  1878. /**
  1879. * Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.
  1880. */
  1881. PredictorExecutionDetails?: PredictorExecutionDetails;
  1882. /**
  1883. * The estimated time remaining in minutes for the predictor training job to complete.
  1884. */
  1885. EstimatedTimeRemainingInMinutes?: Long;
  1886. /**
  1887. * Whether the predictor was created with CreateAutoPredictor.
  1888. */
  1889. IsAutoPredictor?: Boolean;
  1890. /**
  1891. * An array of the ARNs of the dataset import jobs used to import training data for the predictor.
  1892. */
  1893. DatasetImportJobArns?: ArnList;
  1894. /**
  1895. * The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED CREATE_STOPPING, CREATE_STOPPED The Status of the predictor must be ACTIVE before you can use the predictor to create a forecast.
  1896. */
  1897. Status?: Status;
  1898. /**
  1899. * If an error occurred, an informational message about the error.
  1900. */
  1901. Message?: Message;
  1902. /**
  1903. * When the model training task was created.
  1904. */
  1905. CreationTime?: Timestamp;
  1906. /**
  1907. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1908. */
  1909. LastModificationTime?: Timestamp;
  1910. /**
  1911. * The accuracy metric used to optimize the predictor.
  1912. */
  1913. OptimizationMetric?: OptimizationMetric;
  1914. }
  1915. export interface DescribeWhatIfAnalysisRequest {
  1916. /**
  1917. * The Amazon Resource Name (ARN) of the what-if analysis that you are interested in.
  1918. */
  1919. WhatIfAnalysisArn: Arn;
  1920. }
  1921. export interface DescribeWhatIfAnalysisResponse {
  1922. /**
  1923. * The name of the what-if analysis.
  1924. */
  1925. WhatIfAnalysisName?: Name;
  1926. /**
  1927. * The Amazon Resource Name (ARN) of the what-if analysis.
  1928. */
  1929. WhatIfAnalysisArn?: Arn;
  1930. /**
  1931. * The Amazon Resource Name (ARN) of the what-if forecast.
  1932. */
  1933. ForecastArn?: Arn;
  1934. /**
  1935. * The approximate time remaining to complete the what-if analysis, in minutes.
  1936. */
  1937. EstimatedTimeRemainingInMinutes?: Long;
  1938. /**
  1939. * The status of the what-if analysis. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if analysis must be ACTIVE before you can access the analysis.
  1940. */
  1941. Status?: String;
  1942. /**
  1943. * If an error occurred, an informational message about the error.
  1944. */
  1945. Message?: ErrorMessage;
  1946. /**
  1947. * When the what-if analysis was created.
  1948. */
  1949. CreationTime?: Timestamp;
  1950. /**
  1951. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1952. */
  1953. LastModificationTime?: Timestamp;
  1954. TimeSeriesSelector?: TimeSeriesSelector;
  1955. }
  1956. export interface DescribeWhatIfForecastExportRequest {
  1957. /**
  1958. * The Amazon Resource Name (ARN) of the what-if forecast export that you are interested in.
  1959. */
  1960. WhatIfForecastExportArn: LongArn;
  1961. }
  1962. export interface DescribeWhatIfForecastExportResponse {
  1963. /**
  1964. * The Amazon Resource Name (ARN) of the what-if forecast export.
  1965. */
  1966. WhatIfForecastExportArn?: LongArn;
  1967. /**
  1968. * The name of the what-if forecast export.
  1969. */
  1970. WhatIfForecastExportName?: Name;
  1971. /**
  1972. * An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.
  1973. */
  1974. WhatIfForecastArns?: LongArnList;
  1975. Destination?: DataDestination;
  1976. /**
  1977. * If an error occurred, an informational message about the error.
  1978. */
  1979. Message?: Message;
  1980. /**
  1981. * The status of the what-if forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if forecast export must be ACTIVE before you can access the forecast export.
  1982. */
  1983. Status?: Status;
  1984. /**
  1985. * When the what-if forecast export was created.
  1986. */
  1987. CreationTime?: Timestamp;
  1988. /**
  1989. * The approximate time remaining to complete the what-if forecast export, in minutes.
  1990. */
  1991. EstimatedTimeRemainingInMinutes?: Long;
  1992. /**
  1993. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  1994. */
  1995. LastModificationTime?: Timestamp;
  1996. /**
  1997. * The format of the exported data, CSV or PARQUET.
  1998. */
  1999. Format?: Format;
  2000. }
  2001. export interface DescribeWhatIfForecastRequest {
  2002. /**
  2003. * The Amazon Resource Name (ARN) of the what-if forecast that you are interested in.
  2004. */
  2005. WhatIfForecastArn: LongArn;
  2006. }
  2007. export interface DescribeWhatIfForecastResponse {
  2008. /**
  2009. * The name of the what-if forecast.
  2010. */
  2011. WhatIfForecastName?: Name;
  2012. /**
  2013. * The Amazon Resource Name (ARN) of the what-if forecast.
  2014. */
  2015. WhatIfForecastArn?: LongArn;
  2016. /**
  2017. * The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.
  2018. */
  2019. WhatIfAnalysisArn?: Arn;
  2020. /**
  2021. * The approximate time remaining to complete the what-if forecast, in minutes.
  2022. */
  2023. EstimatedTimeRemainingInMinutes?: Long;
  2024. /**
  2025. * The status of the what-if forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if forecast must be ACTIVE before you can access the forecast.
  2026. */
  2027. Status?: String;
  2028. /**
  2029. * If an error occurred, an informational message about the error.
  2030. */
  2031. Message?: ErrorMessage;
  2032. /**
  2033. * When the what-if forecast was created.
  2034. */
  2035. CreationTime?: Timestamp;
  2036. /**
  2037. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2038. */
  2039. LastModificationTime?: Timestamp;
  2040. /**
  2041. * An array of Action and TimeSeriesConditions elements that describe what transformations were applied to which time series.
  2042. */
  2043. TimeSeriesTransformations?: TimeSeriesTransformations;
  2044. /**
  2045. * An array of S3Config, Schema, and Format elements that describe the replacement time series.
  2046. */
  2047. TimeSeriesReplacementsDataSource?: TimeSeriesReplacementsDataSource;
  2048. /**
  2049. * The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default values are ["0.1", "0.5", "0.9"].
  2050. */
  2051. ForecastTypes?: ForecastTypes;
  2052. }
  2053. export type Detail = string;
  2054. export type Domain = "RETAIL"|"CUSTOM"|"INVENTORY_PLANNING"|"EC2_CAPACITY"|"WORK_FORCE"|"WEB_TRAFFIC"|"METRICS"|string;
  2055. export type Double = number;
  2056. export interface EncryptionConfig {
  2057. /**
  2058. * The ARN of the IAM role that Amazon Forecast can assume to access the KMS key. Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.
  2059. */
  2060. RoleArn: Arn;
  2061. /**
  2062. * The Amazon Resource Name (ARN) of the KMS key.
  2063. */
  2064. KMSKeyArn: KMSKeyArn;
  2065. }
  2066. export type ErrorMessage = string;
  2067. export interface ErrorMetric {
  2068. /**
  2069. * The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
  2070. */
  2071. ForecastType?: ForecastType;
  2072. /**
  2073. * The weighted absolute percentage error (WAPE).
  2074. */
  2075. WAPE?: Double;
  2076. /**
  2077. * The root-mean-square error (RMSE).
  2078. */
  2079. RMSE?: Double;
  2080. /**
  2081. * The Mean Absolute Scaled Error (MASE)
  2082. */
  2083. MASE?: Double;
  2084. /**
  2085. * The Mean Absolute Percentage Error (MAPE)
  2086. */
  2087. MAPE?: Double;
  2088. }
  2089. export type ErrorMetrics = ErrorMetric[];
  2090. export interface EvaluationParameters {
  2091. /**
  2092. * The number of times to split the input data. The default is 1. Valid values are 1 through 5.
  2093. */
  2094. NumberOfBacktestWindows?: Integer;
  2095. /**
  2096. * The point from the end of the dataset where you want to split the data for model training and testing (evaluation). Specify the value as the number of data points. The default is the value of the forecast horizon. BackTestWindowOffset can be used to mimic a past virtual forecast start date. This value must be greater than or equal to the forecast horizon and less than half of the TARGET_TIME_SERIES dataset length. ForecastHorizon &lt;= BackTestWindowOffset &lt; 1/2 * TARGET_TIME_SERIES dataset length
  2097. */
  2098. BackTestWindowOffset?: Integer;
  2099. }
  2100. export interface EvaluationResult {
  2101. /**
  2102. * The Amazon Resource Name (ARN) of the algorithm that was evaluated.
  2103. */
  2104. AlgorithmArn?: Arn;
  2105. /**
  2106. * The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters object determines the number of windows in the array.
  2107. */
  2108. TestWindows?: TestWindows;
  2109. }
  2110. export type EvaluationState = string;
  2111. export type EvaluationType = "SUMMARY"|"COMPUTED"|string;
  2112. export type Explainabilities = ExplainabilitySummary[];
  2113. export interface ExplainabilityConfig {
  2114. /**
  2115. * To create an Explainability for all time series in your datasets, use ALL. To create an Explainability for specific time series in your datasets, use SPECIFIC. Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location within the DataDestination data type.
  2116. */
  2117. TimeSeriesGranularity: TimeSeriesGranularity;
  2118. /**
  2119. * To create an Explainability for all time points in your forecast horizon, use ALL. To create an Explainability for specific time points in your forecast horizon, use SPECIFIC. Specify time points with the StartDateTime and EndDateTime parameters within the CreateExplainability operation.
  2120. */
  2121. TimePointGranularity: TimePointGranularity;
  2122. }
  2123. export interface ExplainabilityExportSummary {
  2124. /**
  2125. * The Amazon Resource Name (ARN) of the Explainability export.
  2126. */
  2127. ExplainabilityExportArn?: Arn;
  2128. /**
  2129. * The name of the Explainability export
  2130. */
  2131. ExplainabilityExportName?: Name;
  2132. Destination?: DataDestination;
  2133. /**
  2134. * The status of the Explainability export. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2135. */
  2136. Status?: Status;
  2137. /**
  2138. * Information about any errors that may have occurred during the Explainability export.
  2139. */
  2140. Message?: ErrorMessage;
  2141. /**
  2142. * When the Explainability was created.
  2143. */
  2144. CreationTime?: Timestamp;
  2145. /**
  2146. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2147. */
  2148. LastModificationTime?: Timestamp;
  2149. }
  2150. export type ExplainabilityExports = ExplainabilityExportSummary[];
  2151. export interface ExplainabilityInfo {
  2152. /**
  2153. * The Amazon Resource Name (ARN) of the Explainability.
  2154. */
  2155. ExplainabilityArn?: Arn;
  2156. /**
  2157. * The status of the Explainability. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2158. */
  2159. Status?: Status;
  2160. }
  2161. export interface ExplainabilitySummary {
  2162. /**
  2163. * The Amazon Resource Name (ARN) of the Explainability.
  2164. */
  2165. ExplainabilityArn?: Arn;
  2166. /**
  2167. * The name of the Explainability.
  2168. */
  2169. ExplainabilityName?: Name;
  2170. /**
  2171. * The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability.
  2172. */
  2173. ResourceArn?: Arn;
  2174. /**
  2175. * The configuration settings that define the granularity of time series and time points for the Explainability.
  2176. */
  2177. ExplainabilityConfig?: ExplainabilityConfig;
  2178. /**
  2179. * The status of the Explainability. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2180. */
  2181. Status?: Status;
  2182. /**
  2183. * Information about any errors that may have occurred during the Explainability creation process.
  2184. */
  2185. Message?: Message;
  2186. /**
  2187. * When the Explainability was created.
  2188. */
  2189. CreationTime?: Timestamp;
  2190. /**
  2191. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2192. */
  2193. LastModificationTime?: Timestamp;
  2194. }
  2195. export interface Featurization {
  2196. /**
  2197. * The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the target field of the TARGET_TIME_SERIES and the RELATED_TIME_SERIES datasets. For example, for the RETAIL domain, the target is demand, and for the CUSTOM domain, the target is target_value. For more information, see howitworks-missing-values.
  2198. */
  2199. AttributeName: Name;
  2200. /**
  2201. * An array of one FeaturizationMethod object that specifies the feature transformation method.
  2202. */
  2203. FeaturizationPipeline?: FeaturizationPipeline;
  2204. }
  2205. export interface FeaturizationConfig {
  2206. /**
  2207. * The frequency of predictions in a forecast. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following: Minute - 1-59 Hour - 1-23 Day - 1-6 Week - 1-4 Month - 1-11 Year - 1 Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M". The frequency must be greater than or equal to the TARGET_TIME_SERIES dataset frequency. When a RELATED_TIME_SERIES dataset is provided, the frequency must be equal to the TARGET_TIME_SERIES dataset frequency.
  2208. */
  2209. ForecastFrequency: Frequency;
  2210. /**
  2211. * An array of dimension (field) names that specify how to group the generated forecast. For example, suppose that you are generating a forecast for item sales across all of your stores, and your dataset contains a store_id field. If you want the sales forecast for each item by store, you would specify store_id as the dimension. All forecast dimensions specified in the TARGET_TIME_SERIES dataset don't need to be specified in the CreatePredictor request. All forecast dimensions specified in the RELATED_TIME_SERIES dataset must be specified in the CreatePredictor request.
  2212. */
  2213. ForecastDimensions?: ForecastDimensions;
  2214. /**
  2215. * An array of featurization (transformation) information for the fields of a dataset.
  2216. */
  2217. Featurizations?: Featurizations;
  2218. }
  2219. export interface FeaturizationMethod {
  2220. /**
  2221. * The name of the method. The "filling" method is the only supported method.
  2222. */
  2223. FeaturizationMethodName: FeaturizationMethodName;
  2224. /**
  2225. * The method parameters (key-value pairs), which are a map of override parameters. Specify these parameters to override the default values. Related Time Series attributes do not accept aggregation parameters. The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value. aggregation: sum, avg, first, min, max frontfill: none middlefill: zero, nan (not a number), value, median, mean, min, max backfill: zero, nan, value, median, mean, min, max The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults): middlefill: zero, value, median, mean, min, max backfill: zero, value, median, mean, min, max futurefill: zero, value, median, mean, min, max To set a filling method to a specific value, set the fill parameter to value and define the value in a corresponding _value parameter. For example, to set backfilling to a value of 2, include the following: "backfill": "value" and "backfill_value":"2".
  2226. */
  2227. FeaturizationMethodParameters?: FeaturizationMethodParameters;
  2228. }
  2229. export type FeaturizationMethodName = "filling"|string;
  2230. export type FeaturizationMethodParameters = {[key: string]: ParameterValue};
  2231. export type FeaturizationPipeline = FeaturizationMethod[];
  2232. export type Featurizations = Featurization[];
  2233. export type FieldStatistics = {[key: string]: Statistics};
  2234. export interface Filter {
  2235. /**
  2236. * The name of the parameter to filter on.
  2237. */
  2238. Key: String;
  2239. /**
  2240. * The value to match.
  2241. */
  2242. Value: Arn;
  2243. /**
  2244. * The condition to apply. To include the objects that match the statement, specify IS. To exclude matching objects, specify IS_NOT.
  2245. */
  2246. Condition: FilterConditionString;
  2247. }
  2248. export type FilterConditionString = "IS"|"IS_NOT"|string;
  2249. export type Filters = Filter[];
  2250. export type ForecastDimensions = Name[];
  2251. export interface ForecastExportJobSummary {
  2252. /**
  2253. * The Amazon Resource Name (ARN) of the forecast export job.
  2254. */
  2255. ForecastExportJobArn?: Arn;
  2256. /**
  2257. * The name of the forecast export job.
  2258. */
  2259. ForecastExportJobName?: Name;
  2260. /**
  2261. * The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.
  2262. */
  2263. Destination?: DataDestination;
  2264. /**
  2265. * The status of the forecast export job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast export job must be ACTIVE before you can access the forecast in your S3 bucket.
  2266. */
  2267. Status?: Status;
  2268. /**
  2269. * If an error occurred, an informational message about the error.
  2270. */
  2271. Message?: ErrorMessage;
  2272. /**
  2273. * When the forecast export job was created.
  2274. */
  2275. CreationTime?: Timestamp;
  2276. /**
  2277. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2278. */
  2279. LastModificationTime?: Timestamp;
  2280. }
  2281. export type ForecastExportJobs = ForecastExportJobSummary[];
  2282. export interface ForecastSummary {
  2283. /**
  2284. * The ARN of the forecast.
  2285. */
  2286. ForecastArn?: Arn;
  2287. /**
  2288. * The name of the forecast.
  2289. */
  2290. ForecastName?: Name;
  2291. /**
  2292. * The ARN of the predictor used to generate the forecast.
  2293. */
  2294. PredictorArn?: String;
  2295. /**
  2296. * Whether the Forecast was created from an AutoPredictor.
  2297. */
  2298. CreatedUsingAutoPredictor?: Boolean;
  2299. /**
  2300. * The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
  2301. */
  2302. DatasetGroupArn?: String;
  2303. /**
  2304. * The status of the forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast must be ACTIVE before you can query or export the forecast.
  2305. */
  2306. Status?: Status;
  2307. /**
  2308. * If an error occurred, an informational message about the error.
  2309. */
  2310. Message?: ErrorMessage;
  2311. /**
  2312. * When the forecast creation task was created.
  2313. */
  2314. CreationTime?: Timestamp;
  2315. /**
  2316. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2317. */
  2318. LastModificationTime?: Timestamp;
  2319. }
  2320. export type ForecastType = string;
  2321. export type ForecastTypes = ForecastType[];
  2322. export type Forecasts = ForecastSummary[];
  2323. export type Format = string;
  2324. export type Frequency = string;
  2325. export type GeolocationFormat = string;
  2326. export interface GetAccuracyMetricsRequest {
  2327. /**
  2328. * The Amazon Resource Name (ARN) of the predictor to get metrics for.
  2329. */
  2330. PredictorArn: Arn;
  2331. }
  2332. export interface GetAccuracyMetricsResponse {
  2333. /**
  2334. * An array of results from evaluating the predictor.
  2335. */
  2336. PredictorEvaluationResults?: PredictorEvaluationResults;
  2337. /**
  2338. * Whether the predictor was created with CreateAutoPredictor.
  2339. */
  2340. IsAutoPredictor?: Boolean;
  2341. /**
  2342. * The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges. The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy. This parameter is only valid for predictors trained using AutoML.
  2343. */
  2344. AutoMLOverrideStrategy?: AutoMLOverrideStrategy;
  2345. /**
  2346. * The accuracy metric used to optimize the predictor.
  2347. */
  2348. OptimizationMetric?: OptimizationMetric;
  2349. }
  2350. export type Hour = number;
  2351. export interface HyperParameterTuningJobConfig {
  2352. /**
  2353. * Specifies the ranges of valid values for the hyperparameters.
  2354. */
  2355. ParameterRanges?: ParameterRanges;
  2356. }
  2357. export type ImportMode = "FULL"|"INCREMENTAL"|string;
  2358. export interface InputDataConfig {
  2359. /**
  2360. * The Amazon Resource Name (ARN) of the dataset group.
  2361. */
  2362. DatasetGroupArn: Arn;
  2363. /**
  2364. * An array of supplementary features. The only supported feature is a holiday calendar.
  2365. */
  2366. SupplementaryFeatures?: SupplementaryFeatures;
  2367. }
  2368. export type Integer = number;
  2369. export interface IntegerParameterRange {
  2370. /**
  2371. * The name of the hyperparameter to tune.
  2372. */
  2373. Name: Name;
  2374. /**
  2375. * The maximum tunable value of the hyperparameter.
  2376. */
  2377. MaxValue: Integer;
  2378. /**
  2379. * The minimum tunable value of the hyperparameter.
  2380. */
  2381. MinValue: Integer;
  2382. /**
  2383. * The scale that hyperparameter tuning uses to search the hyperparameter range. Valid values: Auto Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have values greater than 0. ReverseLogarithmic Not supported for IntegerParameterRange. Reverse logarithmic scaling works only for ranges that are entirely within the range 0 &lt;= x &lt; 1.0. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
  2384. */
  2385. ScalingType?: ScalingType;
  2386. }
  2387. export type IntegerParameterRanges = IntegerParameterRange[];
  2388. export type KMSKeyArn = string;
  2389. export interface ListDatasetGroupsRequest {
  2390. /**
  2391. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2392. */
  2393. NextToken?: NextToken;
  2394. /**
  2395. * The number of items to return in the response.
  2396. */
  2397. MaxResults?: MaxResults;
  2398. }
  2399. export interface ListDatasetGroupsResponse {
  2400. /**
  2401. * An array of objects that summarize each dataset group's properties.
  2402. */
  2403. DatasetGroups?: DatasetGroups;
  2404. /**
  2405. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2406. */
  2407. NextToken?: NextToken;
  2408. }
  2409. export interface ListDatasetImportJobsRequest {
  2410. /**
  2411. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2412. */
  2413. NextToken?: NextToken;
  2414. /**
  2415. * The number of items to return in the response.
  2416. */
  2417. MaxResults?: MaxResults;
  2418. /**
  2419. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the datasets that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the datasets that match the statement, specify IS. To exclude matching datasets, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are DatasetArn and Status. Value - The value to match. For example, to list all dataset import jobs whose status is ACTIVE, you specify the following filter: "Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
  2420. */
  2421. Filters?: Filters;
  2422. }
  2423. export interface ListDatasetImportJobsResponse {
  2424. /**
  2425. * An array of objects that summarize each dataset import job's properties.
  2426. */
  2427. DatasetImportJobs?: DatasetImportJobs;
  2428. /**
  2429. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2430. */
  2431. NextToken?: NextToken;
  2432. }
  2433. export interface ListDatasetsRequest {
  2434. /**
  2435. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2436. */
  2437. NextToken?: NextToken;
  2438. /**
  2439. * The number of items to return in the response.
  2440. */
  2441. MaxResults?: MaxResults;
  2442. }
  2443. export interface ListDatasetsResponse {
  2444. /**
  2445. * An array of objects that summarize each dataset's properties.
  2446. */
  2447. Datasets?: Datasets;
  2448. /**
  2449. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2450. */
  2451. NextToken?: NextToken;
  2452. }
  2453. export interface ListExplainabilitiesRequest {
  2454. /**
  2455. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2456. */
  2457. NextToken?: NextToken;
  2458. /**
  2459. * The number of items returned in the response.
  2460. */
  2461. MaxResults?: MaxResults;
  2462. /**
  2463. * An array of filters. For each filter, provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the resources that match the statement from the list. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. Key - The name of the parameter to filter on. Valid values are ResourceArn and Status. Value - The value to match.
  2464. */
  2465. Filters?: Filters;
  2466. }
  2467. export interface ListExplainabilitiesResponse {
  2468. /**
  2469. * An array of objects that summarize the properties of each Explainability resource.
  2470. */
  2471. Explainabilities?: Explainabilities;
  2472. /**
  2473. * Returns this token if the response is truncated. To retrieve the next set of results, use the token in the next request.
  2474. */
  2475. NextToken?: NextToken;
  2476. }
  2477. export interface ListExplainabilityExportsRequest {
  2478. /**
  2479. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2480. */
  2481. NextToken?: NextToken;
  2482. /**
  2483. * The number of items to return in the response.
  2484. */
  2485. MaxResults?: MaxResults;
  2486. /**
  2487. * An array of filters. For each filter, provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude resources that match the statement from the list. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. Key - The name of the parameter to filter on. Valid values are ResourceArn and Status. Value - The value to match.
  2488. */
  2489. Filters?: Filters;
  2490. }
  2491. export interface ListExplainabilityExportsResponse {
  2492. /**
  2493. * An array of objects that summarize the properties of each Explainability export.
  2494. */
  2495. ExplainabilityExports?: ExplainabilityExports;
  2496. /**
  2497. * Returns this token if the response is truncated. To retrieve the next set of results, use the token in the next request.
  2498. */
  2499. NextToken?: NextToken;
  2500. }
  2501. export interface ListForecastExportJobsRequest {
  2502. /**
  2503. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2504. */
  2505. NextToken?: NextToken;
  2506. /**
  2507. * The number of items to return in the response.
  2508. */
  2509. MaxResults?: MaxResults;
  2510. /**
  2511. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are ForecastArn and Status. Value - The value to match. For example, to list all jobs that export a forecast named electricityforecast, specify the following filter: "Filters": [ { "Condition": "IS", "Key": "ForecastArn", "Value": "arn:aws:forecast:us-west-2:&lt;acct-id&gt;:forecast/electricityforecast" } ]
  2512. */
  2513. Filters?: Filters;
  2514. }
  2515. export interface ListForecastExportJobsResponse {
  2516. /**
  2517. * An array of objects that summarize each export job's properties.
  2518. */
  2519. ForecastExportJobs?: ForecastExportJobs;
  2520. /**
  2521. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2522. */
  2523. NextToken?: NextToken;
  2524. }
  2525. export interface ListForecastsRequest {
  2526. /**
  2527. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2528. */
  2529. NextToken?: NextToken;
  2530. /**
  2531. * The number of items to return in the response.
  2532. */
  2533. MaxResults?: MaxResults;
  2534. /**
  2535. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the forecasts that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecasts that match the statement, specify IS. To exclude matching forecasts, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are DatasetGroupArn, PredictorArn, and Status. Value - The value to match. For example, to list all forecasts whose status is not ACTIVE, you would specify: "Filters": [ { "Condition": "IS_NOT", "Key": "Status", "Value": "ACTIVE" } ]
  2536. */
  2537. Filters?: Filters;
  2538. }
  2539. export interface ListForecastsResponse {
  2540. /**
  2541. * An array of objects that summarize each forecast's properties.
  2542. */
  2543. Forecasts?: Forecasts;
  2544. /**
  2545. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2546. */
  2547. NextToken?: NextToken;
  2548. }
  2549. export interface ListMonitorEvaluationsRequest {
  2550. /**
  2551. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2552. */
  2553. NextToken?: NextToken;
  2554. /**
  2555. * The maximum number of monitoring results to return.
  2556. */
  2557. MaxResults?: MaxResults;
  2558. /**
  2559. * The Amazon Resource Name (ARN) of the monitor resource to get results from.
  2560. */
  2561. MonitorArn: Arn;
  2562. /**
  2563. * An array of filters. For each filter, provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the resources that match the statement from the list. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. Key - The name of the parameter to filter on. The only valid value is EvaluationState. Value - The value to match. Valid values are only SUCCESS or FAILURE. For example, to list only successful monitor evaluations, you would specify: "Filters": [ { "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ]
  2564. */
  2565. Filters?: Filters;
  2566. }
  2567. export interface ListMonitorEvaluationsResponse {
  2568. /**
  2569. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2570. */
  2571. NextToken?: NextToken;
  2572. /**
  2573. * The monitoring results and predictor events collected by the monitor resource during different windows of time. For information about monitoring see Viewing Monitoring Results. For more information about retrieving monitoring results see Viewing Monitoring Results.
  2574. */
  2575. PredictorMonitorEvaluations?: PredictorMonitorEvaluations;
  2576. }
  2577. export interface ListMonitorsRequest {
  2578. /**
  2579. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2580. */
  2581. NextToken?: NextToken;
  2582. /**
  2583. * The maximum number of monitors to include in the response.
  2584. */
  2585. MaxResults?: MaxResults;
  2586. /**
  2587. * An array of filters. For each filter, provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the resources that match the statement from the list. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. Key - The name of the parameter to filter on. The only valid value is Status. Value - The value to match. For example, to list all monitors who's status is ACTIVE, you would specify: "Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
  2588. */
  2589. Filters?: Filters;
  2590. }
  2591. export interface ListMonitorsResponse {
  2592. /**
  2593. * An array of objects that summarize each monitor's properties.
  2594. */
  2595. Monitors?: Monitors;
  2596. /**
  2597. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2598. */
  2599. NextToken?: NextToken;
  2600. }
  2601. export interface ListPredictorBacktestExportJobsRequest {
  2602. /**
  2603. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2604. */
  2605. NextToken?: NextToken;
  2606. /**
  2607. * The number of items to return in the response.
  2608. */
  2609. MaxResults?: MaxResults;
  2610. /**
  2611. * An array of filters. For each filter, provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the predictor backtest export jobs that match the statement from the list. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the predictor backtest export jobs that match the statement, specify IS. To exclude matching predictor backtest export jobs, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are PredictorArn and Status. Value - The value to match.
  2612. */
  2613. Filters?: Filters;
  2614. }
  2615. export interface ListPredictorBacktestExportJobsResponse {
  2616. /**
  2617. * An array of objects that summarize the properties of each predictor backtest export job.
  2618. */
  2619. PredictorBacktestExportJobs?: PredictorBacktestExportJobs;
  2620. /**
  2621. * Returns this token if the response is truncated. To retrieve the next set of results, use the token in the next request.
  2622. */
  2623. NextToken?: NextToken;
  2624. }
  2625. export interface ListPredictorsRequest {
  2626. /**
  2627. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2628. */
  2629. NextToken?: NextToken;
  2630. /**
  2631. * The number of items to return in the response.
  2632. */
  2633. MaxResults?: MaxResults;
  2634. /**
  2635. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the predictors that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the predictors that match the statement, specify IS. To exclude matching predictors, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are DatasetGroupArn and Status. Value - The value to match. For example, to list all predictors whose status is ACTIVE, you would specify: "Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]
  2636. */
  2637. Filters?: Filters;
  2638. }
  2639. export interface ListPredictorsResponse {
  2640. /**
  2641. * An array of objects that summarize each predictor's properties.
  2642. */
  2643. Predictors?: Predictors;
  2644. /**
  2645. * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2646. */
  2647. NextToken?: NextToken;
  2648. }
  2649. export interface ListTagsForResourceRequest {
  2650. /**
  2651. * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
  2652. */
  2653. ResourceArn: Arn;
  2654. }
  2655. export interface ListTagsForResourceResponse {
  2656. /**
  2657. * The tags for the resource.
  2658. */
  2659. Tags?: Tags;
  2660. }
  2661. export interface ListWhatIfAnalysesRequest {
  2662. /**
  2663. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
  2664. */
  2665. NextToken?: NextToken;
  2666. /**
  2667. * The number of items to return in the response.
  2668. */
  2669. MaxResults?: MaxResults;
  2670. /**
  2671. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the what-if analysis jobs that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the what-if analysis jobs that match the statement, specify IS. To exclude matching what-if analysis jobs, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are WhatIfAnalysisArn and Status. Value - The value to match. For example, to list all jobs that export a forecast named electricityWhatIf, specify the following filter: "Filters": [ { "Condition": "IS", "Key": "WhatIfAnalysisArn", "Value": "arn:aws:forecast:us-west-2:&lt;acct-id&gt;:forecast/electricityWhatIf" } ]
  2672. */
  2673. Filters?: Filters;
  2674. }
  2675. export interface ListWhatIfAnalysesResponse {
  2676. /**
  2677. * An array of WhatIfAnalysisSummary objects that describe the matched analyses.
  2678. */
  2679. WhatIfAnalyses?: WhatIfAnalyses;
  2680. /**
  2681. * If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2682. */
  2683. NextToken?: NextToken;
  2684. }
  2685. export interface ListWhatIfForecastExportsRequest {
  2686. /**
  2687. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next&#x2028; request. Tokens expire after 24 hours.
  2688. */
  2689. NextToken?: NextToken;
  2690. /**
  2691. * The number of items to return in the response.
  2692. */
  2693. MaxResults?: MaxResults;
  2694. /**
  2695. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are WhatIfForecastExportArn and Status. Value - The value to match. For example, to list all jobs that export a forecast named electricityWIFExport, specify the following filter: "Filters": [ { "Condition": "IS", "Key": "WhatIfForecastExportArn", "Value": "arn:aws:forecast:us-west-2:&lt;acct-id&gt;:forecast/electricityWIFExport" } ]
  2696. */
  2697. Filters?: Filters;
  2698. }
  2699. export interface ListWhatIfForecastExportsResponse {
  2700. /**
  2701. * An array of WhatIfForecastExports objects that describe the matched forecast exports.
  2702. */
  2703. WhatIfForecastExports?: WhatIfForecastExports;
  2704. /**
  2705. * If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
  2706. */
  2707. NextToken?: NextToken;
  2708. }
  2709. export interface ListWhatIfForecastsRequest {
  2710. /**
  2711. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next&#x2028; request. Tokens expire after 24 hours.
  2712. */
  2713. NextToken?: NextToken;
  2714. /**
  2715. * The number of items to return in the response.
  2716. */
  2717. MaxResults?: MaxResults;
  2718. /**
  2719. * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value. Filter properties Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT. Key - The name of the parameter to filter on. Valid values are WhatIfForecastArn and Status. Value - The value to match. For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter: "Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:&lt;acct-id&gt;:forecast/electricityWhatIfForecast" } ]
  2720. */
  2721. Filters?: Filters;
  2722. }
  2723. export interface ListWhatIfForecastsResponse {
  2724. /**
  2725. * An array of WhatIfForecasts objects that describe the matched forecasts.
  2726. */
  2727. WhatIfForecasts?: WhatIfForecasts;
  2728. /**
  2729. * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next&#x2028; request. Tokens expire after 24 hours.
  2730. */
  2731. NextToken?: NextToken;
  2732. }
  2733. export type LocalDateTime = string;
  2734. export type Long = number;
  2735. export type LongArn = string;
  2736. export type LongArnList = LongArn[];
  2737. export type MaxResults = number;
  2738. export type Message = string;
  2739. export type MetricName = string;
  2740. export interface MetricResult {
  2741. /**
  2742. * The name of the metric.
  2743. */
  2744. MetricName?: MetricName;
  2745. /**
  2746. * The value for the metric.
  2747. */
  2748. MetricValue?: Double;
  2749. }
  2750. export type MetricResults = MetricResult[];
  2751. export interface Metrics {
  2752. /**
  2753. * The root-mean-square error (RMSE).
  2754. */
  2755. RMSE?: Double;
  2756. /**
  2757. * An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
  2758. */
  2759. WeightedQuantileLosses?: WeightedQuantileLosses;
  2760. /**
  2761. * Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
  2762. */
  2763. ErrorMetrics?: ErrorMetrics;
  2764. /**
  2765. * The average value of all weighted quantile losses.
  2766. */
  2767. AverageWeightedQuantileLoss?: Double;
  2768. }
  2769. export interface MonitorConfig {
  2770. /**
  2771. * The name of the monitor resource.
  2772. */
  2773. MonitorName: Name;
  2774. }
  2775. export interface MonitorDataSource {
  2776. /**
  2777. * The Amazon Resource Name (ARN) of the dataset import job used to import the data that initiated the monitor evaluation.
  2778. */
  2779. DatasetImportJobArn?: Arn;
  2780. /**
  2781. * The Amazon Resource Name (ARN) of the forecast the monitor used during the evaluation.
  2782. */
  2783. ForecastArn?: Arn;
  2784. /**
  2785. * The Amazon Resource Name (ARN) of the predictor resource you are monitoring.
  2786. */
  2787. PredictorArn?: Arn;
  2788. }
  2789. export interface MonitorInfo {
  2790. /**
  2791. * The Amazon Resource Name (ARN) of the monitor resource.
  2792. */
  2793. MonitorArn?: Arn;
  2794. /**
  2795. * The status of the monitor. States include: ACTIVE ACTIVE_STOPPING, ACTIVE_STOPPED UPDATE_IN_PROGRESS CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2796. */
  2797. Status?: Status;
  2798. }
  2799. export interface MonitorSummary {
  2800. /**
  2801. * The Amazon Resource Name (ARN) of the monitor resource.
  2802. */
  2803. MonitorArn?: Arn;
  2804. /**
  2805. * The name of the monitor resource.
  2806. */
  2807. MonitorName?: Name;
  2808. /**
  2809. * The Amazon Resource Name (ARN) of the predictor being monitored.
  2810. */
  2811. ResourceArn?: Arn;
  2812. /**
  2813. * The status of the monitor. States include: ACTIVE ACTIVE_STOPPING, ACTIVE_STOPPED UPDATE_IN_PROGRESS CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2814. */
  2815. Status?: Status;
  2816. /**
  2817. * When the monitor resource was created.
  2818. */
  2819. CreationTime?: Timestamp;
  2820. /**
  2821. * The last time the monitor resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. STOPPED - When the resource stopped. ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.
  2822. */
  2823. LastModificationTime?: Timestamp;
  2824. }
  2825. export type Monitors = MonitorSummary[];
  2826. export type Month = "JANUARY"|"FEBRUARY"|"MARCH"|"APRIL"|"MAY"|"JUNE"|"JULY"|"AUGUST"|"SEPTEMBER"|"OCTOBER"|"NOVEMBER"|"DECEMBER"|string;
  2827. export type Name = string;
  2828. export type NextToken = string;
  2829. export type Operation = "ADD"|"SUBTRACT"|"MULTIPLY"|"DIVIDE"|string;
  2830. export type OptimizationMetric = "WAPE"|"RMSE"|"AverageWeightedQuantileLoss"|"MASE"|"MAPE"|string;
  2831. export type ParameterKey = string;
  2832. export interface ParameterRanges {
  2833. /**
  2834. * Specifies the tunable range for each categorical hyperparameter.
  2835. */
  2836. CategoricalParameterRanges?: CategoricalParameterRanges;
  2837. /**
  2838. * Specifies the tunable range for each continuous hyperparameter.
  2839. */
  2840. ContinuousParameterRanges?: ContinuousParameterRanges;
  2841. /**
  2842. * Specifies the tunable range for each integer hyperparameter.
  2843. */
  2844. IntegerParameterRanges?: IntegerParameterRanges;
  2845. }
  2846. export type ParameterValue = string;
  2847. export interface PredictorBacktestExportJobSummary {
  2848. /**
  2849. * The Amazon Resource Name (ARN) of the predictor backtest export job.
  2850. */
  2851. PredictorBacktestExportJobArn?: Arn;
  2852. /**
  2853. * The name of the predictor backtest export job.
  2854. */
  2855. PredictorBacktestExportJobName?: Name;
  2856. Destination?: DataDestination;
  2857. /**
  2858. * The status of the predictor backtest export job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  2859. */
  2860. Status?: Status;
  2861. /**
  2862. * Information about any errors that may have occurred during the backtest export.
  2863. */
  2864. Message?: ErrorMessage;
  2865. /**
  2866. * When the predictor backtest export job was created.
  2867. */
  2868. CreationTime?: Timestamp;
  2869. /**
  2870. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2871. */
  2872. LastModificationTime?: Timestamp;
  2873. }
  2874. export type PredictorBacktestExportJobs = PredictorBacktestExportJobSummary[];
  2875. export interface PredictorBaseline {
  2876. /**
  2877. * The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.
  2878. */
  2879. BaselineMetrics?: BaselineMetrics;
  2880. }
  2881. export type PredictorEvaluationResults = EvaluationResult[];
  2882. export interface PredictorEvent {
  2883. /**
  2884. * The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor.
  2885. */
  2886. Detail?: Detail;
  2887. /**
  2888. * The timestamp for when the event occurred.
  2889. */
  2890. Datetime?: Timestamp;
  2891. }
  2892. export interface PredictorExecution {
  2893. /**
  2894. * The ARN of the algorithm used to test the predictor.
  2895. */
  2896. AlgorithmArn?: Arn;
  2897. /**
  2898. * An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
  2899. */
  2900. TestWindows?: TestWindowDetails;
  2901. }
  2902. export interface PredictorExecutionDetails {
  2903. /**
  2904. * An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
  2905. */
  2906. PredictorExecutions?: PredictorExecutions;
  2907. }
  2908. export type PredictorExecutions = PredictorExecution[];
  2909. export interface PredictorMonitorEvaluation {
  2910. /**
  2911. * The Amazon Resource Name (ARN) of the resource to monitor.
  2912. */
  2913. ResourceArn?: Arn;
  2914. /**
  2915. * The Amazon Resource Name (ARN) of the monitor resource.
  2916. */
  2917. MonitorArn?: Arn;
  2918. /**
  2919. * The timestamp that indicates when the monitor evaluation was started.
  2920. */
  2921. EvaluationTime?: Timestamp;
  2922. /**
  2923. * The status of the monitor evaluation. The state can be SUCCESS or FAILURE.
  2924. */
  2925. EvaluationState?: EvaluationState;
  2926. /**
  2927. * The timestamp that indicates the start of the window that is used for monitor evaluation.
  2928. */
  2929. WindowStartDatetime?: Timestamp;
  2930. /**
  2931. * The timestamp that indicates the end of the window that is used for monitor evaluation.
  2932. */
  2933. WindowEndDatetime?: Timestamp;
  2934. /**
  2935. * Provides details about a predictor event, such as a retraining.
  2936. */
  2937. PredictorEvent?: PredictorEvent;
  2938. /**
  2939. * The source of the data the monitor resource used during the evaluation.
  2940. */
  2941. MonitorDataSource?: MonitorDataSource;
  2942. /**
  2943. * A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.
  2944. */
  2945. MetricResults?: MetricResults;
  2946. /**
  2947. * The number of items considered during the evaluation.
  2948. */
  2949. NumItemsEvaluated?: Long;
  2950. /**
  2951. * Information about any errors that may have occurred during the monitor evaluation.
  2952. */
  2953. Message?: Message;
  2954. }
  2955. export type PredictorMonitorEvaluations = PredictorMonitorEvaluation[];
  2956. export interface PredictorSummary {
  2957. /**
  2958. * The ARN of the predictor.
  2959. */
  2960. PredictorArn?: Arn;
  2961. /**
  2962. * The name of the predictor.
  2963. */
  2964. PredictorName?: Name;
  2965. /**
  2966. * The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
  2967. */
  2968. DatasetGroupArn?: Arn;
  2969. /**
  2970. * Whether AutoPredictor was used to create the predictor.
  2971. */
  2972. IsAutoPredictor?: Boolean;
  2973. /**
  2974. * A summary of the reference predictor used if the predictor was retrained or upgraded.
  2975. */
  2976. ReferencePredictorSummary?: ReferencePredictorSummary;
  2977. /**
  2978. * The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED CREATE_STOPPING, CREATE_STOPPED The Status of the predictor must be ACTIVE before you can use the predictor to create a forecast.
  2979. */
  2980. Status?: Status;
  2981. /**
  2982. * If an error occurred, an informational message about the error.
  2983. */
  2984. Message?: ErrorMessage;
  2985. /**
  2986. * When the model training task was created.
  2987. */
  2988. CreationTime?: Timestamp;
  2989. /**
  2990. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  2991. */
  2992. LastModificationTime?: Timestamp;
  2993. }
  2994. export type Predictors = PredictorSummary[];
  2995. export interface ReferencePredictorSummary {
  2996. /**
  2997. * The ARN of the reference predictor.
  2998. */
  2999. Arn?: Arn;
  3000. /**
  3001. * Whether the reference predictor is Active or Deleted.
  3002. */
  3003. State?: State;
  3004. }
  3005. export interface ResumeResourceRequest {
  3006. /**
  3007. * The Amazon Resource Name (ARN) of the monitor resource to resume.
  3008. */
  3009. ResourceArn: Arn;
  3010. }
  3011. export interface S3Config {
  3012. /**
  3013. * The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
  3014. */
  3015. Path: S3Path;
  3016. /**
  3017. * The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key. Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.
  3018. */
  3019. RoleArn: Arn;
  3020. /**
  3021. * The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.
  3022. */
  3023. KMSKeyArn?: KMSKeyArn;
  3024. }
  3025. export type S3Path = string;
  3026. export type ScalingType = "Auto"|"Linear"|"Logarithmic"|"ReverseLogarithmic"|string;
  3027. export interface Schema {
  3028. /**
  3029. * An array of attributes specifying the name and type of each field in a dataset.
  3030. */
  3031. Attributes?: SchemaAttributes;
  3032. }
  3033. export interface SchemaAttribute {
  3034. /**
  3035. * The name of the dataset field.
  3036. */
  3037. AttributeName?: Name;
  3038. /**
  3039. * The data type of the field. For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
  3040. */
  3041. AttributeType?: AttributeType;
  3042. }
  3043. export type SchemaAttributes = SchemaAttribute[];
  3044. export type State = "Active"|"Deleted"|string;
  3045. export interface Statistics {
  3046. /**
  3047. * The number of values in the field. If the response value is -1, refer to CountLong.
  3048. */
  3049. Count?: Integer;
  3050. /**
  3051. * The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
  3052. */
  3053. CountDistinct?: Integer;
  3054. /**
  3055. * The number of null values in the field. If the response value is -1, refer to CountNullLong.
  3056. */
  3057. CountNull?: Integer;
  3058. /**
  3059. * The number of NAN (not a number) values in the field. If the response value is -1, refer to CountNanLong.
  3060. */
  3061. CountNan?: Integer;
  3062. /**
  3063. * For a numeric field, the minimum value in the field.
  3064. */
  3065. Min?: String;
  3066. /**
  3067. * For a numeric field, the maximum value in the field.
  3068. */
  3069. Max?: String;
  3070. /**
  3071. * For a numeric field, the average value in the field.
  3072. */
  3073. Avg?: Double;
  3074. /**
  3075. * For a numeric field, the standard deviation.
  3076. */
  3077. Stddev?: Double;
  3078. /**
  3079. * The number of values in the field. CountLong is used instead of Count if the value is greater than 2,147,483,647.
  3080. */
  3081. CountLong?: Long;
  3082. /**
  3083. * The number of distinct values in the field. CountDistinctLong is used instead of CountDistinct if the value is greater than 2,147,483,647.
  3084. */
  3085. CountDistinctLong?: Long;
  3086. /**
  3087. * The number of null values in the field. CountNullLong is used instead of CountNull if the value is greater than 2,147,483,647.
  3088. */
  3089. CountNullLong?: Long;
  3090. /**
  3091. * The number of NAN (not a number) values in the field. CountNanLong is used instead of CountNan if the value is greater than 2,147,483,647.
  3092. */
  3093. CountNanLong?: Long;
  3094. }
  3095. export type Status = string;
  3096. export interface StopResourceRequest {
  3097. /**
  3098. * The Amazon Resource Name (ARN) that identifies the resource to stop. The supported ARNs are DatasetImportJobArn, PredictorArn, PredictorBacktestExportJobArn, ForecastArn, ForecastExportJobArn, ExplainabilityArn, and ExplainabilityExportArn.
  3099. */
  3100. ResourceArn: Arn;
  3101. }
  3102. export type String = string;
  3103. export interface SupplementaryFeature {
  3104. /**
  3105. * The name of the feature. Valid values: "holiday" and "weather".
  3106. */
  3107. Name: Name;
  3108. /**
  3109. * Weather Index To enable the Weather Index, set the value to "true" Holidays To enable Holidays, specify a country with one of the following two-letter country codes: "AL" - ALBANIA "AR" - ARGENTINA "AT" - AUSTRIA "AU" - AUSTRALIA "BA" - BOSNIA HERZEGOVINA "BE" - BELGIUM "BG" - BULGARIA "BO" - BOLIVIA "BR" - BRAZIL "BY" - BELARUS "CA" - CANADA "CL" - CHILE "CO" - COLOMBIA "CR" - COSTA RICA "HR" - CROATIA "CZ" - CZECH REPUBLIC "DK" - DENMARK "EC" - ECUADOR "EE" - ESTONIA "ET" - ETHIOPIA "FI" - FINLAND "FR" - FRANCE "DE" - GERMANY "GR" - GREECE "HU" - HUNGARY "IS" - ICELAND "IN" - INDIA "IE" - IRELAND "IT" - ITALY "JP" - JAPAN "KZ" - KAZAKHSTAN "KR" - KOREA "LV" - LATVIA "LI" - LIECHTENSTEIN "LT" - LITHUANIA "LU" - LUXEMBOURG "MK" - MACEDONIA "MT" - MALTA "MX" - MEXICO "MD" - MOLDOVA "ME" - MONTENEGRO "NL" - NETHERLANDS "NZ" - NEW ZEALAND "NI" - NICARAGUA "NG" - NIGERIA "NO" - NORWAY "PA" - PANAMA "PY" - PARAGUAY "PE" - PERU "PL" - POLAND "PT" - PORTUGAL "RO" - ROMANIA "RU" - RUSSIA "RS" - SERBIA "SK" - SLOVAKIA "SI" - SLOVENIA "ZA" - SOUTH AFRICA "ES" - SPAIN "SE" - SWEDEN "CH" - SWITZERLAND "UA" - UKRAINE "AE" - UNITED ARAB EMIRATES "US" - UNITED STATES "UK" - UNITED KINGDOM "UY" - URUGUAY "VE" - VENEZUELA
  3110. */
  3111. Value: Value;
  3112. }
  3113. export type SupplementaryFeatures = SupplementaryFeature[];
  3114. export interface Tag {
  3115. /**
  3116. * One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.
  3117. */
  3118. Key: TagKey;
  3119. /**
  3120. * The optional part of a key-value pair that makes up a tag. A value acts as a descriptor within a tag category (key).
  3121. */
  3122. Value: TagValue;
  3123. }
  3124. export type TagKey = string;
  3125. export type TagKeys = TagKey[];
  3126. export interface TagResourceRequest {
  3127. /**
  3128. * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
  3129. */
  3130. ResourceArn: Arn;
  3131. /**
  3132. * The tags to add to the resource. A tag is an array of key-value pairs. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
  3133. */
  3134. Tags: Tags;
  3135. }
  3136. export interface TagResourceResponse {
  3137. }
  3138. export type TagValue = string;
  3139. export type Tags = Tag[];
  3140. export type TestWindowDetails = TestWindowSummary[];
  3141. export interface TestWindowSummary {
  3142. /**
  3143. * The time at which the test began.
  3144. */
  3145. TestWindowStart?: Timestamp;
  3146. /**
  3147. * The time at which the test ended.
  3148. */
  3149. TestWindowEnd?: Timestamp;
  3150. /**
  3151. * The status of the test. Possible status values are: ACTIVE CREATE_IN_PROGRESS CREATE_FAILED
  3152. */
  3153. Status?: Status;
  3154. /**
  3155. * If the test failed, the reason why it failed.
  3156. */
  3157. Message?: ErrorMessage;
  3158. }
  3159. export type TestWindows = WindowSummary[];
  3160. export interface TimeAlignmentBoundary {
  3161. /**
  3162. * The month to use for time alignment during aggregation. The month must be in uppercase.
  3163. */
  3164. Month?: Month;
  3165. /**
  3166. * The day of the month to use for time alignment during aggregation.
  3167. */
  3168. DayOfMonth?: DayOfMonth;
  3169. /**
  3170. * The day of week to use for time alignment during aggregation. The day must be in uppercase.
  3171. */
  3172. DayOfWeek?: DayOfWeek;
  3173. /**
  3174. * The hour of day to use for time alignment during aggregation.
  3175. */
  3176. Hour?: Hour;
  3177. }
  3178. export type TimePointGranularity = "ALL"|"SPECIFIC"|string;
  3179. export interface TimeSeriesCondition {
  3180. /**
  3181. * The item_id, dimension name, IM name, or timestamp that you are modifying.
  3182. */
  3183. AttributeName: Name;
  3184. /**
  3185. * The value that is applied for the chosen Condition.
  3186. */
  3187. AttributeValue: AttributeValue;
  3188. /**
  3189. * The condition to apply. Valid values are EQUALS, NOT_EQUALS, LESS_THAN and GREATER_THAN.
  3190. */
  3191. Condition: Condition;
  3192. }
  3193. export type TimeSeriesConditions = TimeSeriesCondition[];
  3194. export type TimeSeriesGranularity = "ALL"|"SPECIFIC"|string;
  3195. export interface TimeSeriesIdentifiers {
  3196. DataSource?: DataSource;
  3197. Schema?: Schema;
  3198. /**
  3199. * The format of the data, either CSV or PARQUET.
  3200. */
  3201. Format?: Format;
  3202. }
  3203. export interface TimeSeriesReplacementsDataSource {
  3204. S3Config: S3Config;
  3205. Schema: Schema;
  3206. /**
  3207. * The format of the replacement data, CSV or PARQUET.
  3208. */
  3209. Format?: Format;
  3210. /**
  3211. * The timestamp format of the replacement data.
  3212. */
  3213. TimestampFormat?: TimestampFormat;
  3214. }
  3215. export interface TimeSeriesSelector {
  3216. /**
  3217. * Details about the import file that contains the time series for which you want to create forecasts.
  3218. */
  3219. TimeSeriesIdentifiers?: TimeSeriesIdentifiers;
  3220. }
  3221. export interface TimeSeriesTransformation {
  3222. /**
  3223. * An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
  3224. */
  3225. Action?: Action;
  3226. /**
  3227. * An array of conditions that define which members of the related time series are transformed.
  3228. */
  3229. TimeSeriesConditions?: TimeSeriesConditions;
  3230. }
  3231. export type TimeSeriesTransformations = TimeSeriesTransformation[];
  3232. export type TimeZone = string;
  3233. export type Timestamp = Date;
  3234. export type TimestampFormat = string;
  3235. export type TrainingParameters = {[key: string]: ParameterValue};
  3236. export type Transformations = {[key: string]: Value};
  3237. export interface UntagResourceRequest {
  3238. /**
  3239. * The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
  3240. */
  3241. ResourceArn: Arn;
  3242. /**
  3243. * The keys of the tags to be removed.
  3244. */
  3245. TagKeys: TagKeys;
  3246. }
  3247. export interface UntagResourceResponse {
  3248. }
  3249. export interface UpdateDatasetGroupRequest {
  3250. /**
  3251. * The ARN of the dataset group.
  3252. */
  3253. DatasetGroupArn: Arn;
  3254. /**
  3255. * An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset group.
  3256. */
  3257. DatasetArns: ArnList;
  3258. }
  3259. export interface UpdateDatasetGroupResponse {
  3260. }
  3261. export type UseGeolocationForTimeZone = boolean;
  3262. export type Value = string;
  3263. export type Values = Value[];
  3264. export interface WeightedQuantileLoss {
  3265. /**
  3266. * The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.
  3267. */
  3268. Quantile?: Double;
  3269. /**
  3270. * The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.
  3271. */
  3272. LossValue?: Double;
  3273. }
  3274. export type WeightedQuantileLosses = WeightedQuantileLoss[];
  3275. export type WhatIfAnalyses = WhatIfAnalysisSummary[];
  3276. export interface WhatIfAnalysisSummary {
  3277. /**
  3278. * The Amazon Resource Name (ARN) of the what-if analysis.
  3279. */
  3280. WhatIfAnalysisArn?: Arn;
  3281. /**
  3282. * The name of the what-if analysis.
  3283. */
  3284. WhatIfAnalysisName?: Name;
  3285. /**
  3286. * The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.
  3287. */
  3288. ForecastArn?: Arn;
  3289. /**
  3290. * The status of the what-if analysis. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if analysis must be ACTIVE before you can access the analysis.
  3291. */
  3292. Status?: Status;
  3293. /**
  3294. * If an error occurred, an informational message about the error.
  3295. */
  3296. Message?: ErrorMessage;
  3297. /**
  3298. * When the what-if analysis was created.
  3299. */
  3300. CreationTime?: Timestamp;
  3301. /**
  3302. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  3303. */
  3304. LastModificationTime?: Timestamp;
  3305. }
  3306. export type WhatIfForecastArnListForExport = LongArn[];
  3307. export interface WhatIfForecastExportSummary {
  3308. /**
  3309. * The Amazon Resource Name (ARN) of the what-if forecast export.
  3310. */
  3311. WhatIfForecastExportArn?: LongArn;
  3312. /**
  3313. * An array of Amazon Resource Names (ARNs) that define the what-if forecasts included in the export.
  3314. */
  3315. WhatIfForecastArns?: WhatIfForecastArnListForExport;
  3316. /**
  3317. * The what-if forecast export name.
  3318. */
  3319. WhatIfForecastExportName?: Name;
  3320. /**
  3321. * The path to the Amazon Simple Storage Service (Amazon S3) bucket where the forecast is exported.
  3322. */
  3323. Destination?: DataDestination;
  3324. /**
  3325. * The status of the what-if forecast export. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if analysis must be ACTIVE before you can access the analysis.
  3326. */
  3327. Status?: Status;
  3328. /**
  3329. * If an error occurred, an informational message about the error.
  3330. */
  3331. Message?: ErrorMessage;
  3332. /**
  3333. * When the what-if forecast export was created.
  3334. */
  3335. CreationTime?: Timestamp;
  3336. /**
  3337. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  3338. */
  3339. LastModificationTime?: Timestamp;
  3340. }
  3341. export type WhatIfForecastExports = WhatIfForecastExportSummary[];
  3342. export interface WhatIfForecastSummary {
  3343. /**
  3344. * The Amazon Resource Name (ARN) of the what-if forecast.
  3345. */
  3346. WhatIfForecastArn?: LongArn;
  3347. /**
  3348. * The name of the what-if forecast.
  3349. */
  3350. WhatIfForecastName?: Name;
  3351. /**
  3352. * The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
  3353. */
  3354. WhatIfAnalysisArn?: Arn;
  3355. /**
  3356. * The status of the what-if forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if analysis must be ACTIVE before you can access the analysis.
  3357. */
  3358. Status?: Status;
  3359. /**
  3360. * If an error occurred, an informational message about the error.
  3361. */
  3362. Message?: ErrorMessage;
  3363. /**
  3364. * When the what-if forecast was created.
  3365. */
  3366. CreationTime?: Timestamp;
  3367. /**
  3368. * The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed.
  3369. */
  3370. LastModificationTime?: Timestamp;
  3371. }
  3372. export type WhatIfForecasts = WhatIfForecastSummary[];
  3373. export interface WindowSummary {
  3374. /**
  3375. * The timestamp that defines the start of the window.
  3376. */
  3377. TestWindowStart?: Timestamp;
  3378. /**
  3379. * The timestamp that defines the end of the window.
  3380. */
  3381. TestWindowEnd?: Timestamp;
  3382. /**
  3383. * The number of data points within the window.
  3384. */
  3385. ItemCount?: Integer;
  3386. /**
  3387. * The type of evaluation. SUMMARY - The average metrics across all windows. COMPUTED - The metrics for the specified window.
  3388. */
  3389. EvaluationType?: EvaluationType;
  3390. /**
  3391. * Provides metrics used to evaluate the performance of a predictor.
  3392. */
  3393. Metrics?: Metrics;
  3394. }
  3395. /**
  3396. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3397. */
  3398. export type apiVersion = "2018-06-26"|"latest"|string;
  3399. export interface ClientApiVersions {
  3400. /**
  3401. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  3402. */
  3403. apiVersion?: apiVersion;
  3404. }
  3405. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  3406. /**
  3407. * Contains interfaces for use with the ForecastService client.
  3408. */
  3409. export import Types = ForecastService;
  3410. }
  3411. export = ForecastService;