/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the forecast-2018-06-26.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.ForecastService.Model;
using Amazon.ForecastService.Model.Internal.MarshallTransformations;
using Amazon.ForecastService.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ForecastService
{
///
/// Implementation for accessing ForecastService
///
/// Provides APIs for creating and managing Amazon Forecast resources.
///
public partial class AmazonForecastServiceClient : AmazonServiceClient, IAmazonForecastService
{
private static IServiceMetadata serviceMetadata = new AmazonForecastServiceMetadata();
#region Constructors
///
/// Constructs AmazonForecastServiceClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonForecastServiceClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonForecastServiceConfig()) { }
///
/// Constructs AmazonForecastServiceClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonForecastServiceClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonForecastServiceConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonForecastServiceClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonForecastServiceClient Configuration Object
public AmazonForecastServiceClient(AmazonForecastServiceConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonForecastServiceClient with AWS Credentials
///
/// AWS Credentials
public AmazonForecastServiceClient(AWSCredentials credentials)
: this(credentials, new AmazonForecastServiceConfig())
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonForecastServiceClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonForecastServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Credentials and an
/// AmazonForecastServiceClient Configuration object.
///
/// AWS Credentials
/// The AmazonForecastServiceClient Configuration Object
public AmazonForecastServiceClient(AWSCredentials credentials, AmazonForecastServiceConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonForecastServiceConfig())
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonForecastServiceConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonForecastServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonForecastServiceClient Configuration Object
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonForecastServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonForecastServiceConfig())
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonForecastServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonForecastServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonForecastServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonForecastServiceClient Configuration Object
public AmazonForecastServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonForecastServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IForecastServicePaginatorFactory _paginators;
///
/// Paginators for the service
///
public IForecastServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new ForecastServicePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonForecastServiceEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateAutoPredictor
internal virtual CreateAutoPredictorResponse CreateAutoPredictor(CreateAutoPredictorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAutoPredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAutoPredictorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the CreateAutoPredictor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAutoPredictor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateAutoPredictor Operation
public virtual Task CreateAutoPredictorAsync(CreateAutoPredictorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAutoPredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAutoPredictorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDataset
internal virtual CreateDatasetResponse CreateDataset(CreateDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDataset service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
/// REST API Reference for CreateDataset Operation
public virtual Task CreateDatasetAsync(CreateDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDatasetGroup
internal virtual CreateDatasetGroupResponse CreateDatasetGroup(CreateDatasetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateDatasetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDatasetGroup service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateDatasetGroup Operation
public virtual Task CreateDatasetGroupAsync(CreateDatasetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDatasetImportJob
internal virtual CreateDatasetImportJobResponse CreateDatasetImportJob(CreateDatasetImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateDatasetImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDatasetImportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateDatasetImportJob Operation
public virtual Task CreateDatasetImportJobAsync(CreateDatasetImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExplainability
internal virtual CreateExplainabilityResponse CreateExplainability(CreateExplainabilityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExplainabilityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateExplainability service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateExplainability service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateExplainability Operation
public virtual Task CreateExplainabilityAsync(CreateExplainabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExplainabilityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExplainabilityExport
internal virtual CreateExplainabilityExportResponse CreateExplainabilityExport(CreateExplainabilityExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExplainabilityExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateExplainabilityExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateExplainabilityExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateExplainabilityExport Operation
public virtual Task CreateExplainabilityExportAsync(CreateExplainabilityExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExplainabilityExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateForecast
internal virtual CreateForecastResponse CreateForecast(CreateForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateForecast Operation
public virtual Task CreateForecastAsync(CreateForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateForecastExportJob
internal virtual CreateForecastExportJobResponse CreateForecastExportJob(CreateForecastExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateForecastExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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:
///
///
///
/// <ForecastExportJobName>_<ExportTimestamp>_<PartNumber>
///
///
///
/// where the <ExportTimestamp> 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.
///
///
///
/// Container for the necessary parameters to execute the CreateForecastExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateForecastExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateForecastExportJob Operation
public virtual Task CreateForecastExportJobAsync(CreateForecastExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateForecastExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateMonitor
internal virtual CreateMonitorResponse CreateMonitor(CreateMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateMonitor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateMonitor Operation
public virtual Task CreateMonitorAsync(CreateMonitorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMonitorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePredictor
internal virtual CreatePredictorResponse CreatePredictor(CreatePredictorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePredictorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreatePredictor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePredictor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreatePredictor Operation
public virtual Task CreatePredictorAsync(CreatePredictorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePredictorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePredictorBacktestExportJob
internal virtual CreatePredictorBacktestExportJobResponse CreatePredictorBacktestExportJob(CreatePredictorBacktestExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePredictorBacktestExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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:
///
///
///
/// <ExportJobName>_<ExportTimestamp>_<PartNumber>.csv
///
///
///
///
/// The <ExportTimestamp> 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.
///
///
///
/// Container for the necessary parameters to execute the CreatePredictorBacktestExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePredictorBacktestExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreatePredictorBacktestExportJob Operation
public virtual Task CreatePredictorBacktestExportJobAsync(CreatePredictorBacktestExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePredictorBacktestExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateWhatIfAnalysis
internal virtual CreateWhatIfAnalysisResponse CreateWhatIfAnalysis(CreateWhatIfAnalysisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfAnalysisResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateWhatIfAnalysis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWhatIfAnalysis service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateWhatIfAnalysis Operation
public virtual Task CreateWhatIfAnalysisAsync(CreateWhatIfAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfAnalysisResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateWhatIfForecast
internal virtual CreateWhatIfForecastResponse CreateWhatIfForecast(CreateWhatIfForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateWhatIfForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWhatIfForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateWhatIfForecast Operation
public virtual Task CreateWhatIfForecastAsync(CreateWhatIfForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateWhatIfForecastExport
internal virtual CreateWhatIfForecastExportResponse CreateWhatIfForecastExport(CreateWhatIfForecastExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfForecastExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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:
///
///
///
/// ≈<ForecastExportJobName>_<ExportTimestamp>_<PartNumber>
///
///
///
///
/// The <ExportTimestamp> 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.
///
///
///
/// Container for the necessary parameters to execute the CreateWhatIfForecastExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWhatIfForecastExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// There is already a resource with this name. Try again with a different name.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for CreateWhatIfForecastExport Operation
public virtual Task CreateWhatIfForecastExportAsync(CreateWhatIfForecastExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWhatIfForecastExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDataset
internal virtual DeleteDatasetResponse DeleteDataset(DeleteDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDataset service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteDataset Operation
public virtual Task DeleteDatasetAsync(DeleteDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDatasetGroup
internal virtual DeleteDatasetGroupResponse DeleteDatasetGroup(DeleteDatasetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteDatasetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDatasetGroup service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteDatasetGroup Operation
public virtual Task DeleteDatasetGroupAsync(DeleteDatasetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDatasetImportJob
internal virtual DeleteDatasetImportJobResponse DeleteDatasetImportJob(DeleteDatasetImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteDatasetImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDatasetImportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteDatasetImportJob Operation
public virtual Task DeleteDatasetImportJobAsync(DeleteDatasetImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteExplainability
internal virtual DeleteExplainabilityResponse DeleteExplainability(DeleteExplainabilityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExplainabilityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteExplainability service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteExplainability service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteExplainability Operation
public virtual Task DeleteExplainabilityAsync(DeleteExplainabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExplainabilityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteExplainabilityExport
internal virtual DeleteExplainabilityExportResponse DeleteExplainabilityExport(DeleteExplainabilityExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExplainabilityExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an Explainability export.
///
/// Container for the necessary parameters to execute the DeleteExplainabilityExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteExplainabilityExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteExplainabilityExport Operation
public virtual Task DeleteExplainabilityExportAsync(DeleteExplainabilityExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExplainabilityExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteForecast
internal virtual DeleteForecastResponse DeleteForecast(DeleteForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteForecast Operation
public virtual Task DeleteForecastAsync(DeleteForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteForecastExportJob
internal virtual DeleteForecastExportJobResponse DeleteForecastExportJob(DeleteForecastExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteForecastExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteForecastExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteForecastExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteForecastExportJob Operation
public virtual Task DeleteForecastExportJobAsync(DeleteForecastExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteForecastExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteMonitor
internal virtual DeleteMonitorResponse DeleteMonitor(DeleteMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a monitor resource. You can only delete a monitor resource with a status of
/// ACTIVE
, ACTIVE_STOPPED
, CREATE_FAILED
, or CREATE_STOPPED
.
///
/// Container for the necessary parameters to execute the DeleteMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteMonitor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteMonitor Operation
public virtual Task DeleteMonitorAsync(DeleteMonitorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMonitorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePredictor
internal virtual DeletePredictorResponse DeletePredictor(DeletePredictorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePredictorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeletePredictor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePredictor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeletePredictor Operation
public virtual Task DeletePredictorAsync(DeletePredictorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePredictorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePredictorBacktestExportJob
internal virtual DeletePredictorBacktestExportJobResponse DeletePredictorBacktestExportJob(DeletePredictorBacktestExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePredictorBacktestExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a predictor backtest export job.
///
/// Container for the necessary parameters to execute the DeletePredictorBacktestExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePredictorBacktestExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeletePredictorBacktestExportJob Operation
public virtual Task DeletePredictorBacktestExportJobAsync(DeletePredictorBacktestExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePredictorBacktestExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResourceTree
internal virtual DeleteResourceTreeResponse DeleteResourceTree(DeleteResourceTreeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourceTreeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourceTreeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteResourceTree service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourceTree service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteResourceTree Operation
public virtual Task DeleteResourceTreeAsync(DeleteResourceTreeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourceTreeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourceTreeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteWhatIfAnalysis
internal virtual DeleteWhatIfAnalysisResponse DeleteWhatIfAnalysis(DeleteWhatIfAnalysisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfAnalysisResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteWhatIfAnalysis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWhatIfAnalysis service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteWhatIfAnalysis Operation
public virtual Task DeleteWhatIfAnalysisAsync(DeleteWhatIfAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfAnalysisResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteWhatIfForecast
internal virtual DeleteWhatIfForecastResponse DeleteWhatIfForecast(DeleteWhatIfForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteWhatIfForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWhatIfForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteWhatIfForecast Operation
public virtual Task DeleteWhatIfForecastAsync(DeleteWhatIfForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteWhatIfForecastExport
internal virtual DeleteWhatIfForecastExportResponse DeleteWhatIfForecastExport(DeleteWhatIfForecastExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfForecastExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteWhatIfForecastExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWhatIfForecastExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DeleteWhatIfForecastExport Operation
public virtual Task DeleteWhatIfForecastExportAsync(DeleteWhatIfForecastExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWhatIfForecastExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAutoPredictor
internal virtual DescribeAutoPredictorResponse DescribeAutoPredictor(DescribeAutoPredictorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAutoPredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAutoPredictorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes a predictor created using the CreateAutoPredictor operation.
///
/// Container for the necessary parameters to execute the DescribeAutoPredictor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAutoPredictor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeAutoPredictor Operation
public virtual Task DescribeAutoPredictorAsync(DescribeAutoPredictorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAutoPredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAutoPredictorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDataset
internal virtual DescribeDatasetResponse DescribeDataset(DescribeDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDataset service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeDataset Operation
public virtual Task DescribeDatasetAsync(DescribeDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDatasetGroup
internal virtual DescribeDatasetGroupResponse DescribeDatasetGroup(DescribeDatasetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeDatasetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDatasetGroup service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeDatasetGroup Operation
public virtual Task DescribeDatasetGroupAsync(DescribeDatasetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDatasetImportJob
internal virtual DescribeDatasetImportJobResponse DescribeDatasetImportJob(DescribeDatasetImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DescribeDatasetImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDatasetImportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeDatasetImportJob Operation
public virtual Task DescribeDatasetImportJobAsync(DescribeDatasetImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDatasetImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDatasetImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeExplainability
internal virtual DescribeExplainabilityResponse DescribeExplainability(DescribeExplainabilityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExplainabilityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an Explainability resource created using the CreateExplainability
/// operation.
///
/// Container for the necessary parameters to execute the DescribeExplainability service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeExplainability service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeExplainability Operation
public virtual Task DescribeExplainabilityAsync(DescribeExplainabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExplainabilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExplainabilityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeExplainabilityExport
internal virtual DescribeExplainabilityExportResponse DescribeExplainabilityExport(DescribeExplainabilityExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExplainabilityExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an Explainability export created using the CreateExplainabilityExport
/// operation.
///
/// Container for the necessary parameters to execute the DescribeExplainabilityExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeExplainabilityExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeExplainabilityExport Operation
public virtual Task DescribeExplainabilityExportAsync(DescribeExplainabilityExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExplainabilityExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExplainabilityExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeForecast
internal virtual DescribeForecastResponse DescribeForecast(DescribeForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DescribeForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeForecast Operation
public virtual Task DescribeForecastAsync(DescribeForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeForecastExportJob
internal virtual DescribeForecastExportJobResponse DescribeForecastExportJob(DescribeForecastExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeForecastExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DescribeForecastExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeForecastExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeForecastExportJob Operation
public virtual Task DescribeForecastExportJobAsync(DescribeForecastExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeForecastExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeForecastExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeMonitor
internal virtual DescribeMonitorResponse DescribeMonitor(DescribeMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMonitor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeMonitor Operation
public virtual Task DescribeMonitorAsync(DescribeMonitorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMonitorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePredictor
internal virtual DescribePredictorResponse DescribePredictor(DescribePredictorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePredictorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DescribePredictor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePredictor service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribePredictor Operation
public virtual Task DescribePredictorAsync(DescribePredictorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePredictorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePredictorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePredictorBacktestExportJob
internal virtual DescribePredictorBacktestExportJobResponse DescribePredictorBacktestExportJob(DescribePredictorBacktestExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePredictorBacktestExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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)
///
///
///
/// Container for the necessary parameters to execute the DescribePredictorBacktestExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePredictorBacktestExportJob service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribePredictorBacktestExportJob Operation
public virtual Task DescribePredictorBacktestExportJobAsync(DescribePredictorBacktestExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePredictorBacktestExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePredictorBacktestExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeWhatIfAnalysis
internal virtual DescribeWhatIfAnalysisResponse DescribeWhatIfAnalysis(DescribeWhatIfAnalysisRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfAnalysisResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeWhatIfAnalysis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeWhatIfAnalysis service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeWhatIfAnalysis Operation
public virtual Task DescribeWhatIfAnalysisAsync(DescribeWhatIfAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfAnalysisRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfAnalysisResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeWhatIfForecast
internal virtual DescribeWhatIfForecastResponse DescribeWhatIfForecast(DescribeWhatIfForecastRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfForecastResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeWhatIfForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeWhatIfForecast service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeWhatIfForecast Operation
public virtual Task DescribeWhatIfForecastAsync(DescribeWhatIfForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfForecastRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfForecastResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeWhatIfForecastExport
internal virtual DescribeWhatIfForecastExportResponse DescribeWhatIfForecastExport(DescribeWhatIfForecastExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfForecastExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeWhatIfForecastExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeWhatIfForecastExport service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for DescribeWhatIfForecastExport Operation
public virtual Task DescribeWhatIfForecastExportAsync(DescribeWhatIfForecastExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWhatIfForecastExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWhatIfForecastExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetAccuracyMetrics
internal virtual GetAccuracyMetricsResponse GetAccuracyMetrics(GetAccuracyMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccuracyMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccuracyMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetAccuracyMetrics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAccuracyMetrics service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for GetAccuracyMetrics Operation
public virtual Task GetAccuracyMetricsAsync(GetAccuracyMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccuracyMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccuracyMetricsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDatasetGroups
internal virtual ListDatasetGroupsResponse ListDatasetGroups(ListDatasetGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListDatasetGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDatasetGroups service method, as returned by ForecastService.
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListDatasetGroups Operation
public virtual Task ListDatasetGroupsAsync(ListDatasetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDatasetImportJobs
internal virtual ListDatasetImportJobsResponse ListDatasetImportJobs(ListDatasetImportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetImportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListDatasetImportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDatasetImportJobs service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListDatasetImportJobs Operation
public virtual Task ListDatasetImportJobsAsync(ListDatasetImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetImportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDatasets
internal virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListDatasets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDatasets service method, as returned by ForecastService.
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListDatasets Operation
public virtual Task ListDatasetsAsync(ListDatasetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExplainabilities
internal virtual ListExplainabilitiesResponse ListExplainabilities(ListExplainabilitiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExplainabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExplainabilitiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListExplainabilities service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExplainabilities service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListExplainabilities Operation
public virtual Task ListExplainabilitiesAsync(ListExplainabilitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExplainabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExplainabilitiesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExplainabilityExports
internal virtual ListExplainabilityExportsResponse ListExplainabilityExports(ListExplainabilityExportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExplainabilityExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExplainabilityExportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListExplainabilityExports service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExplainabilityExports service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListExplainabilityExports Operation
public virtual Task ListExplainabilityExportsAsync(ListExplainabilityExportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExplainabilityExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExplainabilityExportsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListForecastExportJobs
internal virtual ListForecastExportJobsResponse ListForecastExportJobs(ListForecastExportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListForecastExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListForecastExportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListForecastExportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListForecastExportJobs service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListForecastExportJobs Operation
public virtual Task ListForecastExportJobsAsync(ListForecastExportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListForecastExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListForecastExportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListForecasts
internal virtual ListForecastsResponse ListForecasts(ListForecastsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListForecastsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListForecastsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListForecasts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListForecasts service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListForecasts Operation
public virtual Task ListForecastsAsync(ListForecastsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListForecastsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListForecastsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMonitorEvaluations
internal virtual ListMonitorEvaluationsResponse ListMonitorEvaluations(ListMonitorEvaluationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMonitorEvaluationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMonitorEvaluationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListMonitorEvaluations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMonitorEvaluations service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for ListMonitorEvaluations Operation
public virtual Task ListMonitorEvaluationsAsync(ListMonitorEvaluationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMonitorEvaluationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMonitorEvaluationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMonitors
internal virtual ListMonitorsResponse ListMonitors(ListMonitorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMonitorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMonitorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListMonitors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMonitors service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListMonitors Operation
public virtual Task ListMonitorsAsync(ListMonitorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMonitorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMonitorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPredictorBacktestExportJobs
internal virtual ListPredictorBacktestExportJobsResponse ListPredictorBacktestExportJobs(ListPredictorBacktestExportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPredictorBacktestExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPredictorBacktestExportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListPredictorBacktestExportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPredictorBacktestExportJobs service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListPredictorBacktestExportJobs Operation
public virtual Task ListPredictorBacktestExportJobsAsync(ListPredictorBacktestExportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPredictorBacktestExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPredictorBacktestExportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPredictors
internal virtual ListPredictorsResponse ListPredictors(ListPredictorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPredictorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPredictorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListPredictors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPredictors service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListPredictors Operation
public virtual Task ListPredictorsAsync(ListPredictorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPredictorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPredictorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags for an Amazon Forecast resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListWhatIfAnalyses
internal virtual ListWhatIfAnalysesResponse ListWhatIfAnalyses(ListWhatIfAnalysesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfAnalysesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfAnalysesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListWhatIfAnalyses service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWhatIfAnalyses service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListWhatIfAnalyses Operation
public virtual Task ListWhatIfAnalysesAsync(ListWhatIfAnalysesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfAnalysesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfAnalysesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListWhatIfForecastExports
internal virtual ListWhatIfForecastExportsResponse ListWhatIfForecastExports(ListWhatIfForecastExportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfForecastExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfForecastExportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListWhatIfForecastExports service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWhatIfForecastExports service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListWhatIfForecastExports Operation
public virtual Task ListWhatIfForecastExportsAsync(ListWhatIfForecastExportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfForecastExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfForecastExportsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListWhatIfForecasts
internal virtual ListWhatIfForecastsResponse ListWhatIfForecasts(ListWhatIfForecastsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfForecastsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfForecastsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListWhatIfForecasts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWhatIfForecasts service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
/// REST API Reference for ListWhatIfForecasts Operation
public virtual Task ListWhatIfForecastsAsync(ListWhatIfForecastsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWhatIfForecastsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWhatIfForecastsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResumeResource
internal virtual ResumeResourceResponse ResumeResource(ResumeResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Resumes a stopped monitor resource.
///
/// Container for the necessary parameters to execute the ResumeResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResumeResource service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for ResumeResource Operation
public virtual Task ResumeResourceAsync(ResumeResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopResource
internal virtual StopResourceResponse StopResource(StopResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the StopResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopResource service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for StopResource Operation
public virtual Task StopResourceAsync(StopResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The limit on the number of resources per account has been exceeded.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDatasetGroup
internal virtual UpdateDatasetGroupResponse UpdateDatasetGroup(UpdateDatasetGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDatasetGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the UpdateDatasetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDatasetGroup service method, as returned by ForecastService.
///
/// We can't process the request because it includes an invalid value or a value that
/// exceeds the valid range.
///
///
/// The specified resource is in use.
///
///
/// We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
/// again.
///
/// REST API Reference for UpdateDatasetGroup Operation
public virtual Task UpdateDatasetGroupAsync(UpdateDatasetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDatasetGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDatasetGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}