All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.forecast.ForecastClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Forecast module holds the client classes that are used for communicating with Forecast.

There is a newer version: 2.29.15
Show newest version
/*
 * 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.
 */

package software.amazon.awssdk.services.forecast;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.forecast.model.CreateAutoPredictorRequest;
import software.amazon.awssdk.services.forecast.model.CreateAutoPredictorResponse;
import software.amazon.awssdk.services.forecast.model.CreateDatasetGroupRequest;
import software.amazon.awssdk.services.forecast.model.CreateDatasetGroupResponse;
import software.amazon.awssdk.services.forecast.model.CreateDatasetImportJobRequest;
import software.amazon.awssdk.services.forecast.model.CreateDatasetImportJobResponse;
import software.amazon.awssdk.services.forecast.model.CreateDatasetRequest;
import software.amazon.awssdk.services.forecast.model.CreateDatasetResponse;
import software.amazon.awssdk.services.forecast.model.CreateExplainabilityExportRequest;
import software.amazon.awssdk.services.forecast.model.CreateExplainabilityExportResponse;
import software.amazon.awssdk.services.forecast.model.CreateExplainabilityRequest;
import software.amazon.awssdk.services.forecast.model.CreateExplainabilityResponse;
import software.amazon.awssdk.services.forecast.model.CreateForecastExportJobRequest;
import software.amazon.awssdk.services.forecast.model.CreateForecastExportJobResponse;
import software.amazon.awssdk.services.forecast.model.CreateForecastRequest;
import software.amazon.awssdk.services.forecast.model.CreateForecastResponse;
import software.amazon.awssdk.services.forecast.model.CreateMonitorRequest;
import software.amazon.awssdk.services.forecast.model.CreateMonitorResponse;
import software.amazon.awssdk.services.forecast.model.CreatePredictorBacktestExportJobRequest;
import software.amazon.awssdk.services.forecast.model.CreatePredictorBacktestExportJobResponse;
import software.amazon.awssdk.services.forecast.model.CreatePredictorRequest;
import software.amazon.awssdk.services.forecast.model.CreatePredictorResponse;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfAnalysisRequest;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfAnalysisResponse;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastExportRequest;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastExportResponse;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastRequest;
import software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastResponse;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetGroupRequest;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetGroupResponse;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetImportJobRequest;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetImportJobResponse;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetRequest;
import software.amazon.awssdk.services.forecast.model.DeleteDatasetResponse;
import software.amazon.awssdk.services.forecast.model.DeleteExplainabilityExportRequest;
import software.amazon.awssdk.services.forecast.model.DeleteExplainabilityExportResponse;
import software.amazon.awssdk.services.forecast.model.DeleteExplainabilityRequest;
import software.amazon.awssdk.services.forecast.model.DeleteExplainabilityResponse;
import software.amazon.awssdk.services.forecast.model.DeleteForecastExportJobRequest;
import software.amazon.awssdk.services.forecast.model.DeleteForecastExportJobResponse;
import software.amazon.awssdk.services.forecast.model.DeleteForecastRequest;
import software.amazon.awssdk.services.forecast.model.DeleteForecastResponse;
import software.amazon.awssdk.services.forecast.model.DeleteMonitorRequest;
import software.amazon.awssdk.services.forecast.model.DeleteMonitorResponse;
import software.amazon.awssdk.services.forecast.model.DeletePredictorBacktestExportJobRequest;
import software.amazon.awssdk.services.forecast.model.DeletePredictorBacktestExportJobResponse;
import software.amazon.awssdk.services.forecast.model.DeletePredictorRequest;
import software.amazon.awssdk.services.forecast.model.DeletePredictorResponse;
import software.amazon.awssdk.services.forecast.model.DeleteResourceTreeRequest;
import software.amazon.awssdk.services.forecast.model.DeleteResourceTreeResponse;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfAnalysisRequest;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfAnalysisResponse;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastExportRequest;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastExportResponse;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastRequest;
import software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastResponse;
import software.amazon.awssdk.services.forecast.model.DescribeAutoPredictorRequest;
import software.amazon.awssdk.services.forecast.model.DescribeAutoPredictorResponse;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetGroupRequest;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetGroupResponse;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetImportJobRequest;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetImportJobResponse;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetRequest;
import software.amazon.awssdk.services.forecast.model.DescribeDatasetResponse;
import software.amazon.awssdk.services.forecast.model.DescribeExplainabilityExportRequest;
import software.amazon.awssdk.services.forecast.model.DescribeExplainabilityExportResponse;
import software.amazon.awssdk.services.forecast.model.DescribeExplainabilityRequest;
import software.amazon.awssdk.services.forecast.model.DescribeExplainabilityResponse;
import software.amazon.awssdk.services.forecast.model.DescribeForecastExportJobRequest;
import software.amazon.awssdk.services.forecast.model.DescribeForecastExportJobResponse;
import software.amazon.awssdk.services.forecast.model.DescribeForecastRequest;
import software.amazon.awssdk.services.forecast.model.DescribeForecastResponse;
import software.amazon.awssdk.services.forecast.model.DescribeMonitorRequest;
import software.amazon.awssdk.services.forecast.model.DescribeMonitorResponse;
import software.amazon.awssdk.services.forecast.model.DescribePredictorBacktestExportJobRequest;
import software.amazon.awssdk.services.forecast.model.DescribePredictorBacktestExportJobResponse;
import software.amazon.awssdk.services.forecast.model.DescribePredictorRequest;
import software.amazon.awssdk.services.forecast.model.DescribePredictorResponse;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfAnalysisRequest;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfAnalysisResponse;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastExportRequest;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastExportResponse;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastRequest;
import software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastResponse;
import software.amazon.awssdk.services.forecast.model.ForecastException;
import software.amazon.awssdk.services.forecast.model.GetAccuracyMetricsRequest;
import software.amazon.awssdk.services.forecast.model.GetAccuracyMetricsResponse;
import software.amazon.awssdk.services.forecast.model.InvalidInputException;
import software.amazon.awssdk.services.forecast.model.InvalidNextTokenException;
import software.amazon.awssdk.services.forecast.model.LimitExceededException;
import software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest;
import software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse;
import software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest;
import software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse;
import software.amazon.awssdk.services.forecast.model.ListDatasetsRequest;
import software.amazon.awssdk.services.forecast.model.ListDatasetsResponse;
import software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest;
import software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse;
import software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest;
import software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse;
import software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest;
import software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse;
import software.amazon.awssdk.services.forecast.model.ListForecastsRequest;
import software.amazon.awssdk.services.forecast.model.ListForecastsResponse;
import software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest;
import software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse;
import software.amazon.awssdk.services.forecast.model.ListMonitorsRequest;
import software.amazon.awssdk.services.forecast.model.ListMonitorsResponse;
import software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest;
import software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse;
import software.amazon.awssdk.services.forecast.model.ListPredictorsRequest;
import software.amazon.awssdk.services.forecast.model.ListPredictorsResponse;
import software.amazon.awssdk.services.forecast.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.forecast.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest;
import software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse;
import software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest;
import software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse;
import software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest;
import software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse;
import software.amazon.awssdk.services.forecast.model.ResourceAlreadyExistsException;
import software.amazon.awssdk.services.forecast.model.ResourceInUseException;
import software.amazon.awssdk.services.forecast.model.ResourceNotFoundException;
import software.amazon.awssdk.services.forecast.model.ResumeResourceRequest;
import software.amazon.awssdk.services.forecast.model.ResumeResourceResponse;
import software.amazon.awssdk.services.forecast.model.StopResourceRequest;
import software.amazon.awssdk.services.forecast.model.StopResourceResponse;
import software.amazon.awssdk.services.forecast.model.TagResourceRequest;
import software.amazon.awssdk.services.forecast.model.TagResourceResponse;
import software.amazon.awssdk.services.forecast.model.UntagResourceRequest;
import software.amazon.awssdk.services.forecast.model.UntagResourceResponse;
import software.amazon.awssdk.services.forecast.model.UpdateDatasetGroupRequest;
import software.amazon.awssdk.services.forecast.model.UpdateDatasetGroupResponse;
import software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable;
import software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable;
import software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable;
import software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable;

