@aws-sdk/client-forecastquery 3.952.0 → 3.953.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 +59 -45
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/QueryForecastCommand.js +2 -2
- package/dist-es/commands/QueryWhatIfForecastCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +29 -29
- package/dist-types/ForecastqueryClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +15 -18
- package/dist-types/ts3.4/ForecastqueryClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -19
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class ForecastqueryClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class ForecastqueryServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ForecastqueryServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class InvalidInputException extends ForecastqueryServiceException {
|
|
121
121
|
name = "InvalidInputException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,8 +130,8 @@ let InvalidInputException$1 = class InvalidInputException extends ForecastqueryS
|
|
|
130
130
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
134
|
-
|
|
133
|
+
}
|
|
134
|
+
class InvalidNextTokenException extends ForecastqueryServiceException {
|
|
135
135
|
name = "InvalidNextTokenException";
|
|
136
136
|
$fault = "client";
|
|
137
137
|
Message;
|
|
@@ -144,8 +144,8 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends Foreca
|
|
|
144
144
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
145
145
|
this.Message = opts.Message;
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
|
|
147
|
+
}
|
|
148
|
+
class LimitExceededException extends ForecastqueryServiceException {
|
|
149
149
|
name = "LimitExceededException";
|
|
150
150
|
$fault = "client";
|
|
151
151
|
Message;
|
|
@@ -158,8 +158,8 @@ let LimitExceededException$1 = class LimitExceededException extends Forecastquer
|
|
|
158
158
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
159
159
|
this.Message = opts.Message;
|
|
160
160
|
}
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
}
|
|
162
|
+
class ResourceInUseException extends ForecastqueryServiceException {
|
|
163
163
|
name = "ResourceInUseException";
|
|
164
164
|
$fault = "client";
|
|
165
165
|
Message;
|
|
@@ -172,8 +172,8 @@ let ResourceInUseException$1 = class ResourceInUseException extends Forecastquer
|
|
|
172
172
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
173
173
|
this.Message = opts.Message;
|
|
174
174
|
}
|
|
175
|
-
}
|
|
176
|
-
|
|
175
|
+
}
|
|
176
|
+
class ResourceNotFoundException extends ForecastqueryServiceException {
|
|
177
177
|
name = "ResourceNotFoundException";
|
|
178
178
|
$fault = "client";
|
|
179
179
|
Message;
|
|
@@ -186,7 +186,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Foreca
|
|
|
186
186
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
187
187
|
this.Message = opts.Message;
|
|
188
188
|
}
|
|
189
|
-
}
|
|
189
|
+
}
|
|
190
190
|
|
|
191
191
|
const _DP = "DataPoint";
|
|
192
192
|
const _ED = "EndDate";
|
|
@@ -217,15 +217,15 @@ const _e = "error";
|
|
|
217
217
|
const _hE = "httpError";
|
|
218
218
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.forecastquery";
|
|
219
219
|
const n0 = "com.amazonaws.forecastquery";
|
|
220
|
-
var DataPoint = [3, n0, _DP, 0, [_T, _V], [0, 1]];
|
|
221
|
-
var Forecast = [3, n0, _F, 0, [_P], [() => Predictions]];
|
|
222
|
-
var InvalidInputException = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
223
|
-
schema.TypeRegistry.for(n0).registerError(InvalidInputException
|
|
224
|
-
var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
225
|
-
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException
|
|
226
|
-
var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
227
|
-
schema.TypeRegistry.for(n0).registerError(LimitExceededException
|
|
228
|
-
var QueryForecastRequest = [
|
|
220
|
+
var DataPoint$ = [3, n0, _DP, 0, [_T, _V], [0, 1]];
|
|
221
|
+
var Forecast$ = [3, n0, _F, 0, [_P], [() => Predictions]];
|
|
222
|
+
var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
223
|
+
schema.TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
224
|
+
var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
225
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
226
|
+
var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
227
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
228
|
+
var QueryForecastRequest$ = [
|
|
229
229
|
3,
|
|
230
230
|
n0,
|
|
231
231
|
_QFR,
|
|
@@ -233,8 +233,8 @@ var QueryForecastRequest = [
|
|
|
233
233
|
[_FA, _SD, _ED, _Fi, _NT],
|
|
234
234
|
[0, 0, 0, 128 | 0, 0],
|
|
235
235
|
];
|
|
236
|
-
var QueryForecastResponse = [3, n0, _QFRu, 0, [_F], [() => Forecast]];
|
|
237
|
-
var QueryWhatIfForecastRequest = [
|
|
236
|
+
var QueryForecastResponse$ = [3, n0, _QFRu, 0, [_F], [() => Forecast$]];
|
|
237
|
+
var QueryWhatIfForecastRequest$ = [
|
|
238
238
|
3,
|
|
239
239
|
n0,
|
|
240
240
|
_QWIFR,
|
|
@@ -242,30 +242,30 @@ var QueryWhatIfForecastRequest = [
|
|
|
242
242
|
[_WIFA, _SD, _ED, _Fi, _NT],
|
|
243
243
|
[0, 0, 0, 128 | 0, 0],
|
|
244
244
|
];
|
|
245
|
-
var QueryWhatIfForecastResponse = [3, n0, _QWIFRu, 0, [_F], [() => Forecast]];
|
|
246
|
-
var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
247
|
-
schema.TypeRegistry.for(n0).registerError(ResourceInUseException
|
|
248
|
-
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
249
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
250
|
-
var ForecastqueryServiceException = [-3, _s, "ForecastqueryServiceException", 0, [], []];
|
|
251
|
-
schema.TypeRegistry.for(_s).registerError(ForecastqueryServiceException
|
|
252
|
-
var TimeSeries = [1, n0, _TS, 0, () => DataPoint];
|
|
245
|
+
var QueryWhatIfForecastResponse$ = [3, n0, _QWIFRu, 0, [_F], [() => Forecast$]];
|
|
246
|
+
var ResourceInUseException$ = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
247
|
+
schema.TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
248
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
249
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
250
|
+
var ForecastqueryServiceException$ = [-3, _s, "ForecastqueryServiceException", 0, [], []];
|
|
251
|
+
schema.TypeRegistry.for(_s).registerError(ForecastqueryServiceException$, ForecastqueryServiceException);
|
|
252
|
+
var TimeSeries = [1, n0, _TS, 0, () => DataPoint$];
|
|
253
253
|
var Predictions = [2, n0, _P, 0, 0, () => TimeSeries];
|
|
254
|
-
var QueryForecast = [
|
|
254
|
+
var QueryForecast$ = [
|
|
255
255
|
9,
|
|
256
256
|
n0,
|
|
257
257
|
_QF,
|
|
258
258
|
0,
|
|
259
|
-
() => QueryForecastRequest
|
|
260
|
-
() => QueryForecastResponse
|
|
259
|
+
() => QueryForecastRequest$,
|
|
260
|
+
() => QueryForecastResponse$,
|
|
261
261
|
];
|
|
262
|
-
var QueryWhatIfForecast = [
|
|
262
|
+
var QueryWhatIfForecast$ = [
|
|
263
263
|
9,
|
|
264
264
|
n0,
|
|
265
265
|
_QWIF,
|
|
266
266
|
0,
|
|
267
|
-
() => QueryWhatIfForecastRequest
|
|
268
|
-
() => QueryWhatIfForecastResponse
|
|
267
|
+
() => QueryWhatIfForecastRequest$,
|
|
268
|
+
() => QueryWhatIfForecastResponse$,
|
|
269
269
|
];
|
|
270
270
|
|
|
271
271
|
class QueryForecastCommand extends smithyClient.Command
|
|
@@ -276,7 +276,7 @@ class QueryForecastCommand extends smithyClient.Command
|
|
|
276
276
|
})
|
|
277
277
|
.s("AmazonForecastRuntime", "QueryForecast", {})
|
|
278
278
|
.n("ForecastqueryClient", "QueryForecastCommand")
|
|
279
|
-
.sc(QueryForecast)
|
|
279
|
+
.sc(QueryForecast$)
|
|
280
280
|
.build() {
|
|
281
281
|
}
|
|
282
282
|
|
|
@@ -288,7 +288,7 @@ class QueryWhatIfForecastCommand extends smithyClient.Command
|
|
|
288
288
|
})
|
|
289
289
|
.s("AmazonForecastRuntime", "QueryWhatIfForecast", {})
|
|
290
290
|
.n("ForecastqueryClient", "QueryWhatIfForecastCommand")
|
|
291
|
-
.sc(QueryWhatIfForecast)
|
|
291
|
+
.sc(QueryWhatIfForecast$)
|
|
292
292
|
.build() {
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -308,13 +308,27 @@ Object.defineProperty(exports, "__Client", {
|
|
|
308
308
|
enumerable: true,
|
|
309
309
|
get: function () { return smithyClient.Client; }
|
|
310
310
|
});
|
|
311
|
+
exports.DataPoint$ = DataPoint$;
|
|
312
|
+
exports.Forecast$ = Forecast$;
|
|
311
313
|
exports.Forecastquery = Forecastquery;
|
|
312
314
|
exports.ForecastqueryClient = ForecastqueryClient;
|
|
313
|
-
exports.ForecastqueryServiceException = ForecastqueryServiceException
|
|
314
|
-
exports.
|
|
315
|
-
exports.
|
|
316
|
-
exports.
|
|
315
|
+
exports.ForecastqueryServiceException = ForecastqueryServiceException;
|
|
316
|
+
exports.ForecastqueryServiceException$ = ForecastqueryServiceException$;
|
|
317
|
+
exports.InvalidInputException = InvalidInputException;
|
|
318
|
+
exports.InvalidInputException$ = InvalidInputException$;
|
|
319
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
320
|
+
exports.InvalidNextTokenException$ = InvalidNextTokenException$;
|
|
321
|
+
exports.LimitExceededException = LimitExceededException;
|
|
322
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
323
|
+
exports.QueryForecast$ = QueryForecast$;
|
|
317
324
|
exports.QueryForecastCommand = QueryForecastCommand;
|
|
325
|
+
exports.QueryForecastRequest$ = QueryForecastRequest$;
|
|
326
|
+
exports.QueryForecastResponse$ = QueryForecastResponse$;
|
|
327
|
+
exports.QueryWhatIfForecast$ = QueryWhatIfForecast$;
|
|
318
328
|
exports.QueryWhatIfForecastCommand = QueryWhatIfForecastCommand;
|
|
319
|
-
exports.
|
|
320
|
-
exports.
|
|
329
|
+
exports.QueryWhatIfForecastRequest$ = QueryWhatIfForecastRequest$;
|
|
330
|
+
exports.QueryWhatIfForecastResponse$ = QueryWhatIfForecastResponse$;
|
|
331
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
332
|
+
exports.ResourceInUseException$ = ResourceInUseException$;
|
|
333
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
334
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.forecastquery",
|
|
32
|
+
version: "2018-06-26",
|
|
33
|
+
serviceTarget: "AmazonForecastRuntime",
|
|
34
|
+
},
|
|
35
35
|
serviceId: config?.serviceId ?? "forecastquery",
|
|
36
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
37
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { QueryForecast } from "../schemas/schemas_0";
|
|
4
|
+
import { QueryForecast$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class QueryForecastCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class QueryForecastCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonForecastRuntime", "QueryForecast", {})
|
|
13
13
|
.n("ForecastqueryClient", "QueryForecastCommand")
|
|
14
|
-
.sc(QueryForecast)
|
|
14
|
+
.sc(QueryForecast$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { QueryWhatIfForecast } from "../schemas/schemas_0";
|
|
4
|
+
import { QueryWhatIfForecast$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class QueryWhatIfForecastCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class QueryWhatIfForecastCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonForecastRuntime", "QueryWhatIfForecast", {})
|
|
13
13
|
.n("ForecastqueryClient", "QueryWhatIfForecastCommand")
|
|
14
|
-
.sc(QueryWhatIfForecast)
|
|
14
|
+
.sc(QueryWhatIfForecast$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.forecastquery",
|
|
29
|
+
version: "2018-06-26",
|
|
30
|
+
serviceTarget: "AmazonForecastRuntime",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "forecastquery",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -28,17 +28,17 @@ const _hE = "httpError";
|
|
|
28
28
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.forecastquery";
|
|
29
29
|
const n0 = "com.amazonaws.forecastquery";
|
|
30
30
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
31
|
-
import { InvalidInputException
|
|
32
|
-
import { ForecastqueryServiceException
|
|
33
|
-
export var DataPoint = [3, n0, _DP, 0, [_T, _V], [0, 1]];
|
|
34
|
-
export var Forecast = [3, n0, _F, 0, [_P], [() => Predictions]];
|
|
35
|
-
export var InvalidInputException = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
36
|
-
TypeRegistry.for(n0).registerError(InvalidInputException
|
|
37
|
-
export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
38
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException
|
|
39
|
-
export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
40
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
41
|
-
export var QueryForecastRequest = [
|
|
31
|
+
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, } from "../models/errors";
|
|
32
|
+
import { ForecastqueryServiceException } from "../models/ForecastqueryServiceException";
|
|
33
|
+
export var DataPoint$ = [3, n0, _DP, 0, [_T, _V], [0, 1]];
|
|
34
|
+
export var Forecast$ = [3, n0, _F, 0, [_P], [() => Predictions]];
|
|
35
|
+
export var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
36
|
+
TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
37
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
38
|
+
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
39
|
+
export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
40
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
41
|
+
export var QueryForecastRequest$ = [
|
|
42
42
|
3,
|
|
43
43
|
n0,
|
|
44
44
|
_QFR,
|
|
@@ -46,8 +46,8 @@ export var QueryForecastRequest = [
|
|
|
46
46
|
[_FA, _SD, _ED, _Fi, _NT],
|
|
47
47
|
[0, 0, 0, 128 | 0, 0],
|
|
48
48
|
];
|
|
49
|
-
export var QueryForecastResponse = [3, n0, _QFRu, 0, [_F], [() => Forecast]];
|
|
50
|
-
export var QueryWhatIfForecastRequest = [
|
|
49
|
+
export var QueryForecastResponse$ = [3, n0, _QFRu, 0, [_F], [() => Forecast$]];
|
|
50
|
+
export var QueryWhatIfForecastRequest$ = [
|
|
51
51
|
3,
|
|
52
52
|
n0,
|
|
53
53
|
_QWIFR,
|
|
@@ -55,29 +55,29 @@ export var QueryWhatIfForecastRequest = [
|
|
|
55
55
|
[_WIFA, _SD, _ED, _Fi, _NT],
|
|
56
56
|
[0, 0, 0, 128 | 0, 0],
|
|
57
57
|
];
|
|
58
|
-
export var QueryWhatIfForecastResponse = [3, n0, _QWIFRu, 0, [_F], [() => Forecast]];
|
|
59
|
-
export var ResourceInUseException = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
60
|
-
TypeRegistry.for(n0).registerError(ResourceInUseException
|
|
61
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
62
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
63
|
-
export var ForecastqueryServiceException = [-3, _s, "ForecastqueryServiceException", 0, [], []];
|
|
64
|
-
TypeRegistry.for(_s).registerError(ForecastqueryServiceException
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export var QueryForecast = [
|
|
58
|
+
export var QueryWhatIfForecastResponse$ = [3, n0, _QWIFRu, 0, [_F], [() => Forecast$]];
|
|
59
|
+
export var ResourceInUseException$ = [-3, n0, _RIUE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
60
|
+
TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
61
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
62
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
63
|
+
export var ForecastqueryServiceException$ = [-3, _s, "ForecastqueryServiceException", 0, [], []];
|
|
64
|
+
TypeRegistry.for(_s).registerError(ForecastqueryServiceException$, ForecastqueryServiceException);
|
|
65
|
+
var TimeSeries = [1, n0, _TS, 0, () => DataPoint$];
|
|
66
|
+
var Filters = 128 | 0;
|
|
67
|
+
var Predictions = [2, n0, _P, 0, 0, () => TimeSeries];
|
|
68
|
+
export var QueryForecast$ = [
|
|
69
69
|
9,
|
|
70
70
|
n0,
|
|
71
71
|
_QF,
|
|
72
72
|
0,
|
|
73
|
-
() => QueryForecastRequest
|
|
74
|
-
() => QueryForecastResponse
|
|
73
|
+
() => QueryForecastRequest$,
|
|
74
|
+
() => QueryForecastResponse$,
|
|
75
75
|
];
|
|
76
|
-
export var QueryWhatIfForecast = [
|
|
76
|
+
export var QueryWhatIfForecast$ = [
|
|
77
77
|
9,
|
|
78
78
|
n0,
|
|
79
79
|
_QWIF,
|
|
80
80
|
0,
|
|
81
|
-
() => QueryWhatIfForecastRequest
|
|
82
|
-
() => QueryWhatIfForecastResponse
|
|
81
|
+
() => QueryWhatIfForecastRequest$,
|
|
82
|
+
() => QueryWhatIfForecastResponse$,
|
|
83
83
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { QueryForecastCommandInput, QueryForecastCommandOutput } from "./commands/QueryForecastCommand";
|
|
11
11
|
import { QueryWhatIfForecastCommandInput, QueryWhatIfForecastCommandOutput } from "./commands/QueryWhatIfForecastCommand";
|
|
@@ -143,15 +143,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
143
143
|
* Optional extensions
|
|
144
144
|
*/
|
|
145
145
|
extensions?: RuntimeExtension[];
|
|
146
|
-
/**
|
|
147
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
148
|
-
* may be overridden. A default will always be set by the client.
|
|
149
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
150
|
-
* the client.
|
|
151
|
-
* @alpha
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
155
146
|
/**
|
|
156
147
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
157
148
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { ForecastqueryExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./models/errors";
|
|
13
14
|
export type * from "./models/models_0";
|
|
14
15
|
export { ForecastqueryServiceException } from "./models/ForecastqueryServiceException";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { ForecastqueryClientConfig } from "./ForecastqueryClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ForecastqueryHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var DataPoint
|
|
3
|
-
export declare var Forecast
|
|
4
|
-
export declare var InvalidInputException
|
|
5
|
-
export declare var InvalidNextTokenException
|
|
6
|
-
export declare var LimitExceededException
|
|
7
|
-
export declare var QueryForecastRequest
|
|
8
|
-
export declare var QueryForecastResponse
|
|
9
|
-
export declare var QueryWhatIfForecastRequest
|
|
10
|
-
export declare var QueryWhatIfForecastResponse
|
|
11
|
-
export declare var ResourceInUseException
|
|
12
|
-
export declare var ResourceNotFoundException
|
|
13
|
-
export declare var ForecastqueryServiceException
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var Predictions: StaticMapSchema;
|
|
17
|
-
export declare var QueryForecast: StaticOperationSchema;
|
|
18
|
-
export declare var QueryWhatIfForecast: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var DataPoint$: StaticStructureSchema;
|
|
3
|
+
export declare var Forecast$: StaticStructureSchema;
|
|
4
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
5
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
6
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
7
|
+
export declare var QueryForecastRequest$: StaticStructureSchema;
|
|
8
|
+
export declare var QueryForecastResponse$: StaticStructureSchema;
|
|
9
|
+
export declare var QueryWhatIfForecastRequest$: StaticStructureSchema;
|
|
10
|
+
export declare var QueryWhatIfForecastResponse$: StaticStructureSchema;
|
|
11
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
13
|
+
export declare var ForecastqueryServiceException$: StaticErrorSchema;
|
|
14
|
+
export declare var QueryForecast$: StaticOperationSchema;
|
|
15
|
+
export declare var QueryWhatIfForecast$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -93,7 +90,6 @@ export interface ClientDefaults
|
|
|
93
90
|
retryMode?: string | __Provider<string>;
|
|
94
91
|
logger?: __Logger;
|
|
95
92
|
extensions?: RuntimeExtension[];
|
|
96
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
97
93
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
98
94
|
}
|
|
99
95
|
export type ForecastqueryClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { ForecastqueryExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/errors";
|
|
8
9
|
export * from "./models/models_0";
|
|
9
10
|
export { ForecastqueryServiceException } from "./models/ForecastqueryServiceException";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { ForecastqueryClientConfig } from "./ForecastqueryClient";
|
|
2
3
|
export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
3
4
|
apiVersion: string;
|
|
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: ForecastqueryClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ForecastqueryHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol:
|
|
18
|
-
import("@smithy/types").
|
|
19
|
-
import("@smithy/types").
|
|
20
|
-
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
21
26
|
serviceId: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
|
-
StaticMapSchema,
|
|
5
3
|
StaticOperationSchema,
|
|
6
4
|
StaticStructureSchema,
|
|
7
5
|
} from "@smithy/types";
|
|
8
|
-
export declare var DataPoint
|
|
9
|
-
export declare var Forecast
|
|
10
|
-
export declare var InvalidInputException
|
|
11
|
-
export declare var InvalidNextTokenException
|
|
12
|
-
export declare var LimitExceededException
|
|
13
|
-
export declare var QueryForecastRequest
|
|
14
|
-
export declare var QueryForecastResponse
|
|
15
|
-
export declare var QueryWhatIfForecastRequest
|
|
16
|
-
export declare var QueryWhatIfForecastResponse
|
|
17
|
-
export declare var ResourceInUseException
|
|
18
|
-
export declare var ResourceNotFoundException
|
|
19
|
-
export declare var ForecastqueryServiceException
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var Predictions: StaticMapSchema;
|
|
23
|
-
export declare var QueryForecast: StaticOperationSchema;
|
|
24
|
-
export declare var QueryWhatIfForecast: StaticOperationSchema;
|
|
6
|
+
export declare var DataPoint$: StaticStructureSchema;
|
|
7
|
+
export declare var Forecast$: StaticStructureSchema;
|
|
8
|
+
export declare var InvalidInputException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
10
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var QueryForecastRequest$: StaticStructureSchema;
|
|
12
|
+
export declare var QueryForecastResponse$: StaticStructureSchema;
|
|
13
|
+
export declare var QueryWhatIfForecastRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var QueryWhatIfForecastResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
16
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
17
|
+
export declare var ForecastqueryServiceException$: StaticErrorSchema;
|
|
18
|
+
export declare var QueryForecast$: StaticOperationSchema;
|
|
19
|
+
export declare var QueryWhatIfForecast$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-forecastquery",
|
|
3
3
|
"description": "AWS SDK for JavaScript Forecastquery Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-forecastquery",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
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.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|