@aws-sdk/client-migrationhub-config 3.952.0 → 3.954.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
@@ -110,14 +110,14 @@ class MigrationHubConfigClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let MigrationHubConfigServiceException$1 = class MigrationHubConfigServiceException extends smithyClient.ServiceException {
113
+ class MigrationHubConfigServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, MigrationHubConfigServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends MigrationHubConfigServiceException$1 {
120
+ class AccessDeniedException extends MigrationHubConfigServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends MigrationHubCo
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let DryRunOperation$1 = class DryRunOperation extends MigrationHubConfigServiceException$1 {
133
+ }
134
+ class DryRunOperation extends MigrationHubConfigServiceException {
135
135
  name = "DryRunOperation";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ let DryRunOperation$1 = class DryRunOperation extends MigrationHubConfigServiceE
144
144
  Object.setPrototypeOf(this, DryRunOperation.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- };
148
- let InternalServerError$1 = class InternalServerError extends MigrationHubConfigServiceException$1 {
147
+ }
148
+ class InternalServerError extends MigrationHubConfigServiceException {
149
149
  name = "InternalServerError";
150
150
  $fault = "server";
151
151
  Message;
@@ -158,8 +158,8 @@ let InternalServerError$1 = class InternalServerError extends MigrationHubConfig
158
158
  Object.setPrototypeOf(this, InternalServerError.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- };
162
- let InvalidInputException$1 = class InvalidInputException extends MigrationHubConfigServiceException$1 {
161
+ }
162
+ class InvalidInputException extends MigrationHubConfigServiceException {
163
163
  name = "InvalidInputException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ let InvalidInputException$1 = class InvalidInputException extends MigrationHubCo
172
172
  Object.setPrototypeOf(this, InvalidInputException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- };
176
- let ServiceUnavailableException$1 = class ServiceUnavailableException extends MigrationHubConfigServiceException$1 {
175
+ }
176
+ class ServiceUnavailableException extends MigrationHubConfigServiceException {
177
177
  name = "ServiceUnavailableException";
178
178
  $fault = "server";
179
179
  Message;
@@ -186,8 +186,8 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Mi
186
186
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- };
190
- let ThrottlingException$1 = class ThrottlingException extends MigrationHubConfigServiceException$1 {
189
+ }
190
+ class ThrottlingException extends MigrationHubConfigServiceException {
191
191
  name = "ThrottlingException";
192
192
  $fault = "client";
193
193
  Message;
@@ -202,7 +202,7 @@ let ThrottlingException$1 = class ThrottlingException extends MigrationHubConfig
202
202
  this.Message = opts.Message;
203
203
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
204
204
  }
205
- };
205
+ }
206
206
 
207
207
  const _ADE = "AccessDeniedException";
208
208
  const _CHRC = "CreateHomeRegionControl";
@@ -243,35 +243,35 @@ const _hH = "httpHeader";
243
243
  const _s = "server";
244
244
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubconfig";
245
245
  const n0 = "com.amazonaws.migrationhubconfig";
246
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];
247
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
248
- var CreateHomeRegionControlRequest = [
246
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];
247
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
248
+ var CreateHomeRegionControlRequest$ = [
249
249
  3,
250
250
  n0,
251
251
  _CHRCR,
252
252
  0,
253
253
  [_HR, _T, _DR],
254
- [0, () => Target, 2],
254
+ [0, () => Target$, 2],
255
255
  ];
256
- var CreateHomeRegionControlResult = [
256
+ var CreateHomeRegionControlResult$ = [
257
257
  3,
258
258
  n0,
259
259
  _CHRCRr,
260
260
  0,
261
261
  [_HRC],
262
- [() => HomeRegionControl],
262
+ [() => HomeRegionControl$],
263
263
  ];
264
- var DeleteHomeRegionControlRequest = [3, n0, _DHRCR, 0, [_CI], [0]];
265
- var DeleteHomeRegionControlResult = [3, n0, _DHRCRe, 0, [], []];
266
- var DescribeHomeRegionControlsRequest = [
264
+ var DeleteHomeRegionControlRequest$ = [3, n0, _DHRCR, 0, [_CI], [0]];
265
+ var DeleteHomeRegionControlResult$ = [3, n0, _DHRCRe, 0, [], []];
266
+ var DescribeHomeRegionControlsRequest$ = [
267
267
  3,
268
268
  n0,
269
269
  _DHRCRes,
270
270
  0,
271
271
  [_CI, _HR, _T, _MR, _NT],
272
- [0, 0, () => Target, 1, 0],
272
+ [0, 0, () => Target$, 1, 0],
273
273
  ];
274
- var DescribeHomeRegionControlsResult = [
274
+ var DescribeHomeRegionControlsResult$ = [
275
275
  3,
276
276
  n0,
277
277
  _DHRCResc,
@@ -279,19 +279,19 @@ var DescribeHomeRegionControlsResult = [
279
279
  [_HRCo, _NT],
280
280
  [() => HomeRegionControls, 0],
281
281
  ];
282
- var DryRunOperation = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
283
- schema.TypeRegistry.for(n0).registerError(DryRunOperation, DryRunOperation$1);
284
- var GetHomeRegionRequest = [3, n0, _GHRR, 0, [], []];
285
- var GetHomeRegionResult = [3, n0, _GHRRe, 0, [_HR], [0]];
286
- var HomeRegionControl = [3, n0, _HRC, 0, [_CI, _HR, _T, _RT], [0, 0, () => Target, 4]];
287
- var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
288
- schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
289
- var InvalidInputException = [-3, n0, _IIE, { [_e]: _c }, [_M], [0]];
290
- schema.TypeRegistry.for(n0).registerError(InvalidInputException, InvalidInputException$1);
291
- var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s }, [_M], [0]];
292
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
293
- var Target = [3, n0, _T, 0, [_Ty, _I], [0, 0]];
294
- var ThrottlingException = [
282
+ var DryRunOperation$ = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
283
+ schema.TypeRegistry.for(n0).registerError(DryRunOperation$, DryRunOperation);
284
+ var GetHomeRegionRequest$ = [3, n0, _GHRR, 0, [], []];
285
+ var GetHomeRegionResult$ = [3, n0, _GHRRe, 0, [_HR], [0]];
286
+ var HomeRegionControl$ = [3, n0, _HRC, 0, [_CI, _HR, _T, _RT], [0, 0, () => Target$, 4]];
287
+ var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
288
+ schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
289
+ var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c }, [_M], [0]];
290
+ schema.TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
291
+ var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s }, [_M], [0]];
292
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
293
+ var Target$ = [3, n0, _T, 0, [_Ty, _I], [0, 0]];
294
+ var ThrottlingException$ = [
295
295
  -3,
296
296
  n0,
297
297
  _TE,
@@ -299,8 +299,8 @@ var ThrottlingException = [
299
299
  [_M, _RAS],
300
300
  [0, [1, { [_hH]: _RA }]],
301
301
  ];
302
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
303
- var MigrationHubConfigServiceException = [
302
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
303
+ var MigrationHubConfigServiceException$ = [
304
304
  -3,
305
305
  _sm,
306
306
  "MigrationHubConfigServiceException",
@@ -308,39 +308,39 @@ var MigrationHubConfigServiceException = [
308
308
  [],
309
309
  [],
310
310
  ];
311
- schema.TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException, MigrationHubConfigServiceException$1);
312
- var HomeRegionControls = [1, n0, _HRCo, 0, () => HomeRegionControl];
313
- var CreateHomeRegionControl = [
311
+ schema.TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
312
+ var HomeRegionControls = [1, n0, _HRCo, 0, () => HomeRegionControl$];
313
+ var CreateHomeRegionControl$ = [
314
314
  9,
315
315
  n0,
316
316
  _CHRC,
317
317
  0,
318
- () => CreateHomeRegionControlRequest,
319
- () => CreateHomeRegionControlResult,
318
+ () => CreateHomeRegionControlRequest$,
319
+ () => CreateHomeRegionControlResult$,
320
320
  ];
321
- var DeleteHomeRegionControl = [
321
+ var DeleteHomeRegionControl$ = [
322
322
  9,
323
323
  n0,
324
324
  _DHRC,
325
325
  0,
326
- () => DeleteHomeRegionControlRequest,
327
- () => DeleteHomeRegionControlResult,
326
+ () => DeleteHomeRegionControlRequest$,
327
+ () => DeleteHomeRegionControlResult$,
328
328
  ];
329
- var DescribeHomeRegionControls = [
329
+ var DescribeHomeRegionControls$ = [
330
330
  9,
331
331
  n0,
332
332
  _DHRCe,
333
333
  0,
334
- () => DescribeHomeRegionControlsRequest,
335
- () => DescribeHomeRegionControlsResult,
334
+ () => DescribeHomeRegionControlsRequest$,
335
+ () => DescribeHomeRegionControlsResult$,
336
336
  ];
337
- var GetHomeRegion = [
337
+ var GetHomeRegion$ = [
338
338
  9,
339
339
  n0,
340
340
  _GHR,
341
341
  0,
342
- () => GetHomeRegionRequest,
343
- () => GetHomeRegionResult,
342
+ () => GetHomeRegionRequest$,
343
+ () => GetHomeRegionResult$,
344
344
  ];
345
345
 
346
346
  class CreateHomeRegionControlCommand extends smithyClient.Command
@@ -351,7 +351,7 @@ class CreateHomeRegionControlCommand extends smithyClient.Command
351
351
  })
352
352
  .s("AWSMigrationHubMultiAccountService", "CreateHomeRegionControl", {})
353
353
  .n("MigrationHubConfigClient", "CreateHomeRegionControlCommand")
354
- .sc(CreateHomeRegionControl)
354
+ .sc(CreateHomeRegionControl$)
355
355
  .build() {
356
356
  }
357
357
 
@@ -363,7 +363,7 @@ class DeleteHomeRegionControlCommand extends smithyClient.Command
363
363
  })
364
364
  .s("AWSMigrationHubMultiAccountService", "DeleteHomeRegionControl", {})
365
365
  .n("MigrationHubConfigClient", "DeleteHomeRegionControlCommand")
366
- .sc(DeleteHomeRegionControl)
366
+ .sc(DeleteHomeRegionControl$)
367
367
  .build() {
368
368
  }
369
369
 
@@ -375,7 +375,7 @@ class DescribeHomeRegionControlsCommand extends smithyClient.Command
375
375
  })
376
376
  .s("AWSMigrationHubMultiAccountService", "DescribeHomeRegionControls", {})
377
377
  .n("MigrationHubConfigClient", "DescribeHomeRegionControlsCommand")
378
- .sc(DescribeHomeRegionControls)
378
+ .sc(DescribeHomeRegionControls$)
379
379
  .build() {
380
380
  }
381
381
 
@@ -387,7 +387,7 @@ class GetHomeRegionCommand extends smithyClient.Command
387
387
  })
