@aws-sdk/client-machine-learning 3.1148.0 → 3.1149.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 CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1147.0";
73
+ var version = "3.1148.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -133,6 +133,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
133
133
  customEndpointFunctions.aws = awsEndpointFunctions;
134
134
 
135
135
  class MachineLearningServiceException extends ServiceException {
136
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning#MachineLearningServiceException";
136
137
  constructor(options) {
137
138
  super(options);
138
139
  Object.setPrototypeOf(this, MachineLearningServiceException.prototype);
@@ -140,6 +141,7 @@ class MachineLearningServiceException extends ServiceException {
140
141
  }
141
142
 
142
143
  class InternalServerException extends MachineLearningServiceException {
144
+ static shapeId = "com.amazonaws.machinelearning#InternalServerException";
143
145
  name = "InternalServerException";
144
146
  $fault = "server";
145
147
  code;
@@ -154,6 +156,7 @@ class InternalServerException extends MachineLearningServiceException {
154
156
  }
155
157
  }
156
158
  class InvalidInputException extends MachineLearningServiceException {
159
+ static shapeId = "com.amazonaws.machinelearning#InvalidInputException";
157
160
  name = "InvalidInputException";
158
161
  $fault = "client";
159
162
  code;
@@ -168,6 +171,7 @@ class InvalidInputException extends MachineLearningServiceException {
168
171
  }
169
172
  }
170
173
  class InvalidTagException extends MachineLearningServiceException {
174
+ static shapeId = "com.amazonaws.machinelearning#InvalidTagException";
171
175
  name = "InvalidTagException";
172
176
  $fault = "client";
173
177
  constructor(opts) {
@@ -180,6 +184,7 @@ class InvalidTagException extends MachineLearningServiceException {
180
184
  }
181
185
  }
182
186
  class ResourceNotFoundException extends MachineLearningServiceException {
187
+ static shapeId = "com.amazonaws.machinelearning#ResourceNotFoundException";
183
188
  name = "ResourceNotFoundException";
184
189
  $fault = "client";
185
190
  code;
@@ -194,6 +199,7 @@ class ResourceNotFoundException extends MachineLearningServiceException {
194
199
  }
195
200
  }
196
201
  class TagLimitExceededException extends MachineLearningServiceException {
202
+ static shapeId = "com.amazonaws.machinelearning#TagLimitExceededException";
197
203
  name = "TagLimitExceededException";
198
204
  $fault = "client";
199
205
  constructor(opts) {
@@ -206,6 +212,7 @@ class TagLimitExceededException extends MachineLearningServiceException {
206
212
  }
207
213
  }
208
214
  class IdempotentParameterMismatchException extends MachineLearningServiceException {
215
+ static shapeId = "com.amazonaws.machinelearning#IdempotentParameterMismatchException";
209
216
  name = "IdempotentParameterMismatchException";
210
217
  $fault = "client";
211
218
  code;
@@ -220,6 +227,7 @@ class IdempotentParameterMismatchException extends MachineLearningServiceExcepti
220
227
  }
221
228
  }
222
229
  class LimitExceededException extends MachineLearningServiceException {
230
+ static shapeId = "com.amazonaws.machinelearning#LimitExceededException";
223
231
  name = "LimitExceededException";
224
232
  $fault = "client";
225
233
  code;
@@ -234,6 +242,7 @@ class LimitExceededException extends MachineLearningServiceException {
234
242
  }
235
243
  }
236
244
  class PredictorNotMountedException extends MachineLearningServiceException {
245
+ static shapeId = "com.amazonaws.machinelearning#PredictorNotMountedException";
237
246
  name = "PredictorNotMountedException";
238
247
  $fault = "client";
239
248
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class MachineLearningServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning#MachineLearningServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, MachineLearningServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
2
2
  export class InternalServerException extends __BaseException {
3
+ static shapeId = "com.amazonaws.machinelearning#InternalServerException";
3
4
  name = "InternalServerException";
4
5
  $fault = "server";
5
6
  code;
@@ -14,6 +15,7 @@ export class InternalServerException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class InvalidInputException extends __BaseException {
18
+ static shapeId = "com.amazonaws.machinelearning#InvalidInputException";
17
19
  name = "InvalidInputException";
18
20
  $fault = "client";
19
21
  code;
@@ -28,6 +30,7 @@ export class InvalidInputException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class InvalidTagException extends __BaseException {
33
+ static shapeId = "com.amazonaws.machinelearning#InvalidTagException";
31
34
  name = "InvalidTagException";
32
35
  $fault = "client";
33
36
  constructor(opts) {
@@ -40,6 +43,7 @@ export class InvalidTagException extends __BaseException {
40
43
  }
41
44
  }
42
45
  export class ResourceNotFoundException extends __BaseException {
46
+ static shapeId = "com.amazonaws.machinelearning#ResourceNotFoundException";
43
47
  name = "ResourceNotFoundException";
44
48
  $fault = "client";
45
49
  code;
@@ -54,6 +58,7 @@ export class ResourceNotFoundException extends __BaseException {
54
58
  }
55
59
  }
56
60
  export class TagLimitExceededException extends __BaseException {
61
+ static shapeId = "com.amazonaws.machinelearning#TagLimitExceededException";
57
62
  name = "TagLimitExceededException";
58
63
  $fault = "client";
59
64
  constructor(opts) {
@@ -66,6 +71,7 @@ export class TagLimitExceededException extends __BaseException {
66
71
  }
67
72
  }
68
73
  export class IdempotentParameterMismatchException extends __BaseException {
74
+ static shapeId = "com.amazonaws.machinelearning#IdempotentParameterMismatchException";
69
75
  name = "IdempotentParameterMismatchException";
70
76
  $fault = "client";
71
77
  code;
@@ -80,6 +86,7 @@ export class IdempotentParameterMismatchException extends __BaseException {
80
86
  }
81
87
  }
82
88
  export class LimitExceededException extends __BaseException {
89
+ static shapeId = "com.amazonaws.machinelearning#LimitExceededException";
83
90
  name = "LimitExceededException";
84
91
  $fault = "client";
85
92
  code;
@@ -94,6 +101,7 @@ export class LimitExceededException extends __BaseException {
94
101
  }
95
102
  }
96
103
  export class PredictorNotMountedException extends __BaseException {
104
+ static shapeId = "com.amazonaws.machinelearning#PredictorNotMountedException";
97
105
  name = "PredictorNotMountedException";
98
106
  $fault = "client";
99
107
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from MachineLearning service.
8
8
  */
9
9
  export declare class MachineLearningServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { MachineLearningServiceException as __BaseException } from "./MachineLea
5
5
  * @public
6
6
  */
7
7
  export declare class InternalServerException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "InternalServerException";
9
10
  readonly $fault: "server";
10
11
  code?: number | undefined;
@@ -18,6 +19,7 @@ export declare class InternalServerException extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class InvalidInputException extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "InvalidInputException";
22
24
  readonly $fault: "client";
23
25
  code?: number | undefined;
@@ -30,6 +32,7 @@ export declare class InvalidInputException extends __BaseException {
30
32
  * @public
31
33
  */
32
34
  export declare class InvalidTagException extends __BaseException {
35
+ static readonly shapeId: string;
33
36
  readonly name: "InvalidTagException";
34
37
  readonly $fault: "client";
35
38
  /**
@@ -42,6 +45,7 @@ export declare class InvalidTagException extends __BaseException {
42
45
  * @public
43
46
  */
44
47
  export declare class ResourceNotFoundException extends __BaseException {
48
+ static readonly shapeId: string;
45
49
  readonly name: "ResourceNotFoundException";
46
50
  readonly $fault: "client";
47
51
  code?: number | undefined;
@@ -54,6 +58,7 @@ export declare class ResourceNotFoundException extends __BaseException {
54
58
  * @public
55
59
  */
56
60
  export declare class TagLimitExceededException extends __BaseException {
61
+ static readonly shapeId: string;
57
62
  readonly name: "TagLimitExceededException";
58
63
  readonly $fault: "client";
59
64
  /**
@@ -66,6 +71,7 @@ export declare class TagLimitExceededException extends __BaseException {
66
71
  * @public
67
72
  */
68
73
  export declare class IdempotentParameterMismatchException extends __BaseException {
74
+ static readonly shapeId: string;
69
75
  readonly name: "IdempotentParameterMismatchException";
70
76
  readonly $fault: "client";
71
77
  code?: number | undefined;
@@ -79,6 +85,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
79
85
  * @public
80
86
  */
81
87
  export declare class LimitExceededException extends __BaseException {
88
+ static readonly shapeId: string;
82
89
  readonly name: "LimitExceededException";
83
90
  readonly $fault: "client";
84
91
  code?: number | undefined;
@@ -92,6 +99,7 @@ export declare class LimitExceededException extends __BaseException {
92
99
  * @public
93
100
  */
94
101
  export declare class PredictorNotMountedException extends __BaseException {
102
+ static readonly shapeId: string;
95
103
  readonly name: "PredictorNotMountedException";
96
104
  readonly $fault: "client";
97
105
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class MachineLearningServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,46 +1,54 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { MachineLearningServiceException as __BaseException } from "./MachineLearningServiceException";
3
3
  export declare class InternalServerException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "InternalServerException";
5
6
  readonly $fault: "server";
6
7
  code?: number | undefined;
7
8
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
8
9
  }
9
10
  export declare class InvalidInputException extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "InvalidInputException";
11
13
  readonly $fault: "client";
12
14
  code?: number | undefined;
13
15
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
14
16
  }
15
17
  export declare class InvalidTagException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "InvalidTagException";
17
20
  readonly $fault: "client";
18
21
  constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
19
22
  }
20
23
  export declare class ResourceNotFoundException extends __BaseException {
24
+ static readonly shapeId: string;
21
25
  readonly name: "ResourceNotFoundException";
22
26
  readonly $fault: "client";
23
27
  code?: number | undefined;
24
28
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
25
29
  }
26
30
  export declare class TagLimitExceededException extends __BaseException {
31
+ static readonly shapeId: string;
27
32
  readonly name: "TagLimitExceededException";
28
33
  readonly $fault: "client";
29
34
  constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
30
35
  }
31
36
  export declare class IdempotentParameterMismatchException extends __BaseException {
37
+ static readonly shapeId: string;
32
38
  readonly name: "IdempotentParameterMismatchException";
33
39
  readonly $fault: "client";
34
40
  code?: number | undefined;
35
41
  constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
36
42
  }
37
43
  export declare class LimitExceededException extends __BaseException {
44
+ static readonly shapeId: string;
38
45
  readonly name: "LimitExceededException";
39
46
  readonly $fault: "client";
40
47
  code?: number | undefined;
41
48
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
42
49
  }
43
50
  export declare class PredictorNotMountedException extends __BaseException {
51
+ static readonly shapeId: string;
44
52
  readonly name: "PredictorNotMountedException";
45
53
  readonly $fault: "client";
46
54
  constructor(opts: __ExceptionOptionType<PredictorNotMountedException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-machine-learning",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-machine-learning",
6
6
  "license": "Apache-2.0",
@@ -46,11 +46,11 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
51
- "@aws-sdk/middleware-sdk-machinelearning": "^3.972.30",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
+ "@aws-sdk/middleware-sdk-machinelearning": "^3.972.31",
52
52
  "@aws-sdk/types": "^3.974.6",
53
- "@smithy/core": "^3.35.0",
53
+ "@smithy/core": "^3.35.2",
54
54
  "@smithy/fetch-http-handler": "^5.8.0",
55
55
  "@smithy/node-http-handler": "^4.12.1",
56
56
  "@smithy/types": "^4.19.0",