@aws-sdk/client-forecast 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +1861 -2708
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ForecastClient.js +2 -0
- package/dist-es/commands/CreateAutoPredictorCommand.js +3 -10
- package/dist-es/commands/CreateDatasetCommand.js +3 -10
- package/dist-es/commands/CreateDatasetGroupCommand.js +3 -10
- package/dist-es/commands/CreateDatasetImportJobCommand.js +3 -10
- package/dist-es/commands/CreateExplainabilityCommand.js +3 -10
- package/dist-es/commands/CreateExplainabilityExportCommand.js +3 -10
- package/dist-es/commands/CreateForecastCommand.js +3 -10
- package/dist-es/commands/CreateForecastExportJobCommand.js +3 -10
- package/dist-es/commands/CreateMonitorCommand.js +3 -10
- package/dist-es/commands/CreatePredictorBacktestExportJobCommand.js +3 -10
- package/dist-es/commands/CreatePredictorCommand.js +3 -10
- package/dist-es/commands/CreateWhatIfAnalysisCommand.js +3 -10
- package/dist-es/commands/CreateWhatIfForecastCommand.js +3 -10
- package/dist-es/commands/CreateWhatIfForecastExportCommand.js +3 -10
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetImportJobCommand.js +3 -9
- package/dist-es/commands/DeleteExplainabilityCommand.js +3 -9
- package/dist-es/commands/DeleteExplainabilityExportCommand.js +3 -9
- package/dist-es/commands/DeleteForecastCommand.js +3 -9
- package/dist-es/commands/DeleteForecastExportJobCommand.js +3 -9
- package/dist-es/commands/DeleteMonitorCommand.js +3 -9
- package/dist-es/commands/DeletePredictorBacktestExportJobCommand.js +3 -9
- package/dist-es/commands/DeletePredictorCommand.js +3 -9
- package/dist-es/commands/DeleteResourceTreeCommand.js +3 -9
- package/dist-es/commands/DeleteWhatIfAnalysisCommand.js +3 -9
- package/dist-es/commands/DeleteWhatIfForecastCommand.js +3 -9
- package/dist-es/commands/DeleteWhatIfForecastExportCommand.js +3 -9
- package/dist-es/commands/DescribeAutoPredictorCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetGroupCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetImportJobCommand.js +3 -9
- package/dist-es/commands/DescribeExplainabilityCommand.js +3 -9
- package/dist-es/commands/DescribeExplainabilityExportCommand.js +3 -9
- package/dist-es/commands/DescribeForecastCommand.js +3 -9
- package/dist-es/commands/DescribeForecastExportJobCommand.js +3 -9
- package/dist-es/commands/DescribeMonitorCommand.js +3 -9
- package/dist-es/commands/DescribePredictorBacktestExportJobCommand.js +3 -9
- package/dist-es/commands/DescribePredictorCommand.js +3 -9
- package/dist-es/commands/DescribeWhatIfAnalysisCommand.js +3 -9
- package/dist-es/commands/DescribeWhatIfForecastCommand.js +3 -9
- package/dist-es/commands/DescribeWhatIfForecastExportCommand.js +3 -9
- package/dist-es/commands/GetAccuracyMetricsCommand.js +3 -9
- package/dist-es/commands/ListDatasetGroupsCommand.js +3 -9
- package/dist-es/commands/ListDatasetImportJobsCommand.js +3 -9
- package/dist-es/commands/ListDatasetsCommand.js +3 -9
- package/dist-es/commands/ListExplainabilitiesCommand.js +3 -9
- package/dist-es/commands/ListExplainabilityExportsCommand.js +3 -9
- package/dist-es/commands/ListForecastExportJobsCommand.js +3 -9
- package/dist-es/commands/ListForecastsCommand.js +3 -9
- package/dist-es/commands/ListMonitorEvaluationsCommand.js +3 -9
- package/dist-es/commands/ListMonitorsCommand.js +3 -9
- package/dist-es/commands/ListPredictorBacktestExportJobsCommand.js +3 -9
- package/dist-es/commands/ListPredictorsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/ListWhatIfAnalysesCommand.js +3 -9
- package/dist-es/commands/ListWhatIfForecastExportsCommand.js +3 -9
- package/dist-es/commands/ListWhatIfForecastsCommand.js +3 -9
- package/dist-es/commands/ResumeResourceCommand.js +3 -9
- package/dist-es/commands/StopResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateDatasetGroupCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -74
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1725 -0
- package/dist-types/ForecastClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -72
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +294 -0
- package/dist-types/ts3.4/ForecastClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2162
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -569
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -761
|
@@ -1,2162 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { ForecastServiceException as __BaseException } from "../models/ForecastServiceException";
|
|
5
|
-
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, } from "../models/models_0";
|
|
6
|
-
export const se_CreateAutoPredictorCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("CreateAutoPredictor");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_CreateDatasetCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("CreateDataset");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateDatasetGroupCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateDatasetGroup");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateDatasetImportJobCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateDatasetImportJob");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateExplainabilityCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateExplainability");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateExplainabilityExportCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateExplainabilityExport");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_CreateForecastCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("CreateForecast");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_CreateForecastExportJobCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("CreateForecastExportJob");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_CreateMonitorCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("CreateMonitor");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_CreatePredictorCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("CreatePredictor");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(se_CreatePredictorRequest(input, context));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_CreatePredictorBacktestExportJobCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("CreatePredictorBacktestExportJob");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_CreateWhatIfAnalysisCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("CreateWhatIfAnalysis");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_CreateWhatIfForecastCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("CreateWhatIfForecast");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(se_CreateWhatIfForecastRequest(input, context));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_CreateWhatIfForecastExportCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("CreateWhatIfForecastExport");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("DeleteDataset");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_DeleteDatasetGroupCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("DeleteDatasetGroup");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_DeleteDatasetImportJobCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("DeleteDatasetImportJob");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_DeleteExplainabilityCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("DeleteExplainability");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_DeleteExplainabilityExportCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DeleteExplainabilityExport");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DeleteForecastCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DeleteForecast");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(_json(input));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_DeleteForecastExportJobCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("DeleteForecastExportJob");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_DeleteMonitorCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("DeleteMonitor");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_DeletePredictorCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("DeletePredictor");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_DeletePredictorBacktestExportJobCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("DeletePredictorBacktestExportJob");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_DeleteResourceTreeCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("DeleteResourceTree");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_DeleteWhatIfAnalysisCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("DeleteWhatIfAnalysis");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_DeleteWhatIfForecastCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("DeleteWhatIfForecast");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_DeleteWhatIfForecastExportCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("DeleteWhatIfForecastExport");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_DescribeAutoPredictorCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("DescribeAutoPredictor");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("DescribeDataset");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_DescribeDatasetGroupCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("DescribeDatasetGroup");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_DescribeDatasetImportJobCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("DescribeDatasetImportJob");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_DescribeExplainabilityCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("DescribeExplainability");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_DescribeExplainabilityExportCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("DescribeExplainabilityExport");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_DescribeForecastCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("DescribeForecast");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_DescribeForecastExportJobCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("DescribeForecastExportJob");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_DescribeMonitorCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("DescribeMonitor");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_DescribePredictorCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("DescribePredictor");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_DescribePredictorBacktestExportJobCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("DescribePredictorBacktestExportJob");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(_json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
export const se_DescribeWhatIfAnalysisCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("DescribeWhatIfAnalysis");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(_json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
export const se_DescribeWhatIfForecastCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("DescribeWhatIfForecast");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_DescribeWhatIfForecastExportCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("DescribeWhatIfForecastExport");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_GetAccuracyMetricsCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("GetAccuracyMetrics");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_ListDatasetGroupsCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("ListDatasetGroups");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_ListDatasetImportJobsCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("ListDatasetImportJobs");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const se_ListDatasetsCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("ListDatasets");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(_json(input));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
export const se_ListExplainabilitiesCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("ListExplainabilities");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(_json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
export const se_ListExplainabilityExportsCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("ListExplainabilityExports");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(_json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
export const se_ListForecastExportJobsCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("ListForecastExportJobs");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(_json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
export const se_ListForecastsCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("ListForecasts");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(_json(input));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
export const se_ListMonitorEvaluationsCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("ListMonitorEvaluations");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(_json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
export const se_ListMonitorsCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("ListMonitors");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(_json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
export const se_ListPredictorBacktestExportJobsCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("ListPredictorBacktestExportJobs");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(_json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
export const se_ListPredictorsCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("ListPredictors");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(_json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(_json(input));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
export const se_ListWhatIfAnalysesCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("ListWhatIfAnalyses");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(_json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
export const se_ListWhatIfForecastExportsCommand = async (input, context) => {
|
|
343
|
-
const headers = sharedHeaders("ListWhatIfForecastExports");
|
|
344
|
-
let body;
|
|
345
|
-
body = JSON.stringify(_json(input));
|
|
346
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
-
};
|
|
348
|
-
export const se_ListWhatIfForecastsCommand = async (input, context) => {
|
|
349
|
-
const headers = sharedHeaders("ListWhatIfForecasts");
|
|
350
|
-
let body;
|
|
351
|
-
body = JSON.stringify(_json(input));
|
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
-
};
|
|
354
|
-
export const se_ResumeResourceCommand = async (input, context) => {
|
|
355
|
-
const headers = sharedHeaders("ResumeResource");
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(_json(input));
|
|
358
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
|
-
};
|
|
360
|
-
export const se_StopResourceCommand = async (input, context) => {
|
|
361
|
-
const headers = sharedHeaders("StopResource");
|
|
362
|
-
let body;
|
|
363
|
-
body = JSON.stringify(_json(input));
|
|
364
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
|
-
};
|
|
366
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
367
|
-
const headers = sharedHeaders("TagResource");
|
|
368
|
-
let body;
|
|
369
|
-
body = JSON.stringify(_json(input));
|
|
370
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
|
-
};
|
|
372
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
373
|
-
const headers = sharedHeaders("UntagResource");
|
|
374
|
-
let body;
|
|
375
|
-
body = JSON.stringify(_json(input));
|
|
376
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
|
-
};
|
|
378
|
-
export const se_UpdateDatasetGroupCommand = async (input, context) => {
|
|
379
|
-
const headers = sharedHeaders("UpdateDatasetGroup");
|
|
380
|
-
let body;
|
|
381
|
-
body = JSON.stringify(_json(input));
|
|
382
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
|
-
};
|
|
384
|
-
export const de_CreateAutoPredictorCommand = async (output, context) => {
|
|
385
|
-
if (output.statusCode >= 300) {
|
|
386
|
-
return de_CommandError(output, context);
|
|
387
|
-
}
|
|
388
|
-
const data = await parseBody(output.body, context);
|
|
389
|
-
let contents = {};
|
|
390
|
-
contents = _json(data);
|
|
391
|
-
const response = {
|
|
392
|
-
$metadata: deserializeMetadata(output),
|
|
393
|
-
...contents,
|
|
394
|
-
};
|
|
395
|
-
return response;
|
|
396
|
-
};
|
|
397
|
-
export const de_CreateDatasetCommand = async (output, context) => {
|
|
398
|
-
if (output.statusCode >= 300) {
|
|
399
|
-
return de_CommandError(output, context);
|
|
400
|
-
}
|
|
401
|
-
const data = await parseBody(output.body, context);
|
|
402
|
-
let contents = {};
|
|
403
|
-
contents = _json(data);
|
|
404
|
-
const response = {
|
|
405
|
-
$metadata: deserializeMetadata(output),
|
|
406
|
-
...contents,
|
|
407
|
-
};
|
|
408
|
-
return response;
|
|
409
|
-
};
|
|
410
|
-
export const de_CreateDatasetGroupCommand = async (output, context) => {
|
|
411
|
-
if (output.statusCode >= 300) {
|
|
412
|
-
return de_CommandError(output, context);
|
|
413
|
-
}
|
|
414
|
-
const data = await parseBody(output.body, context);
|
|
415
|
-
let contents = {};
|
|
416
|
-
contents = _json(data);
|
|
417
|
-
const response = {
|
|
418
|
-
$metadata: deserializeMetadata(output),
|
|
419
|
-
...contents,
|
|
420
|
-
};
|
|
421
|
-
return response;
|
|
422
|
-
};
|
|
423
|
-
export const de_CreateDatasetImportJobCommand = async (output, context) => {
|
|
424
|
-
if (output.statusCode >= 300) {
|
|
425
|
-
return de_CommandError(output, context);
|
|
426
|
-
}
|
|
427
|
-
const data = await parseBody(output.body, context);
|
|
428
|
-
let contents = {};
|
|
429
|
-
contents = _json(data);
|
|
430
|
-
const response = {
|
|
431
|
-
$metadata: deserializeMetadata(output),
|
|
432
|
-
...contents,
|
|
433
|
-
};
|
|
434
|
-
return response;
|
|
435
|
-
};
|
|
436
|
-
export const de_CreateExplainabilityCommand = async (output, context) => {
|
|
437
|
-
if (output.statusCode >= 300) {
|
|
438
|
-
return de_CommandError(output, context);
|
|
439
|
-
}
|
|
440
|
-
const data = await parseBody(output.body, context);
|
|
441
|
-
let contents = {};
|
|
442
|
-
contents = _json(data);
|
|
443
|
-
const response = {
|
|
444
|
-
$metadata: deserializeMetadata(output),
|
|
445
|
-
...contents,
|
|
446
|
-
};
|
|
447
|
-
return response;
|
|
448
|
-
};
|
|
449
|
-
export const de_CreateExplainabilityExportCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode >= 300) {
|
|
451
|
-
return de_CommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const data = await parseBody(output.body, context);
|
|
454
|
-
let contents = {};
|
|
455
|
-
contents = _json(data);
|
|
456
|
-
const response = {
|
|
457
|
-
$metadata: deserializeMetadata(output),
|
|
458
|
-
...contents,
|
|
459
|
-
};
|
|
460
|
-
return response;
|
|
461
|
-
};
|
|
462
|
-
export const de_CreateForecastCommand = async (output, context) => {
|
|
463
|
-
if (output.statusCode >= 300) {
|
|
464
|
-
return de_CommandError(output, context);
|
|
465
|
-
}
|
|
466
|
-
const data = await parseBody(output.body, context);
|
|
467
|
-
let contents = {};
|
|
468
|
-
contents = _json(data);
|
|
469
|
-
const response = {
|
|
470
|
-
$metadata: deserializeMetadata(output),
|
|
471
|
-
...contents,
|
|
472
|
-
};
|
|
473
|
-
return response;
|
|
474
|
-
};
|
|
475
|
-
export const de_CreateForecastExportJobCommand = async (output, context) => {
|
|
476
|
-
if (output.statusCode >= 300) {
|
|
477
|
-
return de_CommandError(output, context);
|
|
478
|
-
}
|
|
479
|
-
const data = await parseBody(output.body, context);
|
|
480
|
-
let contents = {};
|
|
481
|
-
contents = _json(data);
|
|
482
|
-
const response = {
|
|
483
|
-
$metadata: deserializeMetadata(output),
|
|
484
|
-
...contents,
|
|
485
|
-
};
|
|
486
|
-
return response;
|
|
487
|
-
};
|
|
488
|
-
export const de_CreateMonitorCommand = async (output, context) => {
|
|
489
|
-
if (output.statusCode >= 300) {
|
|
490
|
-
return de_CommandError(output, context);
|
|
491
|
-
}
|
|
492
|
-
const data = await parseBody(output.body, context);
|
|
493
|
-
let contents = {};
|
|
494
|
-
contents = _json(data);
|
|
495
|
-
const response = {
|
|
496
|
-
$metadata: deserializeMetadata(output),
|
|
497
|
-
...contents,
|
|
498
|
-
};
|
|
499
|
-
return response;
|
|
500
|
-
};
|
|
501
|
-
export const de_CreatePredictorCommand = async (output, context) => {
|
|
502
|
-
if (output.statusCode >= 300) {
|
|
503
|
-
return de_CommandError(output, context);
|
|
504
|
-
}
|
|
505
|
-
const data = await parseBody(output.body, context);
|
|
506
|
-
let contents = {};
|
|
507
|
-
contents = _json(data);
|
|
508
|
-
const response = {
|
|
509
|
-
$metadata: deserializeMetadata(output),
|
|
510
|
-
...contents,
|
|
511
|
-
};
|
|
512
|
-
return response;
|
|
513
|
-
};
|
|
514
|
-
export const de_CreatePredictorBacktestExportJobCommand = async (output, context) => {
|
|
515
|
-
if (output.statusCode >= 300) {
|
|
516
|
-
return de_CommandError(output, context);
|
|
517
|
-
}
|
|
518
|
-
const data = await parseBody(output.body, context);
|
|
519
|
-
let contents = {};
|
|
520
|
-
contents = _json(data);
|
|
521
|
-
const response = {
|
|
522
|
-
$metadata: deserializeMetadata(output),
|
|
523
|
-
...contents,
|
|
524
|
-
};
|
|
525
|
-
return response;
|
|
526
|
-
};
|
|
527
|
-
export const de_CreateWhatIfAnalysisCommand = async (output, context) => {
|
|
528
|
-
if (output.statusCode >= 300) {
|
|
529
|
-
return de_CommandError(output, context);
|
|
530
|
-
}
|
|
531
|
-
const data = await parseBody(output.body, context);
|
|
532
|
-
let contents = {};
|
|
533
|
-
contents = _json(data);
|
|
534
|
-
const response = {
|
|
535
|
-
$metadata: deserializeMetadata(output),
|
|
536
|
-
...contents,
|
|
537
|
-
};
|
|
538
|
-
return response;
|
|
539
|
-
};
|
|
540
|
-
export const de_CreateWhatIfForecastCommand = async (output, context) => {
|
|
541
|
-
if (output.statusCode >= 300) {
|
|
542
|
-
return de_CommandError(output, context);
|
|
543
|
-
}
|
|
544
|
-
const data = await parseBody(output.body, context);
|
|
545
|
-
let contents = {};
|
|
546
|
-
contents = _json(data);
|
|
547
|
-
const response = {
|
|
548
|
-
$metadata: deserializeMetadata(output),
|
|
549
|
-
...contents,
|
|
550
|
-
};
|
|
551
|
-
return response;
|
|
552
|
-
};
|
|
553
|
-
export const de_CreateWhatIfForecastExportCommand = async (output, context) => {
|
|
554
|
-
if (output.statusCode >= 300) {
|
|
555
|
-
return de_CommandError(output, context);
|
|
556
|
-
}
|
|
557
|
-
const data = await parseBody(output.body, context);
|
|
558
|
-
let contents = {};
|
|
559
|
-
contents = _json(data);
|
|
560
|
-
const response = {
|
|
561
|
-
$metadata: deserializeMetadata(output),
|
|
562
|
-
...contents,
|
|
563
|
-
};
|
|
564
|
-
return response;
|
|
565
|
-
};
|
|
566
|
-
export const de_DeleteDatasetCommand = async (output, context) => {
|
|
567
|
-
if (output.statusCode >= 300) {
|
|
568
|
-
return de_CommandError(output, context);
|
|
569
|
-
}
|
|
570
|
-
await collectBody(output.body, context);
|
|
571
|
-
const response = {
|
|
572
|
-
$metadata: deserializeMetadata(output),
|
|
573
|
-
};
|
|
574
|
-
return response;
|
|
575
|
-
};
|
|
576
|
-
export const de_DeleteDatasetGroupCommand = async (output, context) => {
|
|
577
|
-
if (output.statusCode >= 300) {
|
|
578
|
-
return de_CommandError(output, context);
|
|
579
|
-
}
|
|
580
|
-
await collectBody(output.body, context);
|
|
581
|
-
const response = {
|
|
582
|
-
$metadata: deserializeMetadata(output),
|
|
583
|
-
};
|
|
584
|
-
return response;
|
|
585
|
-
};
|
|
586
|
-
export const de_DeleteDatasetImportJobCommand = async (output, context) => {
|
|
587
|
-
if (output.statusCode >= 300) {
|
|
588
|
-
return de_CommandError(output, context);
|
|
589
|
-
}
|
|
590
|
-
await collectBody(output.body, context);
|
|
591
|
-
const response = {
|
|
592
|
-
$metadata: deserializeMetadata(output),
|
|
593
|
-
};
|
|
594
|
-
return response;
|
|
595
|
-
};
|
|
596
|
-
export const de_DeleteExplainabilityCommand = async (output, context) => {
|
|
597
|
-
if (output.statusCode >= 300) {
|
|
598
|
-
return de_CommandError(output, context);
|
|
599
|
-
}
|
|
600
|
-
await collectBody(output.body, context);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
};
|
|
604
|
-
return response;
|
|
605
|
-
};
|
|
606
|
-
export const de_DeleteExplainabilityExportCommand = async (output, context) => {
|
|
607
|
-
if (output.statusCode >= 300) {
|
|
608
|
-
return de_CommandError(output, context);
|
|
609
|
-
}
|
|
610
|
-
await collectBody(output.body, context);
|
|
611
|
-
const response = {
|
|
612
|
-
$metadata: deserializeMetadata(output),
|
|
613
|
-
};
|
|
614
|
-
return response;
|
|
615
|
-
};
|
|
616
|
-
export const de_DeleteForecastCommand = async (output, context) => {
|
|
617
|
-
if (output.statusCode >= 300) {
|
|
618
|
-
return de_CommandError(output, context);
|
|
619
|
-
}
|
|
620
|
-
await collectBody(output.body, context);
|
|
621
|
-
const response = {
|
|
622
|
-
$metadata: deserializeMetadata(output),
|
|
623
|
-
};
|
|
624
|
-
return response;
|
|
625
|
-
};
|
|
626
|
-
export const de_DeleteForecastExportJobCommand = async (output, context) => {
|
|
627
|
-
if (output.statusCode >= 300) {
|
|
628
|
-
return de_CommandError(output, context);
|
|
629
|
-
}
|
|
630
|
-
await collectBody(output.body, context);
|
|
631
|
-
const response = {
|
|
632
|
-
$metadata: deserializeMetadata(output),
|
|
633
|
-
};
|
|
634
|
-
return response;
|
|
635
|
-
};
|
|
636
|
-
export const de_DeleteMonitorCommand = async (output, context) => {
|
|
637
|
-
if (output.statusCode >= 300) {
|
|
638
|
-
return de_CommandError(output, context);
|
|
639
|
-
}
|
|
640
|
-
await collectBody(output.body, context);
|
|
641
|
-
const response = {
|
|
642
|
-
$metadata: deserializeMetadata(output),
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_DeletePredictorCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
await collectBody(output.body, context);
|
|
651
|
-
const response = {
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
};
|
|
654
|
-
return response;
|
|
655
|
-
};
|
|
656
|
-
export const de_DeletePredictorBacktestExportJobCommand = async (output, context) => {
|
|
657
|
-
if (output.statusCode >= 300) {
|
|
658
|
-
return de_CommandError(output, context);
|
|
659
|
-
}
|
|
660
|
-
await collectBody(output.body, context);
|
|
661
|
-
const response = {
|
|
662
|
-
$metadata: deserializeMetadata(output),
|
|
663
|
-
};
|
|
664
|
-
return response;
|
|
665
|
-
};
|
|
666
|
-
export const de_DeleteResourceTreeCommand = async (output, context) => {
|
|
667
|
-
if (output.statusCode >= 300) {
|
|
668
|
-
return de_CommandError(output, context);
|
|
669
|
-
}
|
|
670
|
-
await collectBody(output.body, context);
|
|
671
|
-
const response = {
|
|
672
|
-
$metadata: deserializeMetadata(output),
|
|
673
|
-
};
|
|
674
|
-
return response;
|
|
675
|
-
};
|
|
676
|
-
export const de_DeleteWhatIfAnalysisCommand = async (output, context) => {
|
|
677
|
-
if (output.statusCode >= 300) {
|
|
678
|
-
return de_CommandError(output, context);
|
|
679
|
-
}
|
|
680
|
-
await collectBody(output.body, context);
|
|
681
|
-
const response = {
|
|
682
|
-
$metadata: deserializeMetadata(output),
|
|
683
|
-
};
|
|
684
|
-
return response;
|
|
685
|
-
};
|
|
686
|
-
export const de_DeleteWhatIfForecastCommand = async (output, context) => {
|
|
687
|
-
if (output.statusCode >= 300) {
|
|
688
|
-
return de_CommandError(output, context);
|
|
689
|
-
}
|
|
690
|
-
await collectBody(output.body, context);
|
|
691
|
-
const response = {
|
|
692
|
-
$metadata: deserializeMetadata(output),
|
|
693
|
-
};
|
|
694
|
-
return response;
|
|
695
|
-
};
|
|
696
|
-
export const de_DeleteWhatIfForecastExportCommand = async (output, context) => {
|
|
697
|
-
if (output.statusCode >= 300) {
|
|
698
|
-
return de_CommandError(output, context);
|
|
699
|
-
}
|
|
700
|
-
await collectBody(output.body, context);
|
|
701
|
-
const response = {
|
|
702
|
-
$metadata: deserializeMetadata(output),
|
|
703
|
-
};
|
|
704
|
-
return response;
|
|
705
|
-
};
|
|
706
|
-
export const de_DescribeAutoPredictorCommand = async (output, context) => {
|
|
707
|
-
if (output.statusCode >= 300) {
|
|
708
|
-
return de_CommandError(output, context);
|
|
709
|
-
}
|
|
710
|
-
const data = await parseBody(output.body, context);
|
|
711
|
-
let contents = {};
|
|
712
|
-
contents = de_DescribeAutoPredictorResponse(data, context);
|
|
713
|
-
const response = {
|
|
714
|
-
$metadata: deserializeMetadata(output),
|
|
715
|
-
...contents,
|
|
716
|
-
};
|
|
717
|
-
return response;
|
|
718
|
-
};
|
|
719
|
-
export const de_DescribeDatasetCommand = async (output, context) => {
|
|
720
|
-
if (output.statusCode >= 300) {
|
|
721
|
-
return de_CommandError(output, context);
|
|
722
|
-
}
|
|
723
|
-
const data = await parseBody(output.body, context);
|
|
724
|
-
let contents = {};
|
|
725
|
-
contents = de_DescribeDatasetResponse(data, context);
|
|
726
|
-
const response = {
|
|
727
|
-
$metadata: deserializeMetadata(output),
|
|
728
|
-
...contents,
|
|
729
|
-
};
|
|
730
|
-
return response;
|
|
731
|
-
};
|
|
732
|
-
export const de_DescribeDatasetGroupCommand = async (output, context) => {
|
|
733
|
-
if (output.statusCode >= 300) {
|
|
734
|
-
return de_CommandError(output, context);
|
|
735
|
-
}
|
|
736
|
-
const data = await parseBody(output.body, context);
|
|
737
|
-
let contents = {};
|
|
738
|
-
contents = de_DescribeDatasetGroupResponse(data, context);
|
|
739
|
-
const response = {
|
|
740
|
-
$metadata: deserializeMetadata(output),
|
|
741
|
-
...contents,
|
|
742
|
-
};
|
|
743
|
-
return response;
|
|
744
|
-
};
|
|
745
|
-
export const de_DescribeDatasetImportJobCommand = async (output, context) => {
|
|
746
|
-
if (output.statusCode >= 300) {
|
|
747
|
-
return de_CommandError(output, context);
|
|
748
|
-
}
|
|
749
|
-
const data = await parseBody(output.body, context);
|
|
750
|
-
let contents = {};
|
|
751
|
-
contents = de_DescribeDatasetImportJobResponse(data, context);
|
|
752
|
-
const response = {
|
|
753
|
-
$metadata: deserializeMetadata(output),
|
|
754
|
-
...contents,
|
|
755
|
-
};
|
|
756
|
-
return response;
|
|
757
|
-
};
|
|
758
|
-
export const de_DescribeExplainabilityCommand = async (output, context) => {
|
|
759
|
-
if (output.statusCode >= 300) {
|
|
760
|
-
return de_CommandError(output, context);
|
|
761
|
-
}
|
|
762
|
-
const data = await parseBody(output.body, context);
|
|
763
|
-
let contents = {};
|
|
764
|
-
contents = de_DescribeExplainabilityResponse(data, context);
|
|
765
|
-
const response = {
|
|
766
|
-
$metadata: deserializeMetadata(output),
|
|
767
|
-
...contents,
|
|
768
|
-
};
|
|
769
|
-
return response;
|
|
770
|
-
};
|
|
771
|
-
export const de_DescribeExplainabilityExportCommand = async (output, context) => {
|
|
772
|
-
if (output.statusCode >= 300) {
|
|
773
|
-
return de_CommandError(output, context);
|
|
774
|
-
}
|
|
775
|
-
const data = await parseBody(output.body, context);
|
|
776
|
-
let contents = {};
|
|
777
|
-
contents = de_DescribeExplainabilityExportResponse(data, context);
|
|
778
|
-
const response = {
|
|
779
|
-
$metadata: deserializeMetadata(output),
|
|
780
|
-
...contents,
|
|
781
|
-
};
|
|
782
|
-
return response;
|
|
783
|
-
};
|
|
784
|
-
export const de_DescribeForecastCommand = async (output, context) => {
|
|
785
|
-
if (output.statusCode >= 300) {
|
|
786
|
-
return de_CommandError(output, context);
|
|
787
|
-
}
|
|
788
|
-
const data = await parseBody(output.body, context);
|
|
789
|
-
let contents = {};
|
|
790
|
-
contents = de_DescribeForecastResponse(data, context);
|
|
791
|
-
const response = {
|
|
792
|
-
$metadata: deserializeMetadata(output),
|
|
793
|
-
...contents,
|
|
794
|
-
};
|
|
795
|
-
return response;
|
|
796
|
-
};
|
|
797
|
-
export const de_DescribeForecastExportJobCommand = async (output, context) => {
|
|
798
|
-
if (output.statusCode >= 300) {
|
|
799
|
-
return de_CommandError(output, context);
|
|
800
|
-
}
|
|
801
|
-
const data = await parseBody(output.body, context);
|
|
802
|
-
let contents = {};
|
|
803
|
-
contents = de_DescribeForecastExportJobResponse(data, context);
|
|
804
|
-
const response = {
|
|
805
|
-
$metadata: deserializeMetadata(output),
|
|
806
|
-
...contents,
|
|
807
|
-
};
|
|
808
|
-
return response;
|
|
809
|
-
};
|
|
810
|
-
export const de_DescribeMonitorCommand = async (output, context) => {
|
|
811
|
-
if (output.statusCode >= 300) {
|
|
812
|
-
return de_CommandError(output, context);
|
|
813
|
-
}
|
|
814
|
-
const data = await parseBody(output.body, context);
|
|
815
|
-
let contents = {};
|
|
816
|
-
contents = de_DescribeMonitorResponse(data, context);
|
|
817
|
-
const response = {
|
|
818
|
-
$metadata: deserializeMetadata(output),
|
|
819
|
-
...contents,
|
|
820
|
-
};
|
|
821
|
-
return response;
|
|
822
|
-
};
|
|
823
|
-
export const de_DescribePredictorCommand = async (output, context) => {
|
|
824
|
-
if (output.statusCode >= 300) {
|
|
825
|
-
return de_CommandError(output, context);
|
|
826
|
-
}
|
|
827
|
-
const data = await parseBody(output.body, context);
|
|
828
|
-
let contents = {};
|
|
829
|
-
contents = de_DescribePredictorResponse(data, context);
|
|
830
|
-
const response = {
|
|
831
|
-
$metadata: deserializeMetadata(output),
|
|
832
|
-
...contents,
|
|
833
|
-
};
|
|
834
|
-
return response;
|
|
835
|
-
};
|
|
836
|
-
export const de_DescribePredictorBacktestExportJobCommand = async (output, context) => {
|
|
837
|
-
if (output.statusCode >= 300) {
|
|
838
|
-
return de_CommandError(output, context);
|
|
839
|
-
}
|
|
840
|
-
const data = await parseBody(output.body, context);
|
|
841
|
-
let contents = {};
|
|
842
|
-
contents = de_DescribePredictorBacktestExportJobResponse(data, context);
|
|
843
|
-
const response = {
|
|
844
|
-
$metadata: deserializeMetadata(output),
|
|
845
|
-
...contents,
|
|
846
|
-
};
|
|
847
|
-
return response;
|
|
848
|
-
};
|
|
849
|
-
export const de_DescribeWhatIfAnalysisCommand = async (output, context) => {
|
|
850
|
-
if (output.statusCode >= 300) {
|
|
851
|
-
return de_CommandError(output, context);
|
|
852
|
-
}
|
|
853
|
-
const data = await parseBody(output.body, context);
|
|
854
|
-
let contents = {};
|
|
855
|
-
contents = de_DescribeWhatIfAnalysisResponse(data, context);
|
|
856
|
-
const response = {
|
|
857
|
-
$metadata: deserializeMetadata(output),
|
|
858
|
-
...contents,
|
|
859
|
-
};
|
|
860
|
-
return response;
|
|
861
|
-
};
|
|
862
|
-
export const de_DescribeWhatIfForecastCommand = async (output, context) => {
|
|
863
|
-
if (output.statusCode >= 300) {
|
|
864
|
-
return de_CommandError(output, context);
|
|
865
|
-
}
|
|
866
|
-
const data = await parseBody(output.body, context);
|
|
867
|
-
let contents = {};
|
|
868
|
-
contents = de_DescribeWhatIfForecastResponse(data, context);
|
|
869
|
-
const response = {
|
|
870
|
-
$metadata: deserializeMetadata(output),
|
|
871
|
-
...contents,
|
|
872
|
-
};
|
|
873
|
-
return response;
|
|
874
|
-
};
|
|
875
|
-
export const de_DescribeWhatIfForecastExportCommand = async (output, context) => {
|
|
876
|
-
if (output.statusCode >= 300) {
|
|
877
|
-
return de_CommandError(output, context);
|
|
878
|
-
}
|
|
879
|
-
const data = await parseBody(output.body, context);
|
|
880
|
-
let contents = {};
|
|
881
|
-
contents = de_DescribeWhatIfForecastExportResponse(data, context);
|
|
882
|
-
const response = {
|
|
883
|
-
$metadata: deserializeMetadata(output),
|
|
884
|
-
...contents,
|
|
885
|
-
};
|
|
886
|
-
return response;
|
|
887
|
-
};
|
|
888
|
-
export const de_GetAccuracyMetricsCommand = async (output, context) => {
|
|
889
|
-
if (output.statusCode >= 300) {
|
|
890
|
-
return de_CommandError(output, context);
|
|
891
|
-
}
|
|
892
|
-
const data = await parseBody(output.body, context);
|
|
893
|
-
let contents = {};
|
|
894
|
-
contents = de_GetAccuracyMetricsResponse(data, context);
|
|
895
|
-
const response = {
|
|
896
|
-
$metadata: deserializeMetadata(output),
|
|
897
|
-
...contents,
|
|
898
|
-
};
|
|
899
|
-
return response;
|
|
900
|
-
};
|
|
901
|
-
export const de_ListDatasetGroupsCommand = async (output, context) => {
|
|
902
|
-
if (output.statusCode >= 300) {
|
|
903
|
-
return de_CommandError(output, context);
|
|
904
|
-
}
|
|
905
|
-
const data = await parseBody(output.body, context);
|
|
906
|
-
let contents = {};
|
|
907
|
-
contents = de_ListDatasetGroupsResponse(data, context);
|
|
908
|
-
const response = {
|
|
909
|
-
$metadata: deserializeMetadata(output),
|
|
910
|
-
...contents,
|
|
911
|
-
};
|
|
912
|
-
return response;
|
|
913
|
-
};
|
|
914
|
-
export const de_ListDatasetImportJobsCommand = async (output, context) => {
|
|
915
|
-
if (output.statusCode >= 300) {
|
|
916
|
-
return de_CommandError(output, context);
|
|
917
|
-
}
|
|
918
|
-
const data = await parseBody(output.body, context);
|
|
919
|
-
let contents = {};
|
|
920
|
-
contents = de_ListDatasetImportJobsResponse(data, context);
|
|
921
|
-
const response = {
|
|
922
|
-
$metadata: deserializeMetadata(output),
|
|
923
|
-
...contents,
|
|
924
|
-
};
|
|
925
|
-
return response;
|
|
926
|
-
};
|
|
927
|
-
export const de_ListDatasetsCommand = async (output, context) => {
|
|
928
|
-
if (output.statusCode >= 300) {
|
|
929
|
-
return de_CommandError(output, context);
|
|
930
|
-
}
|
|
931
|
-
const data = await parseBody(output.body, context);
|
|
932
|
-
let contents = {};
|
|
933
|
-
contents = de_ListDatasetsResponse(data, context);
|
|
934
|
-
const response = {
|
|
935
|
-
$metadata: deserializeMetadata(output),
|
|
936
|
-
...contents,
|
|
937
|
-
};
|
|
938
|
-
return response;
|
|
939
|
-
};
|
|
940
|
-
export const de_ListExplainabilitiesCommand = async (output, context) => {
|
|
941
|
-
if (output.statusCode >= 300) {
|
|
942
|
-
return de_CommandError(output, context);
|
|
943
|
-
}
|
|
944
|
-
const data = await parseBody(output.body, context);
|
|
945
|
-
let contents = {};
|
|
946
|
-
contents = de_ListExplainabilitiesResponse(data, context);
|
|
947
|
-
const response = {
|
|
948
|
-
$metadata: deserializeMetadata(output),
|
|
949
|
-
...contents,
|
|
950
|
-
};
|
|
951
|
-
return response;
|
|
952
|
-
};
|
|
953
|
-
export const de_ListExplainabilityExportsCommand = async (output, context) => {
|
|
954
|
-
if (output.statusCode >= 300) {
|
|
955
|
-
return de_CommandError(output, context);
|
|
956
|
-
}
|
|
957
|
-
const data = await parseBody(output.body, context);
|
|
958
|
-
let contents = {};
|
|
959
|
-
contents = de_ListExplainabilityExportsResponse(data, context);
|
|
960
|
-
const response = {
|
|
961
|
-
$metadata: deserializeMetadata(output),
|
|
962
|
-
...contents,
|
|
963
|
-
};
|
|
964
|
-
return response;
|
|
965
|
-
};
|
|
966
|
-
export const de_ListForecastExportJobsCommand = async (output, context) => {
|
|
967
|
-
if (output.statusCode >= 300) {
|
|
968
|
-
return de_CommandError(output, context);
|
|
969
|
-
}
|
|
970
|
-
const data = await parseBody(output.body, context);
|
|
971
|
-
let contents = {};
|
|
972
|
-
contents = de_ListForecastExportJobsResponse(data, context);
|
|
973
|
-
const response = {
|
|
974
|
-
$metadata: deserializeMetadata(output),
|
|
975
|
-
...contents,
|
|
976
|
-
};
|
|
977
|
-
return response;
|
|
978
|
-
};
|
|
979
|
-
export const de_ListForecastsCommand = async (output, context) => {
|
|
980
|
-
if (output.statusCode >= 300) {
|
|
981
|
-
return de_CommandError(output, context);
|
|
982
|
-
}
|
|
983
|
-
const data = await parseBody(output.body, context);
|
|
984
|
-
let contents = {};
|
|
985
|
-
contents = de_ListForecastsResponse(data, context);
|
|
986
|
-
const response = {
|
|
987
|
-
$metadata: deserializeMetadata(output),
|
|
988
|
-
...contents,
|
|
989
|
-
};
|
|
990
|
-
return response;
|
|
991
|
-
};
|
|
992
|
-
export const de_ListMonitorEvaluationsCommand = async (output, context) => {
|
|
993
|
-
if (output.statusCode >= 300) {
|
|
994
|
-
return de_CommandError(output, context);
|
|
995
|
-
}
|
|
996
|
-
const data = await parseBody(output.body, context);
|
|
997
|
-
let contents = {};
|
|
998
|
-
contents = de_ListMonitorEvaluationsResponse(data, context);
|
|
999
|
-
const response = {
|
|
1000
|
-
$metadata: deserializeMetadata(output),
|
|
1001
|
-
...contents,
|
|
1002
|
-
};
|
|
1003
|
-
return response;
|
|
1004
|
-
};
|
|
1005
|
-
export const de_ListMonitorsCommand = async (output, context) => {
|
|
1006
|
-
if (output.statusCode >= 300) {
|
|
1007
|
-
return de_CommandError(output, context);
|
|
1008
|
-
}
|
|
1009
|
-
const data = await parseBody(output.body, context);
|
|
1010
|
-
let contents = {};
|
|
1011
|
-
contents = de_ListMonitorsResponse(data, context);
|
|
1012
|
-
const response = {
|
|
1013
|
-
$metadata: deserializeMetadata(output),
|
|
1014
|
-
...contents,
|
|
1015
|
-
};
|
|
1016
|
-
return response;
|
|
1017
|
-
};
|
|
1018
|
-
export const de_ListPredictorBacktestExportJobsCommand = async (output, context) => {
|
|
1019
|
-
if (output.statusCode >= 300) {
|
|
1020
|
-
return de_CommandError(output, context);
|
|
1021
|
-
}
|
|
1022
|
-
const data = await parseBody(output.body, context);
|
|
1023
|
-
let contents = {};
|
|
1024
|
-
contents = de_ListPredictorBacktestExportJobsResponse(data, context);
|
|
1025
|
-
const response = {
|
|
1026
|
-
$metadata: deserializeMetadata(output),
|
|
1027
|
-
...contents,
|
|
1028
|
-
};
|
|
1029
|
-
return response;
|
|
1030
|
-
};
|
|
1031
|
-
export const de_ListPredictorsCommand = async (output, context) => {
|
|
1032
|
-
if (output.statusCode >= 300) {
|
|
1033
|
-
return de_CommandError(output, context);
|
|
1034
|
-
}
|
|
1035
|
-
const data = await parseBody(output.body, context);
|
|
1036
|
-
let contents = {};
|
|
1037
|
-
contents = de_ListPredictorsResponse(data, context);
|
|
1038
|
-
const response = {
|
|
1039
|
-
$metadata: deserializeMetadata(output),
|
|
1040
|
-
...contents,
|
|
1041
|
-
};
|
|
1042
|
-
return response;
|
|
1043
|
-
};
|
|
1044
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1045
|
-
if (output.statusCode >= 300) {
|
|
1046
|
-
return de_CommandError(output, context);
|
|
1047
|
-
}
|
|
1048
|
-
const data = await parseBody(output.body, context);
|
|
1049
|
-
let contents = {};
|
|
1050
|
-
contents = _json(data);
|
|
1051
|
-
const response = {
|
|
1052
|
-
$metadata: deserializeMetadata(output),
|
|
1053
|
-
...contents,
|
|
1054
|
-
};
|
|
1055
|
-
return response;
|
|
1056
|
-
};
|
|
1057
|
-
export const de_ListWhatIfAnalysesCommand = async (output, context) => {
|
|
1058
|
-
if (output.statusCode >= 300) {
|
|
1059
|
-
return de_CommandError(output, context);
|
|
1060
|
-
}
|
|
1061
|
-
const data = await parseBody(output.body, context);
|
|
1062
|
-
let contents = {};
|
|
1063
|
-
contents = de_ListWhatIfAnalysesResponse(data, context);
|
|
1064
|
-
const response = {
|
|
1065
|
-
$metadata: deserializeMetadata(output),
|
|
1066
|
-
...contents,
|
|
1067
|
-
};
|
|
1068
|
-
return response;
|
|
1069
|
-
};
|
|
1070
|
-
export const de_ListWhatIfForecastExportsCommand = async (output, context) => {
|
|
1071
|
-
if (output.statusCode >= 300) {
|
|
1072
|
-
return de_CommandError(output, context);
|
|
1073
|
-
}
|
|
1074
|
-
const data = await parseBody(output.body, context);
|
|
1075
|
-
let contents = {};
|
|
1076
|
-
contents = de_ListWhatIfForecastExportsResponse(data, context);
|
|
1077
|
-
const response = {
|
|
1078
|
-
$metadata: deserializeMetadata(output),
|
|
1079
|
-
...contents,
|
|
1080
|
-
};
|
|
1081
|
-
return response;
|
|
1082
|
-
};
|
|
1083
|
-
export const de_ListWhatIfForecastsCommand = async (output, context) => {
|
|
1084
|
-
if (output.statusCode >= 300) {
|
|
1085
|
-
return de_CommandError(output, context);
|
|
1086
|
-
}
|
|
1087
|
-
const data = await parseBody(output.body, context);
|
|
1088
|
-
let contents = {};
|
|
1089
|
-
contents = de_ListWhatIfForecastsResponse(data, context);
|
|
1090
|
-
const response = {
|
|
1091
|
-
$metadata: deserializeMetadata(output),
|
|
1092
|
-
...contents,
|
|
1093
|
-
};
|
|
1094
|
-
return response;
|
|
1095
|
-
};
|
|
1096
|
-
export const de_ResumeResourceCommand = async (output, context) => {
|
|
1097
|
-
if (output.statusCode >= 300) {
|
|
1098
|
-
return de_CommandError(output, context);
|
|
1099
|
-
}
|
|
1100
|
-
await collectBody(output.body, context);
|
|
1101
|
-
const response = {
|
|
1102
|
-
$metadata: deserializeMetadata(output),
|
|
1103
|
-
};
|
|
1104
|
-
return response;
|
|
1105
|
-
};
|
|
1106
|
-
export const de_StopResourceCommand = async (output, context) => {
|
|
1107
|
-
if (output.statusCode >= 300) {
|
|
1108
|
-
return de_CommandError(output, context);
|
|
1109
|
-
}
|
|
1110
|
-
await collectBody(output.body, context);
|
|
1111
|
-
const response = {
|
|
1112
|
-
$metadata: deserializeMetadata(output),
|
|
1113
|
-
};
|
|
1114
|
-
return response;
|
|
1115
|
-
};
|
|
1116
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1117
|
-
if (output.statusCode >= 300) {
|
|
1118
|
-
return de_CommandError(output, context);
|
|
1119
|
-
}
|
|
1120
|
-
const data = await parseBody(output.body, context);
|
|
1121
|
-
let contents = {};
|
|
1122
|
-
contents = _json(data);
|
|
1123
|
-
const response = {
|
|
1124
|
-
$metadata: deserializeMetadata(output),
|
|
1125
|
-
...contents,
|
|
1126
|
-
};
|
|
1127
|
-
return response;
|
|
1128
|
-
};
|
|
1129
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1130
|
-
if (output.statusCode >= 300) {
|
|
1131
|
-
return de_CommandError(output, context);
|
|
1132
|
-
}
|
|
1133
|
-
const data = await parseBody(output.body, context);
|
|
1134
|
-
let contents = {};
|
|
1135
|
-
contents = _json(data);
|
|
1136
|
-
const response = {
|
|
1137
|
-
$metadata: deserializeMetadata(output),
|
|
1138
|
-
...contents,
|
|
1139
|
-
};
|
|
1140
|
-
return response;
|
|
1141
|
-
};
|
|
1142
|
-
export const de_UpdateDatasetGroupCommand = async (output, context) => {
|
|
1143
|
-
if (output.statusCode >= 300) {
|
|
1144
|
-
return de_CommandError(output, context);
|
|
1145
|
-
}
|
|
1146
|
-
const data = await parseBody(output.body, context);
|
|
1147
|
-
let contents = {};
|
|
1148
|
-
contents = _json(data);
|
|
1149
|
-
const response = {
|
|
1150
|
-
$metadata: deserializeMetadata(output),
|
|
1151
|
-
...contents,
|
|
1152
|
-
};
|
|
1153
|
-
return response;
|
|
1154
|
-
};
|
|
1155
|
-
const de_CommandError = async (output, context) => {
|
|
1156
|
-
const parsedOutput = {
|
|
1157
|
-
...output,
|
|
1158
|
-
body: await parseErrorBody(output.body, context),
|
|
1159
|
-
};
|
|
1160
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1161
|
-
switch (errorCode) {
|
|
1162
|
-
case "InvalidInputException":
|
|
1163
|
-
case "com.amazonaws.forecast#InvalidInputException":
|
|
1164
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1165
|
-
case "LimitExceededException":
|
|
1166
|
-
case "com.amazonaws.forecast#LimitExceededException":
|
|
1167
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1168
|
-
case "ResourceAlreadyExistsException":
|
|
1169
|
-
case "com.amazonaws.forecast#ResourceAlreadyExistsException":
|
|
1170
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1171
|
-
case "ResourceInUseException":
|
|
1172
|
-
case "com.amazonaws.forecast#ResourceInUseException":
|
|
1173
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1174
|
-
case "ResourceNotFoundException":
|
|
1175
|
-
case "com.amazonaws.forecast#ResourceNotFoundException":
|
|
1176
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1177
|
-
case "InvalidNextTokenException":
|
|
1178
|
-
case "com.amazonaws.forecast#InvalidNextTokenException":
|
|
1179
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1180
|
-
default:
|
|
1181
|
-
const parsedBody = parsedOutput.body;
|
|
1182
|
-
return throwDefaultError({
|
|
1183
|
-
output,
|
|
1184
|
-
parsedBody,
|
|
1185
|
-
errorCode,
|
|
1186
|
-
});
|
|
1187
|
-
}
|
|
1188
|
-
};
|
|
1189
|
-
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1190
|
-
const body = parsedOutput.body;
|
|
1191
|
-
const deserialized = _json(body);
|
|
1192
|
-
const exception = new InvalidInputException({
|
|
1193
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1194
|
-
...deserialized,
|
|
1195
|
-
});
|
|
1196
|
-
return __decorateServiceException(exception, body);
|
|
1197
|
-
};
|
|
1198
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1199
|
-
const body = parsedOutput.body;
|
|
1200
|
-
const deserialized = _json(body);
|
|
1201
|
-
const exception = new InvalidNextTokenException({
|
|
1202
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1203
|
-
...deserialized,
|
|
1204
|
-
});
|
|
1205
|
-
return __decorateServiceException(exception, body);
|
|
1206
|
-
};
|
|
1207
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1208
|
-
const body = parsedOutput.body;
|
|
1209
|
-
const deserialized = _json(body);
|
|
1210
|
-
const exception = new LimitExceededException({
|
|
1211
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1212
|
-
...deserialized,
|
|
1213
|
-
});
|
|
1214
|
-
return __decorateServiceException(exception, body);
|
|
1215
|
-
};
|
|
1216
|
-
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1217
|
-
const body = parsedOutput.body;
|
|
1218
|
-
const deserialized = _json(body);
|
|
1219
|
-
const exception = new ResourceAlreadyExistsException({
|
|
1220
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1221
|
-
...deserialized,
|
|
1222
|
-
});
|
|
1223
|
-
return __decorateServiceException(exception, body);
|
|
1224
|
-
};
|
|
1225
|
-
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1226
|
-
const body = parsedOutput.body;
|
|
1227
|
-
const deserialized = _json(body);
|
|
1228
|
-
const exception = new ResourceInUseException({
|
|
1229
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1230
|
-
...deserialized,
|
|
1231
|
-
});
|
|
1232
|
-
return __decorateServiceException(exception, body);
|
|
1233
|
-
};
|
|
1234
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1235
|
-
const body = parsedOutput.body;
|
|
1236
|
-
const deserialized = _json(body);
|
|
1237
|
-
const exception = new ResourceNotFoundException({
|
|
1238
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1239
|
-
...deserialized,
|
|
1240
|
-
});
|
|
1241
|
-
return __decorateServiceException(exception, body);
|
|
1242
|
-
};
|
|
1243
|
-
const se_Action = (input, context) => {
|
|
1244
|
-
return take(input, {
|
|
1245
|
-
AttributeName: [],
|
|
1246
|
-
Operation: [],
|
|
1247
|
-
Value: __serializeFloat,
|
|
1248
|
-
});
|
|
1249
|
-
};
|
|
1250
|
-
const se_ContinuousParameterRange = (input, context) => {
|
|
1251
|
-
return take(input, {
|
|
1252
|
-
MaxValue: __serializeFloat,
|
|
1253
|
-
MinValue: __serializeFloat,
|
|
1254
|
-
Name: [],
|
|
1255
|
-
ScalingType: [],
|
|
1256
|
-
});
|
|
1257
|
-
};
|
|
1258
|
-
const se_ContinuousParameterRanges = (input, context) => {
|
|
1259
|
-
return input
|
|
1260
|
-
.filter((e) => e != null)
|
|
1261
|
-
.map((entry) => {
|
|
1262
|
-
return se_ContinuousParameterRange(entry, context);
|
|
1263
|
-
});
|
|
1264
|
-
};
|
|
1265
|
-
const se_CreatePredictorRequest = (input, context) => {
|
|
1266
|
-
return take(input, {
|
|
1267
|
-
AlgorithmArn: [],
|
|
1268
|
-
AutoMLOverrideStrategy: [],
|
|
1269
|
-
EncryptionConfig: _json,
|
|
1270
|
-
EvaluationParameters: _json,
|
|
1271
|
-
FeaturizationConfig: _json,
|
|
1272
|
-
ForecastHorizon: [],
|
|
1273
|
-
ForecastTypes: _json,
|
|
1274
|
-
HPOConfig: (_) => se_HyperParameterTuningJobConfig(_, context),
|
|
1275
|
-
InputDataConfig: _json,
|
|
1276
|
-
OptimizationMetric: [],
|
|
1277
|
-
PerformAutoML: [],
|
|
1278
|
-
PerformHPO: [],
|
|
1279
|
-
PredictorName: [],
|
|
1280
|
-
Tags: _json,
|
|
1281
|
-
TrainingParameters: _json,
|
|
1282
|
-
});
|
|
1283
|
-
};
|
|
1284
|
-
const se_CreateWhatIfForecastRequest = (input, context) => {
|
|
1285
|
-
return take(input, {
|
|
1286
|
-
Tags: _json,
|
|
1287
|
-
TimeSeriesReplacementsDataSource: _json,
|
|
1288
|
-
TimeSeriesTransformations: (_) => se_TimeSeriesTransformations(_, context),
|
|
1289
|
-
WhatIfAnalysisArn: [],
|
|
1290
|
-
WhatIfForecastName: [],
|
|
1291
|
-
});
|
|
1292
|
-
};
|
|
1293
|
-
const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
1294
|
-
return take(input, {
|
|
1295
|
-
ParameterRanges: (_) => se_ParameterRanges(_, context),
|
|
1296
|
-
});
|
|
1297
|
-
};
|
|
1298
|
-
const se_ParameterRanges = (input, context) => {
|
|
1299
|
-
return take(input, {
|
|
1300
|
-
CategoricalParameterRanges: _json,
|
|
1301
|
-
ContinuousParameterRanges: (_) => se_ContinuousParameterRanges(_, context),
|
|
1302
|
-
IntegerParameterRanges: _json,
|
|
1303
|
-
});
|
|
1304
|
-
};
|
|
1305
|
-
const se_TimeSeriesTransformation = (input, context) => {
|
|
1306
|
-
return take(input, {
|
|
1307
|
-
Action: (_) => se_Action(_, context),
|
|
1308
|
-
TimeSeriesConditions: _json,
|
|
1309
|
-
});
|
|
1310
|
-
};
|
|
1311
|
-
const se_TimeSeriesTransformations = (input, context) => {
|
|
1312
|
-
return input
|
|
1313
|
-
.filter((e) => e != null)
|
|
1314
|
-
.map((entry) => {
|
|
1315
|
-
return se_TimeSeriesTransformation(entry, context);
|
|
1316
|
-
});
|
|
1317
|
-
};
|
|
1318
|
-
const de_Action = (output, context) => {
|
|
1319
|
-
return take(output, {
|
|
1320
|
-
AttributeName: __expectString,
|
|
1321
|
-
Operation: __expectString,
|
|
1322
|
-
Value: __limitedParseDouble,
|
|
1323
|
-
});
|
|
1324
|
-
};
|
|
1325
|
-
const de_Baseline = (output, context) => {
|
|
1326
|
-
return take(output, {
|
|
1327
|
-
PredictorBaseline: (_) => de_PredictorBaseline(_, context),
|
|
1328
|
-
});
|
|
1329
|
-
};
|
|
1330
|
-
const de_BaselineMetric = (output, context) => {
|
|
1331
|
-
return take(output, {
|
|
1332
|
-
Name: __expectString,
|
|
1333
|
-
Value: __limitedParseDouble,
|
|
1334
|
-
});
|
|
1335
|
-
};
|
|
1336
|
-
const de_BaselineMetrics = (output, context) => {
|
|
1337
|
-
const retVal = (output || [])
|
|
1338
|
-
.filter((e) => e != null)
|
|
1339
|
-
.map((entry) => {
|
|
1340
|
-
return de_BaselineMetric(entry, context);
|
|
1341
|
-
});
|
|
1342
|
-
return retVal;
|
|
1343
|
-
};
|
|
1344
|
-
const de_ContinuousParameterRange = (output, context) => {
|
|
1345
|
-
return take(output, {
|
|
1346
|
-
MaxValue: __limitedParseDouble,
|
|
1347
|
-
MinValue: __limitedParseDouble,
|
|
1348
|
-
Name: __expectString,
|
|
1349
|
-
ScalingType: __expectString,
|
|
1350
|
-
});
|
|
1351
|
-
};
|
|
1352
|
-
const de_ContinuousParameterRanges = (output, context) => {
|
|
1353
|
-
const retVal = (output || [])
|
|
1354
|
-
.filter((e) => e != null)
|
|
1355
|
-
.map((entry) => {
|
|
1356
|
-
return de_ContinuousParameterRange(entry, context);
|
|
1357
|
-
});
|
|
1358
|
-
return retVal;
|
|
1359
|
-
};
|
|
1360
|
-
const de_DatasetGroups = (output, context) => {
|
|
1361
|
-
const retVal = (output || [])
|
|
1362
|
-
.filter((e) => e != null)
|
|
1363
|
-
.map((entry) => {
|
|
1364
|
-
return de_DatasetGroupSummary(entry, context);
|
|
1365
|
-
});
|
|
1366
|
-
return retVal;
|
|
1367
|
-
};
|
|
1368
|
-
const de_DatasetGroupSummary = (output, context) => {
|
|
1369
|
-
return take(output, {
|
|
1370
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1371
|
-
DatasetGroupArn: __expectString,
|
|
1372
|
-
DatasetGroupName: __expectString,
|
|
1373
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1374
|
-
});
|
|
1375
|
-
};
|
|
1376
|
-
const de_DatasetImportJobs = (output, context) => {
|
|
1377
|
-
const retVal = (output || [])
|
|
1378
|
-
.filter((e) => e != null)
|
|
1379
|
-
.map((entry) => {
|
|
1380
|
-
return de_DatasetImportJobSummary(entry, context);
|
|
1381
|
-
});
|
|
1382
|
-
return retVal;
|
|
1383
|
-
};
|
|
1384
|
-
const de_DatasetImportJobSummary = (output, context) => {
|
|
1385
|
-
return take(output, {
|
|
1386
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1387
|
-
DataSource: _json,
|
|
1388
|
-
DatasetImportJobArn: __expectString,
|
|
1389
|
-
DatasetImportJobName: __expectString,
|
|
1390
|
-
ImportMode: __expectString,
|
|
1391
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1392
|
-
Message: __expectString,
|
|
1393
|
-
Status: __expectString,
|
|
1394
|
-
});
|
|
1395
|
-
};
|
|
1396
|
-
const de_Datasets = (output, context) => {
|
|
1397
|
-
const retVal = (output || [])
|
|
1398
|
-
.filter((e) => e != null)
|
|
1399
|
-
.map((entry) => {
|
|
1400
|
-
return de_DatasetSummary(entry, context);
|
|
1401
|
-
});
|
|
1402
|
-
return retVal;
|
|
1403
|
-
};
|
|
1404
|
-
const de_DatasetSummary = (output, context) => {
|
|
1405
|
-
return take(output, {
|
|
1406
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1407
|
-
DatasetArn: __expectString,
|
|
1408
|
-
DatasetName: __expectString,
|
|
1409
|
-
DatasetType: __expectString,
|
|
1410
|
-
Domain: __expectString,
|
|
1411
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1412
|
-
});
|
|
1413
|
-
};
|
|
1414
|
-
const de_DescribeAutoPredictorResponse = (output, context) => {
|
|
1415
|
-
return take(output, {
|
|
1416
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1417
|
-
DataConfig: _json,
|
|
1418
|
-
DatasetImportJobArns: _json,
|
|
1419
|
-
EncryptionConfig: _json,
|
|
1420
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1421
|
-
ExplainabilityInfo: _json,
|
|
1422
|
-
ForecastDimensions: _json,
|
|
1423
|
-
ForecastFrequency: __expectString,
|
|
1424
|
-
ForecastHorizon: __expectInt32,
|
|
1425
|
-
ForecastTypes: _json,
|
|
1426
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1427
|
-
Message: __expectString,
|
|
1428
|
-
MonitorInfo: _json,
|
|
1429
|
-
OptimizationMetric: __expectString,
|
|
1430
|
-
PredictorArn: __expectString,
|
|
1431
|
-
PredictorName: __expectString,
|
|
1432
|
-
ReferencePredictorSummary: _json,
|
|
1433
|
-
Status: __expectString,
|
|
1434
|
-
TimeAlignmentBoundary: _json,
|
|
1435
|
-
});
|
|
1436
|
-
};
|
|
1437
|
-
const de_DescribeDatasetGroupResponse = (output, context) => {
|
|
1438
|
-
return take(output, {
|
|
1439
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1440
|
-
DatasetArns: _json,
|
|
1441
|
-
DatasetGroupArn: __expectString,
|
|
1442
|
-
DatasetGroupName: __expectString,
|
|
1443
|
-
Domain: __expectString,
|
|
1444
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1445
|
-
Status: __expectString,
|
|
1446
|
-
});
|
|
1447
|
-
};
|
|
1448
|
-
const de_DescribeDatasetImportJobResponse = (output, context) => {
|
|
1449
|
-
return take(output, {
|
|
1450
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1451
|
-
DataSize: __limitedParseDouble,
|
|
1452
|
-
DataSource: _json,
|
|
1453
|
-
DatasetArn: __expectString,
|
|
1454
|
-
DatasetImportJobArn: __expectString,
|
|
1455
|
-
DatasetImportJobName: __expectString,
|
|
1456
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1457
|
-
FieldStatistics: (_) => de_FieldStatistics(_, context),
|
|
1458
|
-
Format: __expectString,
|
|
1459
|
-
GeolocationFormat: __expectString,
|
|
1460
|
-
ImportMode: __expectString,
|
|
1461
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1462
|
-
Message: __expectString,
|
|
1463
|
-
Status: __expectString,
|
|
1464
|
-
TimeZone: __expectString,
|
|
1465
|
-
TimestampFormat: __expectString,
|
|
1466
|
-
UseGeolocationForTimeZone: __expectBoolean,
|
|
1467
|
-
});
|
|
1468
|
-
};
|
|
1469
|
-
const de_DescribeDatasetResponse = (output, context) => {
|
|
1470
|
-
return take(output, {
|
|
1471
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1472
|
-
DataFrequency: __expectString,
|
|
1473
|
-
DatasetArn: __expectString,
|
|
1474
|
-
DatasetName: __expectString,
|
|
1475
|
-
DatasetType: __expectString,
|
|
1476
|
-
Domain: __expectString,
|
|
1477
|
-
EncryptionConfig: _json,
|
|
1478
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1479
|
-
Schema: _json,
|
|
1480
|
-
Status: __expectString,
|
|
1481
|
-
});
|
|
1482
|
-
};
|
|
1483
|
-
const de_DescribeExplainabilityExportResponse = (output, context) => {
|
|
1484
|
-
return take(output, {
|
|
1485
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1486
|
-
Destination: _json,
|
|
1487
|
-
ExplainabilityArn: __expectString,
|
|
1488
|
-
ExplainabilityExportArn: __expectString,
|
|
1489
|
-
ExplainabilityExportName: __expectString,
|
|
1490
|
-
Format: __expectString,
|
|
1491
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1492
|
-
Message: __expectString,
|
|
1493
|
-
Status: __expectString,
|
|
1494
|
-
});
|
|
1495
|
-
};
|
|
1496
|
-
const de_DescribeExplainabilityResponse = (output, context) => {
|
|
1497
|
-
return take(output, {
|
|
1498
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1499
|
-
DataSource: _json,
|
|
1500
|
-
EnableVisualization: __expectBoolean,
|
|
1501
|
-
EndDateTime: __expectString,
|
|
1502
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1503
|
-
ExplainabilityArn: __expectString,
|
|
1504
|
-
ExplainabilityConfig: _json,
|
|
1505
|
-
ExplainabilityName: __expectString,
|
|
1506
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1507
|
-
Message: __expectString,
|
|
1508
|
-
ResourceArn: __expectString,
|
|
1509
|
-
Schema: _json,
|
|
1510
|
-
StartDateTime: __expectString,
|
|
1511
|
-
Status: __expectString,
|
|
1512
|
-
});
|
|
1513
|
-
};
|
|
1514
|
-
const de_DescribeForecastExportJobResponse = (output, context) => {
|
|
1515
|
-
return take(output, {
|
|
1516
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1517
|
-
Destination: _json,
|
|
1518
|
-
ForecastArn: __expectString,
|
|
1519
|
-
ForecastExportJobArn: __expectString,
|
|
1520
|
-
ForecastExportJobName: __expectString,
|
|
1521
|
-
Format: __expectString,
|
|
1522
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1523
|
-
Message: __expectString,
|
|
1524
|
-
Status: __expectString,
|
|
1525
|
-
});
|
|
1526
|
-
};
|
|
1527
|
-
const de_DescribeForecastResponse = (output, context) => {
|
|
1528
|
-
return take(output, {
|
|
1529
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1530
|
-
DatasetGroupArn: __expectString,
|
|
1531
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1532
|
-
ForecastArn: __expectString,
|
|
1533
|
-
ForecastName: __expectString,
|
|
1534
|
-
ForecastTypes: _json,
|
|
1535
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1536
|
-
Message: __expectString,
|
|
1537
|
-
PredictorArn: __expectString,
|
|
1538
|
-
Status: __expectString,
|
|
1539
|
-
TimeSeriesSelector: _json,
|
|
1540
|
-
});
|
|
1541
|
-
};
|
|
1542
|
-
const de_DescribeMonitorResponse = (output, context) => {
|
|
1543
|
-
return take(output, {
|
|
1544
|
-
Baseline: (_) => de_Baseline(_, context),
|
|
1545
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1546
|
-
EstimatedEvaluationTimeRemainingInMinutes: __expectLong,
|
|
1547
|
-
LastEvaluationState: __expectString,
|
|
1548
|
-
LastEvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1549
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1550
|
-
Message: __expectString,
|
|
1551
|
-
MonitorArn: __expectString,
|
|
1552
|
-
MonitorName: __expectString,
|
|
1553
|
-
ResourceArn: __expectString,
|
|
1554
|
-
Status: __expectString,
|
|
1555
|
-
});
|
|
1556
|
-
};
|
|
1557
|
-
const de_DescribePredictorBacktestExportJobResponse = (output, context) => {
|
|
1558
|
-
return take(output, {
|
|
1559
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1560
|
-
Destination: _json,
|
|
1561
|
-
Format: __expectString,
|
|
1562
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1563
|
-
Message: __expectString,
|
|
1564
|
-
PredictorArn: __expectString,
|
|
1565
|
-
PredictorBacktestExportJobArn: __expectString,
|
|
1566
|
-
PredictorBacktestExportJobName: __expectString,
|
|
1567
|
-
Status: __expectString,
|
|
1568
|
-
});
|
|
1569
|
-
};
|
|
1570
|
-
const de_DescribePredictorResponse = (output, context) => {
|
|
1571
|
-
return take(output, {
|
|
1572
|
-
AlgorithmArn: __expectString,
|
|
1573
|
-
AutoMLAlgorithmArns: _json,
|
|
1574
|
-
AutoMLOverrideStrategy: __expectString,
|
|
1575
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1576
|
-
DatasetImportJobArns: _json,
|
|
1577
|
-
EncryptionConfig: _json,
|
|
1578
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1579
|
-
EvaluationParameters: _json,
|
|
1580
|
-
FeaturizationConfig: _json,
|
|
1581
|
-
ForecastHorizon: __expectInt32,
|
|
1582
|
-
ForecastTypes: _json,
|
|
1583
|
-
HPOConfig: (_) => de_HyperParameterTuningJobConfig(_, context),
|
|
1584
|
-
InputDataConfig: _json,
|
|
1585
|
-
IsAutoPredictor: __expectBoolean,
|
|
1586
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1587
|
-
Message: __expectString,
|
|
1588
|
-
OptimizationMetric: __expectString,
|
|
1589
|
-
PerformAutoML: __expectBoolean,
|
|
1590
|
-
PerformHPO: __expectBoolean,
|
|
1591
|
-
PredictorArn: __expectString,
|
|
1592
|
-
PredictorExecutionDetails: (_) => de_PredictorExecutionDetails(_, context),
|
|
1593
|
-
PredictorName: __expectString,
|
|
1594
|
-
Status: __expectString,
|
|
1595
|
-
TrainingParameters: _json,
|
|
1596
|
-
});
|
|
1597
|
-
};
|
|
1598
|
-
const de_DescribeWhatIfAnalysisResponse = (output, context) => {
|
|
1599
|
-
return take(output, {
|
|
1600
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1601
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1602
|
-
ForecastArn: __expectString,
|
|
1603
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1604
|
-
Message: __expectString,
|
|
1605
|
-
Status: __expectString,
|
|
1606
|
-
TimeSeriesSelector: _json,
|
|
1607
|
-
WhatIfAnalysisArn: __expectString,
|
|
1608
|
-
WhatIfAnalysisName: __expectString,
|
|
1609
|
-
});
|
|
1610
|
-
};
|
|
1611
|
-
const de_DescribeWhatIfForecastExportResponse = (output, context) => {
|
|
1612
|
-
return take(output, {
|
|
1613
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1614
|
-
Destination: _json,
|
|
1615
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1616
|
-
Format: __expectString,
|
|
1617
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1618
|
-
Message: __expectString,
|
|
1619
|
-
Status: __expectString,
|
|
1620
|
-
WhatIfForecastArns: _json,
|
|
1621
|
-
WhatIfForecastExportArn: __expectString,
|
|
1622
|
-
WhatIfForecastExportName: __expectString,
|
|
1623
|
-
});
|
|
1624
|
-
};
|
|
1625
|
-
const de_DescribeWhatIfForecastResponse = (output, context) => {
|
|
1626
|
-
return take(output, {
|
|
1627
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1628
|
-
EstimatedTimeRemainingInMinutes: __expectLong,
|
|
1629
|
-
ForecastTypes: _json,
|
|
1630
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1631
|
-
Message: __expectString,
|
|
1632
|
-
Status: __expectString,
|
|
1633
|
-
TimeSeriesReplacementsDataSource: _json,
|
|
1634
|
-
TimeSeriesTransformations: (_) => de_TimeSeriesTransformations(_, context),
|
|
1635
|
-
WhatIfAnalysisArn: __expectString,
|
|
1636
|
-
WhatIfForecastArn: __expectString,
|
|
1637
|
-
WhatIfForecastName: __expectString,
|
|
1638
|
-
});
|
|
1639
|
-
};
|
|
1640
|
-
const de_ErrorMetric = (output, context) => {
|
|
1641
|
-
return take(output, {
|
|
1642
|
-
ForecastType: __expectString,
|
|
1643
|
-
MAPE: __limitedParseDouble,
|
|
1644
|
-
MASE: __limitedParseDouble,
|
|
1645
|
-
RMSE: __limitedParseDouble,
|
|
1646
|
-
WAPE: __limitedParseDouble,
|
|
1647
|
-
});
|
|
1648
|
-
};
|
|
1649
|
-
const de_ErrorMetrics = (output, context) => {
|
|
1650
|
-
const retVal = (output || [])
|
|
1651
|
-
.filter((e) => e != null)
|
|
1652
|
-
.map((entry) => {
|
|
1653
|
-
return de_ErrorMetric(entry, context);
|
|
1654
|
-
});
|
|
1655
|
-
return retVal;
|
|
1656
|
-
};
|
|
1657
|
-
const de_EvaluationResult = (output, context) => {
|
|
1658
|
-
return take(output, {
|
|
1659
|
-
AlgorithmArn: __expectString,
|
|
1660
|
-
TestWindows: (_) => de_TestWindows(_, context),
|
|
1661
|
-
});
|
|
1662
|
-
};
|
|
1663
|
-
const de_Explainabilities = (output, context) => {
|
|
1664
|
-
const retVal = (output || [])
|
|
1665
|
-
.filter((e) => e != null)
|
|
1666
|
-
.map((entry) => {
|
|
1667
|
-
return de_ExplainabilitySummary(entry, context);
|
|
1668
|
-
});
|
|
1669
|
-
return retVal;
|
|
1670
|
-
};
|
|
1671
|
-
const de_ExplainabilityExports = (output, context) => {
|
|
1672
|
-
const retVal = (output || [])
|
|
1673
|
-
.filter((e) => e != null)
|
|
1674
|
-
.map((entry) => {
|
|
1675
|
-
return de_ExplainabilityExportSummary(entry, context);
|
|
1676
|
-
});
|
|
1677
|
-
return retVal;
|
|
1678
|
-
};
|
|
1679
|
-
const de_ExplainabilityExportSummary = (output, context) => {
|
|
1680
|
-
return take(output, {
|
|
1681
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1682
|
-
Destination: _json,
|
|
1683
|
-
ExplainabilityExportArn: __expectString,
|
|
1684
|
-
ExplainabilityExportName: __expectString,
|
|
1685
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1686
|
-
Message: __expectString,
|
|
1687
|
-
Status: __expectString,
|
|
1688
|
-
});
|
|
1689
|
-
};
|
|
1690
|
-
const de_ExplainabilitySummary = (output, context) => {
|
|
1691
|
-
return take(output, {
|
|
1692
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1693
|
-
ExplainabilityArn: __expectString,
|
|
1694
|
-
ExplainabilityConfig: _json,
|
|
1695
|
-
ExplainabilityName: __expectString,
|
|
1696
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1697
|
-
Message: __expectString,
|
|
1698
|
-
ResourceArn: __expectString,
|
|
1699
|
-
Status: __expectString,
|
|
1700
|
-
});
|
|
1701
|
-
};
|
|
1702
|
-
const de_FieldStatistics = (output, context) => {
|
|
1703
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1704
|
-
if (value === null) {
|
|
1705
|
-
return acc;
|
|
1706
|
-
}
|
|
1707
|
-
acc[key] = de_Statistics(value, context);
|
|
1708
|
-
return acc;
|
|
1709
|
-
}, {});
|
|
1710
|
-
};
|
|
1711
|
-
const de_ForecastExportJobs = (output, context) => {
|
|
1712
|
-
const retVal = (output || [])
|
|
1713
|
-
.filter((e) => e != null)
|
|
1714
|
-
.map((entry) => {
|
|
1715
|
-
return de_ForecastExportJobSummary(entry, context);
|
|
1716
|
-
});
|
|
1717
|
-
return retVal;
|
|
1718
|
-
};
|
|
1719
|
-
const de_ForecastExportJobSummary = (output, context) => {
|
|
1720
|
-
return take(output, {
|
|
1721
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1722
|
-
Destination: _json,
|
|
1723
|
-
ForecastExportJobArn: __expectString,
|
|
1724
|
-
ForecastExportJobName: __expectString,
|
|
1725
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1726
|
-
Message: __expectString,
|
|
1727
|
-
Status: __expectString,
|
|
1728
|
-
});
|
|
1729
|
-
};
|
|
1730
|
-
const de_Forecasts = (output, context) => {
|
|
1731
|
-
const retVal = (output || [])
|
|
1732
|
-
.filter((e) => e != null)
|
|
1733
|
-
.map((entry) => {
|
|
1734
|
-
return de_ForecastSummary(entry, context);
|
|
1735
|
-
});
|
|
1736
|
-
return retVal;
|
|
1737
|
-
};
|
|
1738
|
-
const de_ForecastSummary = (output, context) => {
|
|
1739
|
-
return take(output, {
|
|
1740
|
-
CreatedUsingAutoPredictor: __expectBoolean,
|
|
1741
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1742
|
-
DatasetGroupArn: __expectString,
|
|
1743
|
-
ForecastArn: __expectString,
|
|
1744
|
-
ForecastName: __expectString,
|
|
1745
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1746
|
-
Message: __expectString,
|
|
1747
|
-
PredictorArn: __expectString,
|
|
1748
|
-
Status: __expectString,
|
|
1749
|
-
});
|
|
1750
|
-
};
|
|
1751
|
-
const de_GetAccuracyMetricsResponse = (output, context) => {
|
|
1752
|
-
return take(output, {
|
|
1753
|
-
AutoMLOverrideStrategy: __expectString,
|
|
1754
|
-
IsAutoPredictor: __expectBoolean,
|
|
1755
|
-
OptimizationMetric: __expectString,
|
|
1756
|
-
PredictorEvaluationResults: (_) => de_PredictorEvaluationResults(_, context),
|
|
1757
|
-
});
|
|
1758
|
-
};
|
|
1759
|
-
const de_HyperParameterTuningJobConfig = (output, context) => {
|
|
1760
|
-
return take(output, {
|
|
1761
|
-
ParameterRanges: (_) => de_ParameterRanges(_, context),
|
|
1762
|
-
});
|
|
1763
|
-
};
|
|
1764
|
-
const de_ListDatasetGroupsResponse = (output, context) => {
|
|
1765
|
-
return take(output, {
|
|
1766
|
-
DatasetGroups: (_) => de_DatasetGroups(_, context),
|
|
1767
|
-
NextToken: __expectString,
|
|
1768
|
-
});
|
|
1769
|
-
};
|
|
1770
|
-
const de_ListDatasetImportJobsResponse = (output, context) => {
|
|
1771
|
-
return take(output, {
|
|
1772
|
-
DatasetImportJobs: (_) => de_DatasetImportJobs(_, context),
|
|
1773
|
-
NextToken: __expectString,
|
|
1774
|
-
});
|
|
1775
|
-
};
|
|
1776
|
-
const de_ListDatasetsResponse = (output, context) => {
|
|
1777
|
-
return take(output, {
|
|
1778
|
-
Datasets: (_) => de_Datasets(_, context),
|
|
1779
|
-
NextToken: __expectString,
|
|
1780
|
-
});
|
|
1781
|
-
};
|
|
1782
|
-
const de_ListExplainabilitiesResponse = (output, context) => {
|
|
1783
|
-
return take(output, {
|
|
1784
|
-
Explainabilities: (_) => de_Explainabilities(_, context),
|
|
1785
|
-
NextToken: __expectString,
|
|
1786
|
-
});
|
|
1787
|
-
};
|
|
1788
|
-
const de_ListExplainabilityExportsResponse = (output, context) => {
|
|
1789
|
-
return take(output, {
|
|
1790
|
-
ExplainabilityExports: (_) => de_ExplainabilityExports(_, context),
|
|
1791
|
-
NextToken: __expectString,
|
|
1792
|
-
});
|
|
1793
|
-
};
|
|
1794
|
-
const de_ListForecastExportJobsResponse = (output, context) => {
|
|
1795
|
-
return take(output, {
|
|
1796
|
-
ForecastExportJobs: (_) => de_ForecastExportJobs(_, context),
|
|
1797
|
-
NextToken: __expectString,
|
|
1798
|
-
});
|
|
1799
|
-
};
|
|
1800
|
-
const de_ListForecastsResponse = (output, context) => {
|
|
1801
|
-
return take(output, {
|
|
1802
|
-
Forecasts: (_) => de_Forecasts(_, context),
|
|
1803
|
-
NextToken: __expectString,
|
|
1804
|
-
});
|
|
1805
|
-
};
|
|
1806
|
-
const de_ListMonitorEvaluationsResponse = (output, context) => {
|
|
1807
|
-
return take(output, {
|
|
1808
|
-
NextToken: __expectString,
|
|
1809
|
-
PredictorMonitorEvaluations: (_) => de_PredictorMonitorEvaluations(_, context),
|
|
1810
|
-
});
|
|
1811
|
-
};
|
|
1812
|
-
const de_ListMonitorsResponse = (output, context) => {
|
|
1813
|
-
return take(output, {
|
|
1814
|
-
Monitors: (_) => de_Monitors(_, context),
|
|
1815
|
-
NextToken: __expectString,
|
|
1816
|
-
});
|
|
1817
|
-
};
|
|
1818
|
-
const de_ListPredictorBacktestExportJobsResponse = (output, context) => {
|
|
1819
|
-
return take(output, {
|
|
1820
|
-
NextToken: __expectString,
|
|
1821
|
-
PredictorBacktestExportJobs: (_) => de_PredictorBacktestExportJobs(_, context),
|
|
1822
|
-
});
|
|
1823
|
-
};
|
|
1824
|
-
const de_ListPredictorsResponse = (output, context) => {
|
|
1825
|
-
return take(output, {
|
|
1826
|
-
NextToken: __expectString,
|
|
1827
|
-
Predictors: (_) => de_Predictors(_, context),
|
|
1828
|
-
});
|
|
1829
|
-
};
|
|
1830
|
-
const de_ListWhatIfAnalysesResponse = (output, context) => {
|
|
1831
|
-
return take(output, {
|
|
1832
|
-
NextToken: __expectString,
|
|
1833
|
-
WhatIfAnalyses: (_) => de_WhatIfAnalyses(_, context),
|
|
1834
|
-
});
|
|
1835
|
-
};
|
|
1836
|
-
const de_ListWhatIfForecastExportsResponse = (output, context) => {
|
|
1837
|
-
return take(output, {
|
|
1838
|
-
NextToken: __expectString,
|
|
1839
|
-
WhatIfForecastExports: (_) => de_WhatIfForecastExports(_, context),
|
|
1840
|
-
});
|
|
1841
|
-
};
|
|
1842
|
-
const de_ListWhatIfForecastsResponse = (output, context) => {
|
|
1843
|
-
return take(output, {
|
|
1844
|
-
NextToken: __expectString,
|
|
1845
|
-
WhatIfForecasts: (_) => de_WhatIfForecasts(_, context),
|
|
1846
|
-
});
|
|
1847
|
-
};
|
|
1848
|
-
const de_MetricResult = (output, context) => {
|
|
1849
|
-
return take(output, {
|
|
1850
|
-
MetricName: __expectString,
|
|
1851
|
-
MetricValue: __limitedParseDouble,
|
|
1852
|
-
});
|
|
1853
|
-
};
|
|
1854
|
-
const de_MetricResults = (output, context) => {
|
|
1855
|
-
const retVal = (output || [])
|
|
1856
|
-
.filter((e) => e != null)
|
|
1857
|
-
.map((entry) => {
|
|
1858
|
-
return de_MetricResult(entry, context);
|
|
1859
|
-
});
|
|
1860
|
-
return retVal;
|
|
1861
|
-
};
|
|
1862
|
-
const de_Metrics = (output, context) => {
|
|
1863
|
-
return take(output, {
|
|
1864
|
-
AverageWeightedQuantileLoss: __limitedParseDouble,
|
|
1865
|
-
ErrorMetrics: (_) => de_ErrorMetrics(_, context),
|
|
1866
|
-
RMSE: __limitedParseDouble,
|
|
1867
|
-
WeightedQuantileLosses: (_) => de_WeightedQuantileLosses(_, context),
|
|
1868
|
-
});
|
|
1869
|
-
};
|
|
1870
|
-
const de_Monitors = (output, context) => {
|
|
1871
|
-
const retVal = (output || [])
|
|
1872
|
-
.filter((e) => e != null)
|
|
1873
|
-
.map((entry) => {
|
|
1874
|
-
return de_MonitorSummary(entry, context);
|
|
1875
|
-
});
|
|
1876
|
-
return retVal;
|
|
1877
|
-
};
|
|
1878
|
-
const de_MonitorSummary = (output, context) => {
|
|
1879
|
-
return take(output, {
|
|
1880
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1881
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1882
|
-
MonitorArn: __expectString,
|
|
1883
|
-
MonitorName: __expectString,
|
|
1884
|
-
ResourceArn: __expectString,
|
|
1885
|
-
Status: __expectString,
|
|
1886
|
-
});
|
|
1887
|
-
};
|
|
1888
|
-
const de_ParameterRanges = (output, context) => {
|
|
1889
|
-
return take(output, {
|
|
1890
|
-
CategoricalParameterRanges: _json,
|
|
1891
|
-
ContinuousParameterRanges: (_) => de_ContinuousParameterRanges(_, context),
|
|
1892
|
-
IntegerParameterRanges: _json,
|
|
1893
|
-
});
|
|
1894
|
-
};
|
|
1895
|
-
const de_PredictorBacktestExportJobs = (output, context) => {
|
|
1896
|
-
const retVal = (output || [])
|
|
1897
|
-
.filter((e) => e != null)
|
|
1898
|
-
.map((entry) => {
|
|
1899
|
-
return de_PredictorBacktestExportJobSummary(entry, context);
|
|
1900
|
-
});
|
|
1901
|
-
return retVal;
|
|
1902
|
-
};
|
|
1903
|
-
const de_PredictorBacktestExportJobSummary = (output, context) => {
|
|
1904
|
-
return take(output, {
|
|
1905
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1906
|
-
Destination: _json,
|
|
1907
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1908
|
-
Message: __expectString,
|
|
1909
|
-
PredictorBacktestExportJobArn: __expectString,
|
|
1910
|
-
PredictorBacktestExportJobName: __expectString,
|
|
1911
|
-
Status: __expectString,
|
|
1912
|
-
});
|
|
1913
|
-
};
|
|
1914
|
-
const de_PredictorBaseline = (output, context) => {
|
|
1915
|
-
return take(output, {
|
|
1916
|
-
BaselineMetrics: (_) => de_BaselineMetrics(_, context),
|
|
1917
|
-
});
|
|
1918
|
-
};
|
|
1919
|
-
const de_PredictorEvaluationResults = (output, context) => {
|
|
1920
|
-
const retVal = (output || [])
|
|
1921
|
-
.filter((e) => e != null)
|
|
1922
|
-
.map((entry) => {
|
|
1923
|
-
return de_EvaluationResult(entry, context);
|
|
1924
|
-
});
|
|
1925
|
-
return retVal;
|
|
1926
|
-
};
|
|
1927
|
-
const de_PredictorEvent = (output, context) => {
|
|
1928
|
-
return take(output, {
|
|
1929
|
-
Datetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1930
|
-
Detail: __expectString,
|
|
1931
|
-
});
|
|
1932
|
-
};
|
|
1933
|
-
const de_PredictorExecution = (output, context) => {
|
|
1934
|
-
return take(output, {
|
|
1935
|
-
AlgorithmArn: __expectString,
|
|
1936
|
-
TestWindows: (_) => de_TestWindowDetails(_, context),
|
|
1937
|
-
});
|
|
1938
|
-
};
|
|
1939
|
-
const de_PredictorExecutionDetails = (output, context) => {
|
|
1940
|
-
return take(output, {
|
|
1941
|
-
PredictorExecutions: (_) => de_PredictorExecutions(_, context),
|
|
1942
|
-
});
|
|
1943
|
-
};
|
|
1944
|
-
const de_PredictorExecutions = (output, context) => {
|
|
1945
|
-
const retVal = (output || [])
|
|
1946
|
-
.filter((e) => e != null)
|
|
1947
|
-
.map((entry) => {
|
|
1948
|
-
return de_PredictorExecution(entry, context);
|
|
1949
|
-
});
|
|
1950
|
-
return retVal;
|
|
1951
|
-
};
|
|
1952
|
-
const de_PredictorMonitorEvaluation = (output, context) => {
|
|
1953
|
-
return take(output, {
|
|
1954
|
-
EvaluationState: __expectString,
|
|
1955
|
-
EvaluationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1956
|
-
Message: __expectString,
|
|
1957
|
-
MetricResults: (_) => de_MetricResults(_, context),
|
|
1958
|
-
MonitorArn: __expectString,
|
|
1959
|
-
MonitorDataSource: _json,
|
|
1960
|
-
NumItemsEvaluated: __expectLong,
|
|
1961
|
-
PredictorEvent: (_) => de_PredictorEvent(_, context),
|
|
1962
|
-
ResourceArn: __expectString,
|
|
1963
|
-
WindowEndDatetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1964
|
-
WindowStartDatetime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1965
|
-
});
|
|
1966
|
-
};
|
|
1967
|
-
const de_PredictorMonitorEvaluations = (output, context) => {
|
|
1968
|
-
const retVal = (output || [])
|
|
1969
|
-
.filter((e) => e != null)
|
|
1970
|
-
.map((entry) => {
|
|
1971
|
-
return de_PredictorMonitorEvaluation(entry, context);
|
|
1972
|
-
});
|
|
1973
|
-
return retVal;
|
|
1974
|
-
};
|
|
1975
|
-
const de_Predictors = (output, context) => {
|
|
1976
|
-
const retVal = (output || [])
|
|
1977
|
-
.filter((e) => e != null)
|
|
1978
|
-
.map((entry) => {
|
|
1979
|
-
return de_PredictorSummary(entry, context);
|
|
1980
|
-
});
|
|
1981
|
-
return retVal;
|
|
1982
|
-
};
|
|
1983
|
-
const de_PredictorSummary = (output, context) => {
|
|
1984
|
-
return take(output, {
|
|
1985
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1986
|
-
DatasetGroupArn: __expectString,
|
|
1987
|
-
IsAutoPredictor: __expectBoolean,
|
|
1988
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1989
|
-
Message: __expectString,
|
|
1990
|
-
PredictorArn: __expectString,
|
|
1991
|
-
PredictorName: __expectString,
|
|
1992
|
-
ReferencePredictorSummary: _json,
|
|
1993
|
-
Status: __expectString,
|
|
1994
|
-
});
|
|
1995
|
-
};
|
|
1996
|
-
const de_Statistics = (output, context) => {
|
|
1997
|
-
return take(output, {
|
|
1998
|
-
Avg: __limitedParseDouble,
|
|
1999
|
-
Count: __expectInt32,
|
|
2000
|
-
CountDistinct: __expectInt32,
|
|
2001
|
-
CountDistinctLong: __expectLong,
|
|
2002
|
-
CountLong: __expectLong,
|
|
2003
|
-
CountNan: __expectInt32,
|
|
2004
|
-
CountNanLong: __expectLong,
|
|
2005
|
-
CountNull: __expectInt32,
|
|
2006
|
-
CountNullLong: __expectLong,
|
|
2007
|
-
Max: __expectString,
|
|
2008
|
-
Min: __expectString,
|
|
2009
|
-
Stddev: __limitedParseDouble,
|
|
2010
|
-
});
|
|
2011
|
-
};
|
|
2012
|
-
const de_TestWindowDetails = (output, context) => {
|
|
2013
|
-
const retVal = (output || [])
|
|
2014
|
-
.filter((e) => e != null)
|
|
2015
|
-
.map((entry) => {
|
|
2016
|
-
return de_TestWindowSummary(entry, context);
|
|
2017
|
-
});
|
|
2018
|
-
return retVal;
|
|
2019
|
-
};
|
|
2020
|
-
const de_TestWindows = (output, context) => {
|
|
2021
|
-
const retVal = (output || [])
|
|
2022
|
-
.filter((e) => e != null)
|
|
2023
|
-
.map((entry) => {
|
|
2024
|
-
return de_WindowSummary(entry, context);
|
|
2025
|
-
});
|
|
2026
|
-
return retVal;
|
|
2027
|
-
};
|
|
2028
|
-
const de_TestWindowSummary = (output, context) => {
|
|
2029
|
-
return take(output, {
|
|
2030
|
-
Message: __expectString,
|
|
2031
|
-
Status: __expectString,
|
|
2032
|
-
TestWindowEnd: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2033
|
-
TestWindowStart: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2034
|
-
});
|
|
2035
|
-
};
|
|
2036
|
-
const de_TimeSeriesTransformation = (output, context) => {
|
|
2037
|
-
return take(output, {
|
|
2038
|
-
Action: (_) => de_Action(_, context),
|
|
2039
|
-
TimeSeriesConditions: _json,
|
|
2040
|
-
});
|
|
2041
|
-
};
|
|
2042
|
-
const de_TimeSeriesTransformations = (output, context) => {
|
|
2043
|
-
const retVal = (output || [])
|
|
2044
|
-
.filter((e) => e != null)
|
|
2045
|
-
.map((entry) => {
|
|
2046
|
-
return de_TimeSeriesTransformation(entry, context);
|
|
2047
|
-
});
|
|
2048
|
-
return retVal;
|
|
2049
|
-
};
|
|
2050
|
-
const de_WeightedQuantileLoss = (output, context) => {
|
|
2051
|
-
return take(output, {
|
|
2052
|
-
LossValue: __limitedParseDouble,
|
|
2053
|
-
Quantile: __limitedParseDouble,
|
|
2054
|
-
});
|
|
2055
|
-
};
|
|
2056
|
-
const de_WeightedQuantileLosses = (output, context) => {
|
|
2057
|
-
const retVal = (output || [])
|
|
2058
|
-
.filter((e) => e != null)
|
|
2059
|
-
.map((entry) => {
|
|
2060
|
-
return de_WeightedQuantileLoss(entry, context);
|
|
2061
|
-
});
|
|
2062
|
-
return retVal;
|
|
2063
|
-
};
|
|
2064
|
-
const de_WhatIfAnalyses = (output, context) => {
|
|
2065
|
-
const retVal = (output || [])
|
|
2066
|
-
.filter((e) => e != null)
|
|
2067
|
-
.map((entry) => {
|
|
2068
|
-
return de_WhatIfAnalysisSummary(entry, context);
|
|
2069
|
-
});
|
|
2070
|
-
return retVal;
|
|
2071
|
-
};
|
|
2072
|
-
const de_WhatIfAnalysisSummary = (output, context) => {
|
|
2073
|
-
return take(output, {
|
|
2074
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2075
|
-
ForecastArn: __expectString,
|
|
2076
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2077
|
-
Message: __expectString,
|
|
2078
|
-
Status: __expectString,
|
|
2079
|
-
WhatIfAnalysisArn: __expectString,
|
|
2080
|
-
WhatIfAnalysisName: __expectString,
|
|
2081
|
-
});
|
|
2082
|
-
};
|
|
2083
|
-
const de_WhatIfForecastExports = (output, context) => {
|
|
2084
|
-
const retVal = (output || [])
|
|
2085
|
-
.filter((e) => e != null)
|
|
2086
|
-
.map((entry) => {
|
|
2087
|
-
return de_WhatIfForecastExportSummary(entry, context);
|
|
2088
|
-
});
|
|
2089
|
-
return retVal;
|
|
2090
|
-
};
|
|
2091
|
-
const de_WhatIfForecastExportSummary = (output, context) => {
|
|
2092
|
-
return take(output, {
|
|
2093
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2094
|
-
Destination: _json,
|
|
2095
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2096
|
-
Message: __expectString,
|
|
2097
|
-
Status: __expectString,
|
|
2098
|
-
WhatIfForecastArns: _json,
|
|
2099
|
-
WhatIfForecastExportArn: __expectString,
|
|
2100
|
-
WhatIfForecastExportName: __expectString,
|
|
2101
|
-
});
|
|
2102
|
-
};
|
|
2103
|
-
const de_WhatIfForecasts = (output, context) => {
|
|
2104
|
-
const retVal = (output || [])
|
|
2105
|
-
.filter((e) => e != null)
|
|
2106
|
-
.map((entry) => {
|
|
2107
|
-
return de_WhatIfForecastSummary(entry, context);
|
|
2108
|
-
});
|
|
2109
|
-
return retVal;
|
|
2110
|
-
};
|
|
2111
|
-
const de_WhatIfForecastSummary = (output, context) => {
|
|
2112
|
-
return take(output, {
|
|
2113
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2114
|
-
LastModificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2115
|
-
Message: __expectString,
|
|
2116
|
-
Status: __expectString,
|
|
2117
|
-
WhatIfAnalysisArn: __expectString,
|
|
2118
|
-
WhatIfForecastArn: __expectString,
|
|
2119
|
-
WhatIfForecastName: __expectString,
|
|
2120
|
-
});
|
|
2121
|
-
};
|
|
2122
|
-
const de_WindowSummary = (output, context) => {
|
|
2123
|
-
return take(output, {
|
|
2124
|
-
EvaluationType: __expectString,
|
|
2125
|
-
ItemCount: __expectInt32,
|
|
2126
|
-
Metrics: (_) => de_Metrics(_, context),
|
|
2127
|
-
TestWindowEnd: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2128
|
-
TestWindowStart: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2129
|
-
});
|
|
2130
|
-
};
|
|
2131
|
-
const deserializeMetadata = (output) => ({
|
|
2132
|
-
httpStatusCode: output.statusCode,
|
|
2133
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2134
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2135
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2136
|
-
});
|
|
2137
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2138
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2139
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2140
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2141
|
-
const contents = {
|
|
2142
|
-
protocol,
|
|
2143
|
-
hostname,
|
|
2144
|
-
port,
|
|
2145
|
-
method: "POST",
|
|
2146
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2147
|
-
headers,
|
|
2148
|
-
};
|
|
2149
|
-
if (resolvedHostname !== undefined) {
|
|
2150
|
-
contents.hostname = resolvedHostname;
|
|
2151
|
-
}
|
|
2152
|
-
if (body !== undefined) {
|
|
2153
|
-
contents.body = body;
|
|
2154
|
-
}
|
|
2155
|
-
return new __HttpRequest(contents);
|
|
2156
|
-
};
|
|
2157
|
-
function sharedHeaders(operation) {
|
|
2158
|
-
return {
|
|
2159
|
-
"content-type": "application/x-amz-json-1.1",
|
|
2160
|
-
"x-amz-target": `AmazonForecast.${operation}`,
|
|
2161
|
-
};
|
|
2162
|
-
}
|