/**
 * Service client for accessing Amazon Forecast Service. This can be created using the static {@link #builder()} method.
 *
 * 

* Provides APIs for creating and managing Amazon Forecast resources. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ForecastClient extends AwsClient { String SERVICE_NAME = "forecast"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "forecast"; /** *

* 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. *

* * @param createAutoPredictorRequest * @return Result of the CreateAutoPredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateAutoPredictor * @see AWS * API Documentation */ default CreateAutoPredictorResponse createAutoPredictor(CreateAutoPredictorRequest createAutoPredictorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateAutoPredictorRequest.Builder} avoiding the * need to create one manually via {@link CreateAutoPredictorRequest#builder()} *

* * @param createAutoPredictorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateAutoPredictorRequest.Builder} to create a * request. * @return Result of the CreateAutoPredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateAutoPredictor * @see AWS * API Documentation */ default CreateAutoPredictorResponse createAutoPredictor( Consumer createAutoPredictorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createAutoPredictor(CreateAutoPredictorRequest.builder().applyMutation(createAutoPredictorRequest).build()); } /** *

* 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. *

*
* * @param createDatasetRequest * @return Result of the CreateDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDataset * @see AWS API * Documentation */ default CreateDatasetResponse createDataset(CreateDatasetRequest createDatasetRequest) throws InvalidInputException, ResourceAlreadyExistsException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreateDatasetRequest.Builder} avoiding the need to * create one manually via {@link CreateDatasetRequest#builder()} *

* * @param createDatasetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateDatasetRequest.Builder} to create a request. * @return Result of the CreateDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDataset * @see AWS API * Documentation */ default CreateDatasetResponse createDataset(Consumer createDatasetRequest) throws InvalidInputException, ResourceAlreadyExistsException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createDataset(CreateDatasetRequest.builder().applyMutation(createDatasetRequest).build()); } /** *

* 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. *

*
* * @param createDatasetGroupRequest * @return Result of the CreateDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDatasetGroup * @see AWS * API Documentation */ default CreateDatasetGroupResponse createDatasetGroup(CreateDatasetGroupRequest createDatasetGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreateDatasetGroupRequest.Builder} avoiding the * need to create one manually via {@link CreateDatasetGroupRequest#builder()} *

* * @param createDatasetGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateDatasetGroupRequest.Builder} to create a * request. * @return Result of the CreateDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDatasetGroup * @see AWS * API Documentation */ default CreateDatasetGroupResponse createDatasetGroup(Consumer createDatasetGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createDatasetGroup(CreateDatasetGroupRequest.builder().applyMutation(createDatasetGroupRequest).build()); } /** *

* 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. *

* * @param createDatasetImportJobRequest * @return Result of the CreateDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDatasetImportJob * @see AWS API Documentation */ default CreateDatasetImportJobResponse createDatasetImportJob(CreateDatasetImportJobRequest createDatasetImportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateDatasetImportJobRequest.Builder} avoiding the * need to create one manually via {@link CreateDatasetImportJobRequest#builder()} *

* * @param createDatasetImportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateDatasetImportJobRequest.Builder} to create a * request. * @return Result of the CreateDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateDatasetImportJob * @see AWS API Documentation */ default CreateDatasetImportJobResponse createDatasetImportJob( Consumer createDatasetImportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createDatasetImportJob(CreateDatasetImportJobRequest.builder().applyMutation(createDatasetImportJobRequest) .build()); } /** * *

* 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. *

    *
  • *
* * @param createExplainabilityRequest * @return Result of the CreateExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateExplainability * @see AWS * API Documentation */ default CreateExplainabilityResponse createExplainability(CreateExplainabilityRequest createExplainabilityRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** * *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link CreateExplainabilityRequest.Builder} avoiding the * need to create one manually via {@link CreateExplainabilityRequest#builder()} *

* * @param createExplainabilityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateExplainabilityRequest.Builder} to create a * request. * @return Result of the CreateExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateExplainability * @see AWS * API Documentation */ default CreateExplainabilityResponse createExplainability( Consumer createExplainabilityRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createExplainability(CreateExplainabilityRequest.builder().applyMutation(createExplainabilityRequest).build()); } /** *

* 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. *

*
* * @param createExplainabilityExportRequest * @return Result of the CreateExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateExplainabilityExport * @see AWS API Documentation */ default CreateExplainabilityExportResponse createExplainabilityExport( CreateExplainabilityExportRequest createExplainabilityExportRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreateExplainabilityExportRequest.Builder} avoiding * the need to create one manually via {@link CreateExplainabilityExportRequest#builder()} *

* * @param createExplainabilityExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateExplainabilityExportRequest.Builder} to create * a request. * @return Result of the CreateExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateExplainabilityExport * @see AWS API Documentation */ default CreateExplainabilityExportResponse createExplainabilityExport( Consumer createExplainabilityExportRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createExplainabilityExport(CreateExplainabilityExportRequest.builder() .applyMutation(createExplainabilityExportRequest).build()); } /** *

* 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. *

* * @param createForecastRequest * @return Result of the CreateForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateForecast * @see AWS API * Documentation */ default CreateForecastResponse createForecast(CreateForecastRequest createForecastRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateForecastRequest.Builder} avoiding the need to * create one manually via {@link CreateForecastRequest#builder()} *

* * @param createForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateForecastRequest.Builder} to create a request. * @return Result of the CreateForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateForecast * @see AWS API * Documentation */ default CreateForecastResponse createForecast(Consumer createForecastRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createForecast(CreateForecastRequest.builder().applyMutation(createForecastRequest).build()); } /** *

* 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. *

*
* * @param createForecastExportJobRequest * @return Result of the CreateForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateForecastExportJob * @see AWS API Documentation */ default CreateForecastExportJobResponse createForecastExportJob(CreateForecastExportJobRequest createForecastExportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreateForecastExportJobRequest.Builder} avoiding * the need to create one manually via {@link CreateForecastExportJobRequest#builder()} *

* * @param createForecastExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateForecastExportJobRequest.Builder} to create a * request. * @return Result of the CreateForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateForecastExportJob * @see AWS API Documentation */ default CreateForecastExportJobResponse createForecastExportJob( Consumer createForecastExportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createForecastExportJob(CreateForecastExportJobRequest.builder().applyMutation(createForecastExportJobRequest) .build()); } /** *

* 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. *

* * @param createMonitorRequest * @return Result of the CreateMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateMonitor * @see AWS API * Documentation */ default CreateMonitorResponse createMonitor(CreateMonitorRequest createMonitorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateMonitorRequest.Builder} avoiding the need to * create one manually via {@link CreateMonitorRequest#builder()} *

* * @param createMonitorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateMonitorRequest.Builder} to create a request. * @return Result of the CreateMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateMonitor * @see AWS API * Documentation */ default CreateMonitorResponse createMonitor(Consumer createMonitorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createMonitor(CreateMonitorRequest.builder().applyMutation(createMonitorRequest).build()); } /** * *

* 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. *

*
* * @param createPredictorRequest * @return Result of the CreatePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreatePredictor * @see AWS API * Documentation */ default CreatePredictorResponse createPredictor(CreatePredictorRequest createPredictorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** * *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreatePredictorRequest.Builder} avoiding the need * to create one manually via {@link CreatePredictorRequest#builder()} *

* * @param createPredictorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreatePredictorRequest.Builder} to create a request. * @return Result of the CreatePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreatePredictor * @see AWS API * Documentation */ default CreatePredictorResponse createPredictor(Consumer createPredictorRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createPredictor(CreatePredictorRequest.builder().applyMutation(createPredictorRequest).build()); } /** *

* 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. *

*
* * @param createPredictorBacktestExportJobRequest * @return Result of the CreatePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreatePredictorBacktestExportJob * @see AWS API Documentation */ default CreatePredictorBacktestExportJobResponse createPredictorBacktestExportJob( CreatePredictorBacktestExportJobRequest createPredictorBacktestExportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreatePredictorBacktestExportJobRequest.Builder} * avoiding the need to create one manually via {@link CreatePredictorBacktestExportJobRequest#builder()} *

* * @param createPredictorBacktestExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreatePredictorBacktestExportJobRequest.Builder} to * create a request. * @return Result of the CreatePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreatePredictorBacktestExportJob * @see AWS API Documentation */ default CreatePredictorBacktestExportJobResponse createPredictorBacktestExportJob( Consumer createPredictorBacktestExportJobRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createPredictorBacktestExportJob(CreatePredictorBacktestExportJobRequest.builder() .applyMutation(createPredictorBacktestExportJobRequest).build()); } /** *

* 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. *

* * @param createWhatIfAnalysisRequest * @return Result of the CreateWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfAnalysis * @see AWS * API Documentation */ default CreateWhatIfAnalysisResponse createWhatIfAnalysis(CreateWhatIfAnalysisRequest createWhatIfAnalysisRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateWhatIfAnalysisRequest.Builder} avoiding the * need to create one manually via {@link CreateWhatIfAnalysisRequest#builder()} *

* * @param createWhatIfAnalysisRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateWhatIfAnalysisRequest.Builder} to create a * request. * @return Result of the CreateWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfAnalysis * @see AWS * API Documentation */ default CreateWhatIfAnalysisResponse createWhatIfAnalysis( Consumer createWhatIfAnalysisRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createWhatIfAnalysis(CreateWhatIfAnalysisRequest.builder().applyMutation(createWhatIfAnalysisRequest).build()); } /** *

* 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. *

* * @param createWhatIfForecastRequest * @return Result of the CreateWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfForecast * @see AWS * API Documentation */ default CreateWhatIfForecastResponse createWhatIfForecast(CreateWhatIfForecastRequest createWhatIfForecastRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateWhatIfForecastRequest.Builder} avoiding the * need to create one manually via {@link CreateWhatIfForecastRequest#builder()} *

* * @param createWhatIfForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastRequest.Builder} to create a * request. * @return Result of the CreateWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfForecast * @see AWS * API Documentation */ default CreateWhatIfForecastResponse createWhatIfForecast( Consumer createWhatIfForecastRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createWhatIfForecast(CreateWhatIfForecastRequest.builder().applyMutation(createWhatIfForecastRequest).build()); } /** *

* 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. *

*
* * @param createWhatIfForecastExportRequest * @return Result of the CreateWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfForecastExport * @see AWS API Documentation */ default CreateWhatIfForecastExportResponse createWhatIfForecastExport( CreateWhatIfForecastExportRequest createWhatIfForecastExportRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link CreateWhatIfForecastExportRequest.Builder} avoiding * the need to create one manually via {@link CreateWhatIfForecastExportRequest#builder()} *

* * @param createWhatIfForecastExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.CreateWhatIfForecastExportRequest.Builder} to create * a request. * @return Result of the CreateWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceAlreadyExistsException * There is already a resource with this name. Try again with a different name. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.CreateWhatIfForecastExport * @see AWS API Documentation */ default CreateWhatIfForecastExportResponse createWhatIfForecastExport( Consumer createWhatIfForecastExportRequest) throws InvalidInputException, ResourceAlreadyExistsException, ResourceNotFoundException, ResourceInUseException, LimitExceededException, AwsServiceException, SdkClientException, ForecastException { return createWhatIfForecastExport(CreateWhatIfForecastExportRequest.builder() .applyMutation(createWhatIfForecastExportRequest).build()); } /** *

* 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. *

*
* * @param deleteDatasetRequest * @return Result of the DeleteDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDataset * @see AWS API * Documentation */ default DeleteDatasetResponse deleteDataset(DeleteDatasetRequest deleteDatasetRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link DeleteDatasetRequest.Builder} avoiding the need to * create one manually via {@link DeleteDatasetRequest#builder()} *

* * @param deleteDatasetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteDatasetRequest.Builder} to create a request. * @return Result of the DeleteDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDataset * @see AWS API * Documentation */ default DeleteDatasetResponse deleteDataset(Consumer deleteDatasetRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteDataset(DeleteDatasetRequest.builder().applyMutation(deleteDatasetRequest).build()); } /** *

* 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. *

* * @param deleteDatasetGroupRequest * @return Result of the DeleteDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDatasetGroup * @see AWS * API Documentation */ default DeleteDatasetGroupResponse deleteDatasetGroup(DeleteDatasetGroupRequest deleteDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDatasetGroupRequest.Builder} avoiding the * need to create one manually via {@link DeleteDatasetGroupRequest#builder()} *

* * @param deleteDatasetGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteDatasetGroupRequest.Builder} to create a * request. * @return Result of the DeleteDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDatasetGroup * @see AWS * API Documentation */ default DeleteDatasetGroupResponse deleteDatasetGroup(Consumer deleteDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteDatasetGroup(DeleteDatasetGroupRequest.builder().applyMutation(deleteDatasetGroupRequest).build()); } /** *

* 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. *

* * @param deleteDatasetImportJobRequest * @return Result of the DeleteDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDatasetImportJob * @see AWS API Documentation */ default DeleteDatasetImportJobResponse deleteDatasetImportJob(DeleteDatasetImportJobRequest deleteDatasetImportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDatasetImportJobRequest.Builder} avoiding the * need to create one manually via {@link DeleteDatasetImportJobRequest#builder()} *

* * @param deleteDatasetImportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteDatasetImportJobRequest.Builder} to create a * request. * @return Result of the DeleteDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteDatasetImportJob * @see AWS API Documentation */ default DeleteDatasetImportJobResponse deleteDatasetImportJob( Consumer deleteDatasetImportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteDatasetImportJob(DeleteDatasetImportJobRequest.builder().applyMutation(deleteDatasetImportJobRequest) .build()); } /** *

* 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. *

* * @param deleteExplainabilityRequest * @return Result of the DeleteExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteExplainability * @see AWS * API Documentation */ default DeleteExplainabilityResponse deleteExplainability(DeleteExplainabilityRequest deleteExplainabilityRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteExplainabilityRequest.Builder} avoiding the * need to create one manually via {@link DeleteExplainabilityRequest#builder()} *

* * @param deleteExplainabilityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteExplainabilityRequest.Builder} to create a * request. * @return Result of the DeleteExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteExplainability * @see AWS * API Documentation */ default DeleteExplainabilityResponse deleteExplainability( Consumer deleteExplainabilityRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteExplainability(DeleteExplainabilityRequest.builder().applyMutation(deleteExplainabilityRequest).build()); } /** *

* Deletes an Explainability export. *

* * @param deleteExplainabilityExportRequest * @return Result of the DeleteExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteExplainabilityExport * @see AWS API Documentation */ default DeleteExplainabilityExportResponse deleteExplainabilityExport( DeleteExplainabilityExportRequest deleteExplainabilityExportRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Deletes an Explainability export. *

*
*

* This is a convenience which creates an instance of the {@link DeleteExplainabilityExportRequest.Builder} avoiding * the need to create one manually via {@link DeleteExplainabilityExportRequest#builder()} *

* * @param deleteExplainabilityExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteExplainabilityExportRequest.Builder} to create * a request. * @return Result of the DeleteExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteExplainabilityExport * @see AWS API Documentation */ default DeleteExplainabilityExportResponse deleteExplainabilityExport( Consumer deleteExplainabilityExportRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteExplainabilityExport(DeleteExplainabilityExportRequest.builder() .applyMutation(deleteExplainabilityExportRequest).build()); } /** *

* 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. *

* * @param deleteForecastRequest * @return Result of the DeleteForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteForecast * @see AWS API * Documentation */ default DeleteForecastResponse deleteForecast(DeleteForecastRequest deleteForecastRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteForecastRequest.Builder} avoiding the need to * create one manually via {@link DeleteForecastRequest#builder()} *

* * @param deleteForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteForecastRequest.Builder} to create a request. * @return Result of the DeleteForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteForecast * @see AWS API * Documentation */ default DeleteForecastResponse deleteForecast(Consumer deleteForecastRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteForecast(DeleteForecastRequest.builder().applyMutation(deleteForecastRequest).build()); } /** *

* 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. *

* * @param deleteForecastExportJobRequest * @return Result of the DeleteForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteForecastExportJob * @see AWS API Documentation */ default DeleteForecastExportJobResponse deleteForecastExportJob(DeleteForecastExportJobRequest deleteForecastExportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteForecastExportJobRequest.Builder} avoiding * the need to create one manually via {@link DeleteForecastExportJobRequest#builder()} *

* * @param deleteForecastExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteForecastExportJobRequest.Builder} to create a * request. * @return Result of the DeleteForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteForecastExportJob * @see AWS API Documentation */ default DeleteForecastExportJobResponse deleteForecastExportJob( Consumer deleteForecastExportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteForecastExportJob(DeleteForecastExportJobRequest.builder().applyMutation(deleteForecastExportJobRequest) .build()); } /** *

* Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE, * ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED. *

* * @param deleteMonitorRequest * @return Result of the DeleteMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteMonitor * @see AWS API * Documentation */ default DeleteMonitorResponse deleteMonitor(DeleteMonitorRequest deleteMonitorRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE, * ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED. *

*
*

* This is a convenience which creates an instance of the {@link DeleteMonitorRequest.Builder} avoiding the need to * create one manually via {@link DeleteMonitorRequest#builder()} *

* * @param deleteMonitorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteMonitorRequest.Builder} to create a request. * @return Result of the DeleteMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteMonitor * @see AWS API * Documentation */ default DeleteMonitorResponse deleteMonitor(Consumer deleteMonitorRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteMonitor(DeleteMonitorRequest.builder().applyMutation(deleteMonitorRequest).build()); } /** *

* 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. *

* * @param deletePredictorRequest * @return Result of the DeletePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeletePredictor * @see AWS API * Documentation */ default DeletePredictorResponse deletePredictor(DeletePredictorRequest deletePredictorRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeletePredictorRequest.Builder} avoiding the need * to create one manually via {@link DeletePredictorRequest#builder()} *

* * @param deletePredictorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeletePredictorRequest.Builder} to create a request. * @return Result of the DeletePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeletePredictor * @see AWS API * Documentation */ default DeletePredictorResponse deletePredictor(Consumer deletePredictorRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deletePredictor(DeletePredictorRequest.builder().applyMutation(deletePredictorRequest).build()); } /** *

* Deletes a predictor backtest export job. *

* * @param deletePredictorBacktestExportJobRequest * @return Result of the DeletePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeletePredictorBacktestExportJob * @see AWS API Documentation */ default DeletePredictorBacktestExportJobResponse deletePredictorBacktestExportJob( DeletePredictorBacktestExportJobRequest deletePredictorBacktestExportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Deletes a predictor backtest export job. *

*
*

* This is a convenience which creates an instance of the {@link DeletePredictorBacktestExportJobRequest.Builder} * avoiding the need to create one manually via {@link DeletePredictorBacktestExportJobRequest#builder()} *

* * @param deletePredictorBacktestExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeletePredictorBacktestExportJobRequest.Builder} to * create a request. * @return Result of the DeletePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeletePredictorBacktestExportJob * @see AWS API Documentation */ default DeletePredictorBacktestExportJobResponse deletePredictorBacktestExportJob( Consumer deletePredictorBacktestExportJobRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deletePredictorBacktestExportJob(DeletePredictorBacktestExportJobRequest.builder() .applyMutation(deletePredictorBacktestExportJobRequest).build()); } /** *

* 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. *

*
* * @param deleteResourceTreeRequest * @return Result of the DeleteResourceTree operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteResourceTree * @see AWS * API Documentation */ default DeleteResourceTreeResponse deleteResourceTree(DeleteResourceTreeRequest deleteResourceTreeRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link DeleteResourceTreeRequest.Builder} avoiding the * need to create one manually via {@link DeleteResourceTreeRequest#builder()} *

* * @param deleteResourceTreeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteResourceTreeRequest.Builder} to create a * request. * @return Result of the DeleteResourceTree operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteResourceTree * @see AWS * API Documentation */ default DeleteResourceTreeResponse deleteResourceTree(Consumer deleteResourceTreeRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteResourceTree(DeleteResourceTreeRequest.builder().applyMutation(deleteResourceTreeRequest).build()); } /** *

* 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. *

* * @param deleteWhatIfAnalysisRequest * @return Result of the DeleteWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfAnalysis * @see AWS * API Documentation */ default DeleteWhatIfAnalysisResponse deleteWhatIfAnalysis(DeleteWhatIfAnalysisRequest deleteWhatIfAnalysisRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteWhatIfAnalysisRequest.Builder} avoiding the * need to create one manually via {@link DeleteWhatIfAnalysisRequest#builder()} *

* * @param deleteWhatIfAnalysisRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteWhatIfAnalysisRequest.Builder} to create a * request. * @return Result of the DeleteWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfAnalysis * @see AWS * API Documentation */ default DeleteWhatIfAnalysisResponse deleteWhatIfAnalysis( Consumer deleteWhatIfAnalysisRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteWhatIfAnalysis(DeleteWhatIfAnalysisRequest.builder().applyMutation(deleteWhatIfAnalysisRequest).build()); } /** *

* 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. *

* * @param deleteWhatIfForecastRequest * @return Result of the DeleteWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfForecast * @see AWS * API Documentation */ default DeleteWhatIfForecastResponse deleteWhatIfForecast(DeleteWhatIfForecastRequest deleteWhatIfForecastRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteWhatIfForecastRequest.Builder} avoiding the * need to create one manually via {@link DeleteWhatIfForecastRequest#builder()} *

* * @param deleteWhatIfForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastRequest.Builder} to create a * request. * @return Result of the DeleteWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfForecast * @see AWS * API Documentation */ default DeleteWhatIfForecastResponse deleteWhatIfForecast( Consumer deleteWhatIfForecastRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteWhatIfForecast(DeleteWhatIfForecastRequest.builder().applyMutation(deleteWhatIfForecastRequest).build()); } /** *

* 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. *

* * @param deleteWhatIfForecastExportRequest * @return Result of the DeleteWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfForecastExport * @see AWS API Documentation */ default DeleteWhatIfForecastExportResponse deleteWhatIfForecastExport( DeleteWhatIfForecastExportRequest deleteWhatIfForecastExportRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteWhatIfForecastExportRequest.Builder} avoiding * the need to create one manually via {@link DeleteWhatIfForecastExportRequest#builder()} *

* * @param deleteWhatIfForecastExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DeleteWhatIfForecastExportRequest.Builder} to create * a request. * @return Result of the DeleteWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DeleteWhatIfForecastExport * @see AWS API Documentation */ default DeleteWhatIfForecastExportResponse deleteWhatIfForecastExport( Consumer deleteWhatIfForecastExportRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return deleteWhatIfForecastExport(DeleteWhatIfForecastExportRequest.builder() .applyMutation(deleteWhatIfForecastExportRequest).build()); } /** *

* Describes a predictor created using the CreateAutoPredictor operation. *

* * @param describeAutoPredictorRequest * @return Result of the DescribeAutoPredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeAutoPredictor * @see AWS API Documentation */ default DescribeAutoPredictorResponse describeAutoPredictor(DescribeAutoPredictorRequest describeAutoPredictorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Describes a predictor created using the CreateAutoPredictor operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAutoPredictorRequest.Builder} avoiding the * need to create one manually via {@link DescribeAutoPredictorRequest#builder()} *

* * @param describeAutoPredictorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeAutoPredictorRequest.Builder} to create a * request. * @return Result of the DescribeAutoPredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeAutoPredictor * @see AWS API Documentation */ default DescribeAutoPredictorResponse describeAutoPredictor( Consumer describeAutoPredictorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeAutoPredictor(DescribeAutoPredictorRequest.builder().applyMutation(describeAutoPredictorRequest).build()); } /** *

* 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 *

    *
  • *
* * @param describeDatasetRequest * @return Result of the DescribeDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDataset * @see AWS API * Documentation */ default DescribeDatasetResponse describeDataset(DescribeDatasetRequest describeDatasetRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeDatasetRequest.Builder} avoiding the need * to create one manually via {@link DescribeDatasetRequest#builder()} *

* * @param describeDatasetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeDatasetRequest.Builder} to create a request. * @return Result of the DescribeDataset operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDataset * @see AWS API * Documentation */ default DescribeDatasetResponse describeDataset(Consumer describeDatasetRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeDataset(DescribeDatasetRequest.builder().applyMutation(describeDatasetRequest).build()); } /** *

* 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 *

    *
  • *
* * @param describeDatasetGroupRequest * @return Result of the DescribeDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDatasetGroup * @see AWS * API Documentation */ default DescribeDatasetGroupResponse describeDatasetGroup(DescribeDatasetGroupRequest describeDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeDatasetGroupRequest.Builder} avoiding the * need to create one manually via {@link DescribeDatasetGroupRequest#builder()} *

* * @param describeDatasetGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeDatasetGroupRequest.Builder} to create a * request. * @return Result of the DescribeDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDatasetGroup * @see AWS * API Documentation */ default DescribeDatasetGroupResponse describeDatasetGroup( Consumer describeDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeDatasetGroup(DescribeDatasetGroupRequest.builder().applyMutation(describeDatasetGroupRequest).build()); } /** *

* 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. *

    *
  • *
* * @param describeDatasetImportJobRequest * @return Result of the DescribeDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDatasetImportJob * @see AWS API Documentation */ default DescribeDatasetImportJobResponse describeDatasetImportJob( DescribeDatasetImportJobRequest describeDatasetImportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeDatasetImportJobRequest.Builder} avoiding * the need to create one manually via {@link DescribeDatasetImportJobRequest#builder()} *

* * @param describeDatasetImportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeDatasetImportJobRequest.Builder} to create a * request. * @return Result of the DescribeDatasetImportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeDatasetImportJob * @see AWS API Documentation */ default DescribeDatasetImportJobResponse describeDatasetImportJob( Consumer describeDatasetImportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeDatasetImportJob(DescribeDatasetImportJobRequest.builder().applyMutation(describeDatasetImportJobRequest) .build()); } /** *

* Describes an Explainability resource created using the CreateExplainability operation. *

* * @param describeExplainabilityRequest * @return Result of the DescribeExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeExplainability * @see AWS API Documentation */ default DescribeExplainabilityResponse describeExplainability(DescribeExplainabilityRequest describeExplainabilityRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Describes an Explainability resource created using the CreateExplainability operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeExplainabilityRequest.Builder} avoiding the * need to create one manually via {@link DescribeExplainabilityRequest#builder()} *

* * @param describeExplainabilityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeExplainabilityRequest.Builder} to create a * request. * @return Result of the DescribeExplainability operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeExplainability * @see AWS API Documentation */ default DescribeExplainabilityResponse describeExplainability( Consumer describeExplainabilityRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeExplainability(DescribeExplainabilityRequest.builder().applyMutation(describeExplainabilityRequest) .build()); } /** *

* Describes an Explainability export created using the CreateExplainabilityExport operation. *

* * @param describeExplainabilityExportRequest * @return Result of the DescribeExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeExplainabilityExport * @see AWS API Documentation */ default DescribeExplainabilityExportResponse describeExplainabilityExport( DescribeExplainabilityExportRequest describeExplainabilityExportRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Describes an Explainability export created using the CreateExplainabilityExport operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeExplainabilityExportRequest.Builder} * avoiding the need to create one manually via {@link DescribeExplainabilityExportRequest#builder()} *

* * @param describeExplainabilityExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeExplainabilityExportRequest.Builder} to * create a request. * @return Result of the DescribeExplainabilityExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeExplainabilityExport * @see AWS API Documentation */ default DescribeExplainabilityExportResponse describeExplainabilityExport( Consumer describeExplainabilityExportRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeExplainabilityExport(DescribeExplainabilityExportRequest.builder() .applyMutation(describeExplainabilityExportRequest).build()); } /** *

* 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. *

    *
  • *
* * @param describeForecastRequest * @return Result of the DescribeForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeForecast * @see AWS API * Documentation */ default DescribeForecastResponse describeForecast(DescribeForecastRequest describeForecastRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeForecastRequest.Builder} avoiding the need * to create one manually via {@link DescribeForecastRequest#builder()} *

* * @param describeForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeForecastRequest.Builder} to create a * request. * @return Result of the DescribeForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeForecast * @see AWS API * Documentation */ default DescribeForecastResponse describeForecast(Consumer describeForecastRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeForecast(DescribeForecastRequest.builder().applyMutation(describeForecastRequest).build()); } /** *

* 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. *

    *
  • *
* * @param describeForecastExportJobRequest * @return Result of the DescribeForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeForecastExportJob * @see AWS API Documentation */ default DescribeForecastExportJobResponse describeForecastExportJob( DescribeForecastExportJobRequest describeForecastExportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeForecastExportJobRequest.Builder} avoiding * the need to create one manually via {@link DescribeForecastExportJobRequest#builder()} *

* * @param describeForecastExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeForecastExportJobRequest.Builder} to create * a request. * @return Result of the DescribeForecastExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeForecastExportJob * @see AWS API Documentation */ default DescribeForecastExportJobResponse describeForecastExportJob( Consumer describeForecastExportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeForecastExportJob(DescribeForecastExportJobRequest.builder() .applyMutation(describeForecastExportJobRequest).build()); } /** *

* 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 *

    *
  • *
* * @param describeMonitorRequest * @return Result of the DescribeMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeMonitor * @see AWS API * Documentation */ default DescribeMonitorResponse describeMonitor(DescribeMonitorRequest describeMonitorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeMonitorRequest.Builder} avoiding the need * to create one manually via {@link DescribeMonitorRequest#builder()} *

* * @param describeMonitorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeMonitorRequest.Builder} to create a request. * @return Result of the DescribeMonitor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeMonitor * @see AWS API * Documentation */ default DescribeMonitorResponse describeMonitor(Consumer describeMonitorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeMonitor(DescribeMonitorRequest.builder().applyMutation(describeMonitorRequest).build()); } /** * *

* 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. *

    *
  • *
* * @param describePredictorRequest * @return Result of the DescribePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribePredictor * @see AWS * API Documentation */ default DescribePredictorResponse describePredictor(DescribePredictorRequest describePredictorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** * *

* 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. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribePredictorRequest.Builder} avoiding the need * to create one manually via {@link DescribePredictorRequest#builder()} *

* * @param describePredictorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribePredictorRequest.Builder} to create a * request. * @return Result of the DescribePredictor operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribePredictor * @see AWS * API Documentation */ default DescribePredictorResponse describePredictor(Consumer describePredictorRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describePredictor(DescribePredictorRequest.builder().applyMutation(describePredictorRequest).build()); } /** *

* 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) *

    *
  • *
* * @param describePredictorBacktestExportJobRequest * @return Result of the DescribePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribePredictorBacktestExportJob * @see AWS API Documentation */ default DescribePredictorBacktestExportJobResponse describePredictorBacktestExportJob( DescribePredictorBacktestExportJobRequest describePredictorBacktestExportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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) *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribePredictorBacktestExportJobRequest.Builder} * avoiding the need to create one manually via {@link DescribePredictorBacktestExportJobRequest#builder()} *

* * @param describePredictorBacktestExportJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribePredictorBacktestExportJobRequest.Builder} * to create a request. * @return Result of the DescribePredictorBacktestExportJob operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribePredictorBacktestExportJob * @see AWS API Documentation */ default DescribePredictorBacktestExportJobResponse describePredictorBacktestExportJob( Consumer describePredictorBacktestExportJobRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describePredictorBacktestExportJob(DescribePredictorBacktestExportJobRequest.builder() .applyMutation(describePredictorBacktestExportJobRequest).build()); } /** *

* 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 *

    *
  • *
* * @param describeWhatIfAnalysisRequest * @return Result of the DescribeWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfAnalysis * @see AWS API Documentation */ default DescribeWhatIfAnalysisResponse describeWhatIfAnalysis(DescribeWhatIfAnalysisRequest describeWhatIfAnalysisRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeWhatIfAnalysisRequest.Builder} avoiding the * need to create one manually via {@link DescribeWhatIfAnalysisRequest#builder()} *

* * @param describeWhatIfAnalysisRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeWhatIfAnalysisRequest.Builder} to create a * request. * @return Result of the DescribeWhatIfAnalysis operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfAnalysis * @see AWS API Documentation */ default DescribeWhatIfAnalysisResponse describeWhatIfAnalysis( Consumer describeWhatIfAnalysisRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeWhatIfAnalysis(DescribeWhatIfAnalysisRequest.builder().applyMutation(describeWhatIfAnalysisRequest) .build()); } /** *

* 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 *

    *
  • *
* * @param describeWhatIfForecastRequest * @return Result of the DescribeWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfForecast * @see AWS API Documentation */ default DescribeWhatIfForecastResponse describeWhatIfForecast(DescribeWhatIfForecastRequest describeWhatIfForecastRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeWhatIfForecastRequest.Builder} avoiding the * need to create one manually via {@link DescribeWhatIfForecastRequest#builder()} *

* * @param describeWhatIfForecastRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastRequest.Builder} to create a * request. * @return Result of the DescribeWhatIfForecast operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfForecast * @see AWS API Documentation */ default DescribeWhatIfForecastResponse describeWhatIfForecast( Consumer describeWhatIfForecastRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeWhatIfForecast(DescribeWhatIfForecastRequest.builder().applyMutation(describeWhatIfForecastRequest) .build()); } /** *

* 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 *

    *
  • *
* * @param describeWhatIfForecastExportRequest * @return Result of the DescribeWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfForecastExport * @see AWS API Documentation */ default DescribeWhatIfForecastExportResponse describeWhatIfForecastExport( DescribeWhatIfForecastExportRequest describeWhatIfForecastExportRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link DescribeWhatIfForecastExportRequest.Builder} * avoiding the need to create one manually via {@link DescribeWhatIfForecastExportRequest#builder()} *

* * @param describeWhatIfForecastExportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.DescribeWhatIfForecastExportRequest.Builder} to * create a request. * @return Result of the DescribeWhatIfForecastExport operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.DescribeWhatIfForecastExport * @see AWS API Documentation */ default DescribeWhatIfForecastExportResponse describeWhatIfForecastExport( Consumer describeWhatIfForecastExportRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return describeWhatIfForecastExport(DescribeWhatIfForecastExportRequest.builder() .applyMutation(describeWhatIfForecastExportRequest).build()); } /** *

* 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. *

*
* * @param getAccuracyMetricsRequest * @return Result of the GetAccuracyMetrics operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.GetAccuracyMetrics * @see AWS * API Documentation */ default GetAccuracyMetricsResponse getAccuracyMetrics(GetAccuracyMetricsRequest getAccuracyMetricsRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link GetAccuracyMetricsRequest.Builder} avoiding the * need to create one manually via {@link GetAccuracyMetricsRequest#builder()} *

* * @param getAccuracyMetricsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.GetAccuracyMetricsRequest.Builder} to create a * request. * @return Result of the GetAccuracyMetrics operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.GetAccuracyMetrics * @see AWS * API Documentation */ default GetAccuracyMetricsResponse getAccuracyMetrics(Consumer getAccuracyMetricsRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return getAccuracyMetrics(GetAccuracyMetricsRequest.builder().applyMutation(getAccuracyMetricsRequest).build()); } /** *

* 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. *

* * @param listDatasetGroupsRequest * @return Result of the ListDatasetGroups operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetGroups * @see AWS * API Documentation */ default ListDatasetGroupsResponse listDatasetGroups(ListDatasetGroupsRequest listDatasetGroupsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListDatasetGroupsRequest#builder()} *

* * @param listDatasetGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest.Builder} to create a * request. * @return Result of the ListDatasetGroups operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetGroups * @see AWS * API Documentation */ default ListDatasetGroupsResponse listDatasetGroups(Consumer listDatasetGroupsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return listDatasetGroups(ListDatasetGroupsRequest.builder().applyMutation(listDatasetGroupsRequest).build()); } /** *

* This is a variant of * {@link #listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client.listDatasetGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client
     *             .listDatasetGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client.listDatasetGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)} * operation. *

* * @param listDatasetGroupsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetGroups * @see AWS * API Documentation */ default ListDatasetGroupsIterable listDatasetGroupsPaginator(ListDatasetGroupsRequest listDatasetGroupsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return new ListDatasetGroupsIterable(this, listDatasetGroupsRequest); } /** *

* This is a variant of * {@link #listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client.listDatasetGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client
     *             .listDatasetGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsIterable responses = client.listDatasetGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListDatasetGroupsRequest#builder()} *

* * @param listDatasetGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetGroups * @see AWS * API Documentation */ default ListDatasetGroupsIterable listDatasetGroupsPaginator( Consumer listDatasetGroupsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return listDatasetGroupsPaginator(ListDatasetGroupsRequest.builder().applyMutation(listDatasetGroupsRequest).build()); } /** *

* 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. *

* * @param listDatasetImportJobsRequest * @return Result of the ListDatasetImportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetImportJobs * @see AWS API Documentation */ default ListDatasetImportJobsResponse listDatasetImportJobs(ListDatasetImportJobsRequest listDatasetImportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetImportJobsRequest.Builder} avoiding the * need to create one manually via {@link ListDatasetImportJobsRequest#builder()} *

* * @param listDatasetImportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest.Builder} to create a * request. * @return Result of the ListDatasetImportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetImportJobs * @see AWS API Documentation */ default ListDatasetImportJobsResponse listDatasetImportJobs( Consumer listDatasetImportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listDatasetImportJobs(ListDatasetImportJobsRequest.builder().applyMutation(listDatasetImportJobsRequest).build()); } /** *

* This is a variant of * {@link #listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client.listDatasetImportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client
     *             .listDatasetImportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client.listDatasetImportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)} * operation. *

* * @param listDatasetImportJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetImportJobs * @see AWS API Documentation */ default ListDatasetImportJobsIterable listDatasetImportJobsPaginator(ListDatasetImportJobsRequest listDatasetImportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListDatasetImportJobsIterable(this, listDatasetImportJobsRequest); } /** *

* This is a variant of * {@link #listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client.listDatasetImportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client
     *             .listDatasetImportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsIterable responses = client.listDatasetImportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetImportJobsRequest.Builder} avoiding the * need to create one manually via {@link ListDatasetImportJobsRequest#builder()} *

* * @param listDatasetImportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasetImportJobs * @see AWS API Documentation */ default ListDatasetImportJobsIterable listDatasetImportJobsPaginator( Consumer listDatasetImportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listDatasetImportJobsPaginator(ListDatasetImportJobsRequest.builder().applyMutation(listDatasetImportJobsRequest) .build()); } /** *

* 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. *

* * @param listDatasetsRequest * @return Result of the ListDatasets operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasets * @see AWS API * Documentation */ default ListDatasetsResponse listDatasets(ListDatasetsRequest listDatasetsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to * create one manually via {@link ListDatasetsRequest#builder()} *

* * @param listDatasetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetsRequest.Builder} to create a request. * @return Result of the ListDatasets operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasets * @see AWS API * Documentation */ default ListDatasetsResponse listDatasets(Consumer listDatasetsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return listDatasets(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build()); } /** *

* This is a variant of {@link #listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)} operation. *

* * @param listDatasetsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasets * @see AWS API * Documentation */ default ListDatasetsIterable listDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return new ListDatasetsIterable(this, listDatasetsRequest); } /** *

* This is a variant of {@link #listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListDatasetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to * create one manually via {@link ListDatasetsRequest#builder()} *

* * @param listDatasetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListDatasetsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListDatasets * @see AWS API * Documentation */ default ListDatasetsIterable listDatasetsPaginator(Consumer listDatasetsRequest) throws InvalidNextTokenException, AwsServiceException, SdkClientException, ForecastException { return listDatasetsPaginator(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build()); } /** *

* 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. *

* * @param listExplainabilitiesRequest * @return Result of the ListExplainabilities operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilities * @see AWS * API Documentation */ default ListExplainabilitiesResponse listExplainabilities(ListExplainabilitiesRequest listExplainabilitiesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListExplainabilitiesRequest.Builder} avoiding the * need to create one manually via {@link ListExplainabilitiesRequest#builder()} *

* * @param listExplainabilitiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest.Builder} to create a * request. * @return Result of the ListExplainabilities operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilities * @see AWS * API Documentation */ default ListExplainabilitiesResponse listExplainabilities( Consumer listExplainabilitiesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listExplainabilities(ListExplainabilitiesRequest.builder().applyMutation(listExplainabilitiesRequest).build()); } /** *

* This is a variant of * {@link #listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client.listExplainabilitiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client
     *             .listExplainabilitiesPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client.listExplainabilitiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)} * operation. *

* * @param listExplainabilitiesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilities * @see AWS * API Documentation */ default ListExplainabilitiesIterable listExplainabilitiesPaginator(ListExplainabilitiesRequest listExplainabilitiesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListExplainabilitiesIterable(this, listExplainabilitiesRequest); } /** *

* This is a variant of * {@link #listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client.listExplainabilitiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client
     *             .listExplainabilitiesPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesIterable responses = client.listExplainabilitiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListExplainabilitiesRequest.Builder} avoiding the * need to create one manually via {@link ListExplainabilitiesRequest#builder()} *

* * @param listExplainabilitiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilities * @see AWS * API Documentation */ default ListExplainabilitiesIterable listExplainabilitiesPaginator( Consumer listExplainabilitiesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listExplainabilitiesPaginator(ListExplainabilitiesRequest.builder().applyMutation(listExplainabilitiesRequest) .build()); } /** *

* 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. *

* * @param listExplainabilityExportsRequest * @return Result of the ListExplainabilityExports operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilityExports * @see AWS API Documentation */ default ListExplainabilityExportsResponse listExplainabilityExports( ListExplainabilityExportsRequest listExplainabilityExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListExplainabilityExportsRequest.Builder} avoiding * the need to create one manually via {@link ListExplainabilityExportsRequest#builder()} *

* * @param listExplainabilityExportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest.Builder} to create * a request. * @return Result of the ListExplainabilityExports operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilityExports * @see AWS API Documentation */ default ListExplainabilityExportsResponse listExplainabilityExports( Consumer listExplainabilityExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listExplainabilityExports(ListExplainabilityExportsRequest.builder() .applyMutation(listExplainabilityExportsRequest).build()); } /** *

* This is a variant of * {@link #listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client.listExplainabilityExportsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client
     *             .listExplainabilityExportsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client.listExplainabilityExportsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)} * operation. *

* * @param listExplainabilityExportsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilityExports * @see AWS API Documentation */ default ListExplainabilityExportsIterable listExplainabilityExportsPaginator( ListExplainabilityExportsRequest listExplainabilityExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListExplainabilityExportsIterable(this, listExplainabilityExportsRequest); } /** *

* This is a variant of * {@link #listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client.listExplainabilityExportsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client
     *             .listExplainabilityExportsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsIterable responses = client.listExplainabilityExportsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListExplainabilityExportsRequest.Builder} avoiding * the need to create one manually via {@link ListExplainabilityExportsRequest#builder()} *

* * @param listExplainabilityExportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListExplainabilityExports * @see AWS API Documentation */ default ListExplainabilityExportsIterable listExplainabilityExportsPaginator( Consumer listExplainabilityExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listExplainabilityExportsPaginator(ListExplainabilityExportsRequest.builder() .applyMutation(listExplainabilityExportsRequest).build()); } /** *

* 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. *

* * @param listForecastExportJobsRequest * @return Result of the ListForecastExportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecastExportJobs * @see AWS API Documentation */ default ListForecastExportJobsResponse listForecastExportJobs(ListForecastExportJobsRequest listForecastExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListForecastExportJobsRequest.Builder} avoiding the * need to create one manually via {@link ListForecastExportJobsRequest#builder()} *

* * @param listForecastExportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest.Builder} to create a * request. * @return Result of the ListForecastExportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecastExportJobs * @see AWS API Documentation */ default ListForecastExportJobsResponse listForecastExportJobs( Consumer listForecastExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listForecastExportJobs(ListForecastExportJobsRequest.builder().applyMutation(listForecastExportJobsRequest) .build()); } /** *

* This is a variant of * {@link #listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client.listForecastExportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client
     *             .listForecastExportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client.listForecastExportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)} * operation. *

* * @param listForecastExportJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecastExportJobs * @see AWS API Documentation */ default ListForecastExportJobsIterable listForecastExportJobsPaginator( ListForecastExportJobsRequest listForecastExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListForecastExportJobsIterable(this, listForecastExportJobsRequest); } /** *

* This is a variant of * {@link #listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client.listForecastExportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client
     *             .listForecastExportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsIterable responses = client.listForecastExportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListForecastExportJobsRequest.Builder} avoiding the * need to create one manually via {@link ListForecastExportJobsRequest#builder()} *

* * @param listForecastExportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecastExportJobs * @see AWS API Documentation */ default ListForecastExportJobsIterable listForecastExportJobsPaginator( Consumer listForecastExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listForecastExportJobsPaginator(ListForecastExportJobsRequest.builder() .applyMutation(listForecastExportJobsRequest).build()); } /** *

* 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. *

* * @param listForecastsRequest * @return Result of the ListForecasts operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecasts * @see AWS API * Documentation */ default ListForecastsResponse listForecasts(ListForecastsRequest listForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListForecastsRequest.Builder} avoiding the need to * create one manually via {@link ListForecastsRequest#builder()} *

* * @param listForecastsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListForecastsRequest.Builder} to create a request. * @return Result of the ListForecasts operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecasts * @see AWS API * Documentation */ default ListForecastsResponse listForecasts(Consumer listForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listForecasts(ListForecastsRequest.builder().applyMutation(listForecastsRequest).build()); } /** *

* This is a variant of {@link #listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListForecastsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)} operation. *

* * @param listForecastsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecasts * @see AWS API * Documentation */ default ListForecastsIterable listForecastsPaginator(ListForecastsRequest listForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListForecastsIterable(this, listForecastsRequest); } /** *

* This is a variant of {@link #listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListForecastsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListForecastsIterable responses = client.listForecastsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListForecastsRequest.Builder} avoiding the need to * create one manually via {@link ListForecastsRequest#builder()} *

* * @param listForecastsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListForecastsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListForecasts * @see AWS API * Documentation */ default ListForecastsIterable listForecastsPaginator(Consumer listForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listForecastsPaginator(ListForecastsRequest.builder().applyMutation(listForecastsRequest).build()); } /** *

* 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. *

* * @param listMonitorEvaluationsRequest * @return Result of the ListMonitorEvaluations operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitorEvaluations * @see AWS API Documentation */ default ListMonitorEvaluationsResponse listMonitorEvaluations(ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) throws InvalidNextTokenException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitorEvaluationsRequest.Builder} avoiding the * need to create one manually via {@link ListMonitorEvaluationsRequest#builder()} *

* * @param listMonitorEvaluationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest.Builder} to create a * request. * @return Result of the ListMonitorEvaluations operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitorEvaluations * @see AWS API Documentation */ default ListMonitorEvaluationsResponse listMonitorEvaluations( Consumer listMonitorEvaluationsRequest) throws InvalidNextTokenException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return listMonitorEvaluations(ListMonitorEvaluationsRequest.builder().applyMutation(listMonitorEvaluationsRequest) .build()); } /** *

* This is a variant of * {@link #listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client.listMonitorEvaluationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client
     *             .listMonitorEvaluationsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client.listMonitorEvaluationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)} * operation. *

* * @param listMonitorEvaluationsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitorEvaluations * @see AWS API Documentation */ default ListMonitorEvaluationsIterable listMonitorEvaluationsPaginator( ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) throws InvalidNextTokenException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return new ListMonitorEvaluationsIterable(this, listMonitorEvaluationsRequest); } /** *

* This is a variant of * {@link #listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client.listMonitorEvaluationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client
     *             .listMonitorEvaluationsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsIterable responses = client.listMonitorEvaluationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitorEvaluationsRequest.Builder} avoiding the * need to create one manually via {@link ListMonitorEvaluationsRequest#builder()} *

* * @param listMonitorEvaluationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitorEvaluations * @see AWS API Documentation */ default ListMonitorEvaluationsIterable listMonitorEvaluationsPaginator( Consumer listMonitorEvaluationsRequest) throws InvalidNextTokenException, InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return listMonitorEvaluationsPaginator(ListMonitorEvaluationsRequest.builder() .applyMutation(listMonitorEvaluationsRequest).build()); } /** *

* 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. *

* * @param listMonitorsRequest * @return Result of the ListMonitors operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitors * @see AWS API * Documentation */ default ListMonitorsResponse listMonitors(ListMonitorsRequest listMonitorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitorsRequest.Builder} avoiding the need to * create one manually via {@link ListMonitorsRequest#builder()} *

* * @param listMonitorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListMonitorsRequest.Builder} to create a request. * @return Result of the ListMonitors operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitors * @see AWS API * Documentation */ default ListMonitorsResponse listMonitors(Consumer listMonitorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listMonitors(ListMonitorsRequest.builder().applyMutation(listMonitorsRequest).build()); } /** *

* This is a variant of {@link #listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListMonitorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)} operation. *

* * @param listMonitorsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitors * @see AWS API * Documentation */ default ListMonitorsIterable listMonitorsPaginator(ListMonitorsRequest listMonitorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListMonitorsIterable(this, listMonitorsRequest); } /** *

* This is a variant of {@link #listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListMonitorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListMonitorsIterable responses = client.listMonitorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMonitorsRequest.Builder} avoiding the need to * create one manually via {@link ListMonitorsRequest#builder()} *

* * @param listMonitorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListMonitorsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListMonitors * @see AWS API * Documentation */ default ListMonitorsIterable listMonitorsPaginator(Consumer listMonitorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listMonitorsPaginator(ListMonitorsRequest.builder().applyMutation(listMonitorsRequest).build()); } /** *

* 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. *

* * @param listPredictorBacktestExportJobsRequest * @return Result of the ListPredictorBacktestExportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictorBacktestExportJobs * @see AWS API Documentation */ default ListPredictorBacktestExportJobsResponse listPredictorBacktestExportJobs( ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListPredictorBacktestExportJobsRequest.Builder} * avoiding the need to create one manually via {@link ListPredictorBacktestExportJobsRequest#builder()} *

* * @param listPredictorBacktestExportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest.Builder} to * create a request. * @return Result of the ListPredictorBacktestExportJobs operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictorBacktestExportJobs * @see AWS API Documentation */ default ListPredictorBacktestExportJobsResponse listPredictorBacktestExportJobs( Consumer listPredictorBacktestExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listPredictorBacktestExportJobs(ListPredictorBacktestExportJobsRequest.builder() .applyMutation(listPredictorBacktestExportJobsRequest).build()); } /** *

* This is a variant of * {@link #listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client.listPredictorBacktestExportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client
     *             .listPredictorBacktestExportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client.listPredictorBacktestExportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)} * operation. *

* * @param listPredictorBacktestExportJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictorBacktestExportJobs * @see AWS API Documentation */ default ListPredictorBacktestExportJobsIterable listPredictorBacktestExportJobsPaginator( ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListPredictorBacktestExportJobsIterable(this, listPredictorBacktestExportJobsRequest); } /** *

* This is a variant of * {@link #listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client.listPredictorBacktestExportJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client
     *             .listPredictorBacktestExportJobsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsIterable responses = client.listPredictorBacktestExportJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPredictorBacktestExportJobsRequest.Builder} * avoiding the need to create one manually via {@link ListPredictorBacktestExportJobsRequest#builder()} *

* * @param listPredictorBacktestExportJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictorBacktestExportJobs * @see AWS API Documentation */ default ListPredictorBacktestExportJobsIterable listPredictorBacktestExportJobsPaginator( Consumer listPredictorBacktestExportJobsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listPredictorBacktestExportJobsPaginator(ListPredictorBacktestExportJobsRequest.builder() .applyMutation(listPredictorBacktestExportJobsRequest).build()); } /** *

* 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. *

* * @param listPredictorsRequest * @return Result of the ListPredictors operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictors * @see AWS API * Documentation */ default ListPredictorsResponse listPredictors(ListPredictorsRequest listPredictorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListPredictorsRequest.Builder} avoiding the need to * create one manually via {@link ListPredictorsRequest#builder()} *

* * @param listPredictorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListPredictorsRequest.Builder} to create a request. * @return Result of the ListPredictors operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictors * @see AWS API * Documentation */ default ListPredictorsResponse listPredictors(Consumer listPredictorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listPredictors(ListPredictorsRequest.builder().applyMutation(listPredictorsRequest).build()); } /** *

* This is a variant of * {@link #listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client.listPredictorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client
     *             .listPredictorsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListPredictorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client.listPredictorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)} operation. *

* * @param listPredictorsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictors * @see AWS API * Documentation */ default ListPredictorsIterable listPredictorsPaginator(ListPredictorsRequest listPredictorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListPredictorsIterable(this, listPredictorsRequest); } /** *

* This is a variant of * {@link #listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client.listPredictorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client
     *             .listPredictorsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListPredictorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListPredictorsIterable responses = client.listPredictorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPredictorsRequest.Builder} avoiding the need to * create one manually via {@link ListPredictorsRequest#builder()} *

* * @param listPredictorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListPredictorsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListPredictors * @see AWS API * Documentation */ default ListPredictorsIterable listPredictorsPaginator(Consumer listPredictorsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listPredictorsPaginator(ListPredictorsRequest.builder().applyMutation(listPredictorsRequest).build()); } /** *

* Lists the tags for an Amazon Forecast resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Lists the tags for an Amazon Forecast resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* 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. *

* * @param listWhatIfAnalysesRequest * @return Result of the ListWhatIfAnalyses operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfAnalyses * @see AWS * API Documentation */ default ListWhatIfAnalysesResponse listWhatIfAnalyses(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfAnalysesRequest.Builder} avoiding the * need to create one manually via {@link ListWhatIfAnalysesRequest#builder()} *

* * @param listWhatIfAnalysesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest.Builder} to create a * request. * @return Result of the ListWhatIfAnalyses operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfAnalyses * @see AWS * API Documentation */ default ListWhatIfAnalysesResponse listWhatIfAnalyses(Consumer listWhatIfAnalysesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfAnalyses(ListWhatIfAnalysesRequest.builder().applyMutation(listWhatIfAnalysesRequest).build()); } /** *

* This is a variant of * {@link #listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client.listWhatIfAnalysesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client
     *             .listWhatIfAnalysesPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client.listWhatIfAnalysesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)} * operation. *

* * @param listWhatIfAnalysesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfAnalyses * @see AWS * API Documentation */ default ListWhatIfAnalysesIterable listWhatIfAnalysesPaginator(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListWhatIfAnalysesIterable(this, listWhatIfAnalysesRequest); } /** *

* This is a variant of * {@link #listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client.listWhatIfAnalysesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client
     *             .listWhatIfAnalysesPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesIterable responses = client.listWhatIfAnalysesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfAnalysesRequest.Builder} avoiding the * need to create one manually via {@link ListWhatIfAnalysesRequest#builder()} *

* * @param listWhatIfAnalysesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfAnalyses * @see AWS * API Documentation */ default ListWhatIfAnalysesIterable listWhatIfAnalysesPaginator( Consumer listWhatIfAnalysesRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfAnalysesPaginator(ListWhatIfAnalysesRequest.builder().applyMutation(listWhatIfAnalysesRequest).build()); } /** *

* 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. *

* * @param listWhatIfForecastExportsRequest * @return Result of the ListWhatIfForecastExports operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecastExports * @see AWS API Documentation */ default ListWhatIfForecastExportsResponse listWhatIfForecastExports( ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfForecastExportsRequest.Builder} avoiding * the need to create one manually via {@link ListWhatIfForecastExportsRequest#builder()} *

* * @param listWhatIfForecastExportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest.Builder} to create * a request. * @return Result of the ListWhatIfForecastExports operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecastExports * @see AWS API Documentation */ default ListWhatIfForecastExportsResponse listWhatIfForecastExports( Consumer listWhatIfForecastExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfForecastExports(ListWhatIfForecastExportsRequest.builder() .applyMutation(listWhatIfForecastExportsRequest).build()); } /** *

* This is a variant of * {@link #listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client.listWhatIfForecastExportsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client
     *             .listWhatIfForecastExportsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client.listWhatIfForecastExportsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)} * operation. *

* * @param listWhatIfForecastExportsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecastExports * @see AWS API Documentation */ default ListWhatIfForecastExportsIterable listWhatIfForecastExportsPaginator( ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListWhatIfForecastExportsIterable(this, listWhatIfForecastExportsRequest); } /** *

* This is a variant of * {@link #listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client.listWhatIfForecastExportsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client
     *             .listWhatIfForecastExportsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsIterable responses = client.listWhatIfForecastExportsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfForecastExportsRequest.Builder} avoiding * the need to create one manually via {@link ListWhatIfForecastExportsRequest#builder()} *

* * @param listWhatIfForecastExportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecastExports * @see AWS API Documentation */ default ListWhatIfForecastExportsIterable listWhatIfForecastExportsPaginator( Consumer listWhatIfForecastExportsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfForecastExportsPaginator(ListWhatIfForecastExportsRequest.builder() .applyMutation(listWhatIfForecastExportsRequest).build()); } /** *

* 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. *

* * @param listWhatIfForecastsRequest * @return Result of the ListWhatIfForecasts operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecasts * @see AWS * API Documentation */ default ListWhatIfForecastsResponse listWhatIfForecasts(ListWhatIfForecastsRequest listWhatIfForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfForecastsRequest.Builder} avoiding the * need to create one manually via {@link ListWhatIfForecastsRequest#builder()} *

* * @param listWhatIfForecastsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest.Builder} to create a * request. * @return Result of the ListWhatIfForecasts operation returned by the service. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecasts * @see AWS * API Documentation */ default ListWhatIfForecastsResponse listWhatIfForecasts( Consumer listWhatIfForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfForecasts(ListWhatIfForecastsRequest.builder().applyMutation(listWhatIfForecastsRequest).build()); } /** *

* This is a variant of * {@link #listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client.listWhatIfForecastsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client
     *             .listWhatIfForecastsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client.listWhatIfForecastsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)} * operation. *

* * @param listWhatIfForecastsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecasts * @see AWS * API Documentation */ default ListWhatIfForecastsIterable listWhatIfForecastsPaginator(ListWhatIfForecastsRequest listWhatIfForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return new ListWhatIfForecastsIterable(this, listWhatIfForecastsRequest); } /** *

* This is a variant of * {@link #listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client.listWhatIfForecastsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client
     *             .listWhatIfForecastsPaginator(request);
     *     for (software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsIterable responses = client.listWhatIfForecastsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListWhatIfForecastsRequest.Builder} avoiding the * need to create one manually via {@link ListWhatIfForecastsRequest#builder()} *

* * @param listWhatIfForecastsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidNextTokenException * The token is not valid. Tokens expire after 24 hours. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ListWhatIfForecasts * @see AWS * API Documentation */ default ListWhatIfForecastsIterable listWhatIfForecastsPaginator( Consumer listWhatIfForecastsRequest) throws InvalidNextTokenException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return listWhatIfForecastsPaginator(ListWhatIfForecastsRequest.builder().applyMutation(listWhatIfForecastsRequest) .build()); } /** *

* Resumes a stopped monitor resource. *

* * @param resumeResourceRequest * @return Result of the ResumeResource operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ResumeResource * @see AWS API * Documentation */ default ResumeResourceResponse resumeResource(ResumeResourceRequest resumeResourceRequest) throws InvalidInputException, LimitExceededException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Resumes a stopped monitor resource. *

