@aws-sdk/client-forecast 3.103.0 → 3.105.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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.103.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.102.0...v3.103.0) (2022-06-01)
7
18
 
8
19
 
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class ForecastClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var ForecastClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -241,9 +241,7 @@ export interface AdditionalDataset {
241
241
  * </li>
242
242
  * </ul>
243
243
  */
244
- Configuration?: {
245
- [key: string]: string[];
246
- };
244
+ Configuration?: Record<string, string[]>;
247
245
  }
248
246
  export declare namespace AdditionalDataset {
249
247
  /**
@@ -341,9 +339,7 @@ export interface AttributeConfig {
341
339
  * parameter. For example, to set backfilling to a value of 2, include the following:
342
340
  * <code>"backfill": "value"</code> and <code>"backfill_value":"2"</code>. </p>
343
341
  */
344
- Transformations: {
345
- [key: string]: string;
346
- } | undefined;
342
+ Transformations: Record<string, string> | undefined;
347
343
  }
348
344
  export declare namespace AttributeConfig {
349
345
  /**
@@ -1761,9 +1757,7 @@ export interface FeaturizationMethod {
1761
1757
  * backfilling to a value of 2, include the following: <code>"backfill": "value"</code> and
1762
1758
  * <code>"backfill_value":"2"</code>. </p>
1763
1759
  */
1764
- FeaturizationMethodParameters?: {
1765
- [key: string]: string;
1766
- };
1760
+ FeaturizationMethodParameters?: Record<string, string>;
1767
1761
  }
1768
1762
  export declare namespace FeaturizationMethod {
1769
1763
  /**
@@ -2450,9 +2444,7 @@ export interface CreatePredictorRequest {
2450
2444
  * override are listed in the individual algorithms. For the list of supported algorithms, see
2451
2445
  * <a>aws-forecast-choosing-recipes</a>.</p>
2452
2446
  */
2453
- TrainingParameters?: {
2454
- [key: string]: string;
2455
- };
2447
+ TrainingParameters?: Record<string, string>;
2456
2448
  /**
2457
2449
  * <p>Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast
2458
2450
  * evaluates a predictor by splitting a dataset into training data and testing data. The
@@ -3338,9 +3330,7 @@ export interface DescribeDatasetImportJobResponse {
3338
3330
  /**
3339
3331
  * <p>Statistical information about each field in the input data.</p>
3340
3332
  */
3341
- FieldStatistics?: {
3342
- [key: string]: Statistics;
3343
- };
3333
+ FieldStatistics?: Record<string, Statistics>;
3344
3334
  /**
3345
3335
  * <p>The size of the dataset in gigabytes (GB) after the import job has finished.</p>
3346
3336
  */
@@ -4141,9 +4131,7 @@ export interface DescribePredictorResponse {
4141
4131
  * AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen
4142
4132
  * hyperparameters are returned. For more information, see <a>aws-forecast-choosing-recipes</a>.</p>
4143
4133
  */
4144
- TrainingParameters?: {
4145
- [key: string]: string;
4146
- };
4134
+ TrainingParameters?: Record<string, string>;
4147
4135
  /**
4148
4136
  * <p>Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast
4149
4137
  * evaluates a predictor by splitting a dataset into training data and testing data. The
@@ -5,9 +5,7 @@ export interface AdditionalDataset {
5
5
 
6
6
  Name: string | undefined;
7
7
 
8
- Configuration?: {
9
- [key: string]: string[];
10
- };
8
+ Configuration?: Record<string, string[]>;
11
9
  }
12
10
  export declare namespace AdditionalDataset {
13
11
 
@@ -18,9 +16,7 @@ export interface AttributeConfig {
18
16
 
19
17
  AttributeName: string | undefined;
20
18
 
21
- Transformations: {
22
- [key: string]: string;
23
- } | undefined;
19
+ Transformations: Record<string, string> | undefined;
24
20
  }
25
21
  export declare namespace AttributeConfig {
26
22
 
@@ -537,9 +533,7 @@ export interface FeaturizationMethod {
537
533
 
538
534
  FeaturizationMethodName: FeaturizationMethodName | string | undefined;
539
535
 
540
- FeaturizationMethodParameters?: {
541
- [key: string]: string;
542
- };
536
+ FeaturizationMethodParameters?: Record<string, string>;
543
537
  }
544
538
  export declare namespace FeaturizationMethod {
545
539
 
@@ -676,9 +670,7 @@ export interface CreatePredictorRequest {
676
670
 
677
671
  PerformHPO?: boolean;
678
672
 
679
- TrainingParameters?: {
680
- [key: string]: string;
681
- };
673
+ TrainingParameters?: Record<string, string>;
682
674
 
683
675
  EvaluationParameters?: EvaluationParameters;
684
676
 
@@ -1028,9 +1020,7 @@ export interface DescribeDatasetImportJobResponse {
1028
1020
 
1029
1021
  EstimatedTimeRemainingInMinutes?: number;
1030
1022
 
1031
- FieldStatistics?: {
1032
- [key: string]: Statistics;
1033
- };
1023
+ FieldStatistics?: Record<string, Statistics>;
1034
1024
 
1035
1025
  DataSize?: number;
1036
1026
 
@@ -1318,9 +1308,7 @@ export interface DescribePredictorResponse {
1318
1308
 
1319
1309
  PerformHPO?: boolean;
1320
1310
 
1321
- TrainingParameters?: {
1322
- [key: string]: string;
1323
- };
1311
+ TrainingParameters?: Record<string, string>;
1324
1312
 
1325
1313
  EvaluationParameters?: EvaluationParameters;
1326
1314
 
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.103.0",
4
+ "version": "3.105.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,15 +18,16 @@
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.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",