@aws-sdk/client-forecast 3.987.0 → 3.989.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 +82 -2033
- package/dist-cjs/models/ForecastServiceException.js +12 -0
- package/dist-cjs/models/errors.js +94 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1655 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +44 -38
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultForecastHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-06-26",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.forecast",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-06-26",
|
|
30
32
|
serviceTarget: "AmazonForecast",
|
|
31
33
|
},
|
|
@@ -420,6 +420,50 @@ const n0 = "com.amazonaws.forecast";
|
|
|
420
420
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
421
421
|
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, } from "../models/errors";
|
|
422
422
|
import { ForecastServiceException } from "../models/ForecastServiceException";
|
|
423
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
424
|
+
export var ForecastServiceException$ = [-3, _s, "ForecastServiceException", 0, [], []];
|
|
425
|
+
_s_registry.registerError(ForecastServiceException$, ForecastServiceException);
|
|
426
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
427
|
+
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
428
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
429
|
+
[_M],
|
|
430
|
+
[0]
|
|
431
|
+
];
|
|
432
|
+
n0_registry.registerError(InvalidInputException$, InvalidInputException);
|
|
433
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
434
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
435
|
+
[_M],
|
|
436
|
+
[0]
|
|
437
|
+
];
|
|
438
|
+
n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
439
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
440
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
441
|
+
[_M],
|
|
442
|
+
[0]
|
|
443
|
+
];
|
|
444
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
445
|
+
export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
|
|
446
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
447
|
+
[_M],
|
|
448
|
+
[0]
|
|
449
|
+
];
|
|
450
|
+
n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
|
|
451
|
+
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
452
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
453
|
+
[_M],
|
|
454
|
+
[0]
|
|
455
|
+
];
|
|
456
|
+
n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
|
|
457
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
458
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
459
|
+
[_M],
|
|
460
|
+
[0]
|
|
461
|
+
];
|
|
462
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
463
|
+
export const errorTypeRegistries = [
|
|
464
|
+
_s_registry,
|
|
465
|
+
n0_registry,
|
|
466
|
+
];
|
|
423
467
|
var TagKey = [0, n0, _TK, 8, 0];
|
|
424
468
|
var TagValue = [0, n0, _TV, 8, 0];
|
|
425
469
|
export var Action$ = [3, n0, _A,
|
|
@@ -932,24 +976,6 @@ export var IntegerParameterRange$ = [3, n0, _IPR,
|
|
|
932
976
|
[_N, _MV, _MVi, _ST],
|
|
933
977
|
[0, 1, 1, 0], 3
|
|
934
978
|
];
|
|
935
|
-
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
936
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
937
|
-
[_M],
|
|
938
|
-
[0]
|
|
939
|
-
];
|
|
940
|
-
TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
941
|
-
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
942
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
943
|
-
[_M],
|
|
944
|
-
[0]
|
|
945
|
-
];
|
|
946
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
947
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
948
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
949
|
-
[_M],
|
|
950
|
-
[0]
|
|
951
|
-
];
|
|
952
|
-
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
953
979
|
export var ListDatasetGroupsRequest$ = [3, n0, _LDGR,
|
|
954
980
|
0,
|
|
955
981
|
[_NT, _MR],
|
|
@@ -1175,24 +1201,6 @@ export var ReferencePredictorSummary$ = [3, n0, _RPS,
|
|
|
1175
1201
|
[_Ar, _Sta],
|
|
1176
1202
|
[0, 0]
|
|
1177
1203
|
];
|
|
1178
|
-
export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
|
|
1179
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
1180
|
-
[_M],
|
|
1181
|
-
[0]
|
|
1182
|
-
];
|
|
1183
|
-
TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
|
|
1184
|
-
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
1185
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
1186
|
-
[_M],
|
|
1187
|
-
[0]
|
|
1188
|
-
];
|
|
1189
|
-
TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
1190
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
1191
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1192
|
-
[_M],
|
|
1193
|
-
[0]
|
|
1194
|
-
];
|
|
1195
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
1196
1204
|
export var ResumeResourceRequest$ = [3, n0, _RRR,
|
|
1197
1205
|
0,
|
|
1198
1206
|
[_RA],
|
|
@@ -1324,8 +1332,6 @@ export var WindowSummary$ = [3, n0, _WS,
|
|
|
1324
1332
|
[4, 4, 1, 0, () => Metrics$]
|
|
1325
1333
|
];
|
|
1326
1334
|
var __Unit = "unit";
|
|
1327
|
-
export var ForecastServiceException$ = [-3, _s, "ForecastServiceException", 0, [], []];
|
|
1328
|
-
TypeRegistry.for(_s).registerError(ForecastServiceException$, ForecastServiceException);
|
|
1329
1335
|
var AdditionalDatasets = [1, n0, _ADd,
|
|
1330
1336
|
0, () => AdditionalDataset$
|
|
1331
1337
|
];
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ForecastServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
5
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
6
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
|
|
8
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
9
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
16
|
export declare var Action$: StaticStructureSchema;
|
|
3
17
|
export declare var AdditionalDataset$: StaticStructureSchema;
|
|
4
18
|
export declare var AttributeConfig$: StaticStructureSchema;
|
|
@@ -101,9 +115,6 @@ export declare var GetAccuracyMetricsResponse$: StaticStructureSchema;
|
|
|
101
115
|
export declare var HyperParameterTuningJobConfig$: StaticStructureSchema;
|
|
102
116
|
export declare var InputDataConfig$: StaticStructureSchema;
|
|
103
117
|
export declare var IntegerParameterRange$: StaticStructureSchema;
|
|
104
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
105
|
-
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
106
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
107
118
|
export declare var ListDatasetGroupsRequest$: StaticStructureSchema;
|
|
108
119
|
export declare var ListDatasetGroupsResponse$: StaticStructureSchema;
|
|
109
120
|
export declare var ListDatasetImportJobsRequest$: StaticStructureSchema;
|
|
@@ -149,9 +160,6 @@ export declare var PredictorExecutionDetails$: StaticStructureSchema;
|
|
|
149
160
|
export declare var PredictorMonitorEvaluation$: StaticStructureSchema;
|
|
150
161
|
export declare var PredictorSummary$: StaticStructureSchema;
|
|
151
162
|
export declare var ReferencePredictorSummary$: StaticStructureSchema;
|
|
152
|
-
export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
|
|
153
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
154
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
155
163
|
export declare var ResumeResourceRequest$: StaticStructureSchema;
|
|
156
164
|
export declare var S3Config$: StaticStructureSchema;
|
|
157
165
|
export declare var Schema$: StaticStructureSchema;
|
|
@@ -178,7 +186,6 @@ export declare var WhatIfAnalysisSummary$: StaticStructureSchema;
|
|
|
178
186
|
export declare var WhatIfForecastExportSummary$: StaticStructureSchema;
|
|
179
187
|
export declare var WhatIfForecastSummary$: StaticStructureSchema;
|
|
180
188
|
export declare var WindowSummary$: StaticStructureSchema;
|
|
181
|
-
export declare var ForecastServiceException$: StaticErrorSchema;
|
|
182
189
|
export declare var CreateAutoPredictor$: StaticOperationSchema;
|
|
183
190
|
export declare var CreateDataset$: StaticOperationSchema;
|
|
184
191
|
export declare var CreateDatasetGroup$: StaticOperationSchema;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ForecastServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
10
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
13
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
15
|
export declare var Action$: StaticStructureSchema;
|
|
7
16
|
export declare var AdditionalDataset$: StaticStructureSchema;
|
|
8
17
|
export declare var AttributeConfig$: StaticStructureSchema;
|
|
@@ -105,9 +114,6 @@ export declare var GetAccuracyMetricsResponse$: StaticStructureSchema;
|
|
|
105
114
|
export declare var HyperParameterTuningJobConfig$: StaticStructureSchema;
|
|
106
115
|
export declare var InputDataConfig$: StaticStructureSchema;
|
|
107
116
|
export declare var IntegerParameterRange$: StaticStructureSchema;
|
|
108
|
-
export declare var InvalidInputException$: StaticErrorSchema;
|
|
109
|
-
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
110
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
111
117
|
export declare var ListDatasetGroupsRequest$: StaticStructureSchema;
|
|
112
118
|
export declare var ListDatasetGroupsResponse$: StaticStructureSchema;
|
|
113
119
|
export declare var ListDatasetImportJobsRequest$: StaticStructureSchema;
|
|
@@ -153,9 +159,6 @@ export declare var PredictorExecutionDetails$: StaticStructureSchema;
|
|
|
153
159
|
export declare var PredictorMonitorEvaluation$: StaticStructureSchema;
|
|
154
160
|
export declare var PredictorSummary$: StaticStructureSchema;
|
|
155
161
|
export declare var ReferencePredictorSummary$: StaticStructureSchema;
|
|
156
|
-
export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
|
|
157
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
158
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
159
162
|
export declare var ResumeResourceRequest$: StaticStructureSchema;
|
|
160
163
|
export declare var S3Config$: StaticStructureSchema;
|
|
161
164
|
export declare var Schema$: StaticStructureSchema;
|
|
@@ -182,7 +185,6 @@ export declare var WhatIfAnalysisSummary$: StaticStructureSchema;
|
|
|
182
185
|
export declare var WhatIfForecastExportSummary$: StaticStructureSchema;
|
|
183
186
|
export declare var WhatIfForecastSummary$: StaticStructureSchema;
|
|
184
187
|
export declare var WindowSummary$: StaticStructureSchema;
|
|
185
|
-
export declare var ForecastServiceException$: StaticErrorSchema;
|
|
186
188
|
export declare var CreateAutoPredictor$: StaticOperationSchema;
|
|
187
189
|
export declare var CreateDataset$: StaticOperationSchema;
|
|
188
190
|
export declare var CreateDatasetGroup$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-forecast",
|
|
3
3
|
"description": "AWS SDK for JavaScript Forecast Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-forecast",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|