*
*

* This is a convenience which creates an instance of the {@link ResumeResourceRequest.Builder} avoiding the need to * create one manually via {@link ResumeResourceRequest#builder()} *

* * @param resumeResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.ResumeResourceRequest.Builder} to create a request. * @return Result of the ResumeResource operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.ResumeResource * @see AWS API * Documentation */ default ResumeResourceResponse resumeResource(Consumer resumeResourceRequest) throws InvalidInputException, LimitExceededException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return resumeResource(ResumeResourceRequest.builder().applyMutation(resumeResourceRequest).build()); } /** *

* 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 *

    *
  • *
* * @param stopResourceRequest * @return Result of the StopResource operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.StopResource * @see AWS API * Documentation */ default StopResourceResponse stopResource(StopResourceRequest stopResourceRequest) throws InvalidInputException, LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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 *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link StopResourceRequest.Builder} avoiding the need to * create one manually via {@link StopResourceRequest#builder()} *

* * @param stopResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.StopResourceRequest.Builder} to create a request. * @return Result of the StopResource operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.StopResource * @see AWS API * Documentation */ default StopResourceResponse stopResource(Consumer stopResourceRequest) throws InvalidInputException, LimitExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, ForecastException { return stopResource(StopResourceRequest.builder().applyMutation(stopResourceRequest).build()); } /** *

* 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. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, LimitExceededException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws LimitExceededException * The limit on the number of resources per account has been exceeded. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws ResourceNotFoundException, LimitExceededException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Deletes the specified tags from a resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* Deletes the specified tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.UntagResourceRequest.Builder} to create a request. * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, ForecastException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* 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. *

*
* * @param updateDatasetGroupRequest * @return Result of the UpdateDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.UpdateDatasetGroup * @see AWS * API Documentation */ default UpdateDatasetGroupResponse updateDatasetGroup(UpdateDatasetGroupRequest updateDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link UpdateDatasetGroupRequest.Builder} avoiding the * need to create one manually via {@link UpdateDatasetGroupRequest#builder()} *

* * @param updateDatasetGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.forecast.model.UpdateDatasetGroupRequest.Builder} to create a * request. * @return Result of the UpdateDatasetGroup operation returned by the service. * @throws InvalidInputException * We can't process the request because it includes an invalid value or a value that exceeds the valid * range. * @throws ResourceNotFoundException * We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again. * @throws ResourceInUseException * The specified resource is in use. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ForecastException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ForecastClient.UpdateDatasetGroup * @see AWS * API Documentation */ default UpdateDatasetGroupResponse updateDatasetGroup(Consumer updateDatasetGroupRequest) throws InvalidInputException, ResourceNotFoundException, ResourceInUseException, AwsServiceException, SdkClientException, ForecastException { return updateDatasetGroup(UpdateDatasetGroupRequest.builder().applyMutation(updateDatasetGroupRequest).build()); } /** * Create a {@link ForecastClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static ForecastClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ForecastClient}. */ static ForecastClientBuilder builder() { return new DefaultForecastClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default ForecastServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy