@aws-sdk/client-migration-hub 3.987.0 → 3.989.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.
@@ -99,10 +99,10 @@ const _PUS = "ProgressUpdateStream";
99
99
  const _PUSN = "ProgressUpdateStreamName";
100
100
  const _PUSS = "ProgressUpdateStreamSummary";
101
101
  const _PUSSL = "ProgressUpdateStreamSummaryList";
102
- const _RA = "ResourceAttribute";
102
+ const _RA = "Retry-After";
103
103
  const _RAL = "ResourceAttributeList";
104
104
  const _RAS = "RetryAfterSeconds";
105
- const _RA_ = "Retry-After";
105
+ const _RAe = "ResourceAttribute";
106
106
  const _RN = "ResourceName";
107
107
  const _RNFE = "ResourceNotFoundException";
108
108
  const _S = "Status";
@@ -122,18 +122,80 @@ const _c = "client";
122
122
  const _e = "error";
123
123
  const _hE = "httpError";
124
124
  const _hH = "httpHeader";
125
- const _s = "server";
126
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhub";
125
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhub";
126
+ const _se = "server";
127
127
  const n0 = "com.amazonaws.migrationhub";
128
128
  import { TypeRegistry } from "@smithy/core/schema";
129
129
  import { AccessDeniedException, DryRunOperation, HomeRegionNotSetException, InternalServerError, InvalidInputException, PolicyErrorException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, UnauthorizedOperation, } from "../models/errors";
130
130
  import { MigrationHubServiceException } from "../models/MigrationHubServiceException";
131
+ const _s_registry = TypeRegistry.for(_s);
132
+ export var MigrationHubServiceException$ = [-3, _s, "MigrationHubServiceException", 0, [], []];
133
+ _s_registry.registerError(MigrationHubServiceException$, MigrationHubServiceException);
134
+ const n0_registry = TypeRegistry.for(n0);
131
135
  export var AccessDeniedException$ = [-3, n0, _ADE,
132
136
  { [_e]: _c },
133
137
  [_M],
134
138
  [0]
135
139
  ];
136
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
140
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
141
+ export var DryRunOperation$ = [-3, n0, _DRO,
142
+ { [_e]: _c },
143
+ [_M],
144
+ [0]
145
+ ];
146
+ n0_registry.registerError(DryRunOperation$, DryRunOperation);
147
+ export var HomeRegionNotSetException$ = [-3, n0, _HRNSE,
148
+ { [_e]: _c },
149
+ [_M],
150
+ [0]
151
+ ];
152
+ n0_registry.registerError(HomeRegionNotSetException$, HomeRegionNotSetException);
153
+ export var InternalServerError$ = [-3, n0, _ISE,
154
+ { [_e]: _se },
155
+ [_M],
156
+ [0]
157
+ ];
158
+ n0_registry.registerError(InternalServerError$, InternalServerError);
159
+ export var InvalidInputException$ = [-3, n0, _IIE,
160
+ { [_e]: _c },
161
+ [_M],
162
+ [0]
163
+ ];
164
+ n0_registry.registerError(InvalidInputException$, InvalidInputException);
165
+ export var PolicyErrorException$ = [-3, n0, _PEE,
166
+ { [_e]: _c },
167
+ [_M],
168
+ [0]
169
+ ];
170
+ n0_registry.registerError(PolicyErrorException$, PolicyErrorException);
171
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
172
+ { [_e]: _c },
173
+ [_M],
174
+ [0]
175
+ ];
176
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
177
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
178
+ { [_e]: _se },
179
+ [_M],
180
+ [0]
181
+ ];
182
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
183
+ export var ThrottlingException$ = [-3, n0, _TE,
184
+ { [_e]: _c, [_hE]: 429 },
185
+ [_M, _RAS],
186
+ [0, [1, { [_hH]: _RA }]], 1
187
+ ];
188
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
189
+ export var UnauthorizedOperation$ = [-3, n0, _UO,
190
+ { [_e]: _c },
191
+ [_M],
192
+ [0]
193
+ ];
194
+ n0_registry.registerError(UnauthorizedOperation$, UnauthorizedOperation);
195
+ export const errorTypeRegistries = [
196
+ _s_registry,
197
+ n0_registry,
198
+ ];
137
199
  export var ApplicationState$ = [3, n0, _AS,
138
200
  0,
139
201
  [_AI, _ASp, _LUT],
@@ -249,18 +311,6 @@ export var DiscoveredResource$ = [3, n0, _DRi,
249
311
  [_CI, _D],
250
312
  [0, 0], 1
251
313
  ];
252
- export var DryRunOperation$ = [-3, n0, _DRO,
253
- { [_e]: _c },
254
- [_M],
255
- [0]
256
- ];
257
- TypeRegistry.for(n0).registerError(DryRunOperation$, DryRunOperation);
258
- export var HomeRegionNotSetException$ = [-3, n0, _HRNSE,
259
- { [_e]: _c },
260
- [_M],
261
- [0]
262
- ];
263
- TypeRegistry.for(n0).registerError(HomeRegionNotSetException$, HomeRegionNotSetException);
264
314
  export var ImportMigrationTaskRequest$ = [3, n0, _IMTR,
265
315
  0,
266
316
  [_PUS, _MTN, _DR],
@@ -271,18 +321,6 @@ export var ImportMigrationTaskResult$ = [3, n0, _IMTRm,
271
321
  [],
272
322
  []
273
323
  ];
274
- export var InternalServerError$ = [-3, n0, _ISE,
275
- { [_e]: _s },
276
- [_M],
277
- [0]
278
- ];
279
- TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
280
- export var InvalidInputException$ = [-3, n0, _IIE,
281
- { [_e]: _c },
282
- [_M],
283
- [0]
284
- ];
285
- TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
286
324
  export var ListApplicationStatesRequest$ = [3, n0, _LASR,
287
325
  0,
288
326
  [_AIp, _NT, _MR],
@@ -388,12 +426,6 @@ export var NotifyMigrationTaskStateResult$ = [3, n0, _NMTSRo,
388
426
  [],
389
427
  []
390
428
  ];
391
- export var PolicyErrorException$ = [-3, n0, _PEE,
392
- { [_e]: _c },
393
- [_M],
394
- [0]
395
- ];
396
- TypeRegistry.for(n0).registerError(PolicyErrorException$, PolicyErrorException);
397
429
  export var ProgressUpdateStreamSummary$ = [3, n0, _PUSS,
398
430
  0,
399
431
  [_PUSN],
@@ -409,23 +441,11 @@ export var PutResourceAttributesResult$ = [3, n0, _PRARu,
409
441
  [],
410
442
  []
411
443
  ];
412
- export var ResourceAttribute$ = [3, n0, _RA,
444
+ export var ResourceAttribute$ = [3, n0, _RAe,
413
445
  0,
414
446
  [_Ty, _V],
415
447
  [0, 0], 2
416
448
  ];
417
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
418
- { [_e]: _c },
419
- [_M],
420
- [0]
421
- ];
422
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
423
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
424
- { [_e]: _s },
425
- [_M],
426
- [0]
427
- ];
428
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
429
449
  export var SourceResource$ = [3, n0, _SR,
430
450
  0,
431
451
  [_N, _D, _SD],
@@ -436,20 +456,6 @@ export var Task$ = [3, n0, _T,
436
456
  [_S, _SD, _PP],
437
457
  [0, 0, 1], 1
438
458
  ];
439
- export var ThrottlingException$ = [-3, n0, _TE,
440
- { [_e]: _c, [_hE]: 429 },
441
- [_M, _RAS],
442
- [0, [1, { [_hH]: _RA_ }]], 1
443
- ];
444
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
445
- export var UnauthorizedOperation$ = [-3, n0, _UO,
446
- { [_e]: _c },
447
- [_M],
448
- [0]
449
- ];
450
- TypeRegistry.for(n0).registerError(UnauthorizedOperation$, UnauthorizedOperation);
451
- export var MigrationHubServiceException$ = [-3, _sm, "MigrationHubServiceException", 0, [], []];
452
- TypeRegistry.for(_sm).registerError(MigrationHubServiceException$, MigrationHubServiceException);
453
459
  var ApplicationIds = 64 | 0;
454
460
  var ApplicationStateList = [1, n0, _ASL,
455
461
  0, () => ApplicationState$
@@ -1,5 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var MigrationHubServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var DryRunOperation$: StaticErrorSchema;
6
+ export declare var HomeRegionNotSetException$: StaticErrorSchema;
7
+ export declare var InternalServerError$: StaticErrorSchema;
8
+ export declare var InvalidInputException$: StaticErrorSchema;
9
+ export declare var PolicyErrorException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var UnauthorizedOperation$: StaticErrorSchema;
14
+ /**
15
+ * TypeRegistry instances containing modeled errors.
16
+ * @internal
17
+ *
18
+ */
19
+ export declare const errorTypeRegistries: TypeRegistry[];
3
20
  export declare var ApplicationState$: StaticStructureSchema;
4
21
  export declare var AssociateCreatedArtifactRequest$: StaticStructureSchema;
5
22
  export declare var AssociateCreatedArtifactResult$: StaticStructureSchema;
@@ -23,12 +40,8 @@ export declare var DisassociateDiscoveredResourceResult$: StaticStructureSchema;
23
40
  export declare var DisassociateSourceResourceRequest$: StaticStructureSchema;
24
41
  export declare var DisassociateSourceResourceResult$: StaticStructureSchema;
25
42
  export declare var DiscoveredResource$: StaticStructureSchema;
26
- export declare var DryRunOperation$: StaticErrorSchema;
27
- export declare var HomeRegionNotSetException$: StaticErrorSchema;
28
43
  export declare var ImportMigrationTaskRequest$: StaticStructureSchema;
29
44
  export declare var ImportMigrationTaskResult$: StaticStructureSchema;
30
- export declare var InternalServerError$: StaticErrorSchema;
31
- export declare var InvalidInputException$: StaticErrorSchema;
32
45
  export declare var ListApplicationStatesRequest$: StaticStructureSchema;
33
46
  export declare var ListApplicationStatesResult$: StaticStructureSchema;
34
47
  export declare var ListCreatedArtifactsRequest$: StaticStructureSchema;
@@ -50,18 +63,12 @@ export declare var NotifyApplicationStateRequest$: StaticStructureSchema;
50
63
  export declare var NotifyApplicationStateResult$: StaticStructureSchema;
51
64
  export declare var NotifyMigrationTaskStateRequest$: StaticStructureSchema;
52
65
  export declare var NotifyMigrationTaskStateResult$: StaticStructureSchema;
53
- export declare var PolicyErrorException$: StaticErrorSchema;
54
66
  export declare var ProgressUpdateStreamSummary$: StaticStructureSchema;
55
67
  export declare var PutResourceAttributesRequest$: StaticStructureSchema;
56
68
  export declare var PutResourceAttributesResult$: StaticStructureSchema;
57
69
  export declare var ResourceAttribute$: StaticStructureSchema;
58
- export declare var ResourceNotFoundException$: StaticErrorSchema;
59
- export declare var ServiceUnavailableException$: StaticErrorSchema;
60
70
  export declare var SourceResource$: StaticStructureSchema;
61
71
  export declare var Task$: StaticStructureSchema;
62
- export declare var ThrottlingException$: StaticErrorSchema;
63
- export declare var UnauthorizedOperation$: StaticErrorSchema;
64
- export declare var MigrationHubServiceException$: StaticErrorSchema;
65
72
  export declare var AssociateCreatedArtifact$: StaticOperationSchema;
66
73
  export declare var AssociateDiscoveredResource$: StaticOperationSchema;
67
74
  export declare var AssociateSourceResource$: StaticOperationSchema;
@@ -1,9 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var MigrationHubServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var DryRunOperation$: StaticErrorSchema;
10
+ export declare var HomeRegionNotSetException$: StaticErrorSchema;
11
+ export declare var InternalServerError$: StaticErrorSchema;
12
+ export declare var InvalidInputException$: StaticErrorSchema;
13
+ export declare var PolicyErrorException$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
16
+ export declare var ThrottlingException$: StaticErrorSchema;
17
+ export declare var UnauthorizedOperation$: StaticErrorSchema;
18
+ export declare const errorTypeRegistries: TypeRegistry[];
7
19
  export declare var ApplicationState$: StaticStructureSchema;
8
20
  export declare var AssociateCreatedArtifactRequest$: StaticStructureSchema;
9
21
  export declare var AssociateCreatedArtifactResult$: StaticStructureSchema;
@@ -27,12 +39,8 @@ export declare var DisassociateDiscoveredResourceResult$: StaticStructureSchema;
27
39
  export declare var DisassociateSourceResourceRequest$: StaticStructureSchema;
28
40
  export declare var DisassociateSourceResourceResult$: StaticStructureSchema;
29
41
  export declare var DiscoveredResource$: StaticStructureSchema;
30
- export declare var DryRunOperation$: StaticErrorSchema;
31
- export declare var HomeRegionNotSetException$: StaticErrorSchema;
32
42
  export declare var ImportMigrationTaskRequest$: StaticStructureSchema;
33
43
  export declare var ImportMigrationTaskResult$: StaticStructureSchema;
34
- export declare var InternalServerError$: StaticErrorSchema;
35
- export declare var InvalidInputException$: StaticErrorSchema;
36
44
  export declare var ListApplicationStatesRequest$: StaticStructureSchema;
37
45
  export declare var ListApplicationStatesResult$: StaticStructureSchema;
38
46
  export declare var ListCreatedArtifactsRequest$: StaticStructureSchema;
@@ -54,18 +62,12 @@ export declare var NotifyApplicationStateRequest$: StaticStructureSchema;
54
62
  export declare var NotifyApplicationStateResult$: StaticStructureSchema;
55
63
  export declare var NotifyMigrationTaskStateRequest$: StaticStructureSchema;
56
64
  export declare var NotifyMigrationTaskStateResult$: StaticStructureSchema;
57
- export declare var PolicyErrorException$: StaticErrorSchema;
58
65
  export declare var ProgressUpdateStreamSummary$: StaticStructureSchema;
59
66
  export declare var PutResourceAttributesRequest$: StaticStructureSchema;
60
67
  export declare var PutResourceAttributesResult$: StaticStructureSchema;
61
68
  export declare var ResourceAttribute$: StaticStructureSchema;
62
- export declare var ResourceNotFoundException$: StaticErrorSchema;
63
- export declare var ServiceUnavailableException$: StaticErrorSchema;
64
69
  export declare var SourceResource$: StaticStructureSchema;
65
70
  export declare var Task$: StaticStructureSchema;
66
- export declare var ThrottlingException$: StaticErrorSchema;
67
- export declare var UnauthorizedOperation$: StaticErrorSchema;
68
- export declare var MigrationHubServiceException$: StaticErrorSchema;
69
71
  export declare var AssociateCreatedArtifact$: StaticOperationSchema;
70
72
  export declare var AssociateDiscoveredResource$: StaticOperationSchema;
71
73
  export declare var AssociateSourceResource$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migration-hub",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
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.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",