@aws-sdk/client-machine-learning 3.934.0 → 3.935.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/dist-cjs/index.js +76 -75
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +75 -0
- package/dist-es/models/errors.js +107 -0
- package/dist-es/models/models_0.js +1 -182
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +163 -0
- package/dist-types/models/errors.d.ts +101 -0
- package/dist-types/models/models_0.d.ts +1 -264
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +93 -0
- package/dist-types/ts3.4/models/errors.d.ts +66 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -159
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
|
|
3
|
+
export declare class InternalServerException extends __BaseException {
|
|
4
|
+
readonly name: "InternalServerException";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
code?: number | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InvalidInputException extends __BaseException {
|
|
12
|
+
readonly name: "InvalidInputException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
code?: number | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InvalidTagException extends __BaseException {
|
|
20
|
+
readonly name: "InvalidTagException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<InvalidTagException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
readonly name: "ResourceNotFoundException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
code?: number | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class TagLimitExceededException extends __BaseException {
|
|
35
|
+
readonly name: "TagLimitExceededException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
42
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
code?: number | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<
|
|
47
|
+
IdempotentParameterMismatchException,
|
|
48
|
+
__BaseException
|
|
49
|
+
>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class LimitExceededException extends __BaseException {
|
|
53
|
+
readonly name: "LimitExceededException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
code?: number | undefined;
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class PredictorNotMountedException extends __BaseException {
|
|
61
|
+
readonly name: "PredictorNotMountedException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
constructor(
|
|
64
|
+
opts: __ExceptionOptionType<PredictorNotMountedException, __BaseException>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import {
|
|
2
|
+
Algorithm,
|
|
3
|
+
BatchPredictionFilterVariable,
|
|
4
|
+
DataSourceFilterVariable,
|
|
5
|
+
DetailsAttributes,
|
|
6
|
+
EntityStatus,
|
|
7
|
+
EvaluationFilterVariable,
|
|
8
|
+
MLModelFilterVariable,
|
|
9
|
+
MLModelType,
|
|
10
|
+
RealtimeEndpointStatus,
|
|
11
|
+
SortOrder,
|
|
12
|
+
TaggableResourceType,
|
|
13
|
+
} from "./enums";
|
|
11
14
|
export interface Tag {
|
|
12
15
|
Key?: string | undefined;
|
|
13
16
|
Value?: string | undefined;
|
|
@@ -21,48 +24,6 @@ export interface AddTagsOutput {
|
|
|
21
24
|
ResourceId?: string | undefined;
|
|
22
25
|
ResourceType?: TaggableResourceType | undefined;
|
|
23
26
|
}
|
|
24
|
-
export declare class InternalServerException extends __BaseException {
|
|
25
|
-
readonly name: "InternalServerException";
|
|
26
|
-
readonly $fault: "server";
|
|
27
|
-
code?: number | undefined;
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
export declare class InvalidInputException extends __BaseException {
|
|
33
|
-
readonly name: "InvalidInputException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
code?: number | undefined;
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
export declare class InvalidTagException extends __BaseException {
|
|
41
|
-
readonly name: "InvalidTagException";
|
|
42
|
-
readonly $fault: "client";
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<InvalidTagException, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
48
|
-
readonly name: "ResourceNotFoundException";
|
|
49
|
-
readonly $fault: "client";
|
|
50
|
-
code?: number | undefined;
|
|
51
|
-
constructor(
|
|
52
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
export declare class TagLimitExceededException extends __BaseException {
|
|
56
|
-
readonly name: "TagLimitExceededException";
|
|
57
|
-
readonly $fault: "client";
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
export declare const Algorithm: {
|
|
63
|
-
readonly SGD: "sgd";
|
|
64
|
-
};
|
|
65
|
-
export type Algorithm = (typeof Algorithm)[keyof typeof Algorithm];
|
|
66
27
|
export interface CreateBatchPredictionInput {
|
|
67
28
|
BatchPredictionId: string | undefined;
|
|
68
29
|
BatchPredictionName?: string | undefined;
|
|
@@ -73,17 +34,6 @@ export interface CreateBatchPredictionInput {
|
|
|
73
34
|
export interface CreateBatchPredictionOutput {
|
|
74
35
|
BatchPredictionId?: string | undefined;
|
|
75
36
|
}
|
|
76
|
-
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
77
|
-
readonly name: "IdempotentParameterMismatchException";
|
|
78
|
-
readonly $fault: "client";
|
|
79
|
-
code?: number | undefined;
|
|
80
|
-
constructor(
|
|
81
|
-
opts: __ExceptionOptionType<
|
|
82
|
-
IdempotentParameterMismatchException,
|
|
83
|
-
__BaseException
|
|
84
|
-
>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
37
|
export interface RDSDatabaseCredentials {
|
|
88
38
|
Username: string | undefined;
|
|
89
39
|
Password: string | undefined;
|
|
@@ -166,12 +116,6 @@ export interface CreateEvaluationInput {
|
|
|
166
116
|
export interface CreateEvaluationOutput {
|
|
167
117
|
EvaluationId?: string | undefined;
|
|
168
118
|
}
|
|
169
|
-
export declare const MLModelType: {
|
|
170
|
-
readonly BINARY: "BINARY";
|
|
171
|
-
readonly MULTICLASS: "MULTICLASS";
|
|
172
|
-
readonly REGRESSION: "REGRESSION";
|
|
173
|
-
};
|
|
174
|
-
export type MLModelType = (typeof MLModelType)[keyof typeof MLModelType];
|
|
175
119
|
export interface CreateMLModelInput {
|
|
176
120
|
MLModelId: string | undefined;
|
|
177
121
|
MLModelName?: string | undefined;
|
|
@@ -187,14 +131,6 @@ export interface CreateMLModelOutput {
|
|
|
187
131
|
export interface CreateRealtimeEndpointInput {
|
|
188
132
|
MLModelId: string | undefined;
|
|
189
133
|
}
|
|
190
|
-
export declare const RealtimeEndpointStatus: {
|
|
191
|
-
readonly FAILED: "FAILED";
|
|
192
|
-
readonly NONE: "NONE";
|
|
193
|
-
readonly READY: "READY";
|
|
194
|
-
readonly UPDATING: "UPDATING";
|
|
195
|
-
};
|
|
196
|
-
export type RealtimeEndpointStatus =
|
|
197
|
-
(typeof RealtimeEndpointStatus)[keyof typeof RealtimeEndpointStatus];
|
|
198
134
|
export interface RealtimeEndpointInfo {
|
|
199
135
|
PeakRequestsPerSecond?: number | undefined;
|
|
200
136
|
CreatedAt?: Date | undefined;
|
|
@@ -245,23 +181,6 @@ export interface DeleteTagsOutput {
|
|
|
245
181
|
ResourceId?: string | undefined;
|
|
246
182
|
ResourceType?: TaggableResourceType | undefined;
|
|
247
183
|
}
|
|
248
|
-
export declare const BatchPredictionFilterVariable: {
|
|
249
|
-
readonly CREATED_AT: "CreatedAt";
|
|
250
|
-
readonly DATASOURCE_ID: "DataSourceId";
|
|
251
|
-
readonly DATA_URI: "DataURI";
|
|
252
|
-
readonly IAM_USER: "IAMUser";
|
|
253
|
-
readonly LAST_UPDATED_AT: "LastUpdatedAt";
|
|
254
|
-
readonly ML_MODEL_ID: "MLModelId";
|
|
255
|
-
readonly NAME: "Name";
|
|
256
|
-
readonly STATUS: "Status";
|
|
257
|
-
};
|
|
258
|
-
export type BatchPredictionFilterVariable =
|
|
259
|
-
(typeof BatchPredictionFilterVariable)[keyof typeof BatchPredictionFilterVariable];
|
|
260
|
-
export declare const SortOrder: {
|
|
261
|
-
readonly ASC: "asc";
|
|
262
|
-
readonly DSC: "dsc";
|
|
263
|
-
};
|
|
264
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
265
184
|
export interface DescribeBatchPredictionsInput {
|
|
266
185
|
FilterVariable?: BatchPredictionFilterVariable | undefined;
|
|
267
186
|
EQ?: string | undefined;
|
|
@@ -275,14 +194,6 @@ export interface DescribeBatchPredictionsInput {
|
|
|
275
194
|
NextToken?: string | undefined;
|
|
276
195
|
Limit?: number | undefined;
|
|
277
196
|
}
|
|
278
|
-
export declare const EntityStatus: {
|
|
279
|
-
readonly COMPLETED: "COMPLETED";
|
|
280
|
-
readonly DELETED: "DELETED";
|
|
281
|
-
readonly FAILED: "FAILED";
|
|
282
|
-
readonly INPROGRESS: "INPROGRESS";
|
|
283
|
-
readonly PENDING: "PENDING";
|
|
284
|
-
};
|
|
285
|
-
export type EntityStatus = (typeof EntityStatus)[keyof typeof EntityStatus];
|
|
286
197
|
export interface BatchPrediction {
|
|
287
198
|
BatchPredictionId?: string | undefined;
|
|
288
199
|
MLModelId?: string | undefined;
|
|
@@ -305,16 +216,6 @@ export interface DescribeBatchPredictionsOutput {
|
|
|
305
216
|
Results?: BatchPrediction[] | undefined;
|
|
306
217
|
NextToken?: string | undefined;
|
|
307
218
|
}
|
|
308
|
-
export declare const DataSourceFilterVariable: {
|
|
309
|
-
readonly CREATED_AT: "CreatedAt";
|
|
310
|
-
readonly DATA_URI: "DataLocationS3";
|
|
311
|
-
readonly IAM_USER: "IAMUser";
|
|
312
|
-
readonly LAST_UPDATED_AT: "LastUpdatedAt";
|
|
313
|
-
readonly NAME: "Name";
|
|
314
|
-
readonly STATUS: "Status";
|
|
315
|
-
};
|
|
316
|
-
export type DataSourceFilterVariable =
|
|
317
|
-
(typeof DataSourceFilterVariable)[keyof typeof DataSourceFilterVariable];
|
|
318
219
|
export interface DescribeDataSourcesInput {
|
|
319
220
|
FilterVariable?: DataSourceFilterVariable | undefined;
|
|
320
221
|
EQ?: string | undefined;
|
|
@@ -365,18 +266,6 @@ export interface DescribeDataSourcesOutput {
|
|
|
365
266
|
Results?: DataSource[] | undefined;
|
|
366
267
|
NextToken?: string | undefined;
|
|
367
268
|
}
|
|
368
|
-
export declare const EvaluationFilterVariable: {
|
|
369
|
-
readonly CREATED_AT: "CreatedAt";
|
|
370
|
-
readonly DATASOURCE_ID: "DataSourceId";
|
|
371
|
-
readonly DATA_URI: "DataURI";
|
|
372
|
-
readonly IAM_USER: "IAMUser";
|
|
373
|
-
readonly LAST_UPDATED_AT: "LastUpdatedAt";
|
|
374
|
-
readonly ML_MODEL_ID: "MLModelId";
|
|
375
|
-
readonly NAME: "Name";
|
|
376
|
-
readonly STATUS: "Status";
|
|
377
|
-
};
|
|
378
|
-
export type EvaluationFilterVariable =
|
|
379
|
-
(typeof EvaluationFilterVariable)[keyof typeof EvaluationFilterVariable];
|
|
380
269
|
export interface DescribeEvaluationsInput {
|
|
381
270
|
FilterVariable?: EvaluationFilterVariable | undefined;
|
|
382
271
|
EQ?: string | undefined;
|
|
@@ -413,20 +302,6 @@ export interface DescribeEvaluationsOutput {
|
|
|
413
302
|
Results?: Evaluation[] | undefined;
|
|
414
303
|
NextToken?: string | undefined;
|
|
415
304
|
}
|
|
416
|
-
export declare const MLModelFilterVariable: {
|
|
417
|
-
readonly ALGORITHM: "Algorithm";
|
|
418
|
-
readonly CREATED_AT: "CreatedAt";
|
|
419
|
-
readonly IAM_USER: "IAMUser";
|
|
420
|
-
readonly LAST_UPDATED_AT: "LastUpdatedAt";
|
|
421
|
-
readonly ML_MODEL_TYPE: "MLModelType";
|
|
422
|
-
readonly NAME: "Name";
|
|
423
|
-
readonly REAL_TIME_ENDPOINT_STATUS: "RealtimeEndpointStatus";
|
|
424
|
-
readonly STATUS: "Status";
|
|
425
|
-
readonly TRAINING_DATASOURCE_ID: "TrainingDataSourceId";
|
|
426
|
-
readonly TRAINING_DATA_URI: "TrainingDataURI";
|
|
427
|
-
};
|
|
428
|
-
export type MLModelFilterVariable =
|
|
429
|
-
(typeof MLModelFilterVariable)[keyof typeof MLModelFilterVariable];
|
|
430
305
|
export interface DescribeMLModelsInput {
|
|
431
306
|
FilterVariable?: MLModelFilterVariable | undefined;
|
|
432
307
|
EQ?: string | undefined;
|
|
@@ -569,32 +444,11 @@ export interface GetMLModelOutput {
|
|
|
569
444
|
Recipe?: string | undefined;
|
|
570
445
|
Schema?: string | undefined;
|
|
571
446
|
}
|
|
572
|
-
export declare class LimitExceededException extends __BaseException {
|
|
573
|
-
readonly name: "LimitExceededException";
|
|
574
|
-
readonly $fault: "client";
|
|
575
|
-
code?: number | undefined;
|
|
576
|
-
constructor(
|
|
577
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
578
|
-
);
|
|
579
|
-
}
|
|
580
447
|
export interface PredictInput {
|
|
581
448
|
MLModelId: string | undefined;
|
|
582
449
|
Record: Record<string, string> | undefined;
|
|
583
450
|
PredictEndpoint: string | undefined;
|
|
584
451
|
}
|
|
585
|
-
export declare class PredictorNotMountedException extends __BaseException {
|
|
586
|
-
readonly name: "PredictorNotMountedException";
|
|
587
|
-
readonly $fault: "client";
|
|
588
|
-
constructor(
|
|
589
|
-
opts: __ExceptionOptionType<PredictorNotMountedException, __BaseException>
|
|
590
|
-
);
|
|
591
|
-
}
|
|
592
|
-
export declare const DetailsAttributes: {
|
|
593
|
-
readonly ALGORITHM: "Algorithm";
|
|
594
|
-
readonly PREDICTIVE_MODEL_TYPE: "PredictiveModelType";
|
|
595
|
-
};
|
|
596
|
-
export type DetailsAttributes =
|
|
597
|
-
(typeof DetailsAttributes)[keyof typeof DetailsAttributes];
|
|
598
452
|
export interface Prediction {
|
|
599
453
|
predictedLabel?: string | undefined;
|
|
600
454
|
predictedValue?: number | undefined;
|
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.935.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-machine-learning",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
28
|
"@aws-sdk/middleware-sdk-machinelearning": "3.930.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
31
31
|
"@aws-sdk/types": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
36
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
38
38
|
"@smithy/hash-node": "^4.2.5",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
48
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
49
49
|
"@smithy/types": "^4.9.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.5",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
58
58
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|