@aws-sdk/client-migrationhub-config 3.34.0 → 3.37.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 (126) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/MigrationHubConfig.js +1 -30
  3. package/dist-cjs/MigrationHubConfigClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateHomeRegionControlCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/DescribeHomeRegionControlsCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/GetHomeRegionCommand.js +2 -31
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
  11. package/{dist/cjs → dist-cjs}/pagination/DescribeHomeRegionControlsPaginator.js +1 -12
  12. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  13. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  18. package/{dist/es → dist-es}/MigrationHubConfig.js +1 -2
  19. package/{dist/es → dist-es}/MigrationHubConfigClient.js +1 -2
  20. package/{dist/es → dist-es}/commands/CreateHomeRegionControlCommand.js +2 -3
  21. package/{dist/es → dist-es}/commands/DescribeHomeRegionControlsCommand.js +2 -3
  22. package/{dist/es → dist-es}/commands/GetHomeRegionCommand.js +2 -3
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -1
  27. package/{dist/es → dist-es}/pagination/DescribeHomeRegionControlsPaginator.js +1 -2
  28. package/dist-es/pagination/Interfaces.js +1 -0
  29. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  30. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  31. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  32. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  33. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  34. package/{dist/types → dist-types}/MigrationHubConfig.d.ts +2 -2
  35. package/{dist/types → dist-types}/MigrationHubConfigClient.d.ts +4 -4
  36. package/{dist/types → dist-types}/commands/CreateHomeRegionControlCommand.d.ts +2 -2
  37. package/{dist/types → dist-types}/commands/DescribeHomeRegionControlsCommand.d.ts +2 -2
  38. package/{dist/types → dist-types}/commands/GetHomeRegionCommand.d.ts +2 -2
  39. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  40. package/{index.ts → dist-types/index.d.ts} +0 -0
  41. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  42. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  43. package/{dist/types → dist-types}/pagination/DescribeHomeRegionControlsPaginator.d.ts +1 -1
  44. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  45. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  46. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  47. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  48. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  49. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  50. package/dist-types/ts3.4/MigrationHubConfig.d.ts +20 -0
  51. package/dist-types/ts3.4/MigrationHubConfigClient.d.ts +70 -0
  52. package/{dist/types → dist-types}/ts3.4/commands/CreateHomeRegionControlCommand.d.ts +4 -22
  53. package/{dist/types → dist-types}/ts3.4/commands/DescribeHomeRegionControlsCommand.d.ts +4 -23
  54. package/dist-types/ts3.4/commands/GetHomeRegionCommand.d.ts +17 -0
  55. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  56. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  57. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +152 -0
  59. package/{dist/types → dist-types}/ts3.4/pagination/DescribeHomeRegionControlsPaginator.d.ts +1 -1
  60. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  61. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  62. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  63. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  64. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  65. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  66. package/package.json +45 -42
  67. package/MigrationHubConfig.ts +0 -148
  68. package/MigrationHubConfigClient.ts +0 -275
  69. package/commands/CreateHomeRegionControlCommand.ts +0 -98
  70. package/commands/DescribeHomeRegionControlsCommand.ts +0 -102
  71. package/commands/GetHomeRegionCommand.ts +0 -102
  72. package/dist/cjs/MigrationHubConfig.js.map +0 -1
  73. package/dist/cjs/MigrationHubConfigClient.js +0 -69
  74. package/dist/cjs/MigrationHubConfigClient.js.map +0 -1
  75. package/dist/cjs/commands/CreateHomeRegionControlCommand.js.map +0 -1
  76. package/dist/cjs/commands/DescribeHomeRegionControlsCommand.js.map +0 -1
  77. package/dist/cjs/commands/GetHomeRegionCommand.js.map +0 -1
  78. package/dist/cjs/endpoints.js.map +0 -1
  79. package/dist/cjs/index.js.map +0 -1
  80. package/dist/cjs/models/index.js.map +0 -1
  81. package/dist/cjs/models/models_0.js.map +0 -1
  82. package/dist/cjs/package.json +0 -91
  83. package/dist/cjs/pagination/DescribeHomeRegionControlsPaginator.js.map +0 -1
  84. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  85. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  86. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  87. package/dist/cjs/runtimeConfig.js.map +0 -1
  88. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  89. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  90. package/dist/es/MigrationHubConfig.js.map +0 -1
  91. package/dist/es/MigrationHubConfigClient.js.map +0 -1
  92. package/dist/es/commands/CreateHomeRegionControlCommand.js.map +0 -1
  93. package/dist/es/commands/DescribeHomeRegionControlsCommand.js.map +0 -1
  94. package/dist/es/commands/GetHomeRegionCommand.js.map +0 -1
  95. package/dist/es/endpoints.js.map +0 -1
  96. package/dist/es/index.js +0 -9
  97. package/dist/es/index.js.map +0 -1
  98. package/dist/es/models/index.js +0 -2
  99. package/dist/es/models/index.js.map +0 -1
  100. package/dist/es/models/models_0.js.map +0 -1
  101. package/dist/es/package.json +0 -91
  102. package/dist/es/pagination/DescribeHomeRegionControlsPaginator.js.map +0 -1
  103. package/dist/es/pagination/Interfaces.js +0 -2
  104. package/dist/es/pagination/Interfaces.js.map +0 -1
  105. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  106. package/dist/es/runtimeConfig.browser.js.map +0 -1
  107. package/dist/es/runtimeConfig.js.map +0 -1
  108. package/dist/es/runtimeConfig.native.js.map +0 -1
  109. package/dist/es/runtimeConfig.shared.js.map +0 -1
  110. package/dist/types/ts3.4/MigrationHubConfig.d.ts +0 -58
  111. package/dist/types/ts3.4/MigrationHubConfigClient.d.ts +0 -160
  112. package/dist/types/ts3.4/commands/GetHomeRegionCommand.d.ts +0 -39
  113. package/dist/types/ts3.4/models/models_0.d.ts +0 -258
  114. package/endpoints.ts +0 -57
  115. package/jest.config.js +0 -4
  116. package/models/models_0.ts +0 -325
  117. package/pagination/DescribeHomeRegionControlsPaginator.ts +0 -58
  118. package/pagination/Interfaces.ts +0 -7
  119. package/protocols/Aws_json1_1.ts +0 -662
  120. package/runtimeConfig.browser.ts +0 -40
  121. package/runtimeConfig.native.ts +0 -16
  122. package/runtimeConfig.shared.ts +0 -16
  123. package/runtimeConfig.ts +0 -45
  124. package/tsconfig.es.json +0 -10
  125. package/tsconfig.json +0 -31
  126. package/tsconfig.types.json +0 -8
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeHomeRegionControlsCommand, serializeAws_json1_1DescribeHomeRegionControlsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeHomeRegionControlsCommand, serializeAws_json1_1DescribeHomeRegionControlsCommand, } from "../protocols/Aws_json1_1";
6
6
  var DescribeHomeRegionControlsCommand = (function (_super) {
7
7
  __extends(DescribeHomeRegionControlsCommand, _super);
8
8
  function DescribeHomeRegionControlsCommand(input) {
@@ -37,4 +37,3 @@ var DescribeHomeRegionControlsCommand = (function (_super) {
37
37
  return DescribeHomeRegionControlsCommand;
38
38
  }($Command));
39
39
  export { DescribeHomeRegionControlsCommand };
40
- //# sourceMappingURL=DescribeHomeRegionControlsCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
3
- import { deserializeAws_json1_1GetHomeRegionCommand, serializeAws_json1_1GetHomeRegionCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetHomeRegionCommand, serializeAws_json1_1GetHomeRegionCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetHomeRegionCommand = (function (_super) {
7
7
  __extends(GetHomeRegionCommand, _super);
8
8
  function GetHomeRegionCommand(input) {
@@ -37,4 +37,3 @@ var GetHomeRegionCommand = (function (_super) {
37
37
  return GetHomeRegionCommand;
38
38
  }($Command));
39
39
  export { GetHomeRegionCommand };
40
- //# sourceMappingURL=GetHomeRegionCommand.js.map
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "migrationhub-config.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "migrationhub-config.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "mgh", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes
@@ -59,4 +59,3 @@ export var GetHomeRegionResult;
59
59
  (function (GetHomeRegionResult) {
60
60
  GetHomeRegionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
61
  })(GetHomeRegionResult || (GetHomeRegionResult = {}));
62
- //# sourceMappingURL=models_0.js.map
@@ -1,7 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { DescribeHomeRegionControlsCommand, } from "../commands/DescribeHomeRegionControlsCommand";
2
3
  import { MigrationHubConfig } from "../MigrationHubConfig";
3
4
  import { MigrationHubConfigClient } from "../MigrationHubConfigClient";
4
- import { DescribeHomeRegionControlsCommand, } from "../commands/DescribeHomeRegionControlsCommand";
5
5
  var makePagedClientRequest = function (client, input) {
6
6
  var args = [];
7
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -72,4 +72,3 @@ export function paginateDescribeHomeRegionControls(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeHomeRegionControlsPaginator.js.map
@@ -0,0 +1 @@
1
+ export {};
@@ -529,4 +529,3 @@ var loadRestJsonErrorCode = function (output, data) {
529
529
  }
530
530
  return "";
531
531
  };
532
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,5 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
3
  export var getRuntimeConfig = function (config) {
4
4
  var _a, _b, _c, _d, _e;
5
5
  return ({
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,8 +1,8 @@
1
- import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
3
3
  import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
4
4
  import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
5
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
5
+ import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
6
6
  /**
7
7
  * <p>The AWS Migration Hub home region APIs are available specifically for working with your
8
8
  * Migration Hub home region. You can use these APIs to determine a home region, as well as to
@@ -1,6 +1,3 @@
1
- import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
2
- import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
3
- import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
4
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
5
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
6
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -8,7 +5,10 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
8
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
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";
9
+ import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
10
+ import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
11
+ import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
12
12
  export declare type ServiceInputTypes = CreateHomeRegionControlCommandInput | DescribeHomeRegionControlsCommandInput | GetHomeRegionCommandInput;
13
13
  export declare type ServiceOutputTypes = CreateHomeRegionControlCommandOutput | DescribeHomeRegionControlsCommandOutput | GetHomeRegionCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
2
4
  import { CreateHomeRegionControlRequest, CreateHomeRegionControlResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateHomeRegionControlCommandInput extends CreateHomeRegionControlRequest {
6
6
  }
7
7
  export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionControlResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
2
4
  import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeHomeRegionControlsCommandInput extends DescribeHomeRegionControlsRequest {
6
6
  }
7
7
  export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeRegionControlsResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
2
4
  import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {
6
6
  }
7
7
  export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "../commands/DescribeHomeRegionControlsCommand";
2
3
  import { MigrationHubConfigPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateDescribeHomeRegionControls(config: MigrationHubConfigPaginationConfiguration, input: DescribeHomeRegionControlsCommandInput, ...additionalArguments: any): Paginator<DescribeHomeRegionControlsCommandOutput>;
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { MigrationHubConfig } from "../MigrationHubConfig";
2
3
  import { MigrationHubConfigClient } from "../MigrationHubConfigClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface MigrationHubConfigPaginationConfiguration extends PaginationConfiguration {
5
5
  client: MigrationHubConfig | MigrationHubConfigClient;
6
6
  }
@@ -1,8 +1,8 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "../commands/CreateHomeRegionControlCommand";
2
4
  import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "../commands/DescribeHomeRegionControlsCommand";
3
5
  import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "../commands/GetHomeRegionCommand";
4
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
6
  export declare const serializeAws_json1_1CreateHomeRegionControlCommand: (input: CreateHomeRegionControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const serializeAws_json1_1DescribeHomeRegionControlsCommand: (input: DescribeHomeRegionControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_json1_1GetHomeRegionCommand: (input: GetHomeRegionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -0,0 +1,20 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
3
+ import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
4
+ import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
5
+ import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
6
+
7
+ export declare class MigrationHubConfig extends MigrationHubConfigClient {
8
+
9
+ createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options?: __HttpHandlerOptions): Promise<CreateHomeRegionControlCommandOutput>;
10
+ createHomeRegionControl(args: CreateHomeRegionControlCommandInput, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
11
+ createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
12
+
13
+ describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHomeRegionControlsCommandOutput>;
14
+ describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
15
+ describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
16
+
17
+ getHomeRegion(args: GetHomeRegionCommandInput, options?: __HttpHandlerOptions): Promise<GetHomeRegionCommandOutput>;
18
+ getHomeRegion(args: GetHomeRegionCommandInput, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
19
+ getHomeRegion(args: GetHomeRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
20
+ }
@@ -0,0 +1,70 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, 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";
9
+ import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
10
+ import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
11
+ import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
12
+ export declare type ServiceInputTypes = CreateHomeRegionControlCommandInput | DescribeHomeRegionControlsCommandInput | GetHomeRegionCommandInput;
13
+ export declare type ServiceOutputTypes = CreateHomeRegionControlCommandOutput | DescribeHomeRegionControlsCommandOutput | GetHomeRegionCommandOutput;
14
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
15
+
16
+ requestHandler?: __HttpHandler;
17
+
18
+ sha256?: __HashConstructor;
19
+
20
+ urlParser?: __UrlParser;
21
+
22
+ bodyLengthChecker?: (body: any) => number | undefined;
23
+
24
+ streamCollector?: __StreamCollector;
25
+
26
+ base64Decoder?: __Decoder;
27
+
28
+ base64Encoder?: __Encoder;
29
+
30
+ utf8Decoder?: __Decoder;
31
+
32
+ utf8Encoder?: __Encoder;
33
+
34
+ runtime?: string;
35
+
36
+ disableHostPrefix?: boolean;
37
+
38
+ maxAttempts?: number | __Provider<number>;
39
+
40
+ retryMode?: string | __Provider<string>;
41
+
42
+ logger?: __Logger;
43
+
44
+ serviceId?: string;
45
+
46
+ region?: string | __Provider<string>;
47
+
48
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
49
+
50
+ regionInfoProvider?: RegionInfoProvider;
51
+
52
+ defaultUserAgentProvider?: Provider<__UserAgent>;
53
+ }
54
+ declare type MigrationHubConfigClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
55
+
56
+ export interface MigrationHubConfigClientConfig extends MigrationHubConfigClientConfigType {
57
+ }
58
+ declare type MigrationHubConfigClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
59
+
60
+ export interface MigrationHubConfigClientResolvedConfig extends MigrationHubConfigClientResolvedConfigType {
61
+ }
62
+
63
+ export declare class MigrationHubConfigClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubConfigClientResolvedConfig> {
64
+
65
+ readonly config: MigrationHubConfigClientResolvedConfig;
66
+ constructor(configuration: MigrationHubConfigClientConfig);
67
+
68
+ destroy(): void;
69
+ }
70
+ export {};
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
2
4
  import { CreateHomeRegionControlRequest, CreateHomeRegionControlResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateHomeRegionControlCommandInput extends CreateHomeRegionControlRequest {
6
6
  }
7
7
  export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionControlResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This API sets up the home region for the calling account only.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { MigrationHubConfigClient, CreateHomeRegionControlCommand } from "@aws-sdk/client-migrationhub-config"; // ES Modules import
15
- * // const { MigrationHubConfigClient, CreateHomeRegionControlCommand } = require("@aws-sdk/client-migrationhub-config"); // CommonJS import
16
- * const client = new MigrationHubConfigClient(config);
17
- * const command = new CreateHomeRegionControlCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateHomeRegionControlCommandInput} for command's `input` shape.
22
- * @see {@link CreateHomeRegionControlCommandOutput} for command's `response` shape.
23
- * @see {@link MigrationHubConfigClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateHomeRegionControlCommand extends $Command<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig> {
27
11
  readonly input: CreateHomeRegionControlCommandInput;
28
12
  constructor(input: CreateHomeRegionControlCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -1,35 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
2
4
  import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeHomeRegionControlsCommandInput extends DescribeHomeRegionControlsRequest {
6
6
  }
7
7
  export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeRegionControlsResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>
11
- * fields.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { MigrationHubConfigClient, DescribeHomeRegionControlsCommand } from "@aws-sdk/client-migrationhub-config"; // ES Modules import
16
- * // const { MigrationHubConfigClient, DescribeHomeRegionControlsCommand } = require("@aws-sdk/client-migrationhub-config"); // CommonJS import
17
- * const client = new MigrationHubConfigClient(config);
18
- * const command = new DescribeHomeRegionControlsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeHomeRegionControlsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeHomeRegionControlsCommandOutput} for command's `response` shape.
24
- * @see {@link MigrationHubConfigClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DescribeHomeRegionControlsCommand extends $Command<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig> {
28
11
  readonly input: DescribeHomeRegionControlsCommandInput;
29
12
  constructor(input: DescribeHomeRegionControlsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
4
+ import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
5
+ export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {
6
+ }
7
+ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetHomeRegionCommand extends $Command<GetHomeRegionCommandInput, GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig> {
11
+ readonly input: GetHomeRegionCommandInput;
12
+ constructor(input: GetHomeRegionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetHomeRegionCommandInput, GetHomeRegionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
File without changes
File without changes
@@ -0,0 +1,152 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+
3
+ export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
+ name: "AccessDeniedException";
5
+ $fault: "client";
6
+ Message?: string;
7
+ }
8
+ export declare namespace AccessDeniedException {
9
+
10
+ const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
+ }
12
+ export declare enum TargetType {
13
+ ACCOUNT = "ACCOUNT"
14
+ }
15
+
16
+ export interface Target {
17
+
18
+ Type: TargetType | string | undefined;
19
+
20
+ Id?: string;
21
+ }
22
+ export declare namespace Target {
23
+
24
+ const filterSensitiveLog: (obj: Target) => any;
25
+ }
26
+ export interface CreateHomeRegionControlRequest {
27
+
28
+ HomeRegion: string | undefined;
29
+
30
+ Target: Target | undefined;
31
+
32
+ DryRun?: boolean;
33
+ }
34
+ export declare namespace CreateHomeRegionControlRequest {
35
+
36
+ const filterSensitiveLog: (obj: CreateHomeRegionControlRequest) => any;
37
+ }
38
+
39
+ export interface HomeRegionControl {
40
+
41
+ ControlId?: string;
42
+
43
+ HomeRegion?: string;
44
+
45
+ Target?: Target;
46
+
47
+ RequestedTime?: Date;
48
+ }
49
+ export declare namespace HomeRegionControl {
50
+
51
+ const filterSensitiveLog: (obj: HomeRegionControl) => any;
52
+ }
53
+ export interface CreateHomeRegionControlResult {
54
+
55
+ HomeRegionControl?: HomeRegionControl;
56
+ }
57
+ export declare namespace CreateHomeRegionControlResult {
58
+
59
+ const filterSensitiveLog: (obj: CreateHomeRegionControlResult) => any;
60
+ }
61
+
62
+ export interface DryRunOperation extends __SmithyException, $MetadataBearer {
63
+ name: "DryRunOperation";
64
+ $fault: "client";
65
+ Message?: string;
66
+ }
67
+ export declare namespace DryRunOperation {
68
+
69
+ const filterSensitiveLog: (obj: DryRunOperation) => any;
70
+ }
71
+
72
+ export interface InternalServerError extends __SmithyException, $MetadataBearer {
73
+ name: "InternalServerError";
74
+ $fault: "server";
75
+ Message?: string;
76
+ }
77
+ export declare namespace InternalServerError {
78
+
79
+ const filterSensitiveLog: (obj: InternalServerError) => any;
80
+ }
81
+
82
+ export interface InvalidInputException extends __SmithyException, $MetadataBearer {
83
+ name: "InvalidInputException";
84
+ $fault: "client";
85
+ Message?: string;
86
+ }
87
+ export declare namespace InvalidInputException {
88
+
89
+ const filterSensitiveLog: (obj: InvalidInputException) => any;
90
+ }
91
+
92
+ export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
93
+ name: "ServiceUnavailableException";
94
+ $fault: "server";
95
+ Message?: string;
96
+ }
97
+ export declare namespace ServiceUnavailableException {
98
+
99
+ const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
100
+ }
101
+
102
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
103
+ name: "ThrottlingException";
104
+ $fault: "client";
105
+ Message: string | undefined;
106
+
107
+ RetryAfterSeconds?: number;
108
+ }
109
+ export declare namespace ThrottlingException {
110
+
111
+ const filterSensitiveLog: (obj: ThrottlingException) => any;
112
+ }
113
+ export interface DescribeHomeRegionControlsRequest {
114
+
115
+ ControlId?: string;
116
+
117
+ HomeRegion?: string;
118
+
119
+ Target?: Target;
120
+
121
+ MaxResults?: number;
122
+
123
+ NextToken?: string;
124
+ }
125
+ export declare namespace DescribeHomeRegionControlsRequest {
126
+
127
+ const filterSensitiveLog: (obj: DescribeHomeRegionControlsRequest) => any;
128
+ }
129
+ export interface DescribeHomeRegionControlsResult {
130
+
131
+ HomeRegionControls?: HomeRegionControl[];
132
+
133
+ NextToken?: string;
134
+ }
135
+ export declare namespace DescribeHomeRegionControlsResult {
136
+
137
+ const filterSensitiveLog: (obj: DescribeHomeRegionControlsResult) => any;
138
+ }
139
+ export interface GetHomeRegionRequest {
140
+ }
141
+ export declare namespace GetHomeRegionRequest {
142
+
143
+ const filterSensitiveLog: (obj: GetHomeRegionRequest) => any;
144
+ }
145
+ export interface GetHomeRegionResult {
146
+
147
+ HomeRegion?: string;
148
+ }
149
+ export declare namespace GetHomeRegionResult {
150
+
151
+ const filterSensitiveLog: (obj: GetHomeRegionResult) => any;
152
+ }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "../commands/DescribeHomeRegionControlsCommand";
2
3
  import { MigrationHubConfigPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateDescribeHomeRegionControls(config: MigrationHubConfigPaginationConfiguration, input: DescribeHomeRegionControlsCommandInput, ...additionalArguments: any): Paginator<DescribeHomeRegionControlsCommandOutput>;
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { MigrationHubConfig } from "../MigrationHubConfig";
2
3
  import { MigrationHubConfigClient } from "../MigrationHubConfigClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface MigrationHubConfigPaginationConfiguration extends PaginationConfiguration {
5
5
  client: MigrationHubConfig | MigrationHubConfigClient;
6
6
  }