@aws-sdk/client-forecast 3.926.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist-cjs/index.js +1861 -2708
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ForecastClient.js +2 -0
  4. package/dist-es/commands/CreateAutoPredictorCommand.js +3 -10
  5. package/dist-es/commands/CreateDatasetCommand.js +3 -10
  6. package/dist-es/commands/CreateDatasetGroupCommand.js +3 -10
  7. package/dist-es/commands/CreateDatasetImportJobCommand.js +3 -10
  8. package/dist-es/commands/CreateExplainabilityCommand.js +3 -10
  9. package/dist-es/commands/CreateExplainabilityExportCommand.js +3 -10
  10. package/dist-es/commands/CreateForecastCommand.js +3 -10
  11. package/dist-es/commands/CreateForecastExportJobCommand.js +3 -10
  12. package/dist-es/commands/CreateMonitorCommand.js +3 -10
  13. package/dist-es/commands/CreatePredictorBacktestExportJobCommand.js +3 -10
  14. package/dist-es/commands/CreatePredictorCommand.js +3 -10
  15. package/dist-es/commands/CreateWhatIfAnalysisCommand.js +3 -10
  16. package/dist-es/commands/CreateWhatIfForecastCommand.js +3 -10
  17. package/dist-es/commands/CreateWhatIfForecastExportCommand.js +3 -10
  18. package/dist-es/commands/DeleteDatasetCommand.js +3 -9
  19. package/dist-es/commands/DeleteDatasetGroupCommand.js +3 -9
  20. package/dist-es/commands/DeleteDatasetImportJobCommand.js +3 -9
  21. package/dist-es/commands/DeleteExplainabilityCommand.js +3 -9
  22. package/dist-es/commands/DeleteExplainabilityExportCommand.js +3 -9
  23. package/dist-es/commands/DeleteForecastCommand.js +3 -9
  24. package/dist-es/commands/DeleteForecastExportJobCommand.js +3 -9
  25. package/dist-es/commands/DeleteMonitorCommand.js +3 -9
  26. package/dist-es/commands/DeletePredictorBacktestExportJobCommand.js +3 -9
  27. package/dist-es/commands/DeletePredictorCommand.js +3 -9
  28. package/dist-es/commands/DeleteResourceTreeCommand.js +3 -9
  29. package/dist-es/commands/DeleteWhatIfAnalysisCommand.js +3 -9
  30. package/dist-es/commands/DeleteWhatIfForecastCommand.js +3 -9
  31. package/dist-es/commands/DeleteWhatIfForecastExportCommand.js +3 -9
  32. package/dist-es/commands/DescribeAutoPredictorCommand.js +3 -9
  33. package/dist-es/commands/DescribeDatasetCommand.js +3 -9
  34. package/dist-es/commands/DescribeDatasetGroupCommand.js +3 -9
  35. package/dist-es/commands/DescribeDatasetImportJobCommand.js +3 -9
  36. package/dist-es/commands/DescribeExplainabilityCommand.js +3 -9
  37. package/dist-es/commands/DescribeExplainabilityExportCommand.js +3 -9
  38. package/dist-es/commands/DescribeForecastCommand.js +3 -9
  39. package/dist-es/commands/DescribeForecastExportJobCommand.js +3 -9
  40. package/dist-es/commands/DescribeMonitorCommand.js +3 -9
  41. package/dist-es/commands/DescribePredictorBacktestExportJobCommand.js +3 -9
  42. package/dist-es/commands/DescribePredictorCommand.js +3 -9
  43. package/dist-es/commands/DescribeWhatIfAnalysisCommand.js +3 -9
  44. package/dist-es/commands/DescribeWhatIfForecastCommand.js +3 -9
  45. package/dist-es/commands/DescribeWhatIfForecastExportCommand.js +3 -9
  46. package/dist-es/commands/GetAccuracyMetricsCommand.js +3 -9
  47. package/dist-es/commands/ListDatasetGroupsCommand.js +3 -9
  48. package/dist-es/commands/ListDatasetImportJobsCommand.js +3 -9
  49. package/dist-es/commands/ListDatasetsCommand.js +3 -9
  50. package/dist-es/commands/ListExplainabilitiesCommand.js +3 -9
  51. package/dist-es/commands/ListExplainabilityExportsCommand.js +3 -9
  52. package/dist-es/commands/ListForecastExportJobsCommand.js +3 -9
  53. package/dist-es/commands/ListForecastsCommand.js +3 -9
  54. package/dist-es/commands/ListMonitorEvaluationsCommand.js +3 -9
  55. package/dist-es/commands/ListMonitorsCommand.js +3 -9
  56. package/dist-es/commands/ListPredictorBacktestExportJobsCommand.js +3 -9
  57. package/dist-es/commands/ListPredictorsCommand.js +3 -9
  58. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  59. package/dist-es/commands/ListWhatIfAnalysesCommand.js +3 -9
  60. package/dist-es/commands/ListWhatIfForecastExportsCommand.js +3 -9
  61. package/dist-es/commands/ListWhatIfForecastsCommand.js +3 -9
  62. package/dist-es/commands/ResumeResourceCommand.js +3 -9
  63. package/dist-es/commands/StopResourceCommand.js +3 -9
  64. package/dist-es/commands/TagResourceCommand.js +3 -10
  65. package/dist-es/commands/UntagResourceCommand.js +3 -10
  66. package/dist-es/commands/UpdateDatasetGroupCommand.js +3 -9
  67. package/dist-es/models/models_0.js +0 -74
  68. package/dist-es/runtimeConfig.shared.js +7 -0
  69. package/dist-es/schemas/schemas_0.js +1725 -0
  70. package/dist-types/ForecastClient.d.ts +10 -1
  71. package/dist-types/models/models_0.d.ts +0 -72
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  73. package/dist-types/runtimeConfig.d.ts +1 -0
  74. package/dist-types/runtimeConfig.native.d.ts +1 -0
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/schemas/schemas_0.d.ts +294 -0
  77. package/dist-types/ts3.4/ForecastClient.d.ts +4 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +0 -52
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  83. package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
  84. package/package.json +5 -5
  85. package/dist-es/protocols/Aws_json1_1.js +0 -2162
  86. package/dist-types/protocols/Aws_json1_1.d.ts +0 -569
  87. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -761
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDatasetImportJobsCommand, se_ListDatasetImportJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetImportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetImportJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListDatasetImportJobs", {})
17
13
  .n("ForecastClient", "ListDatasetImportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetImportJobsCommand)
20
- .de(de_ListDatasetImportJobsCommand)
14
+ .sc(ListDatasetImportJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDatasetsCommand, se_ListDatasetsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListDatasets", {})
17
13
  .n("ForecastClient", "ListDatasetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetsCommand)
20
- .de(de_ListDatasetsCommand)
14
+ .sc(ListDatasets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListExplainabilitiesCommand, se_ListExplainabilitiesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListExplainabilities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListExplainabilitiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListExplainabilities", {})
17
13
  .n("ForecastClient", "ListExplainabilitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListExplainabilitiesCommand)
20
- .de(de_ListExplainabilitiesCommand)
14
+ .sc(ListExplainabilities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListExplainabilityExportsCommand, se_ListExplainabilityExportsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListExplainabilityExports } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListExplainabilityExportsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListExplainabilityExports", {})
17
13
  .n("ForecastClient", "ListExplainabilityExportsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListExplainabilityExportsCommand)
20
- .de(de_ListExplainabilityExportsCommand)
14
+ .sc(ListExplainabilityExports)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListForecastExportJobsCommand, se_ListForecastExportJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListForecastExportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListForecastExportJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListForecastExportJobs", {})
17
13
  .n("ForecastClient", "ListForecastExportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListForecastExportJobsCommand)
20
- .de(de_ListForecastExportJobsCommand)
14
+ .sc(ListForecastExportJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListForecastsCommand, se_ListForecastsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListForecasts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListForecastsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListForecasts", {})
17
13
  .n("ForecastClient", "ListForecastsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListForecastsCommand)
20
- .de(de_ListForecastsCommand)
14
+ .sc(ListForecasts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListMonitorEvaluationsCommand, se_ListMonitorEvaluationsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListMonitorEvaluations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMonitorEvaluationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListMonitorEvaluations", {})
17
13
  .n("ForecastClient", "ListMonitorEvaluationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMonitorEvaluationsCommand)
20
- .de(de_ListMonitorEvaluationsCommand)
14
+ .sc(ListMonitorEvaluations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListMonitorsCommand, se_ListMonitorsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListMonitors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMonitorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListMonitors", {})
17
13
  .n("ForecastClient", "ListMonitorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMonitorsCommand)
20
- .de(de_ListMonitorsCommand)
14
+ .sc(ListMonitors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPredictorBacktestExportJobsCommand, se_ListPredictorBacktestExportJobsCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListPredictorBacktestExportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPredictorBacktestExportJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListPredictorBacktestExportJobs", {})
17
13
  .n("ForecastClient", "ListPredictorBacktestExportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPredictorBacktestExportJobsCommand)
20
- .de(de_ListPredictorBacktestExportJobsCommand)
14
+ .sc(ListPredictorBacktestExportJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPredictorsCommand, se_ListPredictorsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPredictors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPredictorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListPredictors", {})
17
13
  .n("ForecastClient", "ListPredictorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPredictorsCommand)
20
- .de(de_ListPredictorsCommand)
14
+ .sc(ListPredictors)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListTagsForResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonForecast", "ListTagsForResource", {})
18
13
  .n("ForecastClient", "ListTagsForResourceCommand")
19
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
20
- .ser(se_ListTagsForResourceCommand)
21
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWhatIfAnalysesCommand, se_ListWhatIfAnalysesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListWhatIfAnalyses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWhatIfAnalysesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListWhatIfAnalyses", {})
17
13
  .n("ForecastClient", "ListWhatIfAnalysesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWhatIfAnalysesCommand)
20
- .de(de_ListWhatIfAnalysesCommand)
14
+ .sc(ListWhatIfAnalyses)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWhatIfForecastExportsCommand, se_ListWhatIfForecastExportsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListWhatIfForecastExports } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWhatIfForecastExportsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListWhatIfForecastExports", {})
17
13
  .n("ForecastClient", "ListWhatIfForecastExportsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWhatIfForecastExportsCommand)
20
- .de(de_ListWhatIfForecastExportsCommand)
14
+ .sc(ListWhatIfForecastExports)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWhatIfForecastsCommand, se_ListWhatIfForecastsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListWhatIfForecasts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWhatIfForecastsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ListWhatIfForecasts", {})
17
13
  .n("ForecastClient", "ListWhatIfForecastsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWhatIfForecastsCommand)
20
- .de(de_ListWhatIfForecastsCommand)
14
+ .sc(ListWhatIfForecasts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ResumeResourceCommand, se_ResumeResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ResumeResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResumeResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "ResumeResource", {})
17
13
  .n("ForecastClient", "ResumeResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResumeResourceCommand)
20
- .de(de_ResumeResourceCommand)
14
+ .sc(ResumeResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopResourceCommand, se_StopResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { StopResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "StopResource", {})
17
13
  .n("ForecastClient", "StopResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopResourceCommand)
20
- .de(de_StopResourceCommand)
14
+ .sc(StopResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class TagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonForecast", "TagResource", {})
18
13
  .n("ForecastClient", "TagResourceCommand")
19
- .f(TagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_TagResourceCommand)
21
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UntagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonForecast", "UntagResource", {})
18
13
  .n("ForecastClient", "UntagResourceCommand")
19
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
20
- .ser(se_UntagResourceCommand)
21
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateDatasetGroupCommand, se_UpdateDatasetGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateDatasetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDatasetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonForecast", "UpdateDatasetGroup", {})
17
13
  .n("ForecastClient", "UpdateDatasetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDatasetGroupCommand)
20
- .de(de_UpdateDatasetGroupCommand)
14
+ .sc(UpdateDatasetGroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
3
2
  export const Operation = {
4
3
  ADD: "ADD",
@@ -184,76 +183,3 @@ export const FilterConditionString = {
184
183
  IS: "IS",
185
184
  IS_NOT: "IS_NOT",
186
185
  };
187
- export const TagFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.Key && { Key: SENSITIVE_STRING }),
190
- ...(obj.Value && { Value: SENSITIVE_STRING }),
191
- });
192
- export const CreateAutoPredictorRequestFilterSensitiveLog = (obj) => ({
193
- ...obj,
194
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
195
- });
196
- export const CreateDatasetRequestFilterSensitiveLog = (obj) => ({
197
- ...obj,
198
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
199
- });
200
- export const CreateDatasetGroupRequestFilterSensitiveLog = (obj) => ({
201
- ...obj,
202
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
203
- });
204
- export const CreateDatasetImportJobRequestFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
207
- });
208
- export const CreateExplainabilityRequestFilterSensitiveLog = (obj) => ({
209
- ...obj,
210
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
211
- });
212
- export const CreateExplainabilityExportRequestFilterSensitiveLog = (obj) => ({
213
- ...obj,
214
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
215
- });
216
- export const CreateForecastRequestFilterSensitiveLog = (obj) => ({
217
- ...obj,
218
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
219
- });
220
- export const CreateForecastExportJobRequestFilterSensitiveLog = (obj) => ({
221
- ...obj,
222
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
223
- });
224
- export const CreateMonitorRequestFilterSensitiveLog = (obj) => ({
225
- ...obj,
226
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
227
- });
228
- export const CreatePredictorRequestFilterSensitiveLog = (obj) => ({
229
- ...obj,
230
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
231
- });
232
- export const CreatePredictorBacktestExportJobRequestFilterSensitiveLog = (obj) => ({
233
- ...obj,
234
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
235
- });
236
- export const CreateWhatIfAnalysisRequestFilterSensitiveLog = (obj) => ({
237
- ...obj,
238
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
239
- });
240
- export const CreateWhatIfForecastRequestFilterSensitiveLog = (obj) => ({
241
- ...obj,
242
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
243
- });
244
- export const CreateWhatIfForecastExportRequestFilterSensitiveLog = (obj) => ({
245
- ...obj,
246
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
247
- });
248
- export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
249
- ...obj,
250
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
251
- });
252
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
253
- ...obj,
254
- ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
255
- });
256
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
257
- ...obj,
258
- ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
259
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.forecast",
29
+ serviceTarget: "AmazonForecast",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "forecast",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,