388
388
  .s("AWSMigrationHubMultiAccountService", "GetHomeRegion", {})
389
389
  .n("MigrationHubConfigClient", "GetHomeRegionCommand")
390
- .sc(GetHomeRegion)
390
+ .sc(GetHomeRegion$)
391
391
  .build() {
392
392
  }
393
393
 
@@ -415,18 +415,39 @@ Object.defineProperty(exports, "__Client", {
415
415
  enumerable: true,
416
416
  get: function () { return smithyClient.Client; }
417
417
  });
418
- exports.AccessDeniedException = AccessDeniedException$1;
418
+ exports.AccessDeniedException = AccessDeniedException;
419
+ exports.AccessDeniedException$ = AccessDeniedException$;
420
+ exports.CreateHomeRegionControl$ = CreateHomeRegionControl$;
419
421
  exports.CreateHomeRegionControlCommand = CreateHomeRegionControlCommand;
422
+ exports.CreateHomeRegionControlRequest$ = CreateHomeRegionControlRequest$;
423
+ exports.CreateHomeRegionControlResult$ = CreateHomeRegionControlResult$;
424
+ exports.DeleteHomeRegionControl$ = DeleteHomeRegionControl$;
420
425
  exports.DeleteHomeRegionControlCommand = DeleteHomeRegionControlCommand;
426
+ exports.DeleteHomeRegionControlRequest$ = DeleteHomeRegionControlRequest$;
427
+ exports.DeleteHomeRegionControlResult$ = DeleteHomeRegionControlResult$;
428
+ exports.DescribeHomeRegionControls$ = DescribeHomeRegionControls$;
421
429
  exports.DescribeHomeRegionControlsCommand = DescribeHomeRegionControlsCommand;
422
- exports.DryRunOperation = DryRunOperation$1;
430
+ exports.DescribeHomeRegionControlsRequest$ = DescribeHomeRegionControlsRequest$;
431
+ exports.DescribeHomeRegionControlsResult$ = DescribeHomeRegionControlsResult$;
432
+ exports.DryRunOperation = DryRunOperation;
433
+ exports.DryRunOperation$ = DryRunOperation$;
434
+ exports.GetHomeRegion$ = GetHomeRegion$;
423
435
  exports.GetHomeRegionCommand = GetHomeRegionCommand;
424
- exports.InternalServerError = InternalServerError$1;
425
- exports.InvalidInputException = InvalidInputException$1;
436
+ exports.GetHomeRegionRequest$ = GetHomeRegionRequest$;
437
+ exports.GetHomeRegionResult$ = GetHomeRegionResult$;
438
+ exports.HomeRegionControl$ = HomeRegionControl$;
439
+ exports.InternalServerError = InternalServerError;
440
+ exports.InternalServerError$ = InternalServerError$;
441
+ exports.InvalidInputException = InvalidInputException;
442
+ exports.InvalidInputException$ = InvalidInputException$;
426
443
  exports.MigrationHubConfig = MigrationHubConfig;
427
444
  exports.MigrationHubConfigClient = MigrationHubConfigClient;
428
- exports.MigrationHubConfigServiceException = MigrationHubConfigServiceException$1;
429
- exports.ServiceUnavailableException = ServiceUnavailableException$1;
445
+ exports.MigrationHubConfigServiceException = MigrationHubConfigServiceException;
446
+ exports.MigrationHubConfigServiceException$ = MigrationHubConfigServiceException$;
447
+ exports.ServiceUnavailableException = ServiceUnavailableException;
448
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
449
+ exports.Target$ = Target$;
430
450
  exports.TargetType = TargetType;
431
- exports.ThrottlingException = ThrottlingException$1;
451
+ exports.ThrottlingException = ThrottlingException;
452
+ exports.ThrottlingException$ = ThrottlingException$;
432
453
  exports.paginateDescribeHomeRegionControls = paginateDescribeHomeRegionControls;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.migrationhubconfig",
32
- serviceTarget: "AWSMigrationHubMultiAccountService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.migrationhubconfig",
32
+ version: "2019-06-30",
33
+ serviceTarget: "AWSMigrationHubMultiAccountService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "MigrationHub Config",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateHomeRegionControl } from "../schemas/schemas_0";
4
+ import { CreateHomeRegionControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateHomeRegionControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateHomeRegionControlCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubMultiAccountService", "CreateHomeRegionControl", {})
13
13
  .n("MigrationHubConfigClient", "CreateHomeRegionControlCommand")
14
- .sc(CreateHomeRegionControl)
14
+ .sc(CreateHomeRegionControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteHomeRegionControl } from "../schemas/schemas_0";
4
+ import { DeleteHomeRegionControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteHomeRegionControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteHomeRegionControlCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubMultiAccountService", "DeleteHomeRegionControl", {})
13
13
  .n("MigrationHubConfigClient", "DeleteHomeRegionControlCommand")
14
- .sc(DeleteHomeRegionControl)
14
+ .sc(DeleteHomeRegionControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeHomeRegionControls } from "../schemas/schemas_0";
4
+ import { DescribeHomeRegionControls$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeHomeRegionControlsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeHomeRegionControlsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubMultiAccountService", "DescribeHomeRegionControls", {})
13
13
  .n("MigrationHubConfigClient", "DescribeHomeRegionControlsCommand")
14
- .sc(DescribeHomeRegionControls)
14
+ .sc(DescribeHomeRegionControls$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetHomeRegion } from "../schemas/schemas_0";
4
+ import { GetHomeRegion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetHomeRegionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetHomeRegionCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubMultiAccountService", "GetHomeRegion", {})
13
13
  .n("MigrationHubConfigClient", "GetHomeRegionCommand")
14
- .sc(GetHomeRegion)
14
+ .sc(GetHomeRegion$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MigrationHubConfigClient";
2
2
  export * from "./MigrationHubConfig";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.migrationhubconfig",
29
- serviceTarget: "AWSMigrationHubMultiAccountService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.migrationhubconfig",
29
+ version: "2019-06-30",
30
+ serviceTarget: "AWSMigrationHubMultiAccountService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "MigrationHub Config",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -38,37 +38,37 @@ const _s = "server";
38
38
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubconfig";
39
39
  const n0 = "com.amazonaws.migrationhubconfig";
40
40
  import { TypeRegistry } from "@smithy/core/schema";
41
- import { AccessDeniedException as __AccessDeniedException, DryRunOperation as __DryRunOperation, InternalServerError as __InternalServerError, InvalidInputException as __InvalidInputException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, } from "../models/errors";
42
- import { MigrationHubConfigServiceException as __MigrationHubConfigServiceException } from "../models/MigrationHubConfigServiceException";
43
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];
44
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
45
- export var CreateHomeRegionControlRequest = [
41
+ import { AccessDeniedException, DryRunOperation, InternalServerError, InvalidInputException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
42
+ import { MigrationHubConfigServiceException } from "../models/MigrationHubConfigServiceException";
43
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];
44
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
45
+ export var CreateHomeRegionControlRequest$ = [
46
46
  3,
47
47
  n0,
48
48
  _CHRCR,
49
49
  0,
50
50
  [_HR, _T, _DR],
51
- [0, () => Target, 2],
51
+ [0, () => Target$, 2],
52
52
  ];
53
- export var CreateHomeRegionControlResult = [
53
+ export var CreateHomeRegionControlResult$ = [
54
54
  3,
55
55
  n0,
56
56
  _CHRCRr,
57
57
  0,
58
58
  [_HRC],
59
- [() => HomeRegionControl],
59
+ [() => HomeRegionControl$],
60
60
  ];
61
- export var DeleteHomeRegionControlRequest = [3, n0, _DHRCR, 0, [_CI], [0]];
62
- export var DeleteHomeRegionControlResult = [3, n0, _DHRCRe, 0, [], []];
63
- export var DescribeHomeRegionControlsRequest = [
61
+ export var DeleteHomeRegionControlRequest$ = [3, n0, _DHRCR, 0, [_CI], [0]];
62
+ export var DeleteHomeRegionControlResult$ = [3, n0, _DHRCRe, 0, [], []];
63
+ export var DescribeHomeRegionControlsRequest$ = [
64
64
  3,
65
65
  n0,
66
66
  _DHRCRes,
67
67
  0,
68
68
  [_CI, _HR, _T, _MR, _NT],
69
- [0, 0, () => Target, 1, 0],
69
+ [0, 0, () => Target$, 1, 0],
70
70
  ];
71
- export var DescribeHomeRegionControlsResult = [
71
+ export var DescribeHomeRegionControlsResult$ = [
72
72
  3,
73
73
  n0,
74
74
  _DHRCResc,
@@ -76,19 +76,19 @@ export var DescribeHomeRegionControlsResult = [
76
76
  [_HRCo, _NT],
77
77
  [() => HomeRegionControls, 0],
78
78
  ];
79
- export var DryRunOperation = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
80
- TypeRegistry.for(n0).registerError(DryRunOperation, __DryRunOperation);
81
- export var GetHomeRegionRequest = [3, n0, _GHRR, 0, [], []];
82
- export var GetHomeRegionResult = [3, n0, _GHRRe, 0, [_HR], [0]];
83
- export var HomeRegionControl = [3, n0, _HRC, 0, [_CI, _HR, _T, _RT], [0, 0, () => Target, 4]];
84
- export var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
85
- TypeRegistry.for(n0).registerError(InternalServerError, __InternalServerError);
86
- export var InvalidInputException = [-3, n0, _IIE, { [_e]: _c }, [_M], [0]];
87
- TypeRegistry.for(n0).registerError(InvalidInputException, __InvalidInputException);
88
- export var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s }, [_M], [0]];
89
- TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
90
- export var Target = [3, n0, _T, 0, [_Ty, _I], [0, 0]];
91
- export var ThrottlingException = [
79
+ export var DryRunOperation$ = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
80
+ TypeRegistry.for(n0).registerError(DryRunOperation$, DryRunOperation);
81
+ export var GetHomeRegionRequest$ = [3, n0, _GHRR, 0, [], []];
82
+ export var GetHomeRegionResult$ = [3, n0, _GHRRe, 0, [_HR], [0]];
83
+ export var HomeRegionControl$ = [3, n0, _HRC, 0, [_CI, _HR, _T, _RT], [0, 0, () => Target$, 4]];
84
+ export var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
85
+ TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
86
+ export var InvalidInputException$ = [-3, n0, _IIE, { [_e]: _c }, [_M], [0]];
87
+ TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
88
+ export var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s }, [_M], [0]];
89
+ TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
90
+ export var Target$ = [3, n0, _T, 0, [_Ty, _I], [0, 0]];
91
+ export var ThrottlingException$ = [
92
92
  -3,
93
93
  n0,
94
94
  _TE,
@@ -96,8 +96,8 @@ export var ThrottlingException = [
96
96
  [_M, _RAS],
97
97
  [0, [1, { [_hH]: _RA }]],
98
98
  ];
99
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
100
- export var MigrationHubConfigServiceException = [
99
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
100
+ export var MigrationHubConfigServiceException$ = [
101
101
  -3,
102
102
  _sm,
103
103
  "MigrationHubConfigServiceException",
@@ -105,37 +105,37 @@ export var MigrationHubConfigServiceException = [
105
105
  [],
106
106
  [],
107
107
  ];
108
- TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException, __MigrationHubConfigServiceException);
109
- export var HomeRegionControls = [1, n0, _HRCo, 0, () => HomeRegionControl];
110
- export var CreateHomeRegionControl = [
108
+ TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
109
+ var HomeRegionControls = [1, n0, _HRCo, 0, () => HomeRegionControl$];
110
+ export var CreateHomeRegionControl$ = [
111
111
  9,
112
112
  n0,
113
113
  _CHRC,
114
114
  0,
115
- () => CreateHomeRegionControlRequest,
116
- () => CreateHomeRegionControlResult,
115
+ () => CreateHomeRegionControlRequest$,
116
+ () => CreateHomeRegionControlResult$,
117
117
  ];
118
- export var DeleteHomeRegionControl = [
118
+ export var DeleteHomeRegionControl$ = [
119
119
  9,
120
120
  n0,
121
121
  _DHRC,
122
122
  0,
123
- () => DeleteHomeRegionControlRequest,
124
- () => DeleteHomeRegionControlResult,
123
+ () => DeleteHomeRegionControlRequest$,
124
+ () => DeleteHomeRegionControlResult$,
125
125
  ];
126
- export var DescribeHomeRegionControls = [
126
+ export var DescribeHomeRegionControls$ = [
127
127
  9,
128
128
  n0,
129
129
  _DHRCe,
130
130
  0,
131
- () => DescribeHomeRegionControlsRequest,
132
- () => DescribeHomeRegionControlsResult,
131
+ () => DescribeHomeRegionControlsRequest$,
132
+ () => DescribeHomeRegionControlsResult$,
133
133
  ];
134
- export var GetHomeRegion = [
134
+ export var GetHomeRegion$ = [
135
135
  9,
136
136
  n0,
137
137
  _GHR,
138
138
  0,
139
- () => GetHomeRegionRequest,
140
- () => GetHomeRegionResult,
139
+ () => GetHomeRegionRequest$,
140
+ () => GetHomeRegionResult$,
141
141
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
11
11
  import { DeleteHomeRegionControlCommandInput, DeleteHomeRegionControlCommandOutput } from "./commands/DeleteHomeRegionControlCommand";
@@ -145,15 +145,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
145
145
  * Optional extensions
146
146
  */
147
147
  extensions?: RuntimeExtension[];
148
- /**
149
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
150
- * may be overridden. A default will always be set by the client.
151
- * Available options depend on the service's supported protocols and will not be validated by
152
- * the client.
153
- * @alpha
154
- *
155
- */
156
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
157
148
  /**
158
149
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
159
150
  */
@@ -32,6 +32,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
32
32
  export type { RuntimeExtension } from "./runtimeExtensions";
33
33
  export type { MigrationHubConfigExtensionConfiguration } from "./extensionConfiguration";
34
34
  export * from "./commands";
35
+ export * from "./schemas/schemas_0";
35
36
  export * from "./pagination";
36
37
  export * from "./models/enums";
37
38
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
1
2
  import type { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubConfigHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,23 +1,22 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var CreateHomeRegionControlRequest: StaticStructureSchema;
4
- export declare var CreateHomeRegionControlResult: StaticStructureSchema;
5
- export declare var DeleteHomeRegionControlRequest: StaticStructureSchema;
6
- export declare var DeleteHomeRegionControlResult: StaticStructureSchema;
7
- export declare var DescribeHomeRegionControlsRequest: StaticStructureSchema;
8
- export declare var DescribeHomeRegionControlsResult: StaticStructureSchema;
9
- export declare var DryRunOperation: StaticErrorSchema;
10
- export declare var GetHomeRegionRequest: StaticStructureSchema;
11
- export declare var GetHomeRegionResult: StaticStructureSchema;
12
- export declare var HomeRegionControl: StaticStructureSchema;
13
- export declare var InternalServerError: StaticErrorSchema;
14
- export declare var InvalidInputException: StaticErrorSchema;
15
- export declare var ServiceUnavailableException: StaticErrorSchema;
16
- export declare var Target: StaticStructureSchema;
17
- export declare var ThrottlingException: StaticErrorSchema;
18
- export declare var MigrationHubConfigServiceException: StaticErrorSchema;
19
- export declare var HomeRegionControls: StaticListSchema;
20
- export declare var CreateHomeRegionControl: StaticOperationSchema;
21
- export declare var DeleteHomeRegionControl: StaticOperationSchema;
22
- export declare var DescribeHomeRegionControls: StaticOperationSchema;
23
- export declare var GetHomeRegion: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var CreateHomeRegionControlRequest$: StaticStructureSchema;
4
+ export declare var CreateHomeRegionControlResult$: StaticStructureSchema;
5
+ export declare var DeleteHomeRegionControlRequest$: StaticStructureSchema;
6
+ export declare var DeleteHomeRegionControlResult$: StaticStructureSchema;
7
+ export declare var DescribeHomeRegionControlsRequest$: StaticStructureSchema;
8
+ export declare var DescribeHomeRegionControlsResult$: StaticStructureSchema;
9
+ export declare var DryRunOperation$: StaticErrorSchema;
10
+ export declare var GetHomeRegionRequest$: StaticStructureSchema;
11
+ export declare var GetHomeRegionResult$: StaticStructureSchema;
12
+ export declare var HomeRegionControl$: StaticStructureSchema;
13
+ export declare var InternalServerError$: StaticErrorSchema;
14
+ export declare var InvalidInputException$: StaticErrorSchema;
15
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
16
+ export declare var Target$: StaticStructureSchema;
17
+ export declare var ThrottlingException$: StaticErrorSchema;
18
+ export declare var MigrationHubConfigServiceException$: StaticErrorSchema;
19
+ export declare var CreateHomeRegionControl$: StaticOperationSchema;
20
+ export declare var DeleteHomeRegionControl$: StaticOperationSchema;
21
+ export declare var DescribeHomeRegionControls$: StaticOperationSchema;
22
+ export declare var GetHomeRegion$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -105,7 +102,6 @@ export interface ClientDefaults
105
102
  retryMode?: string | __Provider<string>;
106
103
  logger?: __Logger;
107
104
  extensions?: RuntimeExtension[];
108
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
109
105
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
110
106
  }
111
107
  export type MigrationHubConfigClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MigrationHubConfigExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
1
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: MigrationHubConfigClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MigrationHubConfigHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsJson1_1Protocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,28 +1,26 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var AccessDeniedException: StaticErrorSchema;
8
- export declare var CreateHomeRegionControlRequest: StaticStructureSchema;
9
- export declare var CreateHomeRegionControlResult: StaticStructureSchema;
10
- export declare var DeleteHomeRegionControlRequest: StaticStructureSchema;
11
- export declare var DeleteHomeRegionControlResult: StaticStructureSchema;
12
- export declare var DescribeHomeRegionControlsRequest: StaticStructureSchema;
13
- export declare var DescribeHomeRegionControlsResult: StaticStructureSchema;
14
- export declare var DryRunOperation: StaticErrorSchema;
15
- export declare var GetHomeRegionRequest: StaticStructureSchema;
16
- export declare var GetHomeRegionResult: StaticStructureSchema;
17
- export declare var HomeRegionControl: StaticStructureSchema;
18
- export declare var InternalServerError: StaticErrorSchema;
19
- export declare var InvalidInputException: StaticErrorSchema;
20
- export declare var ServiceUnavailableException: StaticErrorSchema;
21
- export declare var Target: StaticStructureSchema;
22
- export declare var ThrottlingException: StaticErrorSchema;
23
- export declare var MigrationHubConfigServiceException: StaticErrorSchema;
24
- export declare var HomeRegionControls: StaticListSchema;
25
- export declare var CreateHomeRegionControl: StaticOperationSchema;
26
- export declare var DeleteHomeRegionControl: StaticOperationSchema;
27
- export declare var DescribeHomeRegionControls: StaticOperationSchema;
28
- export declare var GetHomeRegion: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var CreateHomeRegionControlRequest$: StaticStructureSchema;
8
+ export declare var CreateHomeRegionControlResult$: StaticStructureSchema;
9
+ export declare var DeleteHomeRegionControlRequest$: StaticStructureSchema;
10
+ export declare var DeleteHomeRegionControlResult$: StaticStructureSchema;
11
+ export declare var DescribeHomeRegionControlsRequest$: StaticStructureSchema;
12
+ export declare var DescribeHomeRegionControlsResult$: StaticStructureSchema;
13
+ export declare var DryRunOperation$: StaticErrorSchema;
14
+ export declare var GetHomeRegionRequest$: StaticStructureSchema;
15
+ export declare var GetHomeRegionResult$: StaticStructureSchema;
16
+ export declare var HomeRegionControl$: StaticStructureSchema;
17
+ export declare var InternalServerError$: StaticErrorSchema;
18
+ export declare var InvalidInputException$: StaticErrorSchema;
19
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
20
+ export declare var Target$: StaticStructureSchema;
21
+ export declare var ThrottlingException$: StaticErrorSchema;
22
+ export declare var MigrationHubConfigServiceException$: StaticErrorSchema;
23
+ export declare var CreateHomeRegionControl$: StaticOperationSchema;
24
+ export declare var DeleteHomeRegionControl$: StaticOperationSchema;
25
+ export declare var DescribeHomeRegionControls$: StaticOperationSchema;
26
+ export declare var GetHomeRegion$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
3
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
4
- "version": "3.952.0",
4
+ "version": "3.954.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migrationhub-config",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.954.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.954.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.954.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.4.0",
42
+ "@smithy/middleware-retry": "^4.4.16",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.1",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.15",
55
+ "@smithy/util-defaults-mode-node": "^4.2.18",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },