@aws-sdk/client-migration-hub-refactor-spaces 3.957.0 → 3.962.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 +3 -38
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +328 -589
- 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/models/errors.js +1 -1
- 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 +326 -587
- 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
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript MigrationHubRefactorSpaces Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Web Services Migration Hub Refactor Spaces</fullname>
|
|
10
|
-
|
|
11
10
|
<p>This API reference provides descriptions, syntax, and other details about each of the
|
|
12
11
|
actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API
|
|
13
12
|
request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
|
|
@@ -17,10 +16,8 @@ more information, see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Se
|
|
|
17
16
|
and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p>
|
|
18
17
|
|
|
19
18
|
## Installing
|
|
20
|
-
|
|
21
19
|
To install this package, simply type add or install @aws-sdk/client-migration-hub-refactor-spaces
|
|
22
20
|
using your favorite package manager:
|
|
23
|
-
|
|
24
21
|
- `npm install @aws-sdk/client-migration-hub-refactor-spaces`
|
|
25
22
|
- `yarn add @aws-sdk/client-migration-hub-refactor-spaces`
|
|
26
23
|
- `pnpm add @aws-sdk/client-migration-hub-refactor-spaces`
|
|
@@ -35,18 +32,12 @@ the commands you need, for example `ListEnvironmentsCommand`:
|
|
|
35
32
|
|
|
36
33
|
```js
|
|
37
34
|
// ES5 example
|
|
38
|
-
const {
|
|
39
|
-
MigrationHubRefactorSpacesClient,
|
|
40
|
-
ListEnvironmentsCommand,
|
|
41
|
-
} = require("@aws-sdk/client-migration-hub-refactor-spaces");
|
|
35
|
+
const { MigrationHubRefactorSpacesClient, ListEnvironmentsCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces");
|
|
42
36
|
```
|
|
43
37
|
|
|
44
38
|
```ts
|
|
45
39
|
// ES6+ example
|
|
46
|
-
import {
|
|
47
|
-
MigrationHubRefactorSpacesClient,
|
|
48
|
-
ListEnvironmentsCommand,
|
|
49
|
-
} from "@aws-sdk/client-migration-hub-refactor-spaces";
|
|
40
|
+
import { MigrationHubRefactorSpacesClient, ListEnvironmentsCommand } from "@aws-sdk/client-migration-hub-refactor-spaces";
|
|
50
41
|
```
|
|
51
42
|
|
|
52
43
|
### Usage
|
|
@@ -62,9 +53,7 @@ To send a request, you:
|
|
|
62
53
|
// a client can be shared by different commands.
|
|
63
54
|
const client = new MigrationHubRefactorSpacesClient({ region: "REGION" });
|
|
64
55
|
|
|
65
|
-
const params = {
|
|
66
|
-
/** input parameters */
|
|
67
|
-
};
|
|
56
|
+
const params = { /** input parameters */ };
|
|
68
57
|
const command = new ListEnvironmentsCommand(params);
|
|
69
58
|
```
|
|
70
59
|
|
|
@@ -223,7 +212,6 @@ CreateApplication
|
|
|
223
212
|
</summary>
|
|
224
213
|
|
|
225
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/CreateApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateApplicationCommandOutput/)
|
|
226
|
-
|
|
227
215
|
</details>
|
|
228
216
|
<details>
|
|
229
217
|
<summary>
|
|
@@ -231,7 +219,6 @@ CreateEnvironment
|
|
|
231
219
|
</summary>
|
|
232
220
|
|
|
233
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/CreateEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateEnvironmentCommandOutput/)
|
|
234
|
-
|
|
235
222
|
</details>
|
|
236
223
|
<details>
|
|
237
224
|
<summary>
|
|
@@ -239,7 +226,6 @@ CreateRoute
|
|
|
239
226
|
</summary>
|
|
240
227
|
|
|
241
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/CreateRouteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateRouteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateRouteCommandOutput/)
|
|
242
|
-
|
|
243
229
|
</details>
|
|
244
230
|
<details>
|
|
245
231
|
<summary>
|
|
@@ -247,7 +233,6 @@ CreateService
|
|
|
247
233
|
</summary>
|
|
248
234
|
|
|
249
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/CreateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/CreateServiceCommandOutput/)
|
|
250
|
-
|
|
251
236
|
</details>
|
|
252
237
|
<details>
|
|
253
238
|
<summary>
|
|
@@ -255,7 +240,6 @@ DeleteApplication
|
|
|
255
240
|
</summary>
|
|
256
241
|
|
|
257
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/DeleteApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteApplicationCommandOutput/)
|
|
258
|
-
|
|
259
243
|
</details>
|
|
260
244
|
<details>
|
|
261
245
|
<summary>
|
|
@@ -263,7 +247,6 @@ DeleteEnvironment
|
|
|
263
247
|
</summary>
|
|
264
248
|
|
|
265
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/DeleteEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteEnvironmentCommandOutput/)
|
|
266
|
-
|
|
267
250
|
</details>
|
|
268
251
|
<details>
|
|
269
252
|
<summary>
|
|
@@ -271,7 +254,6 @@ DeleteResourcePolicy
|
|
|
271
254
|
</summary>
|
|
272
255
|
|
|
273
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteResourcePolicyCommandOutput/)
|
|
274
|
-
|
|
275
257
|
</details>
|
|
276
258
|
<details>
|
|
277
259
|
<summary>
|
|
@@ -279,7 +261,6 @@ DeleteRoute
|
|
|
279
261
|
</summary>
|
|
280
262
|
|
|
281
263
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/DeleteRouteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteRouteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteRouteCommandOutput/)
|
|
282
|
-
|
|
283
264
|
</details>
|
|
284
265
|
<details>
|
|
285
266
|
<summary>
|
|
@@ -287,7 +268,6 @@ DeleteService
|
|
|
287
268
|
</summary>
|
|
288
269
|
|
|
289
270
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/DeleteServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/DeleteServiceCommandOutput/)
|
|
290
|
-
|
|
291
271
|
</details>
|
|
292
272
|
<details>
|
|
293
273
|
<summary>
|
|
@@ -295,7 +275,6 @@ GetApplication
|
|
|
295
275
|
</summary>
|
|
296
276
|
|
|
297
277
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/GetApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetApplicationCommandOutput/)
|
|
298
|
-
|
|
299
278
|
</details>
|
|
300
279
|
<details>
|
|
301
280
|
<summary>
|
|
@@ -303,7 +282,6 @@ GetEnvironment
|
|
|
303
282
|
</summary>
|
|
304
283
|
|
|
305
284
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/GetEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetEnvironmentCommandOutput/)
|
|
306
|
-
|
|
307
285
|
</details>
|
|
308
286
|
<details>
|
|
309
287
|
<summary>
|
|
@@ -311,7 +289,6 @@ GetResourcePolicy
|
|
|
311
289
|
</summary>
|
|
312
290
|
|
|
313
291
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetResourcePolicyCommandOutput/)
|
|
314
|
-
|
|
315
292
|
</details>
|
|
316
293
|
<details>
|
|
317
294
|
<summary>
|
|
@@ -319,7 +296,6 @@ GetRoute
|
|
|
319
296
|
</summary>
|
|
320
297
|
|
|
321
298
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/GetRouteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetRouteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetRouteCommandOutput/)
|
|
322
|
-
|
|
323
299
|
</details>
|
|
324
300
|
<details>
|
|
325
301
|
<summary>
|
|
@@ -327,7 +303,6 @@ GetService
|
|
|
327
303
|
</summary>
|
|
328
304
|
|
|
329
305
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/GetServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/GetServiceCommandOutput/)
|
|
330
|
-
|
|
331
306
|
</details>
|
|
332
307
|
<details>
|
|
333
308
|
<summary>
|
|
@@ -335,7 +310,6 @@ ListApplications
|
|
|
335
310
|
</summary>
|
|
336
311
|
|
|
337
312
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListApplicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListApplicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListApplicationsCommandOutput/)
|
|
338
|
-
|
|
339
313
|
</details>
|
|
340
314
|
<details>
|
|
341
315
|
<summary>
|
|
@@ -343,7 +317,6 @@ ListEnvironments
|
|
|
343
317
|
</summary>
|
|
344
318
|
|
|
345
319
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListEnvironmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListEnvironmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListEnvironmentsCommandOutput/)
|
|
346
|
-
|
|
347
320
|
</details>
|
|
348
321
|
<details>
|
|
349
322
|
<summary>
|
|
@@ -351,7 +324,6 @@ ListEnvironmentVpcs
|
|
|
351
324
|
</summary>
|
|
352
325
|
|
|
353
326
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListEnvironmentVpcsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListEnvironmentVpcsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListEnvironmentVpcsCommandOutput/)
|
|
354
|
-
|
|
355
327
|
</details>
|
|
356
328
|
<details>
|
|
357
329
|
<summary>
|
|
@@ -359,7 +331,6 @@ ListRoutes
|
|
|
359
331
|
</summary>
|
|
360
332
|
|
|
361
333
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListRoutesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListRoutesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListRoutesCommandOutput/)
|
|
362
|
-
|
|
363
334
|
</details>
|
|
364
335
|
<details>
|
|
365
336
|
<summary>
|
|
@@ -367,7 +338,6 @@ ListServices
|
|
|
367
338
|
</summary>
|
|
368
339
|
|
|
369
340
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListServicesCommandOutput/)
|
|
370
|
-
|
|
371
341
|
</details>
|
|
372
342
|
<details>
|
|
373
343
|
<summary>
|
|
@@ -375,7 +345,6 @@ ListTagsForResource
|
|
|
375
345
|
</summary>
|
|
376
346
|
|
|
377
347
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/ListTagsForResourceCommandOutput/)
|
|
378
|
-
|
|
379
348
|
</details>
|
|
380
349
|
<details>
|
|
381
350
|
<summary>
|
|
@@ -383,7 +352,6 @@ PutResourcePolicy
|
|
|
383
352
|
</summary>
|
|
384
353
|
|
|
385
354
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/PutResourcePolicyCommandOutput/)
|
|
386
|
-
|
|
387
355
|
</details>
|
|
388
356
|
<details>
|
|
389
357
|
<summary>
|
|
@@ -391,7 +359,6 @@ TagResource
|
|
|
391
359
|
</summary>
|
|
392
360
|
|
|
393
361
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/TagResourceCommandOutput/)
|
|
394
|
-
|
|
395
362
|
</details>
|
|
396
363
|
<details>
|
|
397
364
|
<summary>
|
|
@@ -399,7 +366,6 @@ UntagResource
|
|
|
399
366
|
</summary>
|
|
400
367
|
|
|
401
368
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/UntagResourceCommandOutput/)
|
|
402
|
-
|
|
403
369
|
</details>
|
|
404
370
|
<details>
|
|
405
371
|
<summary>
|
|
@@ -407,5 +373,4 @@ UpdateRoute
|
|
|
407
373
|
</summary>
|
|
408
374
|
|
|
409
375
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/migration-hub-refactor-spaces/command/UpdateRouteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/UpdateRouteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-migration-hub-refactor-spaces/Interface/UpdateRouteCommandOutput/)
|
|
410
|
-
|
|
411
376
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider = 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.defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider = defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider;
|