Interface ForecastAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Provides APIs for creating and managing Amazon Forecast resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ForecastAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aForecastAsyncClient.static ForecastAsyncClientcreate()Create aForecastAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAutoPredictor(Consumer<CreateAutoPredictorRequest.Builder> createAutoPredictorRequest) Creates an Amazon Forecast predictor.createAutoPredictor(CreateAutoPredictorRequest createAutoPredictorRequest) Creates an Amazon Forecast predictor.default CompletableFuture<CreateDatasetResponse> createDataset(Consumer<CreateDatasetRequest.Builder> createDatasetRequest) Creates an Amazon Forecast dataset.default CompletableFuture<CreateDatasetResponse> createDataset(CreateDatasetRequest createDatasetRequest) Creates an Amazon Forecast dataset.createDatasetGroup(Consumer<CreateDatasetGroupRequest.Builder> createDatasetGroupRequest) Creates a dataset group, which holds a collection of related datasets.createDatasetGroup(CreateDatasetGroupRequest createDatasetGroupRequest) Creates a dataset group, which holds a collection of related datasets.createDatasetImportJob(Consumer<CreateDatasetImportJobRequest.Builder> createDatasetImportJobRequest) Imports your training data to an Amazon Forecast dataset.createDatasetImportJob(CreateDatasetImportJobRequest createDatasetImportJobRequest) Imports your training data to an Amazon Forecast dataset.createExplainability(Consumer<CreateExplainabilityRequest.Builder> createExplainabilityRequest) createExplainability(CreateExplainabilityRequest createExplainabilityRequest) createExplainabilityExport(Consumer<CreateExplainabilityExportRequest.Builder> createExplainabilityExportRequest) Exports an Explainability resource created by the CreateExplainability operation.createExplainabilityExport(CreateExplainabilityExportRequest createExplainabilityExportRequest) Exports an Explainability resource created by the CreateExplainability operation.default CompletableFuture<CreateForecastResponse> createForecast(Consumer<CreateForecastRequest.Builder> createForecastRequest) Creates a forecast for each item in theTARGET_TIME_SERIESdataset that was used to train the predictor.default CompletableFuture<CreateForecastResponse> createForecast(CreateForecastRequest createForecastRequest) Creates a forecast for each item in theTARGET_TIME_SERIESdataset that was used to train the predictor.createForecastExportJob(Consumer<CreateForecastExportJobRequest.Builder> createForecastExportJobRequest) Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket.createForecastExportJob(CreateForecastExportJobRequest createForecastExportJobRequest) Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket.default CompletableFuture<CreateMonitorResponse> createMonitor(Consumer<CreateMonitorRequest.Builder> createMonitorRequest) Creates a predictor monitor resource for an existing auto predictor.default CompletableFuture<CreateMonitorResponse> createMonitor(CreateMonitorRequest createMonitorRequest) Creates a predictor monitor resource for an existing auto predictor.default CompletableFuture<CreatePredictorResponse> createPredictor(Consumer<CreatePredictorRequest.Builder> createPredictorRequest) default CompletableFuture<CreatePredictorResponse> createPredictor(CreatePredictorRequest createPredictorRequest) createPredictorBacktestExportJob(Consumer<CreatePredictorBacktestExportJobRequest.Builder> createPredictorBacktestExportJobRequest) Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations.createPredictorBacktestExportJob(CreatePredictorBacktestExportJobRequest createPredictorBacktestExportJobRequest) Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations.createWhatIfAnalysis(Consumer<CreateWhatIfAnalysisRequest.Builder> createWhatIfAnalysisRequest) 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.createWhatIfAnalysis(CreateWhatIfAnalysisRequest createWhatIfAnalysisRequest) 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.createWhatIfForecast(Consumer<CreateWhatIfForecastRequest.Builder> createWhatIfForecastRequest) A what-if forecast is a forecast that is created from a modified version of the baseline forecast.createWhatIfForecast(CreateWhatIfForecastRequest createWhatIfForecastRequest) A what-if forecast is a forecast that is created from a modified version of the baseline forecast.createWhatIfForecastExport(Consumer<CreateWhatIfForecastExportRequest.Builder> createWhatIfForecastExportRequest) Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket.createWhatIfForecastExport(CreateWhatIfForecastExportRequest createWhatIfForecastExportRequest) Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket.default CompletableFuture<DeleteDatasetResponse> deleteDataset(Consumer<DeleteDatasetRequest.Builder> deleteDatasetRequest) Deletes an Amazon Forecast dataset that was created using the CreateDataset operation.default CompletableFuture<DeleteDatasetResponse> deleteDataset(DeleteDatasetRequest deleteDatasetRequest) Deletes an Amazon Forecast dataset that was created using the CreateDataset operation.deleteDatasetGroup(Consumer<DeleteDatasetGroupRequest.Builder> deleteDatasetGroupRequest) Deletes a dataset group created using the CreateDatasetGroup operation.deleteDatasetGroup(DeleteDatasetGroupRequest deleteDatasetGroupRequest) Deletes a dataset group created using the CreateDatasetGroup operation.deleteDatasetImportJob(Consumer<DeleteDatasetImportJobRequest.Builder> deleteDatasetImportJobRequest) Deletes a dataset import job created using the CreateDatasetImportJob operation.deleteDatasetImportJob(DeleteDatasetImportJobRequest deleteDatasetImportJobRequest) Deletes a dataset import job created using the CreateDatasetImportJob operation.deleteExplainability(Consumer<DeleteExplainabilityRequest.Builder> deleteExplainabilityRequest) Deletes an Explainability resource.deleteExplainability(DeleteExplainabilityRequest deleteExplainabilityRequest) Deletes an Explainability resource.deleteExplainabilityExport(Consumer<DeleteExplainabilityExportRequest.Builder> deleteExplainabilityExportRequest) Deletes an Explainability export.deleteExplainabilityExport(DeleteExplainabilityExportRequest deleteExplainabilityExportRequest) Deletes an Explainability export.default CompletableFuture<DeleteForecastResponse> deleteForecast(Consumer<DeleteForecastRequest.Builder> deleteForecastRequest) Deletes a forecast created using the CreateForecast operation.default CompletableFuture<DeleteForecastResponse> deleteForecast(DeleteForecastRequest deleteForecastRequest) Deletes a forecast created using the CreateForecast operation.deleteForecastExportJob(Consumer<DeleteForecastExportJobRequest.Builder> deleteForecastExportJobRequest) Deletes a forecast export job created using the CreateForecastExportJob operation.deleteForecastExportJob(DeleteForecastExportJobRequest deleteForecastExportJobRequest) Deletes a forecast export job created using the CreateForecastExportJob operation.default CompletableFuture<DeleteMonitorResponse> deleteMonitor(Consumer<DeleteMonitorRequest.Builder> deleteMonitorRequest) Deletes a monitor resource.default CompletableFuture<DeleteMonitorResponse> deleteMonitor(DeleteMonitorRequest deleteMonitorRequest) Deletes a monitor resource.default CompletableFuture<DeletePredictorResponse> deletePredictor(Consumer<DeletePredictorRequest.Builder> deletePredictorRequest) Deletes a predictor created using the DescribePredictor or CreatePredictor operations.default CompletableFuture<DeletePredictorResponse> deletePredictor(DeletePredictorRequest deletePredictorRequest) Deletes a predictor created using the DescribePredictor or CreatePredictor operations.deletePredictorBacktestExportJob(Consumer<DeletePredictorBacktestExportJobRequest.Builder> deletePredictorBacktestExportJobRequest) Deletes a predictor backtest export job.deletePredictorBacktestExportJob(DeletePredictorBacktestExportJobRequest deletePredictorBacktestExportJobRequest) Deletes a predictor backtest export job.deleteResourceTree(Consumer<DeleteResourceTreeRequest.Builder> deleteResourceTreeRequest) Deletes an entire resource tree.deleteResourceTree(DeleteResourceTreeRequest deleteResourceTreeRequest) Deletes an entire resource tree.deleteWhatIfAnalysis(Consumer<DeleteWhatIfAnalysisRequest.Builder> deleteWhatIfAnalysisRequest) Deletes a what-if analysis created using the CreateWhatIfAnalysis operation.deleteWhatIfAnalysis(DeleteWhatIfAnalysisRequest deleteWhatIfAnalysisRequest) Deletes a what-if analysis created using the CreateWhatIfAnalysis operation.deleteWhatIfForecast(Consumer<DeleteWhatIfForecastRequest.Builder> deleteWhatIfForecastRequest) Deletes a what-if forecast created using the CreateWhatIfForecast operation.deleteWhatIfForecast(DeleteWhatIfForecastRequest deleteWhatIfForecastRequest) Deletes a what-if forecast created using the CreateWhatIfForecast operation.deleteWhatIfForecastExport(Consumer<DeleteWhatIfForecastExportRequest.Builder> deleteWhatIfForecastExportRequest) Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation.deleteWhatIfForecastExport(DeleteWhatIfForecastExportRequest deleteWhatIfForecastExportRequest) Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation.describeAutoPredictor(Consumer<DescribeAutoPredictorRequest.Builder> describeAutoPredictorRequest) Describes a predictor created using the CreateAutoPredictor operation.describeAutoPredictor(DescribeAutoPredictorRequest describeAutoPredictorRequest) Describes a predictor created using the CreateAutoPredictor operation.default CompletableFuture<DescribeDatasetResponse> describeDataset(Consumer<DescribeDatasetRequest.Builder> describeDatasetRequest) Describes an Amazon Forecast dataset created using the CreateDataset operation.default CompletableFuture<DescribeDatasetResponse> describeDataset(DescribeDatasetRequest describeDatasetRequest) Describes an Amazon Forecast dataset created using the CreateDataset operation.describeDatasetGroup(Consumer<DescribeDatasetGroupRequest.Builder> describeDatasetGroupRequest) Describes a dataset group created using the CreateDatasetGroup operation.describeDatasetGroup(DescribeDatasetGroupRequest describeDatasetGroupRequest) Describes a dataset group created using the CreateDatasetGroup operation.describeDatasetImportJob(Consumer<DescribeDatasetImportJobRequest.Builder> describeDatasetImportJobRequest) Describes a dataset import job created using the CreateDatasetImportJob operation.describeDatasetImportJob(DescribeDatasetImportJobRequest describeDatasetImportJobRequest) Describes a dataset import job created using the CreateDatasetImportJob operation.describeExplainability(Consumer<DescribeExplainabilityRequest.Builder> describeExplainabilityRequest) Describes an Explainability resource created using the CreateExplainability operation.describeExplainability(DescribeExplainabilityRequest describeExplainabilityRequest) Describes an Explainability resource created using the CreateExplainability operation.describeExplainabilityExport(Consumer<DescribeExplainabilityExportRequest.Builder> describeExplainabilityExportRequest) Describes an Explainability export created using the CreateExplainabilityExport operation.describeExplainabilityExport(DescribeExplainabilityExportRequest describeExplainabilityExportRequest) Describes an Explainability export created using the CreateExplainabilityExport operation.describeForecast(Consumer<DescribeForecastRequest.Builder> describeForecastRequest) Describes a forecast created using the CreateForecast operation.describeForecast(DescribeForecastRequest describeForecastRequest) Describes a forecast created using the CreateForecast operation.describeForecastExportJob(Consumer<DescribeForecastExportJobRequest.Builder> describeForecastExportJobRequest) Describes a forecast export job created using the CreateForecastExportJob operation.describeForecastExportJob(DescribeForecastExportJobRequest describeForecastExportJobRequest) Describes a forecast export job created using the CreateForecastExportJob operation.default CompletableFuture<DescribeMonitorResponse> describeMonitor(Consumer<DescribeMonitorRequest.Builder> describeMonitorRequest) Describes a monitor resource.default CompletableFuture<DescribeMonitorResponse> describeMonitor(DescribeMonitorRequest describeMonitorRequest) Describes a monitor resource.describePredictor(Consumer<DescribePredictorRequest.Builder> describePredictorRequest) describePredictor(DescribePredictorRequest describePredictorRequest) describePredictorBacktestExportJob(Consumer<DescribePredictorBacktestExportJobRequest.Builder> describePredictorBacktestExportJobRequest) Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.describePredictorBacktestExportJob(DescribePredictorBacktestExportJobRequest describePredictorBacktestExportJobRequest) Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.describeWhatIfAnalysis(Consumer<DescribeWhatIfAnalysisRequest.Builder> describeWhatIfAnalysisRequest) Describes the what-if analysis created using the CreateWhatIfAnalysis operation.describeWhatIfAnalysis(DescribeWhatIfAnalysisRequest describeWhatIfAnalysisRequest) Describes the what-if analysis created using the CreateWhatIfAnalysis operation.describeWhatIfForecast(Consumer<DescribeWhatIfForecastRequest.Builder> describeWhatIfForecastRequest) Describes the what-if forecast created using the CreateWhatIfForecast operation.describeWhatIfForecast(DescribeWhatIfForecastRequest describeWhatIfForecastRequest) Describes the what-if forecast created using the CreateWhatIfForecast operation.describeWhatIfForecastExport(Consumer<DescribeWhatIfForecastExportRequest.Builder> describeWhatIfForecastExportRequest) Describes the what-if forecast export created using the CreateWhatIfForecastExport operation.describeWhatIfForecastExport(DescribeWhatIfForecastExportRequest describeWhatIfForecastExportRequest) Describes the what-if forecast export created using the CreateWhatIfForecastExport operation.getAccuracyMetrics(Consumer<GetAccuracyMetricsRequest.Builder> getAccuracyMetricsRequest) Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation.getAccuracyMetrics(GetAccuracyMetricsRequest getAccuracyMetricsRequest) Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation.listDatasetGroups(Consumer<ListDatasetGroupsRequest.Builder> listDatasetGroupsRequest) Returns a list of dataset groups created using the CreateDatasetGroup operation.listDatasetGroups(ListDatasetGroupsRequest listDatasetGroupsRequest) Returns a list of dataset groups created using the CreateDatasetGroup operation.default ListDatasetGroupsPublisherlistDatasetGroupsPaginator(Consumer<ListDatasetGroupsRequest.Builder> listDatasetGroupsRequest) This is a variant oflistDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation.default ListDatasetGroupsPublisherlistDatasetGroupsPaginator(ListDatasetGroupsRequest listDatasetGroupsRequest) This is a variant oflistDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation.listDatasetImportJobs(Consumer<ListDatasetImportJobsRequest.Builder> listDatasetImportJobsRequest) Returns a list of dataset import jobs created using the CreateDatasetImportJob operation.listDatasetImportJobs(ListDatasetImportJobsRequest listDatasetImportJobsRequest) Returns a list of dataset import jobs created using the CreateDatasetImportJob operation.default ListDatasetImportJobsPublisherlistDatasetImportJobsPaginator(Consumer<ListDatasetImportJobsRequest.Builder> listDatasetImportJobsRequest) This is a variant oflistDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation.default ListDatasetImportJobsPublisherlistDatasetImportJobsPaginator(ListDatasetImportJobsRequest listDatasetImportJobsRequest) This is a variant oflistDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation.default CompletableFuture<ListDatasetsResponse> listDatasets(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) Returns a list of datasets created using the CreateDataset operation.default CompletableFuture<ListDatasetsResponse> listDatasets(ListDatasetsRequest listDatasetsRequest) Returns a list of datasets created using the CreateDataset operation.default ListDatasetsPublisherlistDatasetsPaginator(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) This is a variant oflistDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation.default ListDatasetsPublisherlistDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) This is a variant oflistDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation.listExplainabilities(Consumer<ListExplainabilitiesRequest.Builder> listExplainabilitiesRequest) Returns a list of Explainability resources created using the CreateExplainability operation.listExplainabilities(ListExplainabilitiesRequest listExplainabilitiesRequest) Returns a list of Explainability resources created using the CreateExplainability operation.default ListExplainabilitiesPublisherlistExplainabilitiesPaginator(Consumer<ListExplainabilitiesRequest.Builder> listExplainabilitiesRequest) This is a variant oflistExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation.default ListExplainabilitiesPublisherlistExplainabilitiesPaginator(ListExplainabilitiesRequest listExplainabilitiesRequest) This is a variant oflistExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation.listExplainabilityExports(Consumer<ListExplainabilityExportsRequest.Builder> listExplainabilityExportsRequest) Returns a list of Explainability exports created using the CreateExplainabilityExport operation.listExplainabilityExports(ListExplainabilityExportsRequest listExplainabilityExportsRequest) Returns a list of Explainability exports created using the CreateExplainabilityExport operation.listExplainabilityExportsPaginator(Consumer<ListExplainabilityExportsRequest.Builder> listExplainabilityExportsRequest) This is a variant oflistExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation.listExplainabilityExportsPaginator(ListExplainabilityExportsRequest listExplainabilityExportsRequest) This is a variant oflistExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation.listForecastExportJobs(Consumer<ListForecastExportJobsRequest.Builder> listForecastExportJobsRequest) Returns a list of forecast export jobs created using the CreateForecastExportJob operation.listForecastExportJobs(ListForecastExportJobsRequest listForecastExportJobsRequest) Returns a list of forecast export jobs created using the CreateForecastExportJob operation.default ListForecastExportJobsPublisherlistForecastExportJobsPaginator(Consumer<ListForecastExportJobsRequest.Builder> listForecastExportJobsRequest) This is a variant oflistForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation.default ListForecastExportJobsPublisherlistForecastExportJobsPaginator(ListForecastExportJobsRequest listForecastExportJobsRequest) This is a variant oflistForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation.default CompletableFuture<ListForecastsResponse> listForecasts(Consumer<ListForecastsRequest.Builder> listForecastsRequest) Returns a list of forecasts created using the CreateForecast operation.default CompletableFuture<ListForecastsResponse> listForecasts(ListForecastsRequest listForecastsRequest) Returns a list of forecasts created using the CreateForecast operation.default ListForecastsPublisherlistForecastsPaginator(Consumer<ListForecastsRequest.Builder> listForecastsRequest) This is a variant oflistForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation.default ListForecastsPublisherlistForecastsPaginator(ListForecastsRequest listForecastsRequest) This is a variant oflistForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation.listMonitorEvaluations(Consumer<ListMonitorEvaluationsRequest.Builder> listMonitorEvaluationsRequest) Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time.listMonitorEvaluations(ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time.default ListMonitorEvaluationsPublisherlistMonitorEvaluationsPaginator(Consumer<ListMonitorEvaluationsRequest.Builder> listMonitorEvaluationsRequest) This is a variant oflistMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation.default ListMonitorEvaluationsPublisherlistMonitorEvaluationsPaginator(ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) This is a variant oflistMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation.default CompletableFuture<ListMonitorsResponse> listMonitors(Consumer<ListMonitorsRequest.Builder> listMonitorsRequest) Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation.default CompletableFuture<ListMonitorsResponse> listMonitors(ListMonitorsRequest listMonitorsRequest) Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation.default ListMonitorsPublisherlistMonitorsPaginator(Consumer<ListMonitorsRequest.Builder> listMonitorsRequest) This is a variant oflistMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation.default ListMonitorsPublisherlistMonitorsPaginator(ListMonitorsRequest listMonitorsRequest) This is a variant oflistMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation.listPredictorBacktestExportJobs(Consumer<ListPredictorBacktestExportJobsRequest.Builder> listPredictorBacktestExportJobsRequest) Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation.listPredictorBacktestExportJobs(ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation.listPredictorBacktestExportJobsPaginator(Consumer<ListPredictorBacktestExportJobsRequest.Builder> listPredictorBacktestExportJobsRequest) This is a variant oflistPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation.listPredictorBacktestExportJobsPaginator(ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) This is a variant oflistPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation.default CompletableFuture<ListPredictorsResponse> listPredictors(Consumer<ListPredictorsRequest.Builder> listPredictorsRequest) Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations.default CompletableFuture<ListPredictorsResponse> listPredictors(ListPredictorsRequest listPredictorsRequest) Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations.default ListPredictorsPublisherlistPredictorsPaginator(Consumer<ListPredictorsRequest.Builder> listPredictorsRequest) This is a variant oflistPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation.default ListPredictorsPublisherlistPredictorsPaginator(ListPredictorsRequest listPredictorsRequest) This is a variant oflistPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for an Amazon Forecast resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for an Amazon Forecast resource.listWhatIfAnalyses(Consumer<ListWhatIfAnalysesRequest.Builder> listWhatIfAnalysesRequest) Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation.listWhatIfAnalyses(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation.default ListWhatIfAnalysesPublisherlistWhatIfAnalysesPaginator(Consumer<ListWhatIfAnalysesRequest.Builder> listWhatIfAnalysesRequest) This is a variant oflistWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation.default ListWhatIfAnalysesPublisherlistWhatIfAnalysesPaginator(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) This is a variant oflistWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation.listWhatIfForecastExports(Consumer<ListWhatIfForecastExportsRequest.Builder> listWhatIfForecastExportsRequest) Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation.listWhatIfForecastExports(ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation.listWhatIfForecastExportsPaginator(Consumer<ListWhatIfForecastExportsRequest.Builder> listWhatIfForecastExportsRequest) This is a variant oflistWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation.listWhatIfForecastExportsPaginator(ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) This is a variant oflistWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation.listWhatIfForecasts(Consumer<ListWhatIfForecastsRequest.Builder> listWhatIfForecastsRequest) Returns a list of what-if forecasts created using the CreateWhatIfForecast operation.listWhatIfForecasts(ListWhatIfForecastsRequest listWhatIfForecastsRequest) Returns a list of what-if forecasts created using the CreateWhatIfForecast operation.default ListWhatIfForecastsPublisherlistWhatIfForecastsPaginator(Consumer<ListWhatIfForecastsRequest.Builder> listWhatIfForecastsRequest) This is a variant oflistWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation.default ListWhatIfForecastsPublisherlistWhatIfForecastsPaginator(ListWhatIfForecastsRequest listWhatIfForecastsRequest) This is a variant oflistWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation.default CompletableFuture<ResumeResourceResponse> resumeResource(Consumer<ResumeResourceRequest.Builder> resumeResourceRequest) Resumes a stopped monitor resource.default CompletableFuture<ResumeResourceResponse> resumeResource(ResumeResourceRequest resumeResourceRequest) Resumes a stopped monitor resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StopResourceResponse> stopResource(Consumer<StopResourceRequest.Builder> stopResourceRequest) Stops a resource.default CompletableFuture<StopResourceResponse> stopResource(StopResourceRequest stopResourceRequest) Stops a resource.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified tags from a resource.updateDatasetGroup(Consumer<UpdateDatasetGroupRequest.Builder> updateDatasetGroupRequest) Replaces the datasets in a dataset group with the specified datasets.updateDatasetGroup(UpdateDatasetGroupRequest updateDatasetGroupRequest) Replaces the datasets in a dataset group with the specified datasets.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createAutoPredictor
default CompletableFuture<CreateAutoPredictorResponse> createAutoPredictor(CreateAutoPredictorRequest createAutoPredictorRequest) 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
ReferencePredictorArnandPredictorName.- Parameters:
createAutoPredictorRequest-- Returns:
- A Java Future containing the result of the CreateAutoPredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createAutoPredictor
default CompletableFuture<CreateAutoPredictorResponse> createAutoPredictor(Consumer<CreateAutoPredictorRequest.Builder> createAutoPredictorRequest) 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
ReferencePredictorArnandPredictorName.
This is a convenience which creates an instance of the
CreateAutoPredictorRequest.Builderavoiding the need to create one manually viaCreateAutoPredictorRequest.builder()- Parameters:
createAutoPredictorRequest- AConsumerthat will call methods onCreateAutoPredictorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAutoPredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createDataset
default CompletableFuture<CreateDatasetResponse> createDataset(CreateDatasetRequest createDatasetRequest) 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. -
DomainandDatasetType- 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
Statusof a dataset must beACTIVEbefore you can import training data. Use the DescribeDataset operation to get the status.- Parameters:
createDatasetRequest-- Returns:
- A Java Future containing the result of the CreateDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createDataset
default CompletableFuture<CreateDatasetResponse> createDataset(Consumer<CreateDatasetRequest.Builder> createDatasetRequest) 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. -
DomainandDatasetType- 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
Statusof a dataset must beACTIVEbefore you can import training data. Use the DescribeDataset operation to get the status.
This is a convenience which creates an instance of the
CreateDatasetRequest.Builderavoiding the need to create one manually viaCreateDatasetRequest.builder()- Parameters:
createDatasetRequest- AConsumerthat will call methods onCreateDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createDatasetGroup
default CompletableFuture<CreateDatasetGroupResponse> createDatasetGroup(CreateDatasetGroupRequest createDatasetGroupRequest) 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
Statusof a dataset group must beACTIVEbefore you can use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.- Parameters:
createDatasetGroupRequest-- Returns:
- A Java Future containing the result of the CreateDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDatasetGroup
default CompletableFuture<CreateDatasetGroupResponse> createDatasetGroup(Consumer<CreateDatasetGroupRequest.Builder> createDatasetGroupRequest) 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
Statusof a dataset group must beACTIVEbefore 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
CreateDatasetGroupRequest.Builderavoiding the need to create one manually viaCreateDatasetGroupRequest.builder()- Parameters:
createDatasetGroupRequest- AConsumerthat will call methods onCreateDatasetGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDatasetImportJob
default CompletableFuture<CreateDatasetImportJobResponse> createDatasetImportJob(CreateDatasetImportJobRequest createDatasetImportJobRequest) 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.
- Parameters:
createDatasetImportJobRequest-- Returns:
- A Java Future containing the result of the CreateDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDatasetImportJob
default CompletableFuture<CreateDatasetImportJobResponse> createDatasetImportJob(Consumer<CreateDatasetImportJobRequest.Builder> createDatasetImportJobRequest) 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
CreateDatasetImportJobRequest.Builderavoiding the need to create one manually viaCreateDatasetImportJobRequest.builder()- Parameters:
createDatasetImportJobRequest- AConsumerthat will call methods onCreateDatasetImportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExplainability
default CompletableFuture<CreateExplainabilityResponse> createExplainability(CreateExplainabilityRequest createExplainabilityRequest) 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
ExplainPredictorin 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.
- Parameters:
createExplainabilityRequest-- Returns:
- A Java Future containing the result of the CreateExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createExplainability
default CompletableFuture<CreateExplainabilityResponse> createExplainability(Consumer<CreateExplainabilityRequest.Builder> createExplainabilityRequest) 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
ExplainPredictorin 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
CreateExplainabilityRequest.Builderavoiding the need to create one manually viaCreateExplainabilityRequest.builder()- Parameters:
createExplainabilityRequest- AConsumerthat will call methods onCreateExplainabilityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createExplainabilityExport
default CompletableFuture<CreateExplainabilityExportResponse> createExplainabilityExport(CreateExplainabilityExportRequest createExplainabilityExportRequest) 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
Statusof the export job must beACTIVEbefore you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.- Parameters:
createExplainabilityExportRequest-- Returns:
- A Java Future containing the result of the CreateExplainabilityExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExplainabilityExport
default CompletableFuture<CreateExplainabilityExportResponse> createExplainabilityExport(Consumer<CreateExplainabilityExportRequest.Builder> createExplainabilityExportRequest) 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
Statusof the export job must beACTIVEbefore 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
CreateExplainabilityExportRequest.Builderavoiding the need to create one manually viaCreateExplainabilityExportRequest.builder()- Parameters:
createExplainabilityExportRequest- AConsumerthat will call methods onCreateExplainabilityExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateExplainabilityExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForecast
default CompletableFuture<CreateForecastResponse> createForecast(CreateForecastRequest createForecastRequest) Creates a forecast for each item in the
TARGET_TIME_SERIESdataset 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
ForecastHorizonvalue, 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
Statusof the forecast must beACTIVEbefore 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 theTimeSeriesSelectorobject 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.- Parameters:
createForecastRequest-- Returns:
- A Java Future containing the result of the CreateForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForecast
default CompletableFuture<CreateForecastResponse> createForecast(Consumer<CreateForecastRequest.Builder> createForecastRequest) Creates a forecast for each item in the
TARGET_TIME_SERIESdataset 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
ForecastHorizonvalue, 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
Statusof the forecast must beACTIVEbefore 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 theTimeSeriesSelectorobject 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
CreateForecastRequest.Builderavoiding the need to create one manually viaCreateForecastRequest.builder()- Parameters:
createForecastRequest- AConsumerthat will call methods onCreateForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForecastExportJob
default CompletableFuture<CreateForecastExportJobResponse> createForecastExportJob(CreateForecastExportJobRequest createForecastExportJobRequest) 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
Statusof the forecast export job must beACTIVEbefore you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeForecastExportJob operation.- Parameters:
createForecastExportJobRequest-- Returns:
- A Java Future containing the result of the CreateForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForecastExportJob
default CompletableFuture<CreateForecastExportJobResponse> createForecastExportJob(Consumer<CreateForecastExportJobRequest.Builder> createForecastExportJobRequest) 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
Statusof the forecast export job must beACTIVEbefore 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
CreateForecastExportJobRequest.Builderavoiding the need to create one manually viaCreateForecastExportJobRequest.builder()- Parameters:
createForecastExportJobRequest- AConsumerthat will call methods onCreateForecastExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMonitor
default CompletableFuture<CreateMonitorResponse> createMonitor(CreateMonitorRequest createMonitorRequest) 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.
- Parameters:
createMonitorRequest-- Returns:
- A Java Future containing the result of the CreateMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMonitor
default CompletableFuture<CreateMonitorResponse> createMonitor(Consumer<CreateMonitorRequest.Builder> createMonitorRequest) 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
CreateMonitorRequest.Builderavoiding the need to create one manually viaCreateMonitorRequest.builder()- Parameters:
createMonitorRequest- AConsumerthat will call methods onCreateMonitorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPredictor
default CompletableFuture<CreatePredictorResponse> createPredictor(CreatePredictorRequest createPredictorRequest) 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_SERIESdataset to improve model training. For more information, see FeaturizationConfig.For RELATED_TIME_SERIES datasets,
CreatePredictorverifies that theDataFrequencyspecified when the dataset was created matches theForecastFrequency. 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, setPerformAutoMLtotrue. Theobjective functionis 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
Statusof the predictor must beACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.- Parameters:
createPredictorRequest-- Returns:
- A Java Future containing the result of the CreatePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createPredictor
default CompletableFuture<CreatePredictorResponse> createPredictor(Consumer<CreatePredictorRequest.Builder> createPredictorRequest) 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_SERIESdataset to improve model training. For more information, see FeaturizationConfig.For RELATED_TIME_SERIES datasets,
CreatePredictorverifies that theDataFrequencyspecified when the dataset was created matches theForecastFrequency. 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, setPerformAutoMLtotrue. Theobjective functionis 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
Statusof the predictor must beACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
This is a convenience which creates an instance of the
CreatePredictorRequest.Builderavoiding the need to create one manually viaCreatePredictorRequest.builder()- Parameters:
createPredictorRequest- AConsumerthat will call methods onCreatePredictorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createPredictorBacktestExportJob
default CompletableFuture<CreatePredictorBacktestExportJobResponse> createPredictorBacktestExportJob(CreatePredictorBacktestExportJobRequest createPredictorBacktestExportJobRequest) 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>.csvThe <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
Statusof the export job must beACTIVEbefore you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.- Parameters:
createPredictorBacktestExportJobRequest-- Returns:
- A Java Future containing the result of the CreatePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPredictorBacktestExportJob
default CompletableFuture<CreatePredictorBacktestExportJobResponse> createPredictorBacktestExportJob(Consumer<CreatePredictorBacktestExportJobRequest.Builder> createPredictorBacktestExportJobRequest) 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>.csvThe <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
Statusof the export job must beACTIVEbefore 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
CreatePredictorBacktestExportJobRequest.Builderavoiding the need to create one manually viaCreatePredictorBacktestExportJobRequest.builder()- Parameters:
createPredictorBacktestExportJobRequest- AConsumerthat will call methods onCreatePredictorBacktestExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfAnalysis
default CompletableFuture<CreateWhatIfAnalysisResponse> createWhatIfAnalysis(CreateWhatIfAnalysisRequest createWhatIfAnalysisRequest) 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.
- Parameters:
createWhatIfAnalysisRequest-- Returns:
- A Java Future containing the result of the CreateWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfAnalysis
default CompletableFuture<CreateWhatIfAnalysisResponse> createWhatIfAnalysis(Consumer<CreateWhatIfAnalysisRequest.Builder> createWhatIfAnalysisRequest) 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
CreateWhatIfAnalysisRequest.Builderavoiding the need to create one manually viaCreateWhatIfAnalysisRequest.builder()- Parameters:
createWhatIfAnalysisRequest- AConsumerthat will call methods onCreateWhatIfAnalysisRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfForecast
default CompletableFuture<CreateWhatIfForecastResponse> createWhatIfForecast(CreateWhatIfForecastRequest createWhatIfForecastRequest) 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.
- Parameters:
createWhatIfForecastRequest-- Returns:
- A Java Future containing the result of the CreateWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfForecast
default CompletableFuture<CreateWhatIfForecastResponse> createWhatIfForecast(Consumer<CreateWhatIfForecastRequest.Builder> createWhatIfForecastRequest) 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
CreateWhatIfForecastRequest.Builderavoiding the need to create one manually viaCreateWhatIfForecastRequest.builder()- Parameters:
createWhatIfForecastRequest- AConsumerthat will call methods onCreateWhatIfForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfForecastExport
default CompletableFuture<CreateWhatIfForecastExportResponse> createWhatIfForecastExport(CreateWhatIfForecastExportRequest createWhatIfForecastExportRequest) 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
Statusof the forecast export job must beACTIVEbefore you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeWhatIfForecastExport operation.- Parameters:
createWhatIfForecastExportRequest-- Returns:
- A Java Future containing the result of the CreateWhatIfForecastExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWhatIfForecastExport
default CompletableFuture<CreateWhatIfForecastExportResponse> createWhatIfForecastExport(Consumer<CreateWhatIfForecastExportRequest.Builder> createWhatIfForecastExportRequest) 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
Statusof the forecast export job must beACTIVEbefore 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
CreateWhatIfForecastExportRequest.Builderavoiding the need to create one manually viaCreateWhatIfForecastExportRequest.builder()- Parameters:
createWhatIfForecastExportRequest- AConsumerthat will call methods onCreateWhatIfForecastExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWhatIfForecastExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceAlreadyExistsException There is already a resource with this name. Try again with a different name.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataset
default CompletableFuture<DeleteDatasetResponse> deleteDataset(DeleteDatasetRequest deleteDatasetRequest) Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of
ACTIVEorCREATE_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.
- Parameters:
deleteDatasetRequest-- Returns:
- A Java Future containing the result of the DeleteDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataset
default CompletableFuture<DeleteDatasetResponse> deleteDataset(Consumer<DeleteDatasetRequest.Builder> deleteDatasetRequest) Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of
ACTIVEorCREATE_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
DeleteDatasetRequest.Builderavoiding the need to create one manually viaDeleteDatasetRequest.builder()- Parameters:
deleteDatasetRequest- AConsumerthat will call methods onDeleteDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatasetGroup
default CompletableFuture<DeleteDatasetGroupResponse> deleteDatasetGroup(DeleteDatasetGroupRequest deleteDatasetGroupRequest) Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of
ACTIVE,CREATE_FAILED, orUPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation.This operation deletes only the dataset group, not the datasets in the group.
- Parameters:
deleteDatasetGroupRequest-- Returns:
- A Java Future containing the result of the DeleteDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatasetGroup
default CompletableFuture<DeleteDatasetGroupResponse> deleteDatasetGroup(Consumer<DeleteDatasetGroupRequest.Builder> deleteDatasetGroupRequest) Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of
ACTIVE,CREATE_FAILED, orUPDATE_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
DeleteDatasetGroupRequest.Builderavoiding the need to create one manually viaDeleteDatasetGroupRequest.builder()- Parameters:
deleteDatasetGroupRequest- AConsumerthat will call methods onDeleteDatasetGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatasetImportJob
default CompletableFuture<DeleteDatasetImportJobResponse> deleteDatasetImportJob(DeleteDatasetImportJobRequest deleteDatasetImportJobRequest) Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.- Parameters:
deleteDatasetImportJobRequest-- Returns:
- A Java Future containing the result of the DeleteDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatasetImportJob
default CompletableFuture<DeleteDatasetImportJobResponse> deleteDatasetImportJob(Consumer<DeleteDatasetImportJobRequest.Builder> deleteDatasetImportJobRequest) Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.
This is a convenience which creates an instance of the
DeleteDatasetImportJobRequest.Builderavoiding the need to create one manually viaDeleteDatasetImportJobRequest.builder()- Parameters:
deleteDatasetImportJobRequest- AConsumerthat will call methods onDeleteDatasetImportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExplainability
default CompletableFuture<DeleteExplainabilityResponse> deleteExplainability(DeleteExplainabilityRequest deleteExplainabilityRequest) Deletes an Explainability resource.
You can delete only predictor that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeExplainability operation.- Parameters:
deleteExplainabilityRequest-- Returns:
- A Java Future containing the result of the DeleteExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExplainability
default CompletableFuture<DeleteExplainabilityResponse> deleteExplainability(Consumer<DeleteExplainabilityRequest.Builder> deleteExplainabilityRequest) Deletes an Explainability resource.
You can delete only predictor that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeExplainability operation.
This is a convenience which creates an instance of the
DeleteExplainabilityRequest.Builderavoiding the need to create one manually viaDeleteExplainabilityRequest.builder()- Parameters:
deleteExplainabilityRequest- AConsumerthat will call methods onDeleteExplainabilityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExplainabilityExport
default CompletableFuture<DeleteExplainabilityExportResponse> deleteExplainabilityExport(DeleteExplainabilityExportRequest deleteExplainabilityExportRequest) Deletes an Explainability export.
- Parameters:
deleteExplainabilityExportRequest-- Returns:
- A Java Future containing the result of the DeleteExplainabilityExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExplainabilityExport
default CompletableFuture<DeleteExplainabilityExportResponse> deleteExplainabilityExport(Consumer<DeleteExplainabilityExportRequest.Builder> deleteExplainabilityExportRequest) Deletes an Explainability export.
This is a convenience which creates an instance of the
DeleteExplainabilityExportRequest.Builderavoiding the need to create one manually viaDeleteExplainabilityExportRequest.builder()- Parameters:
deleteExplainabilityExportRequest- AConsumerthat will call methods onDeleteExplainabilityExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteExplainabilityExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForecast
default CompletableFuture<DeleteForecastResponse> deleteForecast(DeleteForecastRequest deleteForecastRequest) Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of
ACTIVEorCREATE_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.
- Parameters:
deleteForecastRequest-- Returns:
- A Java Future containing the result of the DeleteForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForecast
default CompletableFuture<DeleteForecastResponse> deleteForecast(Consumer<DeleteForecastRequest.Builder> deleteForecastRequest) Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of
ACTIVEorCREATE_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
DeleteForecastRequest.Builderavoiding the need to create one manually viaDeleteForecastRequest.builder()- Parameters:
deleteForecastRequest- AConsumerthat will call methods onDeleteForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForecastExportJob
default CompletableFuture<DeleteForecastExportJobResponse> deleteForecastExportJob(DeleteForecastExportJobRequest deleteForecastExportJobRequest) Deletes a forecast export job created using the CreateForecastExportJob operation. You can delete only export jobs that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeForecastExportJob operation.- Parameters:
deleteForecastExportJobRequest-- Returns:
- A Java Future containing the result of the DeleteForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForecastExportJob
default CompletableFuture<DeleteForecastExportJobResponse> deleteForecastExportJob(Consumer<DeleteForecastExportJobRequest.Builder> deleteForecastExportJobRequest) Deletes a forecast export job created using the CreateForecastExportJob operation. You can delete only export jobs that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeForecastExportJob operation.
This is a convenience which creates an instance of the
DeleteForecastExportJobRequest.Builderavoiding the need to create one manually viaDeleteForecastExportJobRequest.builder()- Parameters:
deleteForecastExportJobRequest- AConsumerthat will call methods onDeleteForecastExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMonitor
default CompletableFuture<DeleteMonitorResponse> deleteMonitor(DeleteMonitorRequest deleteMonitorRequest) Deletes a monitor resource. You can only delete a monitor resource with a status of
ACTIVE,ACTIVE_STOPPED,CREATE_FAILED, orCREATE_STOPPED.- Parameters:
deleteMonitorRequest-- Returns:
- A Java Future containing the result of the DeleteMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMonitor
default CompletableFuture<DeleteMonitorResponse> deleteMonitor(Consumer<DeleteMonitorRequest.Builder> deleteMonitorRequest) Deletes a monitor resource. You can only delete a monitor resource with a status of
ACTIVE,ACTIVE_STOPPED,CREATE_FAILED, orCREATE_STOPPED.
This is a convenience which creates an instance of the
DeleteMonitorRequest.Builderavoiding the need to create one manually viaDeleteMonitorRequest.builder()- Parameters:
deleteMonitorRequest- AConsumerthat will call methods onDeleteMonitorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredictor
default CompletableFuture<DeletePredictorResponse> deletePredictor(DeletePredictorRequest deletePredictorRequest) Deletes a predictor created using the DescribePredictor or CreatePredictor operations. You can delete only predictor that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribePredictor operation.- Parameters:
deletePredictorRequest-- Returns:
- A Java Future containing the result of the DeletePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredictor
default CompletableFuture<DeletePredictorResponse> deletePredictor(Consumer<DeletePredictorRequest.Builder> deletePredictorRequest) Deletes a predictor created using the DescribePredictor or CreatePredictor operations. You can delete only predictor that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribePredictor operation.
This is a convenience which creates an instance of the
DeletePredictorRequest.Builderavoiding the need to create one manually viaDeletePredictorRequest.builder()- Parameters:
deletePredictorRequest- AConsumerthat will call methods onDeletePredictorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredictorBacktestExportJob
default CompletableFuture<DeletePredictorBacktestExportJobResponse> deletePredictorBacktestExportJob(DeletePredictorBacktestExportJobRequest deletePredictorBacktestExportJobRequest) Deletes a predictor backtest export job.
- Parameters:
deletePredictorBacktestExportJobRequest-- Returns:
- A Java Future containing the result of the DeletePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredictorBacktestExportJob
default CompletableFuture<DeletePredictorBacktestExportJobResponse> deletePredictorBacktestExportJob(Consumer<DeletePredictorBacktestExportJobRequest.Builder> deletePredictorBacktestExportJobRequest) Deletes a predictor backtest export job.
This is a convenience which creates an instance of the
DeletePredictorBacktestExportJobRequest.Builderavoiding the need to create one manually viaDeletePredictorBacktestExportJobRequest.builder()- Parameters:
deletePredictorBacktestExportJobRequest- AConsumerthat will call methods onDeletePredictorBacktestExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceTree
default CompletableFuture<DeleteResourceTreeResponse> deleteResourceTree(DeleteResourceTreeRequest deleteResourceTreeRequest) 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
DeleteResourceTreewill only delete Amazon Forecast resources, and will not delete datasets or exported files stored in Amazon S3.- Parameters:
deleteResourceTreeRequest-- Returns:
- A Java Future containing the result of the DeleteResourceTree operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteResourceTree
default CompletableFuture<DeleteResourceTreeResponse> deleteResourceTree(Consumer<DeleteResourceTreeRequest.Builder> deleteResourceTreeRequest) 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
DeleteResourceTreewill 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
DeleteResourceTreeRequest.Builderavoiding the need to create one manually viaDeleteResourceTreeRequest.builder()- Parameters:
deleteResourceTreeRequest- AConsumerthat will call methods onDeleteResourceTreeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourceTree operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteWhatIfAnalysis
default CompletableFuture<DeleteWhatIfAnalysisResponse> deleteWhatIfAnalysis(DeleteWhatIfAnalysisRequest deleteWhatIfAnalysisRequest) Deletes a what-if analysis created using the CreateWhatIfAnalysis operation. You can delete only what-if analyses that have a status of
ACTIVEorCREATE_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.
- Parameters:
deleteWhatIfAnalysisRequest-- Returns:
- A Java Future containing the result of the DeleteWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWhatIfAnalysis
default CompletableFuture<DeleteWhatIfAnalysisResponse> deleteWhatIfAnalysis(Consumer<DeleteWhatIfAnalysisRequest.Builder> deleteWhatIfAnalysisRequest) Deletes a what-if analysis created using the CreateWhatIfAnalysis operation. You can delete only what-if analyses that have a status of
ACTIVEorCREATE_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
DeleteWhatIfAnalysisRequest.Builderavoiding the need to create one manually viaDeleteWhatIfAnalysisRequest.builder()- Parameters:
deleteWhatIfAnalysisRequest- AConsumerthat will call methods onDeleteWhatIfAnalysisRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWhatIfForecast
default CompletableFuture<DeleteWhatIfForecastResponse> deleteWhatIfForecast(DeleteWhatIfForecastRequest deleteWhatIfForecastRequest) Deletes a what-if forecast created using the CreateWhatIfForecast operation. You can delete only what-if forecasts that have a status of
ACTIVEorCREATE_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.
- Parameters:
deleteWhatIfForecastRequest-- Returns:
- A Java Future containing the result of the DeleteWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWhatIfForecast
default CompletableFuture<DeleteWhatIfForecastResponse> deleteWhatIfForecast(Consumer<DeleteWhatIfForecastRequest.Builder> deleteWhatIfForecastRequest) Deletes a what-if forecast created using the CreateWhatIfForecast operation. You can delete only what-if forecasts that have a status of
ACTIVEorCREATE_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
DeleteWhatIfForecastRequest.Builderavoiding the need to create one manually viaDeleteWhatIfForecastRequest.builder()- Parameters:
deleteWhatIfForecastRequest- AConsumerthat will call methods onDeleteWhatIfForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWhatIfForecastExport
default CompletableFuture<DeleteWhatIfForecastExportResponse> deleteWhatIfForecastExport(DeleteWhatIfForecastExportRequest deleteWhatIfForecastExportRequest) Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation. You can delete only what-if forecast exports that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeWhatIfForecastExport operation.- Parameters:
deleteWhatIfForecastExportRequest-- Returns:
- A Java Future containing the result of the DeleteWhatIfForecastExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWhatIfForecastExport
default CompletableFuture<DeleteWhatIfForecastExportResponse> deleteWhatIfForecastExport(Consumer<DeleteWhatIfForecastExportRequest.Builder> deleteWhatIfForecastExportRequest) Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation. You can delete only what-if forecast exports that have a status of
ACTIVEorCREATE_FAILED. To get the status, use the DescribeWhatIfForecastExport operation.
This is a convenience which creates an instance of the
DeleteWhatIfForecastExportRequest.Builderavoiding the need to create one manually viaDeleteWhatIfForecastExportRequest.builder()- Parameters:
deleteWhatIfForecastExportRequest- AConsumerthat will call methods onDeleteWhatIfForecastExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWhatIfForecastExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAutoPredictor
default CompletableFuture<DescribeAutoPredictorResponse> describeAutoPredictor(DescribeAutoPredictorRequest describeAutoPredictorRequest) Describes a predictor created using the CreateAutoPredictor operation.
- Parameters:
describeAutoPredictorRequest-- Returns:
- A Java Future containing the result of the DescribeAutoPredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAutoPredictor
default CompletableFuture<DescribeAutoPredictorResponse> describeAutoPredictor(Consumer<DescribeAutoPredictorRequest.Builder> describeAutoPredictorRequest) Describes a predictor created using the CreateAutoPredictor operation.
This is a convenience which creates an instance of the
DescribeAutoPredictorRequest.Builderavoiding the need to create one manually viaDescribeAutoPredictorRequest.builder()- Parameters:
describeAutoPredictorRequest- AConsumerthat will call methods onDescribeAutoPredictorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAutoPredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDataset
default CompletableFuture<DescribeDatasetResponse> describeDataset(DescribeDatasetRequest describeDatasetRequest) Describes an Amazon Forecast dataset created using the CreateDataset operation.
In addition to listing the parameters specified in the
CreateDatasetrequest, this operation includes the following dataset properties:-
CreationTime -
LastModificationTime -
Status
- Parameters:
describeDatasetRequest-- Returns:
- A Java Future containing the result of the DescribeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeDataset
default CompletableFuture<DescribeDatasetResponse> describeDataset(Consumer<DescribeDatasetRequest.Builder> describeDatasetRequest) Describes an Amazon Forecast dataset created using the CreateDataset operation.
In addition to listing the parameters specified in the
CreateDatasetrequest, this operation includes the following dataset properties:-
CreationTime -
LastModificationTime -
Status
This is a convenience which creates an instance of the
DescribeDatasetRequest.Builderavoiding the need to create one manually viaDescribeDatasetRequest.builder()- Parameters:
describeDatasetRequest- AConsumerthat will call methods onDescribeDatasetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeDatasetGroup
default CompletableFuture<DescribeDatasetGroupResponse> describeDatasetGroup(DescribeDatasetGroupRequest describeDatasetGroupRequest) Describes a dataset group created using the CreateDatasetGroup operation.
In addition to listing the parameters provided in the
CreateDatasetGrouprequest, this operation includes the following properties:-
DatasetArns- The datasets belonging to the group. -
CreationTime -
LastModificationTime -
Status
- Parameters:
describeDatasetGroupRequest-- Returns:
- A Java Future containing the result of the DescribeDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeDatasetGroup
default CompletableFuture<DescribeDatasetGroupResponse> describeDatasetGroup(Consumer<DescribeDatasetGroupRequest.Builder> describeDatasetGroupRequest) Describes a dataset group created using the CreateDatasetGroup operation.
In addition to listing the parameters provided in the
CreateDatasetGrouprequest, 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
DescribeDatasetGroupRequest.Builderavoiding the need to create one manually viaDescribeDatasetGroupRequest.builder()- Parameters:
describeDatasetGroupRequest- AConsumerthat will call methods onDescribeDatasetGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeDatasetImportJob
default CompletableFuture<DescribeDatasetImportJobResponse> describeDatasetImportJob(DescribeDatasetImportJobRequest describeDatasetImportJobRequest) Describes a dataset import job created using the CreateDatasetImportJob operation.
In addition to listing the parameters provided in the
CreateDatasetImportJobrequest, this operation includes the following properties:-
CreationTime -
LastModificationTime -
DataSize -
FieldStatistics -
Status -
Message- If an error occurred, information about the error.
- Parameters:
describeDatasetImportJobRequest-- Returns:
- A Java Future containing the result of the DescribeDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeDatasetImportJob
default CompletableFuture<DescribeDatasetImportJobResponse> describeDatasetImportJob(Consumer<DescribeDatasetImportJobRequest.Builder> describeDatasetImportJobRequest) Describes a dataset import job created using the CreateDatasetImportJob operation.
In addition to listing the parameters provided in the
CreateDatasetImportJobrequest, 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
DescribeDatasetImportJobRequest.Builderavoiding the need to create one manually viaDescribeDatasetImportJobRequest.builder()- Parameters:
describeDatasetImportJobRequest- AConsumerthat will call methods onDescribeDatasetImportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeDatasetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeExplainability
default CompletableFuture<DescribeExplainabilityResponse> describeExplainability(DescribeExplainabilityRequest describeExplainabilityRequest) Describes an Explainability resource created using the CreateExplainability operation.
- Parameters:
describeExplainabilityRequest-- Returns:
- A Java Future containing the result of the DescribeExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExplainability
default CompletableFuture<DescribeExplainabilityResponse> describeExplainability(Consumer<DescribeExplainabilityRequest.Builder> describeExplainabilityRequest) Describes an Explainability resource created using the CreateExplainability operation.
This is a convenience which creates an instance of the
DescribeExplainabilityRequest.Builderavoiding the need to create one manually viaDescribeExplainabilityRequest.builder()- Parameters:
describeExplainabilityRequest- AConsumerthat will call methods onDescribeExplainabilityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeExplainability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExplainabilityExport
default CompletableFuture<DescribeExplainabilityExportResponse> describeExplainabilityExport(DescribeExplainabilityExportRequest describeExplainabilityExportRequest) Describes an Explainability export created using the CreateExplainabilityExport operation.
- Parameters:
describeExplainabilityExportRequest-- Returns:
- A Java Future containing the result of the DescribeExplainabilityExport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExplainabilityExport
default CompletableFuture<DescribeExplainabilityExportResponse> describeExplainabilityExport(Consumer<DescribeExplainabilityExportRequest.Builder> describeExplainabilityExportRequest) Describes an Explainability export created using the CreateExplainabilityExport operation.
This is a convenience which creates an instance of the
DescribeExplainabilityExportRequest.Builderavoiding the need to create one manually viaDescribeExplainabilityExportRequest.builder()- Parameters:
describeExplainabilityExportRequest- AConsumerthat will call methods onDescribeExplainabilityExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeExplainabilityExport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeForecast
default CompletableFuture<DescribeForecastResponse> describeForecast(DescribeForecastRequest describeForecastRequest) Describes a forecast created using the CreateForecast operation.
In addition to listing the properties provided in the
CreateForecastrequest, 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.
- Parameters:
describeForecastRequest-- Returns:
- A Java Future containing the result of the DescribeForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeForecast
default CompletableFuture<DescribeForecastResponse> describeForecast(Consumer<DescribeForecastRequest.Builder> describeForecastRequest) Describes a forecast created using the CreateForecast operation.
In addition to listing the properties provided in the
CreateForecastrequest, 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
DescribeForecastRequest.Builderavoiding the need to create one manually viaDescribeForecastRequest.builder()- Parameters:
describeForecastRequest- AConsumerthat will call methods onDescribeForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeForecastExportJob
default CompletableFuture<DescribeForecastExportJobResponse> describeForecastExportJob(DescribeForecastExportJobRequest describeForecastExportJobRequest) Describes a forecast export job created using the CreateForecastExportJob operation.
In addition to listing the properties provided by the user in the
CreateForecastExportJobrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Status -
Message- If an error occurred, information about the error.
- Parameters:
describeForecastExportJobRequest-- Returns:
- A Java Future containing the result of the DescribeForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeForecastExportJob
default CompletableFuture<DescribeForecastExportJobResponse> describeForecastExportJob(Consumer<DescribeForecastExportJobRequest.Builder> describeForecastExportJobRequest) Describes a forecast export job created using the CreateForecastExportJob operation.
In addition to listing the properties provided by the user in the
CreateForecastExportJobrequest, 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
DescribeForecastExportJobRequest.Builderavoiding the need to create one manually viaDescribeForecastExportJobRequest.builder()- Parameters:
describeForecastExportJobRequest- AConsumerthat will call methods onDescribeForecastExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeForecastExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeMonitor
default CompletableFuture<DescribeMonitorResponse> describeMonitor(DescribeMonitorRequest describeMonitorRequest) 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
- Parameters:
describeMonitorRequest-- Returns:
- A Java Future containing the result of the DescribeMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeMonitor
default CompletableFuture<DescribeMonitorResponse> describeMonitor(Consumer<DescribeMonitorRequest.Builder> describeMonitorRequest) 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
DescribeMonitorRequest.Builderavoiding the need to create one manually viaDescribeMonitorRequest.builder()- Parameters:
describeMonitorRequest- AConsumerthat will call methods onDescribeMonitorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeMonitor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describePredictor
default CompletableFuture<DescribePredictorResponse> describePredictor(DescribePredictorRequest describePredictorRequest) 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
CreatePredictorrequest, 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.
- Parameters:
describePredictorRequest-- Returns:
- A Java Future containing the result of the DescribePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describePredictor
default CompletableFuture<DescribePredictorResponse> describePredictor(Consumer<DescribePredictorRequest.Builder> describePredictorRequest) 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
CreatePredictorrequest, 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
DescribePredictorRequest.Builderavoiding the need to create one manually viaDescribePredictorRequest.builder()- Parameters:
describePredictorRequest- AConsumerthat will call methods onDescribePredictorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribePredictor operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describePredictorBacktestExportJob
default CompletableFuture<DescribePredictorBacktestExportJobResponse> describePredictorBacktestExportJob(DescribePredictorBacktestExportJobRequest describePredictorBacktestExportJobRequest) Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.
In addition to listing the properties provided by the user in the
CreatePredictorBacktestExportJobrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Status -
Message(if an error occurred)
- Parameters:
describePredictorBacktestExportJobRequest-- Returns:
- A Java Future containing the result of the DescribePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describePredictorBacktestExportJob
default CompletableFuture<DescribePredictorBacktestExportJobResponse> describePredictorBacktestExportJob(Consumer<DescribePredictorBacktestExportJobRequest.Builder> describePredictorBacktestExportJobRequest) Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.
In addition to listing the properties provided by the user in the
CreatePredictorBacktestExportJobrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Status -
Message(if an error occurred)
This is a convenience which creates an instance of the
DescribePredictorBacktestExportJobRequest.Builderavoiding the need to create one manually viaDescribePredictorBacktestExportJobRequest.builder()- Parameters:
describePredictorBacktestExportJobRequest- AConsumerthat will call methods onDescribePredictorBacktestExportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribePredictorBacktestExportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfAnalysis
default CompletableFuture<DescribeWhatIfAnalysisResponse> describeWhatIfAnalysis(DescribeWhatIfAnalysisRequest describeWhatIfAnalysisRequest) Describes the what-if analysis created using the CreateWhatIfAnalysis operation.
In addition to listing the properties provided in the
CreateWhatIfAnalysisrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Message- If an error occurred, information about the error. -
Status
- Parameters:
describeWhatIfAnalysisRequest-- Returns:
- A Java Future containing the result of the DescribeWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfAnalysis
default CompletableFuture<DescribeWhatIfAnalysisResponse> describeWhatIfAnalysis(Consumer<DescribeWhatIfAnalysisRequest.Builder> describeWhatIfAnalysisRequest) Describes the what-if analysis created using the CreateWhatIfAnalysis operation.
In addition to listing the properties provided in the
CreateWhatIfAnalysisrequest, 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
DescribeWhatIfAnalysisRequest.Builderavoiding the need to create one manually viaDescribeWhatIfAnalysisRequest.builder()- Parameters:
describeWhatIfAnalysisRequest- AConsumerthat will call methods onDescribeWhatIfAnalysisRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWhatIfAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfForecast
default CompletableFuture<DescribeWhatIfForecastResponse> describeWhatIfForecast(DescribeWhatIfForecastRequest describeWhatIfForecastRequest) Describes the what-if forecast created using the CreateWhatIfForecast operation.
In addition to listing the properties provided in the
CreateWhatIfForecastrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Message- If an error occurred, information about the error. -
Status
- Parameters:
describeWhatIfForecastRequest-- Returns:
- A Java Future containing the result of the DescribeWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfForecast
default CompletableFuture<DescribeWhatIfForecastResponse> describeWhatIfForecast(Consumer<DescribeWhatIfForecastRequest.Builder> describeWhatIfForecastRequest) Describes the what-if forecast created using the CreateWhatIfForecast operation.
In addition to listing the properties provided in the
CreateWhatIfForecastrequest, 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
DescribeWhatIfForecastRequest.Builderavoiding the need to create one manually viaDescribeWhatIfForecastRequest.builder()- Parameters:
describeWhatIfForecastRequest- AConsumerthat will call methods onDescribeWhatIfForecastRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWhatIfForecast operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfForecastExport
default CompletableFuture<DescribeWhatIfForecastExportResponse> describeWhatIfForecastExport(DescribeWhatIfForecastExportRequest describeWhatIfForecastExportRequest) Describes the what-if forecast export created using the CreateWhatIfForecastExport operation.
In addition to listing the properties provided in the
CreateWhatIfForecastExportrequest, this operation lists the following properties:-
CreationTime -
LastModificationTime -
Message- If an error occurred, information about the error. -
Status
- Parameters:
describeWhatIfForecastExportRequest-- Returns:
- A Java Future containing the result of the DescribeWhatIfForecastExport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeWhatIfForecastExport
default CompletableFuture<DescribeWhatIfForecastExportResponse> describeWhatIfForecastExport(Consumer<DescribeWhatIfForecastExportRequest.Builder> describeWhatIfForecastExportRequest) Describes the what-if forecast export created using the CreateWhatIfForecastExport operation.
In addition to listing the properties provided in the
CreateWhatIfForecastExportrequest, 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
DescribeWhatIfForecastExportRequest.Builderavoiding the need to create one manually viaDescribeWhatIfForecastExportRequest.builder()- Parameters:
describeWhatIfForecastExportRequest- AConsumerthat will call methods onDescribeWhatIfForecastExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWhatIfForecastExport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getAccuracyMetrics
default CompletableFuture<GetAccuracyMetricsResponse> getAccuracyMetrics(GetAccuracyMetricsRequest getAccuracyMetricsRequest) 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 theCreatePredictorrequest. IfNumberOfBacktestWindowsisn't specified, the number defaults to one.The parameters of the
fillingmethod determine which items contribute to the metrics. If you want all items to contribute, specifyzero. If you want only those items that have complete data in the range being evaluated to contribute, specifynan. For more information, see FeaturizationMethod.Before you can get accuracy metrics, the
Statusof the predictor must beACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.- Parameters:
getAccuracyMetricsRequest-- Returns:
- A Java Future containing the result of the GetAccuracyMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccuracyMetrics
default CompletableFuture<GetAccuracyMetricsResponse> getAccuracyMetrics(Consumer<GetAccuracyMetricsRequest.Builder> getAccuracyMetricsRequest) 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 theCreatePredictorrequest. IfNumberOfBacktestWindowsisn't specified, the number defaults to one.The parameters of the
fillingmethod determine which items contribute to the metrics. If you want all items to contribute, specifyzero. If you want only those items that have complete data in the range being evaluated to contribute, specifynan. For more information, see FeaturizationMethod.Before you can get accuracy metrics, the
Statusof the predictor must beACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.
This is a convenience which creates an instance of the
GetAccuracyMetricsRequest.Builderavoiding the need to create one manually viaGetAccuracyMetricsRequest.builder()- Parameters:
getAccuracyMetricsRequest- AConsumerthat will call methods onGetAccuracyMetricsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccuracyMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetGroups
default CompletableFuture<ListDatasetGroupsResponse> listDatasetGroups(ListDatasetGroupsRequest listDatasetGroupsRequest) 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.
- Parameters:
listDatasetGroupsRequest-- Returns:
- A Java Future containing the result of the ListDatasetGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetGroups
default CompletableFuture<ListDatasetGroupsResponse> listDatasetGroups(Consumer<ListDatasetGroupsRequest.Builder> listDatasetGroupsRequest) 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
ListDatasetGroupsRequest.Builderavoiding the need to create one manually viaListDatasetGroupsRequest.builder()- Parameters:
listDatasetGroupsRequest- AConsumerthat will call methods onListDatasetGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDatasetGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetGroupsPaginator
default ListDatasetGroupsPublisher listDatasetGroupsPaginator(ListDatasetGroupsRequest listDatasetGroupsRequest) This is a variant of
listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsPublisher publisher = client.listDatasetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsPublisher publisher = client.listDatasetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse response) { //... }; });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
listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation.- Parameters:
listDatasetGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetGroupsPaginator
default ListDatasetGroupsPublisher listDatasetGroupsPaginator(Consumer<ListDatasetGroupsRequest.Builder> listDatasetGroupsRequest) This is a variant of
listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsPublisher publisher = client.listDatasetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetGroupsPublisher publisher = client.listDatasetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsResponse response) { //... }; });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
listDatasetGroups(software.amazon.awssdk.services.forecast.model.ListDatasetGroupsRequest)operation.
This is a convenience which creates an instance of the
ListDatasetGroupsRequest.Builderavoiding the need to create one manually viaListDatasetGroupsRequest.builder()- Parameters:
listDatasetGroupsRequest- AConsumerthat will call methods onListDatasetGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetImportJobs
default CompletableFuture<ListDatasetImportJobsResponse> listDatasetImportJobs(ListDatasetImportJobsRequest listDatasetImportJobsRequest) 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.
- Parameters:
listDatasetImportJobsRequest-- Returns:
- A Java Future containing the result of the ListDatasetImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetImportJobs
default CompletableFuture<ListDatasetImportJobsResponse> listDatasetImportJobs(Consumer<ListDatasetImportJobsRequest.Builder> listDatasetImportJobsRequest) 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
ListDatasetImportJobsRequest.Builderavoiding the need to create one manually viaListDatasetImportJobsRequest.builder()- Parameters:
listDatasetImportJobsRequest- AConsumerthat will call methods onListDatasetImportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDatasetImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetImportJobsPaginator
default ListDatasetImportJobsPublisher listDatasetImportJobsPaginator(ListDatasetImportJobsRequest listDatasetImportJobsRequest) This is a variant of
listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsPublisher publisher = client.listDatasetImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsPublisher publisher = client.listDatasetImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse response) { //... }; });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
listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation.- Parameters:
listDatasetImportJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetImportJobsPaginator
default ListDatasetImportJobsPublisher listDatasetImportJobsPaginator(Consumer<ListDatasetImportJobsRequest.Builder> listDatasetImportJobsRequest) This is a variant of
listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsPublisher publisher = client.listDatasetImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetImportJobsPublisher publisher = client.listDatasetImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsResponse response) { //... }; });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
listDatasetImportJobs(software.amazon.awssdk.services.forecast.model.ListDatasetImportJobsRequest)operation.
This is a convenience which creates an instance of the
ListDatasetImportJobsRequest.Builderavoiding the need to create one manually viaListDatasetImportJobsRequest.builder()- Parameters:
listDatasetImportJobsRequest- AConsumerthat will call methods onListDatasetImportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasets
default CompletableFuture<ListDatasetsResponse> listDatasets(ListDatasetsRequest listDatasetsRequest) 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.
- Parameters:
listDatasetsRequest-- Returns:
- A Java Future containing the result of the ListDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasets
default CompletableFuture<ListDatasetsResponse> listDatasets(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) 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
ListDatasetsRequest.Builderavoiding the need to create one manually viaListDatasetsRequest.builder()- Parameters:
listDatasetsRequest- AConsumerthat will call methods onListDatasetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetsPaginator
This is a variant of
listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetsPublisher publisher = client.listDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetsPublisher publisher = client.listDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetsResponse response) { //... }; });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
listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation.- Parameters:
listDatasetsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatasetsPaginator
default ListDatasetsPublisher listDatasetsPaginator(Consumer<ListDatasetsRequest.Builder> listDatasetsRequest) This is a variant of
listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListDatasetsPublisher publisher = client.listDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListDatasetsPublisher publisher = client.listDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListDatasetsResponse response) { //... }; });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
listDatasets(software.amazon.awssdk.services.forecast.model.ListDatasetsRequest)operation.
This is a convenience which creates an instance of the
ListDatasetsRequest.Builderavoiding the need to create one manually viaListDatasetsRequest.builder()- Parameters:
listDatasetsRequest- AConsumerthat will call methods onListDatasetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilities
default CompletableFuture<ListExplainabilitiesResponse> listExplainabilities(ListExplainabilitiesRequest listExplainabilitiesRequest) 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.
- Parameters:
listExplainabilitiesRequest-- Returns:
- A Java Future containing the result of the ListExplainabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilities
default CompletableFuture<ListExplainabilitiesResponse> listExplainabilities(Consumer<ListExplainabilitiesRequest.Builder> listExplainabilitiesRequest) 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
ListExplainabilitiesRequest.Builderavoiding the need to create one manually viaListExplainabilitiesRequest.builder()- Parameters:
listExplainabilitiesRequest- AConsumerthat will call methods onListExplainabilitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListExplainabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilitiesPaginator
default ListExplainabilitiesPublisher listExplainabilitiesPaginator(ListExplainabilitiesRequest listExplainabilitiesRequest) This is a variant of
listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesPublisher publisher = client.listExplainabilitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesPublisher publisher = client.listExplainabilitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse response) { //... }; });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
listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation.- Parameters:
listExplainabilitiesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilitiesPaginator
default ListExplainabilitiesPublisher listExplainabilitiesPaginator(Consumer<ListExplainabilitiesRequest.Builder> listExplainabilitiesRequest) This is a variant of
listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesPublisher publisher = client.listExplainabilitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListExplainabilitiesPublisher publisher = client.listExplainabilitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesResponse response) { //... }; });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
listExplainabilities(software.amazon.awssdk.services.forecast.model.ListExplainabilitiesRequest)operation.
This is a convenience which creates an instance of the
ListExplainabilitiesRequest.Builderavoiding the need to create one manually viaListExplainabilitiesRequest.builder()- Parameters:
listExplainabilitiesRequest- AConsumerthat will call methods onListExplainabilitiesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilityExports
default CompletableFuture<ListExplainabilityExportsResponse> listExplainabilityExports(ListExplainabilityExportsRequest listExplainabilityExportsRequest) 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.
- Parameters:
listExplainabilityExportsRequest-- Returns:
- A Java Future containing the result of the ListExplainabilityExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilityExports
default CompletableFuture<ListExplainabilityExportsResponse> listExplainabilityExports(Consumer<ListExplainabilityExportsRequest.Builder> listExplainabilityExportsRequest) 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
ListExplainabilityExportsRequest.Builderavoiding the need to create one manually viaListExplainabilityExportsRequest.builder()- Parameters:
listExplainabilityExportsRequest- AConsumerthat will call methods onListExplainabilityExportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListExplainabilityExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilityExportsPaginator
default ListExplainabilityExportsPublisher listExplainabilityExportsPaginator(ListExplainabilityExportsRequest listExplainabilityExportsRequest) This is a variant of
listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsPublisher publisher = client.listExplainabilityExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsPublisher publisher = client.listExplainabilityExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse response) { //... }; });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
listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation.- Parameters:
listExplainabilityExportsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExplainabilityExportsPaginator
default ListExplainabilityExportsPublisher listExplainabilityExportsPaginator(Consumer<ListExplainabilityExportsRequest.Builder> listExplainabilityExportsRequest) This is a variant of
listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsPublisher publisher = client.listExplainabilityExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListExplainabilityExportsPublisher publisher = client.listExplainabilityExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsResponse response) { //... }; });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
listExplainabilityExports(software.amazon.awssdk.services.forecast.model.ListExplainabilityExportsRequest)operation.
This is a convenience which creates an instance of the
ListExplainabilityExportsRequest.Builderavoiding the need to create one manually viaListExplainabilityExportsRequest.builder()- Parameters:
listExplainabilityExportsRequest- AConsumerthat will call methods onListExplainabilityExportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastExportJobs
default CompletableFuture<ListForecastExportJobsResponse> listForecastExportJobs(ListForecastExportJobsRequest listForecastExportJobsRequest) 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.
- Parameters:
listForecastExportJobsRequest-- Returns:
- A Java Future containing the result of the ListForecastExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastExportJobs
default CompletableFuture<ListForecastExportJobsResponse> listForecastExportJobs(Consumer<ListForecastExportJobsRequest.Builder> listForecastExportJobsRequest) 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
ListForecastExportJobsRequest.Builderavoiding the need to create one manually viaListForecastExportJobsRequest.builder()- Parameters:
listForecastExportJobsRequest- AConsumerthat will call methods onListForecastExportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListForecastExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastExportJobsPaginator
default ListForecastExportJobsPublisher listForecastExportJobsPaginator(ListForecastExportJobsRequest listForecastExportJobsRequest) This is a variant of
listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsPublisher publisher = client.listForecastExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsPublisher publisher = client.listForecastExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse response) { //... }; });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
listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation.- Parameters:
listForecastExportJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastExportJobsPaginator
default ListForecastExportJobsPublisher listForecastExportJobsPaginator(Consumer<ListForecastExportJobsRequest.Builder> listForecastExportJobsRequest) This is a variant of
listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsPublisher publisher = client.listForecastExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListForecastExportJobsPublisher publisher = client.listForecastExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsResponse response) { //... }; });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
listForecastExportJobs(software.amazon.awssdk.services.forecast.model.ListForecastExportJobsRequest)operation.
This is a convenience which creates an instance of the
ListForecastExportJobsRequest.Builderavoiding the need to create one manually viaListForecastExportJobsRequest.builder()- Parameters:
listForecastExportJobsRequest- AConsumerthat will call methods onListForecastExportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecasts
default CompletableFuture<ListForecastsResponse> listForecasts(ListForecastsRequest listForecastsRequest) 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.
- Parameters:
listForecastsRequest-- Returns:
- A Java Future containing the result of the ListForecasts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecasts
default CompletableFuture<ListForecastsResponse> listForecasts(Consumer<ListForecastsRequest.Builder> listForecastsRequest) 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
ListForecastsRequest.Builderavoiding the need to create one manually viaListForecastsRequest.builder()- Parameters:
listForecastsRequest- AConsumerthat will call methods onListForecastsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListForecasts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastsPaginator
This is a variant of
listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListForecastsPublisher publisher = client.listForecastsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListForecastsPublisher publisher = client.listForecastsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListForecastsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListForecastsResponse response) { //... }; });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
listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation.- Parameters:
listForecastsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForecastsPaginator
default ListForecastsPublisher listForecastsPaginator(Consumer<ListForecastsRequest.Builder> listForecastsRequest) This is a variant of
listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListForecastsPublisher publisher = client.listForecastsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListForecastsPublisher publisher = client.listForecastsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListForecastsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListForecastsResponse response) { //... }; });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
listForecasts(software.amazon.awssdk.services.forecast.model.ListForecastsRequest)operation.
This is a convenience which creates an instance of the
ListForecastsRequest.Builderavoiding the need to create one manually viaListForecastsRequest.builder()- Parameters:
listForecastsRequest- AConsumerthat will call methods onListForecastsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorEvaluations
default CompletableFuture<ListMonitorEvaluationsResponse> listMonitorEvaluations(ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) 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.
- Parameters:
listMonitorEvaluationsRequest-- Returns:
- A Java Future containing the result of the ListMonitorEvaluations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorEvaluations
default CompletableFuture<ListMonitorEvaluationsResponse> listMonitorEvaluations(Consumer<ListMonitorEvaluationsRequest.Builder> listMonitorEvaluationsRequest) 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
ListMonitorEvaluationsRequest.Builderavoiding the need to create one manually viaListMonitorEvaluationsRequest.builder()- Parameters:
listMonitorEvaluationsRequest- AConsumerthat will call methods onListMonitorEvaluationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMonitorEvaluations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorEvaluationsPaginator
default ListMonitorEvaluationsPublisher listMonitorEvaluationsPaginator(ListMonitorEvaluationsRequest listMonitorEvaluationsRequest) This is a variant of
listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsPublisher publisher = client.listMonitorEvaluationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsPublisher publisher = client.listMonitorEvaluationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse response) { //... }; });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
listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation.- Parameters:
listMonitorEvaluationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorEvaluationsPaginator
default ListMonitorEvaluationsPublisher listMonitorEvaluationsPaginator(Consumer<ListMonitorEvaluationsRequest.Builder> listMonitorEvaluationsRequest) This is a variant of
listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsPublisher publisher = client.listMonitorEvaluationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListMonitorEvaluationsPublisher publisher = client.listMonitorEvaluationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsResponse response) { //... }; });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
listMonitorEvaluations(software.amazon.awssdk.services.forecast.model.ListMonitorEvaluationsRequest)operation.
This is a convenience which creates an instance of the
ListMonitorEvaluationsRequest.Builderavoiding the need to create one manually viaListMonitorEvaluationsRequest.builder()- Parameters:
listMonitorEvaluationsRequest- AConsumerthat will call methods onListMonitorEvaluationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitors
default CompletableFuture<ListMonitorsResponse> listMonitors(ListMonitorsRequest listMonitorsRequest) 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.
- Parameters:
listMonitorsRequest-- Returns:
- A Java Future containing the result of the ListMonitors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitors
default CompletableFuture<ListMonitorsResponse> listMonitors(Consumer<ListMonitorsRequest.Builder> listMonitorsRequest) 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
ListMonitorsRequest.Builderavoiding the need to create one manually viaListMonitorsRequest.builder()- Parameters:
listMonitorsRequest- AConsumerthat will call methods onListMonitorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMonitors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorsPaginator
This is a variant of
listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListMonitorsPublisher publisher = client.listMonitorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListMonitorsPublisher publisher = client.listMonitorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListMonitorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListMonitorsResponse response) { //... }; });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
listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation.- Parameters:
listMonitorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMonitorsPaginator
default ListMonitorsPublisher listMonitorsPaginator(Consumer<ListMonitorsRequest.Builder> listMonitorsRequest) This is a variant of
listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListMonitorsPublisher publisher = client.listMonitorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListMonitorsPublisher publisher = client.listMonitorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListMonitorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListMonitorsResponse response) { //... }; });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
listMonitors(software.amazon.awssdk.services.forecast.model.ListMonitorsRequest)operation.
This is a convenience which creates an instance of the
ListMonitorsRequest.Builderavoiding the need to create one manually viaListMonitorsRequest.builder()- Parameters:
listMonitorsRequest- AConsumerthat will call methods onListMonitorsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorBacktestExportJobs
default CompletableFuture<ListPredictorBacktestExportJobsResponse> listPredictorBacktestExportJobs(ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) 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.
- Parameters:
listPredictorBacktestExportJobsRequest-- Returns:
- A Java Future containing the result of the ListPredictorBacktestExportJobs operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorBacktestExportJobs
default CompletableFuture<ListPredictorBacktestExportJobsResponse> listPredictorBacktestExportJobs(Consumer<ListPredictorBacktestExportJobsRequest.Builder> listPredictorBacktestExportJobsRequest) 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
ListPredictorBacktestExportJobsRequest.Builderavoiding the need to create one manually viaListPredictorBacktestExportJobsRequest.builder()- Parameters:
listPredictorBacktestExportJobsRequest- AConsumerthat will call methods onListPredictorBacktestExportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPredictorBacktestExportJobs operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorBacktestExportJobsPaginator
default ListPredictorBacktestExportJobsPublisher listPredictorBacktestExportJobsPaginator(ListPredictorBacktestExportJobsRequest listPredictorBacktestExportJobsRequest) This is a variant of
listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsPublisher publisher = client.listPredictorBacktestExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsPublisher publisher = client.listPredictorBacktestExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse response) { //... }; });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
listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation.- Parameters:
listPredictorBacktestExportJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorBacktestExportJobsPaginator
default ListPredictorBacktestExportJobsPublisher listPredictorBacktestExportJobsPaginator(Consumer<ListPredictorBacktestExportJobsRequest.Builder> listPredictorBacktestExportJobsRequest) This is a variant of
listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsPublisher publisher = client.listPredictorBacktestExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListPredictorBacktestExportJobsPublisher publisher = client.listPredictorBacktestExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsResponse response) { //... }; });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
listPredictorBacktestExportJobs(software.amazon.awssdk.services.forecast.model.ListPredictorBacktestExportJobsRequest)operation.
This is a convenience which creates an instance of the
ListPredictorBacktestExportJobsRequest.Builderavoiding the need to create one manually viaListPredictorBacktestExportJobsRequest.builder()- Parameters:
listPredictorBacktestExportJobsRequest- AConsumerthat will call methods onListPredictorBacktestExportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictors
default CompletableFuture<ListPredictorsResponse> listPredictors(ListPredictorsRequest listPredictorsRequest) 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.
- Parameters:
listPredictorsRequest-- Returns:
- A Java Future containing the result of the ListPredictors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictors
default CompletableFuture<ListPredictorsResponse> listPredictors(Consumer<ListPredictorsRequest.Builder> listPredictorsRequest) 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
ListPredictorsRequest.Builderavoiding the need to create one manually viaListPredictorsRequest.builder()- Parameters:
listPredictorsRequest- AConsumerthat will call methods onListPredictorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPredictors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorsPaginator
default ListPredictorsPublisher listPredictorsPaginator(ListPredictorsRequest listPredictorsRequest) This is a variant of
listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListPredictorsPublisher publisher = client.listPredictorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListPredictorsPublisher publisher = client.listPredictorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListPredictorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListPredictorsResponse response) { //... }; });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
listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation.- Parameters:
listPredictorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredictorsPaginator
default ListPredictorsPublisher listPredictorsPaginator(Consumer<ListPredictorsRequest.Builder> listPredictorsRequest) This is a variant of
listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListPredictorsPublisher publisher = client.listPredictorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListPredictorsPublisher publisher = client.listPredictorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListPredictorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListPredictorsResponse response) { //... }; });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
listPredictors(software.amazon.awssdk.services.forecast.model.ListPredictorsRequest)operation.
This is a convenience which creates an instance of the
ListPredictorsRequest.Builderavoiding the need to create one manually viaListPredictorsRequest.builder()- Parameters:
listPredictorsRequest- AConsumerthat will call methods onListPredictorsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for an Amazon Forecast resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for an Amazon Forecast resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfAnalyses
default CompletableFuture<ListWhatIfAnalysesResponse> listWhatIfAnalyses(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) 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.
- Parameters:
listWhatIfAnalysesRequest-- Returns:
- A Java Future containing the result of the ListWhatIfAnalyses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfAnalyses
default CompletableFuture<ListWhatIfAnalysesResponse> listWhatIfAnalyses(Consumer<ListWhatIfAnalysesRequest.Builder> listWhatIfAnalysesRequest) 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
ListWhatIfAnalysesRequest.Builderavoiding the need to create one manually viaListWhatIfAnalysesRequest.builder()- Parameters:
listWhatIfAnalysesRequest- AConsumerthat will call methods onListWhatIfAnalysesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWhatIfAnalyses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfAnalysesPaginator
default ListWhatIfAnalysesPublisher listWhatIfAnalysesPaginator(ListWhatIfAnalysesRequest listWhatIfAnalysesRequest) This is a variant of
listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesPublisher publisher = client.listWhatIfAnalysesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesPublisher publisher = client.listWhatIfAnalysesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse response) { //... }; });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
listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation.- Parameters:
listWhatIfAnalysesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfAnalysesPaginator
default ListWhatIfAnalysesPublisher listWhatIfAnalysesPaginator(Consumer<ListWhatIfAnalysesRequest.Builder> listWhatIfAnalysesRequest) This is a variant of
listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesPublisher publisher = client.listWhatIfAnalysesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfAnalysesPublisher publisher = client.listWhatIfAnalysesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesResponse response) { //... }; });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
listWhatIfAnalyses(software.amazon.awssdk.services.forecast.model.ListWhatIfAnalysesRequest)operation.
This is a convenience which creates an instance of the
ListWhatIfAnalysesRequest.Builderavoiding the need to create one manually viaListWhatIfAnalysesRequest.builder()- Parameters:
listWhatIfAnalysesRequest- AConsumerthat will call methods onListWhatIfAnalysesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastExports
default CompletableFuture<ListWhatIfForecastExportsResponse> listWhatIfForecastExports(ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) 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.
- Parameters:
listWhatIfForecastExportsRequest-- Returns:
- A Java Future containing the result of the ListWhatIfForecastExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastExports
default CompletableFuture<ListWhatIfForecastExportsResponse> listWhatIfForecastExports(Consumer<ListWhatIfForecastExportsRequest.Builder> listWhatIfForecastExportsRequest) 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
ListWhatIfForecastExportsRequest.Builderavoiding the need to create one manually viaListWhatIfForecastExportsRequest.builder()- Parameters:
listWhatIfForecastExportsRequest- AConsumerthat will call methods onListWhatIfForecastExportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWhatIfForecastExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastExportsPaginator
default ListWhatIfForecastExportsPublisher listWhatIfForecastExportsPaginator(ListWhatIfForecastExportsRequest listWhatIfForecastExportsRequest) This is a variant of
listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsPublisher publisher = client.listWhatIfForecastExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsPublisher publisher = client.listWhatIfForecastExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse response) { //... }; });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
listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation.- Parameters:
listWhatIfForecastExportsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastExportsPaginator
default ListWhatIfForecastExportsPublisher listWhatIfForecastExportsPaginator(Consumer<ListWhatIfForecastExportsRequest.Builder> listWhatIfForecastExportsRequest) This is a variant of
listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsPublisher publisher = client.listWhatIfForecastExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastExportsPublisher publisher = client.listWhatIfForecastExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsResponse response) { //... }; });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
listWhatIfForecastExports(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastExportsRequest)operation.
This is a convenience which creates an instance of the
ListWhatIfForecastExportsRequest.Builderavoiding the need to create one manually viaListWhatIfForecastExportsRequest.builder()- Parameters:
listWhatIfForecastExportsRequest- AConsumerthat will call methods onListWhatIfForecastExportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecasts
default CompletableFuture<ListWhatIfForecastsResponse> listWhatIfForecasts(ListWhatIfForecastsRequest listWhatIfForecastsRequest) 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.
- Parameters:
listWhatIfForecastsRequest-- Returns:
- A Java Future containing the result of the ListWhatIfForecasts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecasts
default CompletableFuture<ListWhatIfForecastsResponse> listWhatIfForecasts(Consumer<ListWhatIfForecastsRequest.Builder> listWhatIfForecastsRequest) 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
ListWhatIfForecastsRequest.Builderavoiding the need to create one manually viaListWhatIfForecastsRequest.builder()- Parameters:
listWhatIfForecastsRequest- AConsumerthat will call methods onListWhatIfForecastsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWhatIfForecasts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastsPaginator
default ListWhatIfForecastsPublisher listWhatIfForecastsPaginator(ListWhatIfForecastsRequest listWhatIfForecastsRequest) This is a variant of
listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsPublisher publisher = client.listWhatIfForecastsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsPublisher publisher = client.listWhatIfForecastsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse response) { //... }; });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
listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation.- Parameters:
listWhatIfForecastsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWhatIfForecastsPaginator
default ListWhatIfForecastsPublisher listWhatIfForecastsPaginator(Consumer<ListWhatIfForecastsRequest.Builder> listWhatIfForecastsRequest) This is a variant of
listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsPublisher publisher = client.listWhatIfForecastsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.forecast.paginators.ListWhatIfForecastsPublisher publisher = client.listWhatIfForecastsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsResponse response) { //... }; });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
listWhatIfForecasts(software.amazon.awssdk.services.forecast.model.ListWhatIfForecastsRequest)operation.
This is a convenience which creates an instance of the
ListWhatIfForecastsRequest.Builderavoiding the need to create one manually viaListWhatIfForecastsRequest.builder()- Parameters:
listWhatIfForecastsRequest- AConsumerthat will call methods onListWhatIfForecastsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The token is not valid. Tokens expire after 24 hours.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeResource
default CompletableFuture<ResumeResourceResponse> resumeResource(ResumeResourceRequest resumeResourceRequest) Resumes a stopped monitor resource.
- Parameters:
resumeResourceRequest-- Returns:
- A Java Future containing the result of the ResumeResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeResource
default CompletableFuture<ResumeResourceResponse> resumeResource(Consumer<ResumeResourceRequest.Builder> resumeResourceRequest) Resumes a stopped monitor resource.
This is a convenience which creates an instance of the
ResumeResourceRequest.Builderavoiding the need to create one manually viaResumeResourceRequest.builder()- Parameters:
resumeResourceRequest- AConsumerthat will call methods onResumeResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResumeResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopResource
default CompletableFuture<StopResourceResponse> stopResource(StopResourceRequest stopResourceRequest) Stops a resource.
The resource undergoes the following states:
CREATE_STOPPINGandCREATE_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
- Parameters:
stopResourceRequest-- Returns:
- A Java Future containing the result of the StopResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
stopResource
default CompletableFuture<StopResourceResponse> stopResource(Consumer<StopResourceRequest.Builder> stopResourceRequest) Stops a resource.
The resource undergoes the following states:
CREATE_STOPPINGandCREATE_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
StopResourceRequest.Builderavoiding the need to create one manually viaStopResourceRequest.builder()- Parameters:
stopResourceRequest- AConsumerthat will call methods onStopResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
tagResource
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.- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- LimitExceededException The limit on the number of resources per account has been exceeded.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDatasetGroup
default CompletableFuture<UpdateDatasetGroupResponse> updateDatasetGroup(UpdateDatasetGroupRequest updateDatasetGroupRequest) Replaces the datasets in a dataset group with the specified datasets.
The
Statusof the dataset group must beACTIVEbefore you can use the dataset group to create a predictor. Use the DescribeDatasetGroup operation to get the status.- Parameters:
updateDatasetGroupRequest-- Returns:
- A Java Future containing the result of the UpdateDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDatasetGroup
default CompletableFuture<UpdateDatasetGroupResponse> updateDatasetGroup(Consumer<UpdateDatasetGroupRequest.Builder> updateDatasetGroupRequest) Replaces the datasets in a dataset group with the specified datasets.
The
Statusof the dataset group must beACTIVEbefore 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
UpdateDatasetGroupRequest.Builderavoiding the need to create one manually viaUpdateDatasetGroupRequest.builder()- Parameters:
updateDatasetGroupRequest- AConsumerthat will call methods onUpdateDatasetGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDatasetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidInputException We can't process the request because it includes an invalid value or a value that exceeds the valid range.
- ResourceNotFoundException We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
- ResourceInUseException The specified resource is in use.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ForecastException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aForecastAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aForecastAsyncClient.
-