@aws-sdk/client-forecastquery 3.686.0 → 3.691.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.
@@ -7,7 +7,7 @@ import { ForecastqueryServiceException as __BaseException } from "./Forecastquer
7
7
  export declare class InvalidInputException extends __BaseException {
8
8
  readonly name: "InvalidInputException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -20,7 +20,7 @@ export declare class InvalidInputException extends __BaseException {
20
20
  export declare class InvalidNextTokenException extends __BaseException {
21
21
  readonly name: "InvalidNextTokenException";
22
22
  readonly $fault: "client";
23
- Message?: string;
23
+ Message?: string | undefined;
24
24
  /**
25
25
  * @internal
26
26
  */
@@ -33,7 +33,7 @@ export declare class InvalidNextTokenException extends __BaseException {
33
33
  export declare class LimitExceededException extends __BaseException {
34
34
  readonly name: "LimitExceededException";
35
35
  readonly $fault: "client";
36
- Message?: string;
36
+ Message?: string | undefined;
37
37
  /**
38
38
  * @internal
39
39
  */
@@ -53,13 +53,13 @@ export interface QueryForecastRequest {
53
53
  * (ISO 8601 format). For example, 2015-01-01T08:00:00.</p>
54
54
  * @public
55
55
  */
56
- StartDate?: string;
56
+ StartDate?: string | undefined;
57
57
  /**
58
58
  * <p>The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
59
59
  * (ISO 8601 format). For example, 2015-01-01T20:00:00. </p>
60
60
  * @public
61
61
  */
62
- EndDate?: string;
62
+ EndDate?: string | undefined;
63
63
  /**
64
64
  * <p>The filtering criteria to apply when retrieving the forecast. For example, to get the
65
65
  * forecast for <code>client_21</code> in the electricity usage dataset, specify the
@@ -79,7 +79,7 @@ export interface QueryForecastRequest {
79
79
  * request. Tokens expire after 24 hours.</p>
80
80
  * @public
81
81
  */
82
- NextToken?: string;
82
+ NextToken?: string | undefined;
83
83
  }
84
84
  /**
85
85
  * <p>The forecast value for a specific date. Part of the <a>Forecast</a>
@@ -91,12 +91,12 @@ export interface DataPoint {
91
91
  * <p>The timestamp of the specific forecast.</p>
92
92
  * @public
93
93
  */
94
- Timestamp?: string;
94
+ Timestamp?: string | undefined;
95
95
  /**
96
96
  * <p>The forecast value.</p>
97
97
  * @public
98
98
  */
99
- Value?: number;
99
+ Value?: number | undefined;
100
100
  }
101
101
  /**
102
102
  * <p>Provides information about a forecast. Returned as part of the <a>QueryForecast</a> response.</p>
@@ -122,7 +122,7 @@ export interface Forecast {
122
122
  * </p>
123
123
  * @public
124
124
  */
125
- Predictions?: Record<string, DataPoint[]>;
125
+ Predictions?: Record<string, DataPoint[]> | undefined;
126
126
  }
127
127
  /**
128
128
  * @public
@@ -132,7 +132,7 @@ export interface QueryForecastResponse {
132
132
  * <p>The forecast.</p>
133
133
  * @public
134
134
  */
135
- Forecast?: Forecast;
135
+ Forecast?: Forecast | undefined;
136
136
  }
137
137
  /**
138
138
  * <p>The specified resource is in use.</p>
@@ -141,7 +141,7 @@ export interface QueryForecastResponse {
141
141
  export declare class ResourceInUseException extends __BaseException {
142
142
  readonly name: "ResourceInUseException";
143
143
  readonly $fault: "client";
144
- Message?: string;
144
+ Message?: string | undefined;
145
145
  /**
146
146
  * @internal
147
147
  */
@@ -155,7 +155,7 @@ export declare class ResourceInUseException extends __BaseException {
155
155
  export declare class ResourceNotFoundException extends __BaseException {
156
156
  readonly name: "ResourceNotFoundException";
157
157
  readonly $fault: "client";
158
- Message?: string;
158
+ Message?: string | undefined;
159
159
  /**
160
160
  * @internal
161
161
  */
@@ -175,13 +175,13 @@ export interface QueryWhatIfForecastRequest {
175
175
  * (ISO 8601 format). For example, 2015-01-01T08:00:00.</p>
176
176
  * @public
177
177
  */
178
- StartDate?: string;
178
+ StartDate?: string | undefined;
179
179
  /**
180
180
  * <p>The end date for the what-if forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
181
181
  * (ISO 8601 format). For example, 2015-01-01T20:00:00. </p>
182
182
  * @public
183
183
  */
184
- EndDate?: string;
184
+ EndDate?: string | undefined;
185
185
  /**
186
186
  * <p>The filtering criteria to apply when retrieving the forecast. For example, to get the
187
187
  * forecast for <code>client_21</code> in the electricity usage dataset, specify the
@@ -199,7 +199,7 @@ export interface QueryWhatIfForecastRequest {
199
199
  * request. Tokens expire after 24 hours.</p>
200
200
  * @public
201
201
  */
202
- NextToken?: string;
202
+ NextToken?: string | undefined;
203
203
  }
204
204
  /**
205
205
  * @public
@@ -209,5 +209,5 @@ export interface QueryWhatIfForecastResponse {
209
209
  * <p>Provides information about a forecast. Returned as part of the <a>QueryForecast</a> response.</p>
210
210
  * @public
211
211
  */
212
- Forecast?: Forecast;
212
+ Forecast?: Forecast | undefined;
213
213
  }
@@ -3,7 +3,7 @@ import { ForecastqueryServiceException as __BaseException } from "./Forecastquer
3
3
  export declare class InvalidInputException extends __BaseException {
4
4
  readonly name: "InvalidInputException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<InvalidInputException, __BaseException>
9
9
  );
@@ -11,7 +11,7 @@ export declare class InvalidInputException extends __BaseException {
11
11
  export declare class InvalidNextTokenException extends __BaseException {
12
12
  readonly name: "InvalidNextTokenException";
13
13
  readonly $fault: "client";
14
- Message?: string;
14
+ Message?: string | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
17
17
  );
@@ -19,32 +19,32 @@ export declare class InvalidNextTokenException extends __BaseException {
19
19
  export declare class LimitExceededException extends __BaseException {
20
20
  readonly name: "LimitExceededException";
21
21
  readonly $fault: "client";
22
- Message?: string;
22
+ Message?: string | undefined;
23
23
  constructor(
24
24
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
25
25
  );
26
26
  }
27
27
  export interface QueryForecastRequest {
28
28
  ForecastArn: string | undefined;
29
- StartDate?: string;
30
- EndDate?: string;
29
+ StartDate?: string | undefined;
30
+ EndDate?: string | undefined;
31
31
  Filters: Record<string, string> | undefined;
32
- NextToken?: string;
32
+ NextToken?: string | undefined;
33
33
  }
34
34
  export interface DataPoint {
35
- Timestamp?: string;
36
- Value?: number;
35
+ Timestamp?: string | undefined;
36
+ Value?: number | undefined;
37
37
  }
38
38
  export interface Forecast {
39
- Predictions?: Record<string, DataPoint[]>;
39
+ Predictions?: Record<string, DataPoint[]> | undefined;
40
40
  }
41
41
  export interface QueryForecastResponse {
42
- Forecast?: Forecast;
42
+ Forecast?: Forecast | undefined;
43
43
  }
44
44
  export declare class ResourceInUseException extends __BaseException {
45
45
  readonly name: "ResourceInUseException";
46
46
  readonly $fault: "client";
47
- Message?: string;
47
+ Message?: string | undefined;
48
48
  constructor(
49
49
  opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
50
50
  );
@@ -52,18 +52,18 @@ export declare class ResourceInUseException extends __BaseException {
52
52
  export declare class ResourceNotFoundException extends __BaseException {
53
53
  readonly name: "ResourceNotFoundException";
54
54
  readonly $fault: "client";
55
- Message?: string;
55
+ Message?: string | undefined;
56
56
  constructor(
57
57
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
58
58
  );
59
59
  }
60
60
  export interface QueryWhatIfForecastRequest {
61
61
  WhatIfForecastArn: string | undefined;
62
- StartDate?: string;
63
- EndDate?: string;
62
+ StartDate?: string | undefined;
63
+ EndDate?: string | undefined;
64
64
  Filters: Record<string, string> | undefined;
65
- NextToken?: string;
65
+ NextToken?: string | undefined;
66
66
  }
67
67
  export interface QueryWhatIfForecastResponse {
68
- Forecast?: Forecast;
68
+ Forecast?: Forecast | undefined;
69
69
  }
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.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-forecastquery",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",