@aws-sdk/client-migrationhub-config 3.957.0 → 3.958.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/README.md +1 -9
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +77 -73
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +78 -74
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,10 +32,8 @@ home region.</p>
|
|
|
32
32
|
API reference. </p>
|
|
33
33
|
|
|
34
34
|
## Installing
|
|
35
|
-
|
|
36
35
|
To install this package, simply type add or install @aws-sdk/client-migrationhub-config
|
|
37
36
|
using your favorite package manager:
|
|
38
|
-
|
|
39
37
|
- `npm install @aws-sdk/client-migrationhub-config`
|
|
40
38
|
- `yarn add @aws-sdk/client-migrationhub-config`
|
|
41
39
|
- `pnpm add @aws-sdk/client-migrationhub-config`
|
|
@@ -71,9 +69,7 @@ To send a request, you:
|
|
|
71
69
|
// a client can be shared by different commands.
|
|
72
70
|
const client = new MigrationHubConfigClient({ region: "REGION" });
|
|
73
71
|
|
|
74
|
-
const params = {
|
|
75
|
-
/** input parameters */
|
|
76
|
-
};
|
|
72
|
+
const params = { /** input parameters */ };
|
|
77
73
|
const command = new GetHomeRegionCommand(params);
|
|
78
74
|
```
|
|
79
75
|
|
|
@@ -232,7 +228,6 @@ CreateHomeRegionControl
|
|
|
232
228
|
</summary>
|
|
233
229
|
|
|
234
230
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migrationhub-config/command/CreateHomeRegionControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/CreateHomeRegionControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/CreateHomeRegionControlCommandOutput/)
|
|
235
|
-
|
|
236
231
|
</details>
|
|
237
232
|
<details>
|
|
238
233
|
<summary>
|
|
@@ -240,7 +235,6 @@ DeleteHomeRegionControl
|
|
|
240
235
|
</summary>
|
|
241
236
|
|
|
242
237
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migrationhub-config/command/DeleteHomeRegionControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/DeleteHomeRegionControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/DeleteHomeRegionControlCommandOutput/)
|
|
243
|
-
|
|
244
238
|
</details>
|
|
245
239
|
<details>
|
|
246
240
|
<summary>
|
|
@@ -248,7 +242,6 @@ DescribeHomeRegionControls
|
|
|
248
242
|
</summary>
|
|
249
243
|
|
|
250
244
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migrationhub-config/command/DescribeHomeRegionControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/DescribeHomeRegionControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/DescribeHomeRegionControlsCommandOutput/)
|
|
251
|
-
|
|
252
245
|
</details>
|
|
253
246
|
<details>
|
|
254
247
|
<summary>
|
|
@@ -256,5 +249,4 @@ GetHomeRegion
|
|
|
256
249
|
</summary>
|
|
257
250
|
|
|
258
251
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migrationhub-config/command/GetHomeRegionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/GetHomeRegionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migrationhub-config/Interface/GetHomeRegionCommandOutput/)
|
|
259
|
-
|
|
260
252
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultMigrationHubConfigHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultMigrationHubConfigHttpAuthSchemeParametersProvider = defaultMigrationHubConfigHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -243,104 +243,108 @@ 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,
|
|
246
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
247
|
+
{ [_e]: _c },
|
|
248
|
+
[_M],
|
|
249
|
+
[0]
|
|
250
|
+
];
|
|
247
251
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
248
|
-
var CreateHomeRegionControlRequest$ = [
|
|
249
|
-
3,
|
|
250
|
-
n0,
|
|
251
|
-
_CHRCR,
|
|
252
|
+
var CreateHomeRegionControlRequest$ = [3, n0, _CHRCR,
|
|
252
253
|
0,
|
|
253
254
|
[_HR, _T, _DR],
|
|
254
|
-
[0, () => Target$, 2]
|
|
255
|
+
[0, () => Target$, 2]
|
|
255
256
|
];
|
|
256
|
-
var CreateHomeRegionControlResult$ = [
|
|
257
|
-
3,
|
|
258
|
-
n0,
|
|
259
|
-
_CHRCRr,
|
|
257
|
+
var CreateHomeRegionControlResult$ = [3, n0, _CHRCRr,
|
|
260
258
|
0,
|
|
261
259
|
[_HRC],
|
|
262
|
-
[() => HomeRegionControl$]
|
|
260
|
+
[() => HomeRegionControl$]
|
|
261
|
+
];
|
|
262
|
+
var DeleteHomeRegionControlRequest$ = [3, n0, _DHRCR,
|
|
263
|
+
0,
|
|
264
|
+
[_CI],
|
|
265
|
+
[0]
|
|
263
266
|
];
|
|
264
|
-
var
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
var DeleteHomeRegionControlResult$ = [3, n0, _DHRCRe,
|
|
268
|
+
0,
|
|
269
|
+
[],
|
|
270
|
+
[]
|
|
271
|
+
];
|
|
272
|
+
var DescribeHomeRegionControlsRequest$ = [3, n0, _DHRCRes,
|
|
270
273
|
0,
|
|
271
274
|
[_CI, _HR, _T, _MR, _NT],
|
|
272
|
-
[0, 0, () => Target$, 1, 0]
|
|
275
|
+
[0, 0, () => Target$, 1, 0]
|
|
273
276
|
];
|
|
274
|
-
var DescribeHomeRegionControlsResult$ = [
|
|
275
|
-
3,
|
|
276
|
-
n0,
|
|
277
|
-
_DHRCResc,
|
|
277
|
+
var DescribeHomeRegionControlsResult$ = [3, n0, _DHRCResc,
|
|
278
278
|
0,
|
|
279
279
|
[_HRCo, _NT],
|
|
280
|
-
[() => HomeRegionControls, 0]
|
|
280
|
+
[() => HomeRegionControls, 0]
|
|
281
|
+
];
|
|
282
|
+
var DryRunOperation$ = [-3, n0, _DRO,
|
|
283
|
+
{ [_e]: _c },
|
|
284
|
+
[_M],
|
|
285
|
+
[0]
|
|
281
286
|
];
|
|
282
|
-
var DryRunOperation$ = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
|
|
283
287
|
schema.TypeRegistry.for(n0).registerError(DryRunOperation$, DryRunOperation);
|
|
284
|
-
var GetHomeRegionRequest$ = [3, n0, _GHRR,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
+
var GetHomeRegionRequest$ = [3, n0, _GHRR,
|
|
289
|
+
0,
|
|
290
|
+
[],
|
|
291
|
+
[]
|
|
292
|
+
];
|
|
293
|
+
var GetHomeRegionResult$ = [3, n0, _GHRRe,
|
|
294
|
+
0,
|
|
295
|
+
[_HR],
|
|
296
|
+
[0]
|
|
297
|
+
];
|
|
298
|
+
var HomeRegionControl$ = [3, n0, _HRC,
|
|
299
|
+
0,
|
|
300
|
+
[_CI, _HR, _T, _RT],
|
|
301
|
+
[0, 0, () => Target$, 4]
|
|
302
|
+
];
|
|
303
|
+
var InternalServerError$ = [-3, n0, _ISE,
|
|
304
|
+
{ [_e]: _s },
|
|
305
|
+
[_M],
|
|
306
|
+
[0]
|
|
307
|
+
];
|
|
288
308
|
schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
289
|
-
var InvalidInputException$ = [-3, n0, _IIE,
|
|
309
|
+
var InvalidInputException$ = [-3, n0, _IIE,
|
|
310
|
+
{ [_e]: _c },
|
|
311
|
+
[_M],
|
|
312
|
+
[0]
|
|
313
|
+
];
|
|
290
314
|
schema.TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
291
|
-
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
315
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
316
|
+
{ [_e]: _s },
|
|
317
|
+
[_M],
|
|
318
|
+
[0]
|
|
319
|
+
];
|
|
292
320
|
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
293
|
-
var Target$ = [3, n0, _T,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
321
|
+
var Target$ = [3, n0, _T,
|
|
322
|
+
0,
|
|
323
|
+
[_Ty, _I],
|
|
324
|
+
[0, 0]
|
|
325
|
+
];
|
|
326
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
298
327
|
{ [_e]: _c, [_hE]: 429 },
|
|
299
328
|
[_M, _RAS],
|
|
300
|
-
[0, [1, { [_hH]: _RA }]]
|
|
329
|
+
[0, [1, { [_hH]: _RA }]]
|
|
301
330
|
];
|
|
302
331
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
303
|
-
var MigrationHubConfigServiceException$ = [
|
|
304
|
-
-3,
|
|
305
|
-
_sm,
|
|
306
|
-
"MigrationHubConfigServiceException",
|
|
307
|
-
0,
|
|
308
|
-
[],
|
|
309
|
-
[],
|
|
310
|
-
];
|
|
332
|
+
var MigrationHubConfigServiceException$ = [-3, _sm, "MigrationHubConfigServiceException", 0, [], []];
|
|
311
333
|
schema.TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
|
|
312
|
-
var HomeRegionControls = [1, n0, _HRCo,
|
|
313
|
-
|
|
314
|
-
9,
|
|
315
|
-
n0,
|
|
316
|
-
_CHRC,
|
|
317
|
-
0,
|
|
318
|
-
() => CreateHomeRegionControlRequest$,
|
|
319
|
-
() => CreateHomeRegionControlResult$,
|
|
334
|
+
var HomeRegionControls = [1, n0, _HRCo,
|
|
335
|
+
0, () => HomeRegionControl$
|
|
320
336
|
];
|
|
321
|
-
var
|
|
322
|
-
|
|
323
|
-
n0,
|
|
324
|
-
_DHRC,
|
|
325
|
-
0,
|
|
326
|
-
() => DeleteHomeRegionControlRequest$,
|
|
327
|
-
() => DeleteHomeRegionControlResult$,
|
|
337
|
+
var CreateHomeRegionControl$ = [9, n0, _CHRC,
|
|
338
|
+
0, () => CreateHomeRegionControlRequest$, () => CreateHomeRegionControlResult$
|
|
328
339
|
];
|
|
329
|
-
var
|
|
330
|
-
|
|
331
|
-
n0,
|
|
332
|
-
_DHRCe,
|
|
333
|
-
0,
|
|
334
|
-
() => DescribeHomeRegionControlsRequest$,
|
|
335
|
-
() => DescribeHomeRegionControlsResult$,
|
|
340
|
+
var DeleteHomeRegionControl$ = [9, n0, _DHRC,
|
|
341
|
+
0, () => DeleteHomeRegionControlRequest$, () => DeleteHomeRegionControlResult$
|
|
336
342
|
];
|
|
337
|
-
var
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
0,
|
|
342
|
-
() => GetHomeRegionRequest$,
|
|
343
|
-
() => GetHomeRegionResult$,
|
|
343
|
+
var DescribeHomeRegionControls$ = [9, n0, _DHRCe,
|
|
344
|
+
0, () => DescribeHomeRegionControlsRequest$, () => DescribeHomeRegionControlsResult$
|
|
345
|
+
];
|
|
346
|
+
var GetHomeRegion$ = [9, n0, _GHR,
|
|
347
|
+
0, () => GetHomeRegionRequest$, () => GetHomeRegionResult$
|
|
344
348
|
];
|
|
345
349
|
|
|
346
350
|
class CreateHomeRegionControlCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultMigrationHubConfigHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -40,102 +40,106 @@ const n0 = "com.amazonaws.migrationhubconfig";
|
|
|
40
40
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
41
41
|
import { AccessDeniedException, DryRunOperation, InternalServerError, InvalidInputException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
|
|
42
42
|
import { MigrationHubConfigServiceException } from "../models/MigrationHubConfigServiceException";
|
|
43
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
43
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
44
|
+
{ [_e]: _c },
|
|
45
|
+
[_M],
|
|
46
|
+
[0]
|
|
47
|
+
];
|
|
44
48
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
45
|
-
export var CreateHomeRegionControlRequest$ = [
|
|
46
|
-
3,
|
|
47
|
-
n0,
|
|
48
|
-
_CHRCR,
|
|
49
|
+
export var CreateHomeRegionControlRequest$ = [3, n0, _CHRCR,
|
|
49
50
|
0,
|
|
50
51
|
[_HR, _T, _DR],
|
|
51
|
-
[0, () => Target$, 2]
|
|
52
|
+
[0, () => Target$, 2]
|
|
52
53
|
];
|
|
53
|
-
export var CreateHomeRegionControlResult$ = [
|
|
54
|
-
3,
|
|
55
|
-
n0,
|
|
56
|
-
_CHRCRr,
|
|
54
|
+
export var CreateHomeRegionControlResult$ = [3, n0, _CHRCRr,
|
|
57
55
|
0,
|
|
58
56
|
[_HRC],
|
|
59
|
-
[() => HomeRegionControl$]
|
|
60
|
-
];
|
|
61
|
-
export var DeleteHomeRegionControlRequest$ = [3, n0, _DHRCR,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
[() => HomeRegionControl$]
|
|
58
|
+
];
|
|
59
|
+
export var DeleteHomeRegionControlRequest$ = [3, n0, _DHRCR,
|
|
60
|
+
0,
|
|
61
|
+
[_CI],
|
|
62
|
+
[0]
|
|
63
|
+
];
|
|
64
|
+
export var DeleteHomeRegionControlResult$ = [3, n0, _DHRCRe,
|
|
65
|
+
0,
|
|
66
|
+
[],
|
|
67
|
+
[]
|
|
68
|
+
];
|
|
69
|
+
export var DescribeHomeRegionControlsRequest$ = [3, n0, _DHRCRes,
|
|
67
70
|
0,
|
|
68
71
|
[_CI, _HR, _T, _MR, _NT],
|
|
69
|
-
[0, 0, () => Target$, 1, 0]
|
|
72
|
+
[0, 0, () => Target$, 1, 0]
|
|
70
73
|
];
|
|
71
|
-
export var DescribeHomeRegionControlsResult$ = [
|
|
72
|
-
3,
|
|
73
|
-
n0,
|
|
74
|
-
_DHRCResc,
|
|
74
|
+
export var DescribeHomeRegionControlsResult$ = [3, n0, _DHRCResc,
|
|
75
75
|
0,
|
|
76
76
|
[_HRCo, _NT],
|
|
77
|
-
[() => HomeRegionControls, 0]
|
|
77
|
+
[() => HomeRegionControls, 0]
|
|
78
|
+
];
|
|
79
|
+
export var DryRunOperation$ = [-3, n0, _DRO,
|
|
80
|
+
{ [_e]: _c },
|
|
81
|
+
[_M],
|
|
82
|
+
[0]
|
|
78
83
|
];
|
|
79
|
-
export var DryRunOperation$ = [-3, n0, _DRO, { [_e]: _c }, [_M], [0]];
|
|
80
84
|
TypeRegistry.for(n0).registerError(DryRunOperation$, DryRunOperation);
|
|
81
|
-
export var GetHomeRegionRequest$ = [3, n0, _GHRR,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
export var GetHomeRegionRequest$ = [3, n0, _GHRR,
|
|
86
|
+
0,
|
|
87
|
+
[],
|
|
88
|
+
[]
|
|
89
|
+
];
|
|
90
|
+
export var GetHomeRegionResult$ = [3, n0, _GHRRe,
|
|
91
|
+
0,
|
|
92
|
+
[_HR],
|
|
93
|
+
[0]
|
|
94
|
+
];
|
|
95
|
+
export var HomeRegionControl$ = [3, n0, _HRC,
|
|
96
|
+
0,
|
|
97
|
+
[_CI, _HR, _T, _RT],
|
|
98
|
+
[0, 0, () => Target$, 4]
|
|
99
|
+
];
|
|
100
|
+
export var InternalServerError$ = [-3, n0, _ISE,
|
|
101
|
+
{ [_e]: _s },
|
|
102
|
+
[_M],
|
|
103
|
+
[0]
|
|
104
|
+
];
|
|
85
105
|
TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
86
|
-
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
106
|
+
export var InvalidInputException$ = [-3, n0, _IIE,
|
|
107
|
+
{ [_e]: _c },
|
|
108
|
+
[_M],
|
|
109
|
+
[0]
|
|
110
|
+
];
|
|
87
111
|
TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
|
|
88
|
-
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
112
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
113
|
+
{ [_e]: _s },
|
|
114
|
+
[_M],
|
|
115
|
+
[0]
|
|
116
|
+
];
|
|
89
117
|
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
90
|
-
export var Target$ = [3, n0, _T,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
118
|
+
export var Target$ = [3, n0, _T,
|
|
119
|
+
0,
|
|
120
|
+
[_Ty, _I],
|
|
121
|
+
[0, 0]
|
|
122
|
+
];
|
|
123
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
95
124
|
{ [_e]: _c, [_hE]: 429 },
|
|
96
125
|
[_M, _RAS],
|
|
97
|
-
[0, [1, { [_hH]: _RA }]]
|
|
126
|
+
[0, [1, { [_hH]: _RA }]]
|
|
98
127
|
];
|
|
99
128
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
100
|
-
export var MigrationHubConfigServiceException$ = [
|
|
101
|
-
-3,
|
|
102
|
-
_sm,
|
|
103
|
-
"MigrationHubConfigServiceException",
|
|
104
|
-
0,
|
|
105
|
-
[],
|
|
106
|
-
[],
|
|
107
|
-
];
|
|
129
|
+
export var MigrationHubConfigServiceException$ = [-3, _sm, "MigrationHubConfigServiceException", 0, [], []];
|
|
108
130
|
TypeRegistry.for(_sm).registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
|
|
109
|
-
var HomeRegionControls = [1, n0, _HRCo,
|
|
110
|
-
|
|
111
|
-
9,
|
|
112
|
-
n0,
|
|
113
|
-
_CHRC,
|
|
114
|
-
0,
|
|
115
|
-
() => CreateHomeRegionControlRequest$,
|
|
116
|
-
() => CreateHomeRegionControlResult$,
|
|
131
|
+
var HomeRegionControls = [1, n0, _HRCo,
|
|
132
|
+
0, () => HomeRegionControl$
|
|
117
133
|
];
|
|
118
|
-
export var
|
|
119
|
-
|
|
120
|
-
n0,
|
|
121
|
-
_DHRC,
|
|
122
|
-
0,
|
|
123
|
-
() => DeleteHomeRegionControlRequest$,
|
|
124
|
-
() => DeleteHomeRegionControlResult$,
|
|
134
|
+
export var CreateHomeRegionControl$ = [9, n0, _CHRC,
|
|
135
|
+
0, () => CreateHomeRegionControlRequest$, () => CreateHomeRegionControlResult$
|
|
125
136
|
];
|
|
126
|
-
export var
|
|
127
|
-
|
|
128
|
-
n0,
|
|
129
|
-
_DHRCe,
|
|
130
|
-
0,
|
|
131
|
-
() => DescribeHomeRegionControlsRequest$,
|
|
132
|
-
() => DescribeHomeRegionControlsResult$,
|
|
137
|
+
export var DeleteHomeRegionControl$ = [9, n0, _DHRC,
|
|
138
|
+
0, () => DeleteHomeRegionControlRequest$, () => DeleteHomeRegionControlResult$
|
|
133
139
|
];
|
|
134
|
-
export var
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
0,
|
|
139
|
-
() => GetHomeRegionRequest$,
|
|
140
|
-
() => GetHomeRegionResult$,
|
|
140
|
+
export var DescribeHomeRegionControls$ = [9, n0, _DHRCe,
|
|
141
|
+
0, () => DescribeHomeRegionControlsRequest$, () => DescribeHomeRegionControlsResult$
|
|
142
|
+
];
|
|
143
|
+
export var GetHomeRegion$ = [9, n0, _GHR,
|
|
144
|
+
0, () => GetHomeRegionRequest$, () => GetHomeRegionResult$
|
|
141
145
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.958.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-migrationhub-config",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|