@aws-sdk/client-forecastquery 3.141.0 → 3.142.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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -34,7 +34,6 @@ const deserializeAws_json1_1QueryForecastCommandError = async (output, context)
|
|
|
34
34
|
...output,
|
|
35
35
|
body: await parseBody(output.body, context),
|
|
36
36
|
};
|
|
37
|
-
let response;
|
|
38
37
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
39
38
|
switch (errorCode) {
|
|
40
39
|
case "InvalidInputException":
|
|
@@ -54,14 +53,12 @@ const deserializeAws_json1_1QueryForecastCommandError = async (output, context)
|
|
|
54
53
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
55
54
|
default:
|
|
56
55
|
const parsedBody = parsedOutput.body;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$metadata,
|
|
56
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
57
|
+
output,
|
|
58
|
+
parsedBody,
|
|
59
|
+
exceptionCtor: ForecastqueryServiceException_1.ForecastqueryServiceException,
|
|
60
|
+
errorCode,
|
|
63
61
|
});
|
|
64
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
65
62
|
}
|
|
66
63
|
};
|
|
67
64
|
const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectString as __expectString, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectString as __expectString, limitedParseDouble as __limitedParseDouble, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ForecastqueryServiceException as __BaseException } from "../models/ForecastqueryServiceException";
|
|
5
5
|
import { InvalidInputException, InvalidNextTokenException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1QueryForecastCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -33,7 +33,7 @@ export var deserializeAws_json1_1QueryForecastCommand = function (output, contex
|
|
|
33
33
|
});
|
|
34
34
|
}); };
|
|
35
35
|
var deserializeAws_json1_1QueryForecastCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
36
|
-
var parsedOutput, _a,
|
|
36
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
37
37
|
var _c;
|
|
38
38
|
return __generator(this, function (_d) {
|
|
39
39
|
switch (_d.label) {
|
|
@@ -70,14 +70,14 @@ var deserializeAws_json1_1QueryForecastCommandError = function (output, context)
|
|
|
70
70
|
case 11: throw _d.sent();
|
|
71
71
|
case 12:
|
|
72
72
|
parsedBody = parsedOutput.body;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
$metadata: $metadata,
|
|
73
|
+
throwDefaultError({
|
|
74
|
+
output: output,
|
|
75
|
+
parsedBody: parsedBody,
|
|
76
|
+
exceptionCtor: __BaseException,
|
|
77
|
+
errorCode: errorCode,
|
|
79
78
|
});
|
|
80
|
-
|
|
79
|
+
_d.label = 13;
|
|
80
|
+
case 13: return [2];
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
}); };
|
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.142.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,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.142.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.142.0",
|
|
24
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",
|
|
@@ -36,15 +36,15 @@
|
|
|
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.142.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.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.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",
|