@aws-sdk/client-machine-learning 3.100.0 → 3.110.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,33 @@
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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-machine-learning
9
+
10
+
11
+
12
+
13
+
14
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-machine-learning
17
+
18
+
19
+
20
+
21
+
22
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-machine-learning
@@ -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 MachineLearningClient 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 MachineLearningClient = (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;
@@ -1077,9 +1077,7 @@ export interface CreateMLModelInput {
1077
1077
  * </li>
1078
1078
  * </ul>
1079
1079
  */
1080
- Parameters?: {
1081
- [key: string]: string;
1082
- };
1080
+ Parameters?: Record<string, string>;
1083
1081
  /**
1084
1082
  * <p>The <code>DataSource</code> that points to the training data.</p>
1085
1083
  */
@@ -2095,9 +2093,7 @@ export declare namespace DescribeEvaluationsInput {
2095
2093
  * </p>
2096
2094
  */
2097
2095
  export interface PerformanceMetrics {
2098
- Properties?: {
2099
- [key: string]: string;
2100
- };
2096
+ Properties?: Record<string, string>;
2101
2097
  }
2102
2098
  export declare namespace PerformanceMetrics {
2103
2099
  /**
@@ -2480,9 +2476,7 @@ export interface MLModel {
2480
2476
  * </li>
2481
2477
  * </ul>
2482
2478
  */
2483
- TrainingParameters?: {
2484
- [key: string]: string;
2485
- };
2479
+ TrainingParameters?: Record<string, string>;
2486
2480
  /**
2487
2481
  * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
2488
2482
  */
@@ -3106,9 +3100,7 @@ export interface GetMLModelOutput {
3106
3100
  * </li>
3107
3101
  * </ul>
3108
3102
  */
3109
- TrainingParameters?: {
3110
- [key: string]: string;
3111
- };
3103
+ TrainingParameters?: Record<string, string>;
3112
3104
  /**
3113
3105
  * <p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>
3114
3106
  */
@@ -3202,9 +3194,7 @@ export interface PredictInput {
3202
3194
  /**
3203
3195
  * <p>A map of variable name-value pairs that represent an observation.</p>
3204
3196
  */
3205
- Record: {
3206
- [key: string]: string;
3207
- } | undefined;
3197
+ Record: Record<string, string> | undefined;
3208
3198
  PredictEndpoint: string | undefined;
3209
3199
  }
3210
3200
  export declare namespace PredictInput {
@@ -3272,15 +3262,11 @@ export interface Prediction {
3272
3262
  /**
3273
3263
  * <p>Provides the raw classification score corresponding to each label.</p>
3274
3264
  */
3275
- predictedScores?: {
3276
- [key: string]: number;
3277
- };
3265
+ predictedScores?: Record<string, number>;
3278
3266
  /**
3279
3267
  * <p>Provides any additional details regarding the prediction.</p>
3280
3268
  */
3281
- details?: {
3282
- [key: string]: string;
3283
- };
3269
+ details?: Record<string, string>;
3284
3270
  }
3285
3271
  export declare namespace Prediction {
3286
3272
  /**
@@ -330,9 +330,7 @@ export interface CreateMLModelInput {
330
330
 
331
331
  MLModelType: MLModelType | string | undefined;
332
332
 
333
- Parameters?: {
334
- [key: string]: string;
335
- };
333
+ Parameters?: Record<string, string>;
336
334
 
337
335
  TrainingDataSourceId: string | undefined;
338
336
 
@@ -764,9 +762,7 @@ export declare namespace DescribeEvaluationsInput {
764
762
  }
765
763
 
766
764
  export interface PerformanceMetrics {
767
- Properties?: {
768
- [key: string]: string;
769
- };
765
+ Properties?: Record<string, string>;
770
766
  }
771
767
  export declare namespace PerformanceMetrics {
772
768
 
@@ -879,9 +875,7 @@ export interface MLModel {
879
875
 
880
876
  EndpointInfo?: RealtimeEndpointInfo;
881
877
 
882
- TrainingParameters?: {
883
- [key: string]: string;
884
- };
878
+ TrainingParameters?: Record<string, string>;
885
879
 
886
880
  InputDataLocationS3?: string;
887
881
 
@@ -1120,9 +1114,7 @@ export interface GetMLModelOutput {
1120
1114
 
1121
1115
  EndpointInfo?: RealtimeEndpointInfo;
1122
1116
 
1123
- TrainingParameters?: {
1124
- [key: string]: string;
1125
- };
1117
+ TrainingParameters?: Record<string, string>;
1126
1118
 
1127
1119
  InputDataLocationS3?: string;
1128
1120
 
@@ -1162,9 +1154,7 @@ export interface PredictInput {
1162
1154
 
1163
1155
  MLModelId: string | undefined;
1164
1156
 
1165
- Record: {
1166
- [key: string]: string;
1167
- } | undefined;
1157
+ Record: Record<string, string> | undefined;
1168
1158
  PredictEndpoint: string | undefined;
1169
1159
  }
1170
1160
  export declare namespace PredictInput {
@@ -1189,13 +1179,9 @@ export interface Prediction {
1189
1179
 
1190
1180
  predictedValue?: number;
1191
1181
 
1192
- predictedScores?: {
1193
- [key: string]: number;
1194
- };
1182
+ predictedScores?: Record<string, number>;
1195
1183
 
1196
- details?: {
1197
- [key: string]: string;
1198
- };
1184
+ details?: Record<string, string>;
1199
1185
  }
1200
1186
  export declare namespace Prediction {
1201
1187
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-machine-learning",
3
3
  "description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.110.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,38 +18,39 @@
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",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-sdk-machinelearning": "3.78.0",
32
- "@aws-sdk/middleware-serde": "3.78.0",
33
- "@aws-sdk/middleware-signing": "3.78.0",
34
- "@aws-sdk/middleware-stack": "3.78.0",
35
- "@aws-sdk/middleware-user-agent": "3.78.0",
36
- "@aws-sdk/node-config-provider": "3.80.0",
37
- "@aws-sdk/node-http-handler": "3.94.0",
38
- "@aws-sdk/protocol-http": "3.78.0",
39
- "@aws-sdk/smithy-client": "3.99.0",
40
- "@aws-sdk/types": "3.78.0",
41
- "@aws-sdk/url-parser": "3.78.0",
42
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-sdk-machinelearning": "3.110.0",
33
+ "@aws-sdk/middleware-serde": "3.110.0",
34
+ "@aws-sdk/middleware-signing": "3.110.0",
35
+ "@aws-sdk/middleware-stack": "3.110.0",
36
+ "@aws-sdk/middleware-user-agent": "3.110.0",
37
+ "@aws-sdk/node-config-provider": "3.110.0",
38
+ "@aws-sdk/node-http-handler": "3.110.0",
39
+ "@aws-sdk/protocol-http": "3.110.0",
40
+ "@aws-sdk/smithy-client": "3.110.0",
41
+ "@aws-sdk/types": "3.110.0",
42
+ "@aws-sdk/url-parser": "3.110.0",
43
+ "@aws-sdk/util-base64-browser": "3.109.0",
43
44
  "@aws-sdk/util-base64-node": "3.55.0",
44
45
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
46
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
48
- "@aws-sdk/util-user-agent-browser": "3.78.0",
49
- "@aws-sdk/util-user-agent-node": "3.80.0",
50
- "@aws-sdk/util-utf8-browser": "3.55.0",
51
- "@aws-sdk/util-utf8-node": "3.55.0",
52
- "@aws-sdk/util-waiter": "3.78.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
50
+ "@aws-sdk/util-user-agent-node": "3.110.0",
51
+ "@aws-sdk/util-utf8-browser": "3.109.0",
52
+ "@aws-sdk/util-utf8-node": "3.109.0",
53
+ "@aws-sdk/util-waiter": "3.110.0",
53
54
  "tslib": "^2.3.1"
54
55
  },
55
56
  "devDependencies": {