forecastservice function

Amazon Forecast Service

Amazon Forecast Service

Provides APIs for creating and managing Amazon Forecast resources.

forecastservice( config = list(), credentials = list(), endpoint = NULL, region = NULL )

Arguments

  • config: Optional configuration of credentials, endpoint, and/or region.

    • credentials :

      • creds :

        • access_key_id : AWS access key ID
        • secret_access_key : AWS secret access key
        • session_token : AWS temporary session token
      • profile : The name of a profile to use. If not given, then the default profile is used.

      • anonymous : Set anonymous credentials.

    • endpoint : The complete URL to use for the constructed client.

    • region : The AWS Region used in instantiating the client.

    • close_connection : Immediately close all HTTP connections.

    • timeout : The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

    • s3_force_path_style : Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

    • sts_regional_endpoint : Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

  • credentials: Optional credentials shorthand for the config parameter

    • creds :

      • access_key_id : AWS access key ID
      • secret_access_key : AWS secret access key
      • session_token : AWS temporary session token
    • profile : The name of a profile to use. If not given, then the default profile is used.

    • anonymous : Set anonymous credentials.

  • endpoint: Optional shorthand for complete URL to use for the constructed client.

  • region: Optional shorthand for AWS Region used in instantiating the client.

Returns

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Service syntax

svc <- forecastservice(
  config = list(
    credentials = list(
 creds = list(
   access_key_id = "string",
   secret_access_key = "string",
   session_token = "string"
 ),
 profile = "string",
 anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
 access_key_id = "string",
 secret_access_key = "string",
 session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

create_auto_predictorCreates an Amazon Forecast predictor
create_datasetCreates an Amazon Forecast dataset
create_dataset_groupCreates a dataset group, which holds a collection of related datasets
create_dataset_import_jobImports your training data to an Amazon Forecast dataset
create_explainabilityExplainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor)
create_explainability_exportExports an Explainability resource created by the CreateExplainability operation
create_forecastCreates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor
create_forecast_export_jobExports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket
create_monitorCreates a predictor monitor resource for an existing auto predictor
create_predictorThis operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast
create_predictor_backtest_export_jobExports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations
create_what_if_analysisWhat-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
create_what_if_forecastA what-if forecast is a forecast that is created from a modified version of the baseline forecast
create_what_if_forecast_exportExports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket
delete_datasetDeletes an Amazon Forecast dataset that was created using the CreateDataset operation
delete_dataset_groupDeletes a dataset group created using the CreateDatasetGroup operation
delete_dataset_import_jobDeletes a dataset import job created using the CreateDatasetImportJob operation
delete_explainabilityDeletes an Explainability resource
delete_explainability_exportDeletes an Explainability export
delete_forecastDeletes a forecast created using the CreateForecast operation
delete_forecast_export_jobDeletes a forecast export job created using the CreateForecastExportJob operation
delete_monitorDeletes a monitor resource
delete_predictorDeletes a predictor created using the DescribePredictor or CreatePredictor operations
delete_predictor_backtest_export_jobDeletes a predictor backtest export job
delete_resource_treeDeletes an entire resource tree
delete_what_if_analysisDeletes a what-if analysis created using the CreateWhatIfAnalysis operation
delete_what_if_forecastDeletes a what-if forecast created using the CreateWhatIfForecast operation
delete_what_if_forecast_exportDeletes a what-if forecast export created using the CreateWhatIfForecastExport operation
describe_auto_predictorDescribes a predictor created using the CreateAutoPredictor operation
describe_datasetDescribes an Amazon Forecast dataset created using the CreateDataset operation
describe_dataset_groupDescribes a dataset group created using the CreateDatasetGroup operation
describe_dataset_import_jobDescribes a dataset import job created using the CreateDatasetImportJob operation
describe_explainabilityDescribes an Explainability resource created using the CreateExplainability operation
describe_explainability_exportDescribes an Explainability export created using the CreateExplainabilityExport operation
describe_forecastDescribes a forecast created using the CreateForecast operation
describe_forecast_export_jobDescribes a forecast export job created using the CreateForecastExportJob operation
describe_monitorDescribes a monitor resource
describe_predictorThis operation is only valid for legacy predictors created with CreatePredictor
describe_predictor_backtest_export_jobDescribes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation
describe_what_if_analysisDescribes the what-if analysis created using the CreateWhatIfAnalysis operation
describe_what_if_forecastDescribes the what-if forecast created using the CreateWhatIfForecast operation
describe_what_if_forecast_exportDescribes the what-if forecast export created using the CreateWhatIfForecastExport operation
get_accuracy_metricsProvides metrics on the accuracy of the models that were trained by the CreatePredictor operation
list_dataset_groupsReturns a list of dataset groups created using the CreateDatasetGroup operation
list_dataset_import_jobsReturns a list of dataset import jobs created using the CreateDatasetImportJob operation
list_datasetsReturns a list of datasets created using the CreateDataset operation
list_explainabilitiesReturns a list of Explainability resources created using the CreateExplainability operation
list_explainability_exportsReturns a list of Explainability exports created using the CreateExplainabilityExport operation
list_forecast_export_jobsReturns a list of forecast export jobs created using the CreateForecastExportJob operation
list_forecastsReturns a list of forecasts created using the CreateForecast operation
list_monitor_evaluationsReturns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time
list_monitorsReturns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation
list_predictor_backtest_export_jobsReturns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation
list_predictorsReturns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations
list_tags_for_resourceLists the tags for an Amazon Forecast resource
list_what_if_analysesReturns a list of what-if analyses created using the CreateWhatIfAnalysis operation
list_what_if_forecast_exportsReturns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation
list_what_if_forecastsReturns a list of what-if forecasts created using the CreateWhatIfForecast operation
resume_resourceResumes a stopped monitor resource
stop_resourceStops a resource
tag_resourceAssociates the specified tags to a resource with the specified resourceArn
untag_resourceDeletes the specified tags from a resource
update_dataset_groupReplaces the datasets in a dataset group with the specified datasets

Examples

## Not run: svc <- forecastservice() svc$create_auto_predictor( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17