@aws-sdk/client-migration-hub-refactor-spaces 3.53.0 → 3.55.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +3 -0
  3. package/dist-cjs/MigrationHubRefactorSpacesClient.js +13 -13
  4. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  5. package/dist-cjs/commands/CreateEnvironmentCommand.js +3 -3
  6. package/dist-cjs/commands/CreateRouteCommand.js +3 -3
  7. package/dist-cjs/commands/CreateServiceCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteEnvironmentCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteRouteCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
  13. package/dist-cjs/commands/GetApplicationCommand.js +3 -3
  14. package/dist-cjs/commands/GetEnvironmentCommand.js +3 -3
  15. package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
  16. package/dist-cjs/commands/GetRouteCommand.js +3 -3
  17. package/dist-cjs/commands/GetServiceCommand.js +3 -3
  18. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  19. package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +3 -3
  20. package/dist-cjs/commands/ListEnvironmentsCommand.js +3 -3
  21. package/dist-cjs/commands/ListRoutesCommand.js +3 -3
  22. package/dist-cjs/commands/ListServicesCommand.js +3 -3
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  25. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  27. package/dist-cjs/endpoints.js +1 -1
  28. package/dist-cjs/protocols/Aws_restJson1.js +318 -318
  29. package/dist-cjs/runtimeConfig.browser.js +4 -4
  30. package/dist-cjs/runtimeConfig.js +9 -9
  31. package/dist-cjs/runtimeConfig.native.js +1 -1
  32. package/dist-es/MigrationHubRefactorSpaces.js +23 -23
  33. package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
  34. package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +4 -4
  35. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -4
  36. package/dist-es/pagination/ListRoutesPaginator.js +4 -4
  37. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  38. package/dist-es/protocols/Aws_restJson1.js +23 -23
  39. package/dist-types/MigrationHubRefactorSpaces.d.ts +29 -19
  40. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +5 -2
  41. package/dist-types/commands/CreateApplicationCommand.d.ts +2 -2
  42. package/dist-types/commands/CreateEnvironmentCommand.d.ts +5 -4
  43. package/dist-types/commands/CreateRouteCommand.d.ts +14 -10
  44. package/dist-types/commands/CreateServiceCommand.d.ts +1 -1
  45. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +2 -1
  46. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
  47. package/dist-types/models/models_0.d.ts +20 -12
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +3 -3
  51. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +2 -2
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  55. package/package.json +34 -34
@@ -15,7 +15,7 @@ export var serializeAws_restJson1CreateApplicationCommand = function (input, con
15
15
  headers = {
16
16
  "content-type": "application/json",
17
17
  };
18
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
18
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
19
19
  "/environments/{EnvironmentIdentifier}/applications";
20
20
  if (input.EnvironmentIdentifier !== undefined) {
21
21
  labelValue = input.EnvironmentIdentifier;
@@ -54,7 +54,7 @@ export var serializeAws_restJson1CreateEnvironmentCommand = function (input, con
54
54
  headers = {
55
55
  "content-type": "application/json",
56
56
  };
57
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
57
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
58
58
  body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NetworkFabricType !== undefined &&
59
59
  input.NetworkFabricType !== null && { NetworkFabricType: input.NetworkFabricType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
60
60
  return [2, new __HttpRequest({
@@ -80,7 +80,7 @@ export var serializeAws_restJson1CreateRouteCommand = function (input, context)
80
80
  headers = {
81
81
  "content-type": "application/json",
82
82
  };
83
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
83
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
84
84
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes";
85
85
  if (input.EnvironmentIdentifier !== undefined) {
86
86
  labelValue = input.EnvironmentIdentifier;
@@ -130,7 +130,7 @@ export var serializeAws_restJson1CreateServiceCommand = function (input, context
130
130
  headers = {
131
131
  "content-type": "application/json",
132
132
  };
133
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
133
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
134
134
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services";
135
135
  if (input.EnvironmentIdentifier !== undefined) {
136
136
  labelValue = input.EnvironmentIdentifier;
@@ -179,7 +179,7 @@ export var serializeAws_restJson1DeleteApplicationCommand = function (input, con
179
179
  case 1:
180
180
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
181
181
  headers = {};
182
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
182
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
183
183
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}";
184
184
  if (input.EnvironmentIdentifier !== undefined) {
185
185
  labelValue = input.EnvironmentIdentifier;
@@ -221,7 +221,7 @@ export var serializeAws_restJson1DeleteEnvironmentCommand = function (input, con
221
221
  case 1:
222
222
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
223
223
  headers = {};
224
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{EnvironmentIdentifier}";
224
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{EnvironmentIdentifier}";
225
225
  if (input.EnvironmentIdentifier !== undefined) {
226
226
  labelValue = input.EnvironmentIdentifier;
227
227
  if (labelValue.length <= 0) {
@@ -252,7 +252,7 @@ export var serializeAws_restJson1DeleteResourcePolicyCommand = function (input,
252
252
  case 1:
253
253
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
254
254
  headers = {};
255
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy/{Identifier}";
255
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy/{Identifier}";
256
256
  if (input.Identifier !== undefined) {
257
257
  labelValue = input.Identifier;
258
258
  if (labelValue.length <= 0) {
@@ -283,7 +283,7 @@ export var serializeAws_restJson1DeleteRouteCommand = function (input, context)
283
283
  case 1:
284
284
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
285
285
  headers = {};
286
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
286
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
287
287
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}";
288
288
  if (input.EnvironmentIdentifier !== undefined) {
289
289
  labelValue = input.EnvironmentIdentifier;
@@ -335,7 +335,7 @@ export var serializeAws_restJson1DeleteServiceCommand = function (input, context
335
335
  case 1:
336
336
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
337
337
  headers = {};
338
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
338
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
339
339
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}";
340
340
  if (input.EnvironmentIdentifier !== undefined) {
341
341
  labelValue = input.EnvironmentIdentifier;
@@ -387,7 +387,7 @@ export var serializeAws_restJson1GetApplicationCommand = function (input, contex
387
387
  case 1:
388
388
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
389
389
  headers = {};
390
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
390
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
391
391
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}";
392
392
  if (input.EnvironmentIdentifier !== undefined) {
393
393
  labelValue = input.EnvironmentIdentifier;
@@ -429,7 +429,7 @@ export var serializeAws_restJson1GetEnvironmentCommand = function (input, contex
429
429
  case 1:
430
430
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
431
431
  headers = {};
432
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{EnvironmentIdentifier}";
432
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments/{EnvironmentIdentifier}";
433
433
  if (input.EnvironmentIdentifier !== undefined) {
434
434
  labelValue = input.EnvironmentIdentifier;
435
435
  if (labelValue.length <= 0) {
@@ -460,7 +460,7 @@ export var serializeAws_restJson1GetResourcePolicyCommand = function (input, con
460
460
  case 1:
461
461
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
462
462
  headers = {};
463
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy/{Identifier}";
463
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy/{Identifier}";
464
464
  if (input.Identifier !== undefined) {
465
465
  labelValue = input.Identifier;
466
466
  if (labelValue.length <= 0) {
@@ -491,7 +491,7 @@ export var serializeAws_restJson1GetRouteCommand = function (input, context) { r
491
491
  case 1:
492
492
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
493
493
  headers = {};
494
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
494
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
495
495
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}";
496
496
  if (input.EnvironmentIdentifier !== undefined) {
497
497
  labelValue = input.EnvironmentIdentifier;
@@ -543,7 +543,7 @@ export var serializeAws_restJson1GetServiceCommand = function (input, context) {
543
543
  case 1:
544
544
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
545
545
  headers = {};
546
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
546
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
547
547
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}";
548
548
  if (input.EnvironmentIdentifier !== undefined) {
549
549
  labelValue = input.EnvironmentIdentifier;
@@ -595,7 +595,7 @@ export var serializeAws_restJson1ListApplicationsCommand = function (input, cont
595
595
  case 1:
596
596
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
597
597
  headers = {};
598
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
598
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
599
599
  "/environments/{EnvironmentIdentifier}/applications";
600
600
  if (input.EnvironmentIdentifier !== undefined) {
601
601
  labelValue = input.EnvironmentIdentifier;
@@ -629,7 +629,7 @@ export var serializeAws_restJson1ListEnvironmentsCommand = function (input, cont
629
629
  case 1:
630
630
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
631
631
  headers = {};
632
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
632
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
633
633
  query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
634
634
  return [2, new __HttpRequest({
635
635
  protocol: protocol,
@@ -652,7 +652,7 @@ export var serializeAws_restJson1ListEnvironmentVpcsCommand = function (input, c
652
652
  case 1:
653
653
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
654
654
  headers = {};
655
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
655
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
656
656
  "/environments/{EnvironmentIdentifier}/vpcs";
657
657
  if (input.EnvironmentIdentifier !== undefined) {
658
658
  labelValue = input.EnvironmentIdentifier;
@@ -686,7 +686,7 @@ export var serializeAws_restJson1ListRoutesCommand = function (input, context) {
686
686
  case 1:
687
687
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
688
688
  headers = {};
689
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
689
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
690
690
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes";
691
691
  if (input.EnvironmentIdentifier !== undefined) {
692
692
  labelValue = input.EnvironmentIdentifier;
@@ -730,7 +730,7 @@ export var serializeAws_restJson1ListServicesCommand = function (input, context)
730
730
  case 1:
731
731
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
732
732
  headers = {};
733
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
733
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
734
734
  "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services";
735
735
  if (input.EnvironmentIdentifier !== undefined) {
736
736
  labelValue = input.EnvironmentIdentifier;
@@ -774,7 +774,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
774
774
  case 1:
775
775
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
776
776
  headers = {};
777
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
777
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
778
778
  if (input.ResourceArn !== undefined) {
779
779
  labelValue = input.ResourceArn;
780
780
  if (labelValue.length <= 0) {
@@ -807,7 +807,7 @@ export var serializeAws_restJson1PutResourcePolicyCommand = function (input, con
807
807
  headers = {
808
808
  "content-type": "application/json",
809
809
  };
810
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy";
810
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy";
811
811
  body = JSON.stringify(__assign(__assign({}, (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })));
812
812
  return [2, new __HttpRequest({
813
813
  protocol: protocol,
@@ -831,7 +831,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
831
831
  headers = {
832
832
  "content-type": "application/json",
833
833
  };
834
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
834
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
835
835
  if (input.ResourceArn !== undefined) {
836
836
  labelValue = input.ResourceArn;
837
837
  if (labelValue.length <= 0) {
@@ -863,7 +863,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
863
863
  case 1:
864
864
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
865
865
  headers = {};
866
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
866
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
867
867
  if (input.ResourceArn !== undefined) {
868
868
  labelValue = input.ResourceArn;
869
869
  if (labelValue.length <= 0) {
@@ -31,22 +31,26 @@ import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesCl
31
31
  * request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
32
32
  * access an API that is tailored to the programming language or platform that you're using. For
33
33
  * more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
34
+ *
35
+ * <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations
36
+ * 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>
34
37
  */
35
38
  export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient {
36
39
  /**
37
40
  * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the
38
41
  * applications created inside the environment, regardless of the account that creates the
39
- * application. Refactor Spaces provisions the Amazon API Gateway and Network Load Balancer for
40
- * the application proxy inside your account.</p>
42
+ * application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and
43
+ * Network Load Balancer for the application proxy inside your account.</p>
41
44
  */
42
45
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
43
46
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
44
47
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
45
48
  /**
46
- * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and they
47
- * are referred to as the <i>environment owner</i>. The environment owner has
48
- * cross-account visibility and control of Refactor Spaces resources that are added to the environment
49
- * by other accounts that the environment is shared with. When creating an environment, Refactor Spaces
49
+ * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all
50
+ * Refactor Spaces applications, services, and routes created within the environment. They are referred
51
+ * to as the <i>environment owner</i>. The environment owner has cross-account
52
+ * visibility and control of Refactor Spaces resources that are added to the environment by other
53
+ * accounts that the environment is shared with. When creating an environment, Refactor Spaces
50
54
  * provisions a transit gateway in your account.</p>
51
55
  */
52
56
  createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
@@ -70,25 +74,29 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
70
74
  * Refactor Spaces routes traffic over the public internet.</p>
71
75
  * </li>
72
76
  * <li>
73
- * <p>If the service has an Lambda function endpoint, then Refactor Spaces uses
74
- * the API Gateway
75
- * Lambda integration.</p>
77
+ * <p>If the service has an Lambda function endpoint, then Refactor Spaces
78
+ * configures the Lambda function's resource policy to allow the application's
79
+ * API Gateway to invoke the function.</p>
76
80
  * </li>
77
81
  * </ul>
78
- * <p>A health check is performed on the service when the route is created. If the health check
79
- * fails, the route transitions to <code>FAILED</code>, and no traffic is sent to the service.</p>
80
- * <p>For Lambda functions, the Lambda function state is checked. If
81
- * the function is not active, the function configuration is updated so that Lambda
82
+ * <p>A one-time health check is performed on the service when the route is created. If the
83
+ * health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
84
+ * the service.</p>
85
+ * <p>For Lambda functions, the Lambda function state is checked. If the
86
+ * function is not active, the function configuration is updated so that Lambda
82
87
  * resources are provisioned. If the Lambda state is <code>Failed</code>, then the
83
88
  * route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
84
- * <p>For public URLs, a connection is opened to the public endpoint. If the URL is not reachable,
85
- * the health check fails. For private URLs, a target group is created and the target group
86
- * health check is run.</p>
89
+ * <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
90
+ * reachable, the health check fails. For private URLs, a target group is created and the target
91
+ * group health check is run.</p>
87
92
  * <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
88
93
  * <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
89
94
  * health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
90
95
  * for your target groups</a>. The health check is considered successful if at least one
91
96
  * target within the target group transitions to a healthy state.</p>
97
+ * <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
98
+ * certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
99
+ * CA's domain is publicly resolvable.</p>
92
100
  */
93
101
  createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
94
102
  createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
@@ -99,7 +107,7 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
99
107
  * Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda
100
108
  * function endpoint.</p>
101
109
  * <important>
102
- * <p>If an Amazon Web Services resourceis launched in a service VPC, and you want it to be
110
+ * <p>If an Amazon Web Services resource is launched in a service VPC, and you want it to be
103
111
  * accessible to all of an environment’s services with VPCs and routes, apply the
104
112
  * <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
105
113
  * cross-account constraints, apply your own security group.</p>
@@ -184,7 +192,8 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
184
192
  listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
185
193
  listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
186
194
  /**
187
- * <p>Lists all the virtual private clouds (VPCs) that are part of an Amazon Web Services Migration Hub Refactor Spaces environment. </p>
195
+ * <p>Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the
196
+ * environment. </p>
188
197
  */
189
198
  listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentVpcsCommandOutput>;
190
199
  listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void): void;
@@ -212,7 +221,8 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
212
221
  * <p>Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
213
222
  * must contain the same actions and condition statements as the
214
223
  * <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
215
- * permission in Resource Access Manager. The policy must not contain new lines or blank lines. </p>
224
+ * permission in Resource Access Manager. The policy must not contain new lines or blank lines.
225
+ * </p>
216
226
  */
217
227
  putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
218
228
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
10
10
  import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
11
11
  import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
@@ -51,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
51
51
  * A function that can calculate the length of a request body.
52
52
  * @internal
53
53
  */
54
- bodyLengthChecker?: (body: any) => number | undefined;
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
55
  /**
56
56
  * A function that converts a stream into an array of bytes.
57
57
  * @internal
@@ -156,6 +156,9 @@ export interface MigrationHubRefactorSpacesClientResolvedConfig extends Migratio
156
156
  * request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
157
157
  * access an API that is tailored to the programming language or platform that you're using. For
158
158
  * more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
159
+ *
160
+ * <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations
161
+ * 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>
159
162
  */
160
163
  export declare class MigrationHubRefactorSpacesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubRefactorSpacesClientResolvedConfig> {
161
164
  /**
@@ -9,8 +9,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
9
9
  /**
10
10
  * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the
11
11
  * applications created inside the environment, regardless of the account that creates the
12
- * application. Refactor Spaces provisions the Amazon API Gateway and Network Load Balancer for
13
- * the application proxy inside your account.</p>
12
+ * application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and
13
+ * Network Load Balancer for the application proxy inside your account.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,10 +7,11 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentRequest
7
7
  export interface CreateEnvironmentCommandOutput extends CreateEnvironmentResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and they
11
- * are referred to as the <i>environment owner</i>. The environment owner has
12
- * cross-account visibility and control of Refactor Spaces resources that are added to the environment
13
- * by other accounts that the environment is shared with. When creating an environment, Refactor Spaces
10
+ * <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all
11
+ * Refactor Spaces applications, services, and routes created within the environment. They are referred
12
+ * to as the <i>environment owner</i>. The environment owner has cross-account
13
+ * visibility and control of Refactor Spaces resources that are added to the environment by other
14
+ * accounts that the environment is shared with. When creating an environment, Refactor Spaces
14
15
  * provisions a transit gateway in your account.</p>
15
16
  * @example
16
17
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,25 +24,29 @@ export interface CreateRouteCommandOutput extends CreateRouteResponse, __Metadat
24
24
  * Refactor Spaces routes traffic over the public internet.</p>
25
25
  * </li>
26
26
  * <li>
27
- * <p>If the service has an Lambda function endpoint, then Refactor Spaces uses
28
- * the API Gateway
29
- * Lambda integration.</p>
27
+ * <p>If the service has an Lambda function endpoint, then Refactor Spaces
28
+ * configures the Lambda function's resource policy to allow the application's
29
+ * API Gateway to invoke the function.</p>
30
30
  * </li>
31
31
  * </ul>
32
- * <p>A health check is performed on the service when the route is created. If the health check
33
- * fails, the route transitions to <code>FAILED</code>, and no traffic is sent to the service.</p>
34
- * <p>For Lambda functions, the Lambda function state is checked. If
35
- * the function is not active, the function configuration is updated so that Lambda
32
+ * <p>A one-time health check is performed on the service when the route is created. If the
33
+ * health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
34
+ * the service.</p>
35
+ * <p>For Lambda functions, the Lambda function state is checked. If the
36
+ * function is not active, the function configuration is updated so that Lambda
36
37
  * resources are provisioned. If the Lambda state is <code>Failed</code>, then the
37
38
  * route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
38
- * <p>For public URLs, a connection is opened to the public endpoint. If the URL is not reachable,
39
- * the health check fails. For private URLs, a target group is created and the target group
40
- * health check is run.</p>
39
+ * <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
40
+ * reachable, the health check fails. For private URLs, a target group is created and the target
41
+ * group health check is run.</p>
41
42
  * <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
42
43
  * <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
43
44
  * health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
44
45
  * for your target groups</a>. The health check is considered successful if at least one
45
46
  * target within the target group transitions to a healthy state.</p>
47
+ * <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
48
+ * certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
49
+ * CA's domain is publicly resolvable.</p>
46
50
  * @example
47
51
  * Use a bare-bones client and the command you need to make an API call.
48
52
  * ```javascript
@@ -12,7 +12,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
12
12
  * Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda
13
13
  * function endpoint.</p>
14
14
  * <important>
15
- * <p>If an Amazon Web Services resourceis launched in a service VPC, and you want it to be
15
+ * <p>If an Amazon Web Services resource is launched in a service VPC, and you want it to be
16
16
  * accessible to all of an environment’s services with VPCs and routes, apply the
17
17
  * <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
18
18
  * cross-account constraints, apply your own security group.</p>
@@ -7,7 +7,8 @@ export interface ListEnvironmentVpcsCommandInput extends ListEnvironmentVpcsRequ
7
7
  export interface ListEnvironmentVpcsCommandOutput extends ListEnvironmentVpcsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists all the virtual private clouds (VPCs) that are part of an Amazon Web Services Migration Hub Refactor Spaces environment. </p>
10
+ * <p>Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the
11
+ * environment. </p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -10,7 +10,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
10
10
  * <p>Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
11
11
  * must contain the same actions and condition statements as the
12
12
  * <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
13
- * permission in Resource Access Manager. The policy must not contain new lines or blank lines. </p>
13
+ * permission in Resource Access Manager. The policy must not contain new lines or blank lines.
14
+ * </p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -37,7 +37,8 @@ export interface ApiGatewayProxyConfig {
37
37
  */
38
38
  NlbArn?: string;
39
39
  /**
40
- * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy. </p>
40
+ * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
41
+ * </p>
41
42
  */
42
43
  NlbName?: string;
43
44
  /**
@@ -100,7 +101,8 @@ export interface ApiGatewayProxySummary {
100
101
  */
101
102
  NlbArn?: string;
102
103
  /**
103
- * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy. </p>
104
+ * <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
105
+ * </p>
104
106
  */
105
107
  NlbName?: string;
106
108
  /**
@@ -209,11 +211,12 @@ export interface ApplicationSummary {
209
211
  */
210
212
  Name?: string;
211
213
  /**
212
- * <p>he Amazon Resource Name (ARN) of the application. </p>
214
+ * <p>The Amazon Resource Name (ARN) of the application. </p>
213
215
  */
214
216
  Arn?: string;
215
217
  /**
216
- * <p>The Amazon Web Services account ID of the application owner.</p>
218
+ * <p>The Amazon Web Services account ID of the application owner (which is always the same as
219
+ * the environment owner account ID).</p>
217
220
  */
218
221
  OwnerAccountId?: string;
219
222
  /**
@@ -344,7 +347,8 @@ export interface CreateApplicationResponse {
344
347
  */
345
348
  Arn?: string;
346
349
  /**
347
- * <p>The Amazon Web Services account ID of the application owner.</p>
350
+ * <p>The Amazon Web Services account ID of the application owner (which is always the same as
351
+ * the environment owner account ID).</p>
348
352
  */
349
353
  OwnerAccountId?: string;
350
354
  /**
@@ -486,7 +490,8 @@ export declare class ThrottlingException extends __BaseException {
486
490
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
487
491
  }
488
492
  /**
489
- * <p>The input does not satisfy the constraints specified by an Amazon Web Service. </p>
493
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Service.
494
+ * </p>
490
495
  */
491
496
  export declare class ValidationException extends __BaseException {
492
497
  readonly name: "ValidationException";
@@ -613,7 +618,8 @@ export interface UriPathRouteInput {
613
618
  */
614
619
  SourcePath: string | undefined;
615
620
  /**
616
- * <p>Indicates whether traffic is forwarded to this route’s service after the route is created. </p>
621
+ * <p>Indicates whether traffic is forwarded to this route’s service after the route is created.
622
+ * </p>
617
623
  */
618
624
  ActivationState: RouteActivationState | string | undefined;
619
625
  /**
@@ -712,7 +718,7 @@ export interface CreateRouteResponse {
712
718
  */
713
719
  RouteType?: RouteType | string;
714
720
  /**
715
- * <p>The ID of service in which the rute iscreated. Traffic that matches this route is
721
+ * <p>The ID of service in which the route is created. Traffic that matches this route is
716
722
  * forwarded to this service.</p>
717
723
  */
718
724
  ServiceId?: string;
@@ -725,7 +731,7 @@ export interface CreateRouteResponse {
725
731
  */
726
732
  UriPathRoute?: UriPathRouteInput;
727
733
  /**
728
- * <p>he current state of the route. </p>
734
+ * <p>The current state of the route. </p>
729
735
  */
730
736
  State?: RouteState | string;
731
737
  /**
@@ -1065,7 +1071,7 @@ export interface DeleteRouteResponse {
1065
1071
  */
1066
1072
  ServiceId?: string;
1067
1073
  /**
1068
- * <p>he ID of the application that the route belongs to.</p>
1074
+ * <p>The ID of the application that the route belongs to.</p>
1069
1075
  */
1070
1076
  ApplicationId?: string;
1071
1077
  /**
@@ -1145,7 +1151,8 @@ export declare namespace DeleteServiceResponse {
1145
1151
  const filterSensitiveLog: (obj: DeleteServiceResponse) => any;
1146
1152
  }
1147
1153
  /**
1148
- * <p>The summary information for environments as a response to <code>ListEnvironments</code>. </p>
1154
+ * <p>The summary information for environments as a response to <code>ListEnvironments</code>.
1155
+ * </p>
1149
1156
  */
1150
1157
  export interface EnvironmentSummary {
1151
1158
  /**
@@ -1271,7 +1278,8 @@ export interface GetApplicationResponse {
1271
1278
  */
1272
1279
  Arn?: string;
1273
1280
  /**
1274
- * <p>The Amazon Web Services account ID of the application owner.</p>
1281
+ * <p>The Amazon Web Services account ID of the application owner (which is always the same as
1282
+ * the environment owner account ID).</p>
1275
1283
  */
1276
1284
  OwnerAccountId?: string;
1277
1285
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;