@aws-sdk/client-forecastquery 3.128.0 → 3.137.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/CHANGELOG.md +30 -0
- package/dist-cjs/commands/QueryForecastCommand.js +2 -2
- package/dist-cjs/models/models_0.js +17 -25
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/commands/QueryForecastCommand.js +3 -3
- package/dist-es/models/models_0.js +4 -16
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/models/models_0.d.ts +16 -24
- package/dist-types/ts3.4/models/models_0.d.ts +8 -16
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-forecastquery
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-forecastquery
|
|
@@ -20,8 +20,8 @@ class QueryForecastCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.QueryForecastRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.QueryForecastResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.QueryForecastResponseFilterSensitiveLog = exports.ForecastFilterSensitiveLog = exports.DataPointFilterSensitiveLog = exports.QueryForecastRequestFilterSensitiveLog = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidNextTokenException = exports.InvalidInputException = void 0;
|
|
4
4
|
const ForecastqueryServiceException_1 = require("./ForecastqueryServiceException");
|
|
5
5
|
class InvalidInputException extends ForecastqueryServiceException_1.ForecastqueryServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -44,30 +44,6 @@ class LimitExceededException extends ForecastqueryServiceException_1.Forecastque
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.LimitExceededException = LimitExceededException;
|
|
47
|
-
var QueryForecastRequest;
|
|
48
|
-
(function (QueryForecastRequest) {
|
|
49
|
-
QueryForecastRequest.filterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
})(QueryForecastRequest = exports.QueryForecastRequest || (exports.QueryForecastRequest = {}));
|
|
53
|
-
var DataPoint;
|
|
54
|
-
(function (DataPoint) {
|
|
55
|
-
DataPoint.filterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
})(DataPoint = exports.DataPoint || (exports.DataPoint = {}));
|
|
59
|
-
var Forecast;
|
|
60
|
-
(function (Forecast) {
|
|
61
|
-
Forecast.filterSensitiveLog = (obj) => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
})(Forecast = exports.Forecast || (exports.Forecast = {}));
|
|
65
|
-
var QueryForecastResponse;
|
|
66
|
-
(function (QueryForecastResponse) {
|
|
67
|
-
QueryForecastResponse.filterSensitiveLog = (obj) => ({
|
|
68
|
-
...obj,
|
|
69
|
-
});
|
|
70
|
-
})(QueryForecastResponse = exports.QueryForecastResponse || (exports.QueryForecastResponse = {}));
|
|
71
47
|
class ResourceInUseException extends ForecastqueryServiceException_1.ForecastqueryServiceException {
|
|
72
48
|
constructor(opts) {
|
|
73
49
|
super({
|
|
@@ -96,3 +72,19 @@ class ResourceNotFoundException extends ForecastqueryServiceException_1.Forecast
|
|
|
96
72
|
}
|
|
97
73
|
}
|
|
98
74
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
75
|
+
const QueryForecastRequestFilterSensitiveLog = (obj) => ({
|
|
76
|
+
...obj,
|
|
77
|
+
});
|
|
78
|
+
exports.QueryForecastRequestFilterSensitiveLog = QueryForecastRequestFilterSensitiveLog;
|
|
79
|
+
const DataPointFilterSensitiveLog = (obj) => ({
|
|
80
|
+
...obj,
|
|
81
|
+
});
|
|
82
|
+
exports.DataPointFilterSensitiveLog = DataPointFilterSensitiveLog;
|
|
83
|
+
const ForecastFilterSensitiveLog = (obj) => ({
|
|
84
|
+
...obj,
|
|
85
|
+
});
|
|
86
|
+
exports.ForecastFilterSensitiveLog = ForecastFilterSensitiveLog;
|
|
87
|
+
const QueryForecastResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
+
...obj,
|
|
89
|
+
});
|
|
90
|
+
exports.QueryForecastResponseFilterSensitiveLog = QueryForecastResponseFilterSensitiveLog;
|
|
@@ -236,6 +236,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
236
236
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
237
237
|
const sanitizeErrorCode = (rawValue) => {
|
|
238
238
|
let cleanValue = rawValue;
|
|
239
|
+
if (typeof cleanValue === "number") {
|
|
240
|
+
cleanValue = cleanValue.toString();
|
|
241
|
+
}
|
|
239
242
|
if (cleanValue.indexOf(":") >= 0) {
|
|
240
243
|
cleanValue = cleanValue.split(":")[0];
|
|
241
244
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { QueryForecastRequestFilterSensitiveLog, QueryForecastResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1QueryForecastCommand, serializeAws_json1_1QueryForecastCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var QueryForecastCommand = (function (_super) {
|
|
7
7
|
__extends(QueryForecastCommand, _super);
|
|
@@ -20,8 +20,8 @@ var QueryForecastCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: QueryForecastRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: QueryForecastResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -39,22 +39,6 @@ var LimitExceededException = (function (_super) {
|
|
|
39
39
|
return LimitExceededException;
|
|
40
40
|
}(__BaseException));
|
|
41
41
|
export { LimitExceededException };
|
|
42
|
-
export var QueryForecastRequest;
|
|
43
|
-
(function (QueryForecastRequest) {
|
|
44
|
-
QueryForecastRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(QueryForecastRequest || (QueryForecastRequest = {}));
|
|
46
|
-
export var DataPoint;
|
|
47
|
-
(function (DataPoint) {
|
|
48
|
-
DataPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(DataPoint || (DataPoint = {}));
|
|
50
|
-
export var Forecast;
|
|
51
|
-
(function (Forecast) {
|
|
52
|
-
Forecast.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(Forecast || (Forecast = {}));
|
|
54
|
-
export var QueryForecastResponse;
|
|
55
|
-
(function (QueryForecastResponse) {
|
|
56
|
-
QueryForecastResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
-
})(QueryForecastResponse || (QueryForecastResponse = {}));
|
|
58
42
|
var ResourceInUseException = (function (_super) {
|
|
59
43
|
__extends(ResourceInUseException, _super);
|
|
60
44
|
function ResourceInUseException(opts) {
|
|
@@ -81,3 +65,7 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
81
65
|
return ResourceNotFoundException;
|
|
82
66
|
}(__BaseException));
|
|
83
67
|
export { ResourceNotFoundException };
|
|
68
|
+
export var QueryForecastRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
export var DataPointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
+
export var ForecastFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
|
+
export var QueryForecastResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -257,6 +257,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
257
257
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
258
258
|
var sanitizeErrorCode = function (rawValue) {
|
|
259
259
|
var cleanValue = rawValue;
|
|
260
|
+
if (typeof cleanValue === "number") {
|
|
261
|
+
cleanValue = cleanValue.toString();
|
|
262
|
+
}
|
|
260
263
|
if (cleanValue.indexOf(":") >= 0) {
|
|
261
264
|
cleanValue = cleanValue.split(":")[0];
|
|
262
265
|
}
|
|
@@ -70,12 +70,6 @@ export interface QueryForecastRequest {
|
|
|
70
70
|
*/
|
|
71
71
|
NextToken?: string;
|
|
72
72
|
}
|
|
73
|
-
export declare namespace QueryForecastRequest {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
const filterSensitiveLog: (obj: QueryForecastRequest) => any;
|
|
78
|
-
}
|
|
79
73
|
/**
|
|
80
74
|
* <p>The forecast value for a specific date. Part of the <a>Forecast</a>
|
|
81
75
|
* object.</p>
|
|
@@ -90,12 +84,6 @@ export interface DataPoint {
|
|
|
90
84
|
*/
|
|
91
85
|
Value?: number;
|
|
92
86
|
}
|
|
93
|
-
export declare namespace DataPoint {
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
const filterSensitiveLog: (obj: DataPoint) => any;
|
|
98
|
-
}
|
|
99
87
|
/**
|
|
100
88
|
* <p>Provides information about a forecast. Returned as part of the <a>QueryForecast</a> response.</p>
|
|
101
89
|
*/
|
|
@@ -118,24 +106,12 @@ export interface Forecast {
|
|
|
118
106
|
*/
|
|
119
107
|
Predictions?: Record<string, DataPoint[]>;
|
|
120
108
|
}
|
|
121
|
-
export declare namespace Forecast {
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
const filterSensitiveLog: (obj: Forecast) => any;
|
|
126
|
-
}
|
|
127
109
|
export interface QueryForecastResponse {
|
|
128
110
|
/**
|
|
129
111
|
* <p>The forecast.</p>
|
|
130
112
|
*/
|
|
131
113
|
Forecast?: Forecast;
|
|
132
114
|
}
|
|
133
|
-
export declare namespace QueryForecastResponse {
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
const filterSensitiveLog: (obj: QueryForecastResponse) => any;
|
|
138
|
-
}
|
|
139
115
|
/**
|
|
140
116
|
* <p>The specified resource is in use.</p>
|
|
141
117
|
*/
|
|
@@ -161,3 +137,19 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
161
137
|
*/
|
|
162
138
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
163
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
export declare const QueryForecastRequestFilterSensitiveLog: (obj: QueryForecastRequest) => any;
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
export declare const DataPointFilterSensitiveLog: (obj: DataPoint) => any;
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
export declare const ForecastFilterSensitiveLog: (obj: Forecast) => any;
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
export declare const QueryForecastResponseFilterSensitiveLog: (obj: QueryForecastResponse) => any;
|
|
@@ -36,10 +36,6 @@ export interface QueryForecastRequest {
|
|
|
36
36
|
|
|
37
37
|
NextToken?: string;
|
|
38
38
|
}
|
|
39
|
-
export declare namespace QueryForecastRequest {
|
|
40
|
-
|
|
41
|
-
const filterSensitiveLog: (obj: QueryForecastRequest) => any;
|
|
42
|
-
}
|
|
43
39
|
|
|
44
40
|
export interface DataPoint {
|
|
45
41
|
|
|
@@ -47,27 +43,15 @@ export interface DataPoint {
|
|
|
47
43
|
|
|
48
44
|
Value?: number;
|
|
49
45
|
}
|
|
50
|
-
export declare namespace DataPoint {
|
|
51
|
-
|
|
52
|
-
const filterSensitiveLog: (obj: DataPoint) => any;
|
|
53
|
-
}
|
|
54
46
|
|
|
55
47
|
export interface Forecast {
|
|
56
48
|
|
|
57
49
|
Predictions?: Record<string, DataPoint[]>;
|
|
58
50
|
}
|
|
59
|
-
export declare namespace Forecast {
|
|
60
|
-
|
|
61
|
-
const filterSensitiveLog: (obj: Forecast) => any;
|
|
62
|
-
}
|
|
63
51
|
export interface QueryForecastResponse {
|
|
64
52
|
|
|
65
53
|
Forecast?: Forecast;
|
|
66
54
|
}
|
|
67
|
-
export declare namespace QueryForecastResponse {
|
|
68
|
-
|
|
69
|
-
const filterSensitiveLog: (obj: QueryForecastResponse) => any;
|
|
70
|
-
}
|
|
71
55
|
|
|
72
56
|
export declare class ResourceInUseException extends __BaseException {
|
|
73
57
|
readonly name: "ResourceInUseException";
|
|
@@ -84,3 +68,11 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
84
68
|
|
|
85
69
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
86
70
|
}
|
|
71
|
+
|
|
72
|
+
export declare const QueryForecastRequestFilterSensitiveLog: (obj: QueryForecastRequest) => any;
|
|
73
|
+
|
|
74
|
+
export declare const DataPointFilterSensitiveLog: (obj: DataPoint) => any;
|
|
75
|
+
|
|
76
|
+
export declare const ForecastFilterSensitiveLog: (obj: Forecast) => any;
|
|
77
|
+
|
|
78
|
+
export declare const QueryForecastResponseFilterSensitiveLog: (obj: QueryForecastResponse) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.137.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.137.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|