/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-forecast/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var ForecastServiceException = require('./models/ForecastServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "forecast", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ForecastClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultForecastHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateAutoPredictorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateAutoPredictor", {}) .n("ForecastClient", "CreateAutoPredictorCommand") .sc(schemas_0.CreateAutoPredictor$) .build() {} class CreateDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateDataset", {}) .n("ForecastClient", "CreateDatasetCommand") .sc(schemas_0.CreateDataset$) .build() {} class CreateDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateDatasetGroup", {}) .n("ForecastClient", "CreateDatasetGroupCommand") .sc(schemas_0.CreateDatasetGroup$) .build() {} class CreateDatasetImportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateDatasetImportJob", {}) .n("ForecastClient", "CreateDatasetImportJobCommand") .sc(schemas_0.CreateDatasetImportJob$) .build() {} class CreateExplainabilityCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateExplainability", {}) .n("ForecastClient", "CreateExplainabilityCommand") .sc(schemas_0.CreateExplainability$) .build() {} class CreateExplainabilityExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateExplainabilityExport", {}) .n("ForecastClient", "CreateExplainabilityExportCommand") .sc(schemas_0.CreateExplainabilityExport$) .build() {} class CreateForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateForecast", {}) .n("ForecastClient", "CreateForecastCommand") .sc(schemas_0.CreateForecast$) .build() {} class CreateForecastExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateForecastExportJob", {}) .n("ForecastClient", "CreateForecastExportJobCommand") .sc(schemas_0.CreateForecastExportJob$) .build() {} class CreateMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateMonitor", {}) .n("ForecastClient", "CreateMonitorCommand") .sc(schemas_0.CreateMonitor$) .build() {} class CreatePredictorBacktestExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreatePredictorBacktestExportJob", {}) .n("ForecastClient", "CreatePredictorBacktestExportJobCommand") .sc(schemas_0.CreatePredictorBacktestExportJob$) .build() {} class CreatePredictorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreatePredictor", {}) .n("ForecastClient", "CreatePredictorCommand") .sc(schemas_0.CreatePredictor$) .build() {} class CreateWhatIfAnalysisCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateWhatIfAnalysis", {}) .n("ForecastClient", "CreateWhatIfAnalysisCommand") .sc(schemas_0.CreateWhatIfAnalysis$) .build() {} class CreateWhatIfForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateWhatIfForecast", {}) .n("ForecastClient", "CreateWhatIfForecastCommand") .sc(schemas_0.CreateWhatIfForecast$) .build() {} class CreateWhatIfForecastExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "CreateWhatIfForecastExport", {}) .n("ForecastClient", "CreateWhatIfForecastExportCommand") .sc(schemas_0.CreateWhatIfForecastExport$) .build() {} class DeleteDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteDataset", {}) .n("ForecastClient", "DeleteDatasetCommand") .sc(schemas_0.DeleteDataset$) .build() {} class DeleteDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteDatasetGroup", {}) .n("ForecastClient", "DeleteDatasetGroupCommand") .sc(schemas_0.DeleteDatasetGroup$) .build() {} class DeleteDatasetImportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteDatasetImportJob", {}) .n("ForecastClient", "DeleteDatasetImportJobCommand") .sc(schemas_0.DeleteDatasetImportJob$) .build() {} class DeleteExplainabilityCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteExplainability", {}) .n("ForecastClient", "DeleteExplainabilityCommand") .sc(schemas_0.DeleteExplainability$) .build() {} class DeleteExplainabilityExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteExplainabilityExport", {}) .n("ForecastClient", "DeleteExplainabilityExportCommand") .sc(schemas_0.DeleteExplainabilityExport$) .build() {} class DeleteForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteForecast", {}) .n("ForecastClient", "DeleteForecastCommand") .sc(schemas_0.DeleteForecast$) .build() {} class DeleteForecastExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteForecastExportJob", {}) .n("ForecastClient", "DeleteForecastExportJobCommand") .sc(schemas_0.DeleteForecastExportJob$) .build() {} class DeleteMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteMonitor", {}) .n("ForecastClient", "DeleteMonitorCommand") .sc(schemas_0.DeleteMonitor$) .build() {} class DeletePredictorBacktestExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeletePredictorBacktestExportJob", {}) .n("ForecastClient", "DeletePredictorBacktestExportJobCommand") .sc(schemas_0.DeletePredictorBacktestExportJob$) .build() {} class DeletePredictorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeletePredictor", {}) .n("ForecastClient", "DeletePredictorCommand") .sc(schemas_0.DeletePredictor$) .build() {} class DeleteResourceTreeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteResourceTree", {}) .n("ForecastClient", "DeleteResourceTreeCommand") .sc(schemas_0.DeleteResourceTree$) .build() {} class DeleteWhatIfAnalysisCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteWhatIfAnalysis", {}) .n("ForecastClient", "DeleteWhatIfAnalysisCommand") .sc(schemas_0.DeleteWhatIfAnalysis$) .build() {} class DeleteWhatIfForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteWhatIfForecast", {}) .n("ForecastClient", "DeleteWhatIfForecastCommand") .sc(schemas_0.DeleteWhatIfForecast$) .build() {} class DeleteWhatIfForecastExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DeleteWhatIfForecastExport", {}) .n("ForecastClient", "DeleteWhatIfForecastExportCommand") .sc(schemas_0.DeleteWhatIfForecastExport$) .build() {} class DescribeAutoPredictorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeAutoPredictor", {}) .n("ForecastClient", "DescribeAutoPredictorCommand") .sc(schemas_0.DescribeAutoPredictor$) .build() {} class DescribeDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeDataset", {}) .n("ForecastClient", "DescribeDatasetCommand") .sc(schemas_0.DescribeDataset$) .build() {} class DescribeDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeDatasetGroup", {}) .n("ForecastClient", "DescribeDatasetGroupCommand") .sc(schemas_0.DescribeDatasetGroup$) .build() {} class DescribeDatasetImportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeDatasetImportJob", {}) .n("ForecastClient", "DescribeDatasetImportJobCommand") .sc(schemas_0.DescribeDatasetImportJob$) .build() {} class DescribeExplainabilityCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeExplainability", {}) .n("ForecastClient", "DescribeExplainabilityCommand") .sc(schemas_0.DescribeExplainability$) .build() {} class DescribeExplainabilityExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeExplainabilityExport", {}) .n("ForecastClient", "DescribeExplainabilityExportCommand") .sc(schemas_0.DescribeExplainabilityExport$) .build() {} class DescribeForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeForecast", {}) .n("ForecastClient", "DescribeForecastCommand") .sc(schemas_0.DescribeForecast$) .build() {} class DescribeForecastExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeForecastExportJob", {}) .n("ForecastClient", "DescribeForecastExportJobCommand") .sc(schemas_0.DescribeForecastExportJob$) .build() {} class DescribeMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeMonitor", {}) .n("ForecastClient", "DescribeMonitorCommand") .sc(schemas_0.DescribeMonitor$) .build() {} class DescribePredictorBacktestExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribePredictorBacktestExportJob", {}) .n("ForecastClient", "DescribePredictorBacktestExportJobCommand") .sc(schemas_0.DescribePredictorBacktestExportJob$) .build() {} class DescribePredictorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribePredictor", {}) .n("ForecastClient", "DescribePredictorCommand") .sc(schemas_0.DescribePredictor$) .build() {} class DescribeWhatIfAnalysisCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeWhatIfAnalysis", {}) .n("ForecastClient", "DescribeWhatIfAnalysisCommand") .sc(schemas_0.DescribeWhatIfAnalysis$) .build() {} class DescribeWhatIfForecastCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeWhatIfForecast", {}) .n("ForecastClient", "DescribeWhatIfForecastCommand") .sc(schemas_0.DescribeWhatIfForecast$) .build() {} class DescribeWhatIfForecastExportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "DescribeWhatIfForecastExport", {}) .n("ForecastClient", "DescribeWhatIfForecastExportCommand") .sc(schemas_0.DescribeWhatIfForecastExport$) .build() {} class GetAccuracyMetricsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "GetAccuracyMetrics", {}) .n("ForecastClient", "GetAccuracyMetricsCommand") .sc(schemas_0.GetAccuracyMetrics$) .build() {} class ListDatasetGroupsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListDatasetGroups", {}) .n("ForecastClient", "ListDatasetGroupsCommand") .sc(schemas_0.ListDatasetGroups$) .build() {} class ListDatasetImportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListDatasetImportJobs", {}) .n("ForecastClient", "ListDatasetImportJobsCommand") .sc(schemas_0.ListDatasetImportJobs$) .build() {} class ListDatasetsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListDatasets", {}) .n("ForecastClient", "ListDatasetsCommand") .sc(schemas_0.ListDatasets$) .build() {} class ListExplainabilitiesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListExplainabilities", {}) .n("ForecastClient", "ListExplainabilitiesCommand") .sc(schemas_0.ListExplainabilities$) .build() {} class ListExplainabilityExportsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListExplainabilityExports", {}) .n("ForecastClient", "ListExplainabilityExportsCommand") .sc(schemas_0.ListExplainabilityExports$) .build() {} class ListForecastExportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListForecastExportJobs", {}) .n("ForecastClient", "ListForecastExportJobsCommand") .sc(schemas_0.ListForecastExportJobs$) .build() {} class ListForecastsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListForecasts", {}) .n("ForecastClient", "ListForecastsCommand") .sc(schemas_0.ListForecasts$) .build() {} class ListMonitorEvaluationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListMonitorEvaluations", {}) .n("ForecastClient", "ListMonitorEvaluationsCommand") .sc(schemas_0.ListMonitorEvaluations$) .build() {} class ListMonitorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListMonitors", {}) .n("ForecastClient", "ListMonitorsCommand") .sc(schemas_0.ListMonitors$) .build() {} class ListPredictorBacktestExportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListPredictorBacktestExportJobs", {}) .n("ForecastClient", "ListPredictorBacktestExportJobsCommand") .sc(schemas_0.ListPredictorBacktestExportJobs$) .build() {} class ListPredictorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListPredictors", {}) .n("ForecastClient", "ListPredictorsCommand") .sc(schemas_0.ListPredictors$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListTagsForResource", {}) .n("ForecastClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class ListWhatIfAnalysesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListWhatIfAnalyses", {}) .n("ForecastClient", "ListWhatIfAnalysesCommand") .sc(schemas_0.ListWhatIfAnalyses$) .build() {} class ListWhatIfForecastExportsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListWhatIfForecastExports", {}) .n("ForecastClient", "ListWhatIfForecastExportsCommand") .sc(schemas_0.ListWhatIfForecastExports$) .build() {} class ListWhatIfForecastsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ListWhatIfForecasts", {}) .n("ForecastClient", "ListWhatIfForecastsCommand") .sc(schemas_0.ListWhatIfForecasts$) .build() {} class ResumeResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "ResumeResource", {}) .n("ForecastClient", "ResumeResourceCommand") .sc(schemas_0.ResumeResource$) .build() {} class StopResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "StopResource", {}) .n("ForecastClient", "StopResourceCommand") .sc(schemas_0.StopResource$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "TagResource", {}) .n("ForecastClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "UntagResource", {}) .n("ForecastClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonForecast", "UpdateDatasetGroup", {}) .n("ForecastClient", "UpdateDatasetGroupCommand") .sc(schemas_0.UpdateDatasetGroup$) .build() {} const paginateListDatasetGroups = core.createPaginator(ForecastClient, ListDatasetGroupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDatasetImportJobs = core.createPaginator(ForecastClient, ListDatasetImportJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDatasets = core.createPaginator(ForecastClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListExplainabilities = core.createPaginator(ForecastClient, ListExplainabilitiesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListExplainabilityExports = core.createPaginator(ForecastClient, ListExplainabilityExportsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListForecastExportJobs = core.createPaginator(ForecastClient, ListForecastExportJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListForecasts = core.createPaginator(ForecastClient, ListForecastsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListMonitorEvaluations = core.createPaginator(ForecastClient, ListMonitorEvaluationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListMonitors = core.createPaginator(ForecastClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPredictorBacktestExportJobs = core.createPaginator(ForecastClient, ListPredictorBacktestExportJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPredictors = core.createPaginator(ForecastClient, ListPredictorsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListWhatIfAnalyses = core.createPaginator(ForecastClient, ListWhatIfAnalysesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListWhatIfForecastExports = core.createPaginator(ForecastClient, ListWhatIfForecastExportsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListWhatIfForecasts = core.createPaginator(ForecastClient, ListWhatIfForecastsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreateAutoPredictorCommand, CreateDatasetCommand, CreateDatasetGroupCommand, CreateDatasetImportJobCommand, CreateExplainabilityCommand, CreateExplainabilityExportCommand, CreateForecastCommand, CreateForecastExportJobCommand, CreateMonitorCommand, CreatePredictorCommand, CreatePredictorBacktestExportJobCommand, CreateWhatIfAnalysisCommand, CreateWhatIfForecastCommand, CreateWhatIfForecastExportCommand, DeleteDatasetCommand, DeleteDatasetGroupCommand, DeleteDatasetImportJobCommand, DeleteExplainabilityCommand, DeleteExplainabilityExportCommand, DeleteForecastCommand, DeleteForecastExportJobCommand, DeleteMonitorCommand, DeletePredictorCommand, DeletePredictorBacktestExportJobCommand, DeleteResourceTreeCommand, DeleteWhatIfAnalysisCommand, DeleteWhatIfForecastCommand, DeleteWhatIfForecastExportCommand, DescribeAutoPredictorCommand, DescribeDatasetCommand, DescribeDatasetGroupCommand, DescribeDatasetImportJobCommand, DescribeExplainabilityCommand, DescribeExplainabilityExportCommand, DescribeForecastCommand, DescribeForecastExportJobCommand, DescribeMonitorCommand, DescribePredictorCommand, DescribePredictorBacktestExportJobCommand, DescribeWhatIfAnalysisCommand, DescribeWhatIfForecastCommand, DescribeWhatIfForecastExportCommand, GetAccuracyMetricsCommand, ListDatasetGroupsCommand, ListDatasetImportJobsCommand, ListDatasetsCommand, ListExplainabilitiesCommand, ListExplainabilityExportsCommand, ListForecastExportJobsCommand, ListForecastsCommand, ListMonitorEvaluationsCommand, ListMonitorsCommand, ListPredictorBacktestExportJobsCommand, ListPredictorsCommand, ListTagsForResourceCommand, ListWhatIfAnalysesCommand, ListWhatIfForecastExportsCommand, ListWhatIfForecastsCommand, ResumeResourceCommand, StopResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateDatasetGroupCommand,};const paginators = { paginateListDatasetGroups, paginateListDatasetImportJobs, paginateListDatasets, paginateListExplainabilities, paginateListExplainabilityExports, paginateListForecastExportJobs, paginateListForecasts, paginateListMonitorEvaluations, paginateListMonitors, paginateListPredictorBacktestExportJobs, paginateListPredictors, paginateListWhatIfAnalyses, paginateListWhatIfForecastExports, paginateListWhatIfForecasts,};class Forecast extends ForecastClient {}client.createAggregatedClient(commands, Forecast, { paginators }); const Operation = { ADD: "ADD", DIVIDE: "DIVIDE", MULTIPLY: "MULTIPLY", SUBTRACT: "SUBTRACT",};const OptimizationMetric = { AverageWeightedQuantileLoss: "AverageWeightedQuantileLoss", MAPE: "MAPE", MASE: "MASE", RMSE: "RMSE", WAPE: "WAPE",};const DayOfWeek = { FRIDAY: "FRIDAY", MONDAY: "MONDAY", SATURDAY: "SATURDAY", SUNDAY: "SUNDAY", THURSDAY: "THURSDAY", TUESDAY: "TUESDAY", WEDNESDAY: "WEDNESDAY",};const Month = { APRIL: "APRIL", AUGUST: "AUGUST", DECEMBER: "DECEMBER", FEBRUARY: "FEBRUARY", JANUARY: "JANUARY", JULY: "JULY", JUNE: "JUNE", MARCH: "MARCH", MAY: "MAY", NOVEMBER: "NOVEMBER", OCTOBER: "OCTOBER", SEPTEMBER: "SEPTEMBER",};const DatasetType = { ITEM_METADATA: "ITEM_METADATA", RELATED_TIME_SERIES: "RELATED_TIME_SERIES", TARGET_TIME_SERIES: "TARGET_TIME_SERIES",};const Domain = { CUSTOM: "CUSTOM", EC2_CAPACITY: "EC2_CAPACITY", INVENTORY_PLANNING: "INVENTORY_PLANNING", METRICS: "METRICS", RETAIL: "RETAIL", WEB_TRAFFIC: "WEB_TRAFFIC", WORK_FORCE: "WORK_FORCE",};const AttributeType = { FLOAT: "float", GEOLOCATION: "geolocation", INTEGER: "integer", STRING: "string", TIMESTAMP: "timestamp",};const ImportMode = { FULL: "FULL", INCREMENTAL: "INCREMENTAL",};const TimePointGranularity = { ALL: "ALL", SPECIFIC: "SPECIFIC",};const TimeSeriesGranularity = { ALL: "ALL", SPECIFIC: "SPECIFIC",};const AutoMLOverrideStrategy = { AccuracyOptimized: "AccuracyOptimized", LatencyOptimized: "LatencyOptimized",};const FeaturizationMethodName = { filling: "filling",};const ScalingType = { Auto: "Auto", Linear: "Linear", Logarithmic: "Logarithmic", ReverseLogarithmic: "ReverseLogarithmic",};const Condition = { EQUALS: "EQUALS", GREATER_THAN: "GREATER_THAN", LESS_THAN: "LESS_THAN", NOT_EQUALS: "NOT_EQUALS",};const State = { Active: "Active", Deleted: "Deleted",};const EvaluationType = { COMPUTED: "COMPUTED", SUMMARY: "SUMMARY",};const FilterConditionString = { IS: "IS", IS_NOT: "IS_NOT",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ForecastServiceException = ForecastServiceException.ForecastServiceException;exports.AttributeType = AttributeType;exports.AutoMLOverrideStrategy = AutoMLOverrideStrategy;exports.Condition = Condition;exports.CreateAutoPredictorCommand = CreateAutoPredictorCommand;exports.CreateDatasetCommand = CreateDatasetCommand;exports.CreateDatasetGroupCommand = CreateDatasetGroupCommand;exports.CreateDatasetImportJobCommand = CreateDatasetImportJobCommand;exports.CreateExplainabilityCommand = CreateExplainabilityCommand;exports.CreateExplainabilityExportCommand = CreateExplainabilityExportCommand;exports.CreateForecastCommand = CreateForecastCommand;exports.CreateForecastExportJobCommand = CreateForecastExportJobCommand;exports.CreateMonitorCommand = CreateMonitorCommand;exports.CreatePredictorBacktestExportJobCommand = CreatePredictorBacktestExportJobCommand;exports.CreatePredictorCommand = CreatePredictorCommand;exports.CreateWhatIfAnalysisCommand = CreateWhatIfAnalysisCommand;exports.CreateWhatIfForecastCommand = CreateWhatIfForecastCommand;exports.CreateWhatIfForecastExportCommand = CreateWhatIfForecastExportCommand;exports.DatasetType = DatasetType;exports.DayOfWeek = DayOfWeek;exports.DeleteDatasetCommand = DeleteDatasetCommand;exports.DeleteDatasetGroupCommand = DeleteDatasetGroupCommand;exports.DeleteDatasetImportJobCommand = DeleteDatasetImportJobCommand;exports.DeleteExplainabilityCommand = DeleteExplainabilityCommand;exports.DeleteExplainabilityExportCommand = DeleteExplainabilityExportCommand;exports.DeleteForecastCommand = DeleteForecastCommand;exports.DeleteForecastExportJobCommand = DeleteForecastExportJobCommand;exports.DeleteMonitorCommand = DeleteMonitorCommand;exports.DeletePredictorBacktestExportJobCommand = DeletePredictorBacktestExportJobCommand;exports.DeletePredictorCommand = DeletePredictorCommand;exports.DeleteResourceTreeCommand = DeleteResourceTreeCommand;exports.DeleteWhatIfAnalysisCommand = DeleteWhatIfAnalysisCommand;exports.DeleteWhatIfForecastCommand = DeleteWhatIfForecastCommand;exports.DeleteWhatIfForecastExportCommand = DeleteWhatIfForecastExportCommand;exports.DescribeAutoPredictorCommand = DescribeAutoPredictorCommand;exports.DescribeDatasetCommand = DescribeDatasetCommand;exports.DescribeDatasetGroupCommand = DescribeDatasetGroupCommand;exports.DescribeDatasetImportJobCommand = DescribeDatasetImportJobCommand;exports.DescribeExplainabilityCommand = DescribeExplainabilityCommand;exports.DescribeExplainabilityExportCommand = DescribeExplainabilityExportCommand;exports.DescribeForecastCommand = DescribeForecastCommand;exports.DescribeForecastExportJobCommand = DescribeForecastExportJobCommand;exports.DescribeMonitorCommand = DescribeMonitorCommand;exports.DescribePredictorBacktestExportJobCommand = DescribePredictorBacktestExportJobCommand;exports.DescribePredictorCommand = DescribePredictorCommand;exports.DescribeWhatIfAnalysisCommand = DescribeWhatIfAnalysisCommand;exports.DescribeWhatIfForecastCommand = DescribeWhatIfForecastCommand;exports.DescribeWhatIfForecastExportCommand = DescribeWhatIfForecastExportCommand;exports.Domain = Domain;exports.EvaluationType = EvaluationType;exports.FeaturizationMethodName = FeaturizationMethodName;exports.FilterConditionString = FilterConditionString;exports.Forecast = Forecast;exports.ForecastClient = ForecastClient;exports.GetAccuracyMetricsCommand = GetAccuracyMetricsCommand;exports.ImportMode = ImportMode;exports.ListDatasetGroupsCommand = ListDatasetGroupsCommand;exports.ListDatasetImportJobsCommand = ListDatasetImportJobsCommand;exports.ListDatasetsCommand = ListDatasetsCommand;exports.ListExplainabilitiesCommand = ListExplainabilitiesCommand;exports.ListExplainabilityExportsCommand = ListExplainabilityExportsCommand;exports.ListForecastExportJobsCommand = ListForecastExportJobsCommand;exports.ListForecastsCommand = ListForecastsCommand;exports.ListMonitorEvaluationsCommand = ListMonitorEvaluationsCommand;exports.ListMonitorsCommand = ListMonitorsCommand;exports.ListPredictorBacktestExportJobsCommand = ListPredictorBacktestExportJobsCommand;exports.ListPredictorsCommand = ListPredictorsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListWhatIfAnalysesCommand = ListWhatIfAnalysesCommand;exports.ListWhatIfForecastExportsCommand = ListWhatIfForecastExportsCommand;exports.ListWhatIfForecastsCommand = ListWhatIfForecastsCommand;exports.Month = Month;exports.Operation = Operation;exports.OptimizationMetric = OptimizationMetric;exports.ResumeResourceCommand = ResumeResourceCommand;exports.ScalingType = ScalingType;exports.State = State;exports.StopResourceCommand = StopResourceCommand;exports.TagResourceCommand = TagResourceCommand;exports.TimePointGranularity = TimePointGranularity;exports.TimeSeriesGranularity = TimeSeriesGranularity;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateDatasetGroupCommand = UpdateDatasetGroupCommand;exports.paginateListDatasetGroups = paginateListDatasetGroups;exports.paginateListDatasetImportJobs = paginateListDatasetImportJobs;exports.paginateListDatasets = paginateListDatasets;exports.paginateListExplainabilities = paginateListExplainabilities;exports.paginateListExplainabilityExports = paginateListExplainabilityExports;exports.paginateListForecastExportJobs = paginateListForecastExportJobs;exports.paginateListForecasts = paginateListForecasts;exports.paginateListMonitorEvaluations = paginateListMonitorEvaluations;exports.paginateListMonitors = paginateListMonitors;exports.paginateListPredictorBacktestExportJobs = paginateListPredictorBacktestExportJobs;exports.paginateListPredictors = paginateListPredictors;exports.paginateListWhatIfAnalyses = paginateListWhatIfAnalyses;exports.paginateListWhatIfForecastExports = paginateListWhatIfForecastExports;exports.paginateListWhatIfForecasts = paginateListWhatIfForecasts;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});