@aws-sdk/client-machine-learning 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/MachineLearningServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +112 -2
- package/dist-cjs/protocols/Aws_json1_1.js +233 -835
- package/dist-es/index.js +1 -0
- package/dist-es/models/MachineLearningServiceException.js +12 -0
- package/dist-es/models/models_0.js +103 -1
- package/dist-es/protocols/Aws_json1_1.js +543 -932
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MachineLearningServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MachineLearningServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/package.json +27 -27
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 MachineLearning service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MachineLearningServiceException 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 { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
|
|
2
3
|
export declare enum TaggableResourceType {
|
|
3
4
|
BATCH_PREDICTION = "BatchPrediction",
|
|
4
5
|
DATASOURCE = "DataSource",
|
|
@@ -66,39 +67,54 @@ export declare namespace AddTagsOutput {
|
|
|
66
67
|
/**
|
|
67
68
|
* <p>An error on the server occurred when trying to process a request.</p>
|
|
68
69
|
*/
|
|
69
|
-
export
|
|
70
|
-
name: "InternalServerException";
|
|
71
|
-
$fault: "server";
|
|
72
|
-
message?: string;
|
|
70
|
+
export declare class InternalServerException extends __BaseException {
|
|
71
|
+
readonly name: "InternalServerException";
|
|
72
|
+
readonly $fault: "server";
|
|
73
73
|
code?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
74
78
|
}
|
|
75
79
|
/**
|
|
76
80
|
* <p>An error on the client occurred. Typically, the cause is an invalid input value.</p>
|
|
77
81
|
*/
|
|
78
|
-
export
|
|
79
|
-
name: "InvalidInputException";
|
|
80
|
-
$fault: "client";
|
|
81
|
-
message?: string;
|
|
82
|
+
export declare class InvalidInputException extends __BaseException {
|
|
83
|
+
readonly name: "InvalidInputException";
|
|
84
|
+
readonly $fault: "client";
|
|
82
85
|
code?: number;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
83
90
|
}
|
|
84
|
-
export
|
|
85
|
-
name: "InvalidTagException";
|
|
86
|
-
$fault: "client";
|
|
87
|
-
|
|
91
|
+
export declare class InvalidTagException extends __BaseException {
|
|
92
|
+
readonly name: "InvalidTagException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
|
|
88
98
|
}
|
|
89
99
|
/**
|
|
90
100
|
* <p>A specified resource cannot be located.</p>
|
|
91
101
|
*/
|
|
92
|
-
export
|
|
93
|
-
name: "ResourceNotFoundException";
|
|
94
|
-
$fault: "client";
|
|
95
|
-
message?: string;
|
|
102
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
103
|
+
readonly name: "ResourceNotFoundException";
|
|
104
|
+
readonly $fault: "client";
|
|
96
105
|
code?: number;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
97
110
|
}
|
|
98
|
-
export
|
|
99
|
-
name: "TagLimitExceededException";
|
|
100
|
-
$fault: "client";
|
|
101
|
-
|
|
111
|
+
export declare class TagLimitExceededException extends __BaseException {
|
|
112
|
+
readonly name: "TagLimitExceededException";
|
|
113
|
+
readonly $fault: "client";
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
102
118
|
}
|
|
103
119
|
export declare enum Algorithm {
|
|
104
120
|
SGD = "sgd"
|
|
@@ -155,11 +171,14 @@ export declare namespace CreateBatchPredictionOutput {
|
|
|
155
171
|
/**
|
|
156
172
|
* <p>A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.</p>
|
|
157
173
|
*/
|
|
158
|
-
export
|
|
159
|
-
name: "IdempotentParameterMismatchException";
|
|
160
|
-
$fault: "client";
|
|
161
|
-
message?: string;
|
|
174
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
175
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
176
|
+
readonly $fault: "client";
|
|
162
177
|
code?: number;
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
*/
|
|
181
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
163
182
|
}
|
|
164
183
|
/**
|
|
165
184
|
* <p>The database credentials to connect to a database on an RDS DB instance.</p>
|
|
@@ -3166,11 +3185,14 @@ export declare namespace GetMLModelOutput {
|
|
|
3166
3185
|
/**
|
|
3167
3186
|
* <p>The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as <code>DataSource</code>.</p>
|
|
3168
3187
|
*/
|
|
3169
|
-
export
|
|
3170
|
-
name: "LimitExceededException";
|
|
3171
|
-
$fault: "client";
|
|
3172
|
-
message?: string;
|
|
3188
|
+
export declare class LimitExceededException extends __BaseException {
|
|
3189
|
+
readonly name: "LimitExceededException";
|
|
3190
|
+
readonly $fault: "client";
|
|
3173
3191
|
code?: number;
|
|
3192
|
+
/**
|
|
3193
|
+
* @internal
|
|
3194
|
+
*/
|
|
3195
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
3174
3196
|
}
|
|
3175
3197
|
export interface PredictInput {
|
|
3176
3198
|
/**
|
|
@@ -3194,10 +3216,13 @@ export declare namespace PredictInput {
|
|
|
3194
3216
|
/**
|
|
3195
3217
|
* <p>The exception is thrown when a predict request is made to an unmounted <code>MLModel</code>.</p>
|
|
3196
3218
|
*/
|
|
3197
|
-
export
|
|
3198
|
-
name: "PredictorNotMountedException";
|
|
3199
|
-
$fault: "client";
|
|
3200
|
-
|
|
3219
|
+
export declare class PredictorNotMountedException extends __BaseException {
|
|
3220
|
+
readonly name: "PredictorNotMountedException";
|
|
3221
|
+
readonly $fault: "client";
|
|
3222
|
+
/**
|
|
3223
|
+
* @internal
|
|
3224
|
+
*/
|
|
3225
|
+
constructor(opts: __ExceptionOptionType<PredictorNotMountedException, __BaseException>);
|
|
3201
3226
|
}
|
|
3202
3227
|
export declare enum DetailsAttributes {
|
|
3203
3228
|
ALGORITHM = "Algorithm",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class MachineLearningServiceException 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 { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
|
|
2
3
|
export declare enum TaggableResourceType {
|
|
3
4
|
BATCH_PREDICTION = "BatchPrediction",
|
|
4
5
|
DATASOURCE = "DataSource",
|
|
@@ -40,35 +41,40 @@ export declare namespace AddTagsOutput {
|
|
|
40
41
|
const filterSensitiveLog: (obj: AddTagsOutput) => any;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
export
|
|
44
|
-
name: "InternalServerException";
|
|
45
|
-
$fault: "server";
|
|
46
|
-
message?: string;
|
|
44
|
+
export declare class InternalServerException extends __BaseException {
|
|
45
|
+
readonly name: "InternalServerException";
|
|
46
|
+
readonly $fault: "server";
|
|
47
47
|
code?: number;
|
|
48
|
+
|
|
49
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
export
|
|
51
|
-
name: "InvalidInputException";
|
|
52
|
-
$fault: "client";
|
|
53
|
-
message?: string;
|
|
52
|
+
export declare class InvalidInputException extends __BaseException {
|
|
53
|
+
readonly name: "InvalidInputException";
|
|
54
|
+
readonly $fault: "client";
|
|
54
55
|
code?: number;
|
|
56
|
+
|
|
57
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
55
58
|
}
|
|
56
|
-
export
|
|
57
|
-
name: "InvalidTagException";
|
|
58
|
-
$fault: "client";
|
|
59
|
-
|
|
59
|
+
export declare class InvalidTagException extends __BaseException {
|
|
60
|
+
readonly name: "InvalidTagException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
|
|
63
|
+
constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
|
|
60
64
|
}
|
|
61
65
|
|
|
62
|
-
export
|
|
63
|
-
name: "ResourceNotFoundException";
|
|
64
|
-
$fault: "client";
|
|
65
|
-
message?: string;
|
|
66
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
readonly name: "ResourceNotFoundException";
|
|
68
|
+
readonly $fault: "client";
|
|
66
69
|
code?: number;
|
|
70
|
+
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
67
72
|
}
|
|
68
|
-
export
|
|
69
|
-
name: "TagLimitExceededException";
|
|
70
|
-
$fault: "client";
|
|
71
|
-
|
|
73
|
+
export declare class TagLimitExceededException extends __BaseException {
|
|
74
|
+
readonly name: "TagLimitExceededException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
|
|
77
|
+
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
72
78
|
}
|
|
73
79
|
export declare enum Algorithm {
|
|
74
80
|
SGD = "sgd"
|
|
@@ -99,11 +105,12 @@ export declare namespace CreateBatchPredictionOutput {
|
|
|
99
105
|
const filterSensitiveLog: (obj: CreateBatchPredictionOutput) => any;
|
|
100
106
|
}
|
|
101
107
|
|
|
102
|
-
export
|
|
103
|
-
name: "IdempotentParameterMismatchException";
|
|
104
|
-
$fault: "client";
|
|
105
|
-
message?: string;
|
|
108
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
109
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
110
|
+
readonly $fault: "client";
|
|
106
111
|
code?: number;
|
|
112
|
+
|
|
113
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
107
114
|
}
|
|
108
115
|
|
|
109
116
|
export interface RDSDatabaseCredentials {
|
|
@@ -1144,11 +1151,12 @@ export declare namespace GetMLModelOutput {
|
|
|
1144
1151
|
const filterSensitiveLog: (obj: GetMLModelOutput) => any;
|
|
1145
1152
|
}
|
|
1146
1153
|
|
|
1147
|
-
export
|
|
1148
|
-
name: "LimitExceededException";
|
|
1149
|
-
$fault: "client";
|
|
1150
|
-
message?: string;
|
|
1154
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1155
|
+
readonly name: "LimitExceededException";
|
|
1156
|
+
readonly $fault: "client";
|
|
1151
1157
|
code?: number;
|
|
1158
|
+
|
|
1159
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1152
1160
|
}
|
|
1153
1161
|
export interface PredictInput {
|
|
1154
1162
|
|
|
@@ -1164,10 +1172,11 @@ export declare namespace PredictInput {
|
|
|
1164
1172
|
const filterSensitiveLog: (obj: PredictInput) => any;
|
|
1165
1173
|
}
|
|
1166
1174
|
|
|
1167
|
-
export
|
|
1168
|
-
name: "PredictorNotMountedException";
|
|
1169
|
-
$fault: "client";
|
|
1170
|
-
|
|
1175
|
+
export declare class PredictorNotMountedException extends __BaseException {
|
|
1176
|
+
readonly name: "PredictorNotMountedException";
|
|
1177
|
+
readonly $fault: "client";
|
|
1178
|
+
|
|
1179
|
+
constructor(opts: __ExceptionOptionType<PredictorNotMountedException, __BaseException>);
|
|
1171
1180
|
}
|
|
1172
1181
|
export declare enum DetailsAttributes {
|
|
1173
1182
|
ALGORITHM = "Algorithm",
|
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.
|
|
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,38 +18,38 @@
|
|
|
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-sdk-machinelearning": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@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-sdk-machinelearning": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
40
|
+
"@aws-sdk/types": "3.53.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
52
|
+
"@aws-sdk/util-waiter": "3.53.0",
|
|
53
53
|
"tslib": "^2.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|