@aws-sdk/client-forecast 3.52.0 → 3.53.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ForecastServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +88 -3
- package/dist-cjs/protocols/Aws_json1_1.js +388 -1289
- package/dist-es/index.js +1 -0
- package/dist-es/models/ForecastServiceException.js +12 -0
- package/dist-es/models/models_0.js +80 -1
- package/dist-es/protocols/Aws_json1_1.js +879 -1458
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ForecastServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ForecastServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -19
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Forecast service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ForecastServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Describes an additional dataset. This object is part of the <a>DataConfig</a> object. Forecast supports the Weather Index and Holidays additional datasets.</p>
|
|
4
5
|
* <p>
|
|
@@ -574,43 +575,63 @@ export declare namespace CreateAutoPredictorResponse {
|
|
|
574
575
|
* <p>We can't process the request because it includes an invalid value or a value that exceeds
|
|
575
576
|
* the valid range.</p>
|
|
576
577
|
*/
|
|
577
|
-
export
|
|
578
|
-
name: "InvalidInputException";
|
|
579
|
-
$fault: "client";
|
|
578
|
+
export declare class InvalidInputException extends __BaseException {
|
|
579
|
+
readonly name: "InvalidInputException";
|
|
580
|
+
readonly $fault: "client";
|
|
580
581
|
Message?: string;
|
|
582
|
+
/**
|
|
583
|
+
* @internal
|
|
584
|
+
*/
|
|
585
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
581
586
|
}
|
|
582
587
|
/**
|
|
583
588
|
* <p>The limit on the number of resources per account has been exceeded.</p>
|
|
584
589
|
*/
|
|
585
|
-
export
|
|
586
|
-
name: "LimitExceededException";
|
|
587
|
-
$fault: "client";
|
|
590
|
+
export declare class LimitExceededException extends __BaseException {
|
|
591
|
+
readonly name: "LimitExceededException";
|
|
592
|
+
readonly $fault: "client";
|
|
588
593
|
Message?: string;
|
|
594
|
+
/**
|
|
595
|
+
* @internal
|
|
596
|
+
*/
|
|
597
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
589
598
|
}
|
|
590
599
|
/**
|
|
591
600
|
* <p>There is already a resource with this name. Try again with a different name.</p>
|
|
592
601
|
*/
|
|
593
|
-
export
|
|
594
|
-
name: "ResourceAlreadyExistsException";
|
|
595
|
-
$fault: "client";
|
|
602
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
603
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
604
|
+
readonly $fault: "client";
|
|
596
605
|
Message?: string;
|
|
606
|
+
/**
|
|
607
|
+
* @internal
|
|
608
|
+
*/
|
|
609
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
597
610
|
}
|
|
598
611
|
/**
|
|
599
612
|
* <p>The specified resource is in use.</p>
|
|
600
613
|
*/
|
|
601
|
-
export
|
|
602
|
-
name: "ResourceInUseException";
|
|
603
|
-
$fault: "client";
|
|
614
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
615
|
+
readonly name: "ResourceInUseException";
|
|
616
|
+
readonly $fault: "client";
|
|
604
617
|
Message?: string;
|
|
618
|
+
/**
|
|
619
|
+
* @internal
|
|
620
|
+
*/
|
|
621
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
605
622
|
}
|
|
606
623
|
/**
|
|
607
624
|
* <p>We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try
|
|
608
625
|
* again.</p>
|
|
609
626
|
*/
|
|
610
|
-
export
|
|
611
|
-
name: "ResourceNotFoundException";
|
|
612
|
-
$fault: "client";
|
|
627
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
628
|
+
readonly name: "ResourceNotFoundException";
|
|
629
|
+
readonly $fault: "client";
|
|
613
630
|
Message?: string;
|
|
631
|
+
/**
|
|
632
|
+
* @internal
|
|
633
|
+
*/
|
|
634
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
614
635
|
}
|
|
615
636
|
export declare enum DatasetType {
|
|
616
637
|
ITEM_METADATA = "ITEM_METADATA",
|
|
@@ -4109,10 +4130,14 @@ export declare namespace GetAccuracyMetricsResponse {
|
|
|
4109
4130
|
/**
|
|
4110
4131
|
* <p>The token is not valid. Tokens expire after 24 hours.</p>
|
|
4111
4132
|
*/
|
|
4112
|
-
export
|
|
4113
|
-
name: "InvalidNextTokenException";
|
|
4114
|
-
$fault: "client";
|
|
4133
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
4134
|
+
readonly name: "InvalidNextTokenException";
|
|
4135
|
+
readonly $fault: "client";
|
|
4115
4136
|
Message?: string;
|
|
4137
|
+
/**
|
|
4138
|
+
* @internal
|
|
4139
|
+
*/
|
|
4140
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
4116
4141
|
}
|
|
4117
4142
|
export interface ListDatasetGroupsRequest {
|
|
4118
4143
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class ForecastServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ForecastServiceException as __BaseException } from "./ForecastServiceException";
|
|
2
3
|
|
|
3
4
|
export interface AdditionalDataset {
|
|
4
5
|
|
|
@@ -104,34 +105,44 @@ export declare namespace CreateAutoPredictorResponse {
|
|
|
104
105
|
const filterSensitiveLog: (obj: CreateAutoPredictorResponse) => any;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
|
-
export
|
|
108
|
-
name: "InvalidInputException";
|
|
109
|
-
$fault: "client";
|
|
108
|
+
export declare class InvalidInputException extends __BaseException {
|
|
109
|
+
readonly name: "InvalidInputException";
|
|
110
|
+
readonly $fault: "client";
|
|
110
111
|
Message?: string;
|
|
112
|
+
|
|
113
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
export
|
|
114
|
-
name: "LimitExceededException";
|
|
115
|
-
$fault: "client";
|
|
116
|
+
export declare class LimitExceededException extends __BaseException {
|
|
117
|
+
readonly name: "LimitExceededException";
|
|
118
|
+
readonly $fault: "client";
|
|
116
119
|
Message?: string;
|
|
120
|
+
|
|
121
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
117
122
|
}
|
|
118
123
|
|
|
119
|
-
export
|
|
120
|
-
name: "ResourceAlreadyExistsException";
|
|
121
|
-
$fault: "client";
|
|
124
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
125
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
126
|
+
readonly $fault: "client";
|
|
122
127
|
Message?: string;
|
|
128
|
+
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
123
130
|
}
|
|
124
131
|
|
|
125
|
-
export
|
|
126
|
-
name: "ResourceInUseException";
|
|
127
|
-
$fault: "client";
|
|
132
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
133
|
+
readonly name: "ResourceInUseException";
|
|
134
|
+
readonly $fault: "client";
|
|
128
135
|
Message?: string;
|
|
136
|
+
|
|
137
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
129
138
|
}
|
|
130
139
|
|
|
131
|
-
export
|
|
132
|
-
name: "ResourceNotFoundException";
|
|
133
|
-
$fault: "client";
|
|
140
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
141
|
+
readonly name: "ResourceNotFoundException";
|
|
142
|
+
readonly $fault: "client";
|
|
134
143
|
Message?: string;
|
|
144
|
+
|
|
145
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
135
146
|
}
|
|
136
147
|
export declare enum DatasetType {
|
|
137
148
|
ITEM_METADATA = "ITEM_METADATA",
|
|
@@ -1272,10 +1283,12 @@ export declare namespace GetAccuracyMetricsResponse {
|
|
|
1272
1283
|
const filterSensitiveLog: (obj: GetAccuracyMetricsResponse) => any;
|
|
1273
1284
|
}
|
|
1274
1285
|
|
|
1275
|
-
export
|
|
1276
|
-
name: "InvalidNextTokenException";
|
|
1277
|
-
$fault: "client";
|
|
1286
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
1287
|
+
readonly name: "InvalidNextTokenException";
|
|
1288
|
+
readonly $fault: "client";
|
|
1278
1289
|
Message?: string;
|
|
1290
|
+
|
|
1291
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1279
1292
|
}
|
|
1280
1293
|
export interface ListDatasetGroupsRequest {
|
|
1281
1294
|
|
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.53.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,34 +18,34 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|