@aws-sdk/client-migration-hub 3.1148.0 → 3.1150.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class MigrationHubServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhub#MigrationHubServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, MigrationHubServiceException.prototype);
@@ -139,6 +140,7 @@ class MigrationHubServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends MigrationHubServiceException {
143
+ static shapeId = "com.amazonaws.migrationhub#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  Message;
@@ -153,6 +155,7 @@ class AccessDeniedException extends MigrationHubServiceException {
153
155
  }
154
156
  }
155
157
  class DryRunOperation extends MigrationHubServiceException {
158
+ static shapeId = "com.amazonaws.migrationhub#DryRunOperation";
156
159
  name = "DryRunOperation";
157
160
  $fault = "client";
158
161
  Message;
@@ -167,6 +170,7 @@ class DryRunOperation extends MigrationHubServiceException {
167
170
  }
168
171
  }
169
172
  class HomeRegionNotSetException extends MigrationHubServiceException {
173
+ static shapeId = "com.amazonaws.migrationhub#HomeRegionNotSetException";
170
174
  name = "HomeRegionNotSetException";
171
175
  $fault = "client";
172
176
  Message;
@@ -181,6 +185,7 @@ class HomeRegionNotSetException extends MigrationHubServiceException {
181
185
  }
182
186
  }
183
187
  class InternalServerError extends MigrationHubServiceException {
188
+ static shapeId = "com.amazonaws.migrationhub#InternalServerError";
184
189
  name = "InternalServerError";
185
190
  $fault = "server";
186
191
  Message;
@@ -195,6 +200,7 @@ class InternalServerError extends MigrationHubServiceException {
195
200
  }
196
201
  }
197
202
  class InvalidInputException extends MigrationHubServiceException {
203
+ static shapeId = "com.amazonaws.migrationhub#InvalidInputException";
198
204
  name = "InvalidInputException";
199
205
  $fault = "client";
200
206
  Message;
@@ -209,6 +215,7 @@ class InvalidInputException extends MigrationHubServiceException {
209
215
  }
210
216
  }
211
217
  class ResourceNotFoundException extends MigrationHubServiceException {
218
+ static shapeId = "com.amazonaws.migrationhub#ResourceNotFoundException";
212
219
  name = "ResourceNotFoundException";
213
220
  $fault = "client";
214
221
  Message;
@@ -223,6 +230,7 @@ class ResourceNotFoundException extends MigrationHubServiceException {
223
230
  }
224
231
  }
225
232
  class ServiceUnavailableException extends MigrationHubServiceException {
233
+ static shapeId = "com.amazonaws.migrationhub#ServiceUnavailableException";
226
234
  name = "ServiceUnavailableException";
227
235
  $fault = "server";
228
236
  Message;
@@ -237,6 +245,7 @@ class ServiceUnavailableException extends MigrationHubServiceException {
237
245
  }
238
246
  }
239
247
  class ThrottlingException extends MigrationHubServiceException {
248
+ static shapeId = "com.amazonaws.migrationhub#ThrottlingException";
240
249
  name = "ThrottlingException";
241
250
  $fault = "client";
242
251
  Message;
@@ -253,6 +262,7 @@ class ThrottlingException extends MigrationHubServiceException {
253
262
  }
254
263
  }
255
264
  class UnauthorizedOperation extends MigrationHubServiceException {
265
+ static shapeId = "com.amazonaws.migrationhub#UnauthorizedOperation";
256
266
  name = "UnauthorizedOperation";
257
267
  $fault = "client";
258
268
  Message;
@@ -267,6 +277,7 @@ class UnauthorizedOperation extends MigrationHubServiceException {
267
277
  }
268
278
  }
269
279
  class PolicyErrorException extends MigrationHubServiceException {
280
+ static shapeId = "com.amazonaws.migrationhub#PolicyErrorException";
270
281
  name = "PolicyErrorException";
271
282
  $fault = "client";
272
283
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class MigrationHubServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhub#MigrationHubServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, MigrationHubServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.migrationhub#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  Message;
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class DryRunOperation extends __BaseException {
18
+ static shapeId = "com.amazonaws.migrationhub#DryRunOperation";
17
19
  name = "DryRunOperation";
18
20
  $fault = "client";
19
21
  Message;
@@ -28,6 +30,7 @@ export class DryRunOperation extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class HomeRegionNotSetException extends __BaseException {
33
+ static shapeId = "com.amazonaws.migrationhub#HomeRegionNotSetException";
31
34
  name = "HomeRegionNotSetException";
32
35
  $fault = "client";
33
36
  Message;
@@ -42,6 +45,7 @@ export class HomeRegionNotSetException extends __BaseException {
42
45
  }
43
46
  }
44
47
  export class InternalServerError extends __BaseException {
48
+ static shapeId = "com.amazonaws.migrationhub#InternalServerError";
45
49
  name = "InternalServerError";
46
50
  $fault = "server";
47
51
  Message;
@@ -56,6 +60,7 @@ export class InternalServerError extends __BaseException {
56
60
  }
57
61
  }
58
62
  export class InvalidInputException extends __BaseException {
63
+ static shapeId = "com.amazonaws.migrationhub#InvalidInputException";
59
64
  name = "InvalidInputException";
60
65
  $fault = "client";
61
66
  Message;
@@ -70,6 +75,7 @@ export class InvalidInputException extends __BaseException {
70
75
  }
71
76
  }
72
77
  export class ResourceNotFoundException extends __BaseException {
78
+ static shapeId = "com.amazonaws.migrationhub#ResourceNotFoundException";
73
79
  name = "ResourceNotFoundException";
74
80
  $fault = "client";
75
81
  Message;
@@ -84,6 +90,7 @@ export class ResourceNotFoundException extends __BaseException {
84
90
  }
85
91
  }
86
92
  export class ServiceUnavailableException extends __BaseException {
93
+ static shapeId = "com.amazonaws.migrationhub#ServiceUnavailableException";
87
94
  name = "ServiceUnavailableException";
88
95
  $fault = "server";
89
96
  Message;
@@ -98,6 +105,7 @@ export class ServiceUnavailableException extends __BaseException {
98
105
  }
99
106
  }
100
107
  export class ThrottlingException extends __BaseException {
108
+ static shapeId = "com.amazonaws.migrationhub#ThrottlingException";
101
109
  name = "ThrottlingException";
102
110
  $fault = "client";
103
111
  Message;
@@ -114,6 +122,7 @@ export class ThrottlingException extends __BaseException {
114
122
  }
115
123
  }
116
124
  export class UnauthorizedOperation extends __BaseException {
125
+ static shapeId = "com.amazonaws.migrationhub#UnauthorizedOperation";
117
126
  name = "UnauthorizedOperation";
118
127
  $fault = "client";
119
128
  Message;
@@ -128,6 +137,7 @@ export class UnauthorizedOperation extends __BaseException {
128
137
  }
129
138
  }
130
139
  export class PolicyErrorException extends __BaseException {
140
+ static shapeId = "com.amazonaws.migrationhub#PolicyErrorException";
131
141
  name = "PolicyErrorException";
132
142
  $fault = "client";
133
143
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from MigrationHub service.
8
8
  */
9
9
  export declare class MigrationHubServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { MigrationHubServiceException as __BaseException } from "./MigrationHubS
5
5
  * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "AccessDeniedException";
9
10
  readonly $fault: "client";
10
11
  Message?: string | undefined;
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class DryRunOperation extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "DryRunOperation";
23
25
  readonly $fault: "client";
24
26
  Message?: string | undefined;
@@ -32,6 +34,7 @@ export declare class DryRunOperation extends __BaseException {
32
34
  * @public
33
35
  */
34
36
  export declare class HomeRegionNotSetException extends __BaseException {
37
+ static readonly shapeId: string;
35
38
  readonly name: "HomeRegionNotSetException";
36
39
  readonly $fault: "client";
37
40
  Message?: string | undefined;
@@ -46,6 +49,7 @@ export declare class HomeRegionNotSetException extends __BaseException {
46
49
  * @public
47
50
  */
48
51
  export declare class InternalServerError extends __BaseException {
52
+ static readonly shapeId: string;
49
53
  readonly name: "InternalServerError";
50
54
  readonly $fault: "server";
51
55
  Message?: string | undefined;
@@ -60,6 +64,7 @@ export declare class InternalServerError extends __BaseException {
60
64
  * @public
61
65
  */
62
66
  export declare class InvalidInputException extends __BaseException {
67
+ static readonly shapeId: string;
63
68
  readonly name: "InvalidInputException";
64
69
  readonly $fault: "client";
65
70
  Message?: string | undefined;
@@ -75,6 +80,7 @@ export declare class InvalidInputException extends __BaseException {
75
80
  * @public
76
81
  */
77
82
  export declare class ResourceNotFoundException extends __BaseException {
83
+ static readonly shapeId: string;
78
84
  readonly name: "ResourceNotFoundException";
79
85
  readonly $fault: "client";
80
86
  Message?: string | undefined;
@@ -89,6 +95,7 @@ export declare class ResourceNotFoundException extends __BaseException {
89
95
  * @public
90
96
  */
91
97
  export declare class ServiceUnavailableException extends __BaseException {
98
+ static readonly shapeId: string;
92
99
  readonly name: "ServiceUnavailableException";
93
100
  readonly $fault: "server";
94
101
  Message?: string | undefined;
@@ -102,6 +109,7 @@ export declare class ServiceUnavailableException extends __BaseException {
102
109
  * @public
103
110
  */
104
111
  export declare class ThrottlingException extends __BaseException {
112
+ static readonly shapeId: string;
105
113
  readonly name: "ThrottlingException";
106
114
  readonly $fault: "client";
107
115
  /**
@@ -125,6 +133,7 @@ export declare class ThrottlingException extends __BaseException {
125
133
  * @public
126
134
  */
127
135
  export declare class UnauthorizedOperation extends __BaseException {
136
+ static readonly shapeId: string;
128
137
  readonly name: "UnauthorizedOperation";
129
138
  readonly $fault: "client";
130
139
  Message?: string | undefined;
@@ -140,6 +149,7 @@ export declare class UnauthorizedOperation extends __BaseException {
140
149
  * @public
141
150
  */
142
151
  export declare class PolicyErrorException extends __BaseException {
152
+ static readonly shapeId: string;
143
153
  readonly name: "PolicyErrorException";
144
154
  readonly $fault: "client";
145
155
  Message?: string | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class MigrationHubServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,48 +1,56 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "AccessDeniedException";
5
6
  readonly $fault: "client";
6
7
  Message?: string | undefined;
7
8
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
9
  }
9
10
  export declare class DryRunOperation extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "DryRunOperation";
11
13
  readonly $fault: "client";
12
14
  Message?: string | undefined;
13
15
  constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
14
16
  }
15
17
  export declare class HomeRegionNotSetException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "HomeRegionNotSetException";
17
20
  readonly $fault: "client";
18
21
  Message?: string | undefined;
19
22
  constructor(opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>);
20
23
  }
21
24
  export declare class InternalServerError extends __BaseException {
25
+ static readonly shapeId: string;
22
26
  readonly name: "InternalServerError";
23
27
  readonly $fault: "server";
24
28
  Message?: string | undefined;
25
29
  constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
26
30
  }
27
31
  export declare class InvalidInputException extends __BaseException {
32
+ static readonly shapeId: string;
28
33
  readonly name: "InvalidInputException";
29
34
  readonly $fault: "client";
30
35
  Message?: string | undefined;
31
36
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
32
37
  }
33
38
  export declare class ResourceNotFoundException extends __BaseException {
39
+ static readonly shapeId: string;
34
40
  readonly name: "ResourceNotFoundException";
35
41
  readonly $fault: "client";
36
42
  Message?: string | undefined;
37
43
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
44
  }
39
45
  export declare class ServiceUnavailableException extends __BaseException {
46
+ static readonly shapeId: string;
40
47
  readonly name: "ServiceUnavailableException";
41
48
  readonly $fault: "server";
42
49
  Message?: string | undefined;
43
50
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
44
51
  }
45
52
  export declare class ThrottlingException extends __BaseException {
53
+ static readonly shapeId: string;
46
54
  readonly name: "ThrottlingException";
47
55
  readonly $fault: "client";
48
56
  Message: string | undefined;
@@ -50,12 +58,14 @@ export declare class ThrottlingException extends __BaseException {
50
58
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
51
59
  }
52
60
  export declare class UnauthorizedOperation extends __BaseException {
61
+ static readonly shapeId: string;
53
62
  readonly name: "UnauthorizedOperation";
54
63
  readonly $fault: "client";
55
64
  Message?: string | undefined;
56
65
  constructor(opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>);
57
66
  }
58
67
  export declare class PolicyErrorException extends __BaseException {
68
+ static readonly shapeId: string;
59
69
  readonly name: "PolicyErrorException";
60
70
  readonly $fault: "client";
61
71
  Message?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migration-hub",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
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",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",