@aws-sdk/client-migration-hub 3.337.0 → 3.338.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 (81) hide show
  1. package/dist-cjs/MigrationHubClient.js +2 -1
  2. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +2 -1
  3. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +2 -1
  4. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeApplicationStateCommand.js +2 -1
  7. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +2 -1
  8. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +2 -1
  9. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +2 -1
  10. package/dist-cjs/commands/ImportMigrationTaskCommand.js +2 -1
  11. package/dist-cjs/commands/ListApplicationStatesCommand.js +2 -1
  12. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +2 -1
  13. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +2 -1
  14. package/dist-cjs/commands/ListMigrationTasksCommand.js +2 -1
  15. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +2 -1
  16. package/dist-cjs/commands/NotifyApplicationStateCommand.js +2 -1
  17. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +2 -1
  18. package/dist-cjs/commands/PutResourceAttributesCommand.js +2 -1
  19. package/dist-cjs/index.js +2 -2
  20. package/dist-cjs/models/MigrationHubServiceException.js +2 -1
  21. package/dist-es/MigrationHubClient.js +1 -0
  22. package/dist-es/commands/AssociateCreatedArtifactCommand.js +1 -0
  23. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +1 -0
  24. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +1 -0
  25. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +1 -0
  26. package/dist-es/commands/DescribeApplicationStateCommand.js +1 -0
  27. package/dist-es/commands/DescribeMigrationTaskCommand.js +1 -0
  28. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +1 -0
  29. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +1 -0
  30. package/dist-es/commands/ImportMigrationTaskCommand.js +1 -0
  31. package/dist-es/commands/ListApplicationStatesCommand.js +1 -0
  32. package/dist-es/commands/ListCreatedArtifactsCommand.js +1 -0
  33. package/dist-es/commands/ListDiscoveredResourcesCommand.js +1 -0
  34. package/dist-es/commands/ListMigrationTasksCommand.js +1 -0
  35. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +1 -0
  36. package/dist-es/commands/NotifyApplicationStateCommand.js +1 -0
  37. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +1 -0
  38. package/dist-es/commands/PutResourceAttributesCommand.js +1 -0
  39. package/dist-es/index.js +2 -2
  40. package/dist-es/models/MigrationHubServiceException.js +1 -0
  41. package/dist-types/MigrationHubClient.d.ts +3 -3
  42. package/dist-types/commands/AssociateCreatedArtifactCommand.d.ts +4 -0
  43. package/dist-types/commands/AssociateDiscoveredResourceCommand.d.ts +4 -0
  44. package/dist-types/commands/CreateProgressUpdateStreamCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteProgressUpdateStreamCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeApplicationStateCommand.d.ts +4 -0
  47. package/dist-types/commands/DescribeMigrationTaskCommand.d.ts +4 -0
  48. package/dist-types/commands/DisassociateCreatedArtifactCommand.d.ts +4 -0
  49. package/dist-types/commands/DisassociateDiscoveredResourceCommand.d.ts +4 -0
  50. package/dist-types/commands/ImportMigrationTaskCommand.d.ts +4 -0
  51. package/dist-types/commands/ListApplicationStatesCommand.d.ts +4 -0
  52. package/dist-types/commands/ListCreatedArtifactsCommand.d.ts +4 -0
  53. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +4 -0
  54. package/dist-types/commands/ListMigrationTasksCommand.d.ts +4 -0
  55. package/dist-types/commands/ListProgressUpdateStreamsCommand.d.ts +4 -0
  56. package/dist-types/commands/NotifyApplicationStateCommand.d.ts +4 -0
  57. package/dist-types/commands/NotifyMigrationTaskStateCommand.d.ts +4 -0
  58. package/dist-types/commands/PutResourceAttributesCommand.d.ts +4 -0
  59. package/dist-types/index.d.ts +12 -2
  60. package/dist-types/models/MigrationHubServiceException.d.ts +1 -0
  61. package/dist-types/ts3.4/MigrationHubClient.d.ts +3 -3
  62. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +1 -0
  63. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +1 -0
  64. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +1 -0
  65. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +1 -0
  66. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +1 -0
  67. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +1 -0
  68. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +1 -0
  69. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +1 -0
  70. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +1 -0
  71. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +1 -0
  72. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +1 -0
  73. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -0
  74. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +1 -0
  75. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +1 -0
  76. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +1 -0
  77. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +1 -0
  78. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +1 -0
  79. package/dist-types/ts3.4/index.d.ts +2 -2
  80. package/dist-types/ts3.4/models/MigrationHubServiceException.d.ts +1 -0
  81. package/package.json +28 -28
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MigrationHubClient = void 0;
3
+ exports.MigrationHubClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class MigrationHubClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociateCreatedArtifactCommand = void 0;
3
+ exports.AssociateCreatedArtifactCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class AssociateCreatedArtifactCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociateDiscoveredResourceCommand = void 0;
3
+ exports.AssociateDiscoveredResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class AssociateDiscoveredResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateProgressUpdateStreamCommand = void 0;
3
+ exports.CreateProgressUpdateStreamCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class CreateProgressUpdateStreamCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteProgressUpdateStreamCommand = void 0;
3
+ exports.DeleteProgressUpdateStreamCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DeleteProgressUpdateStreamCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeApplicationStateCommand = void 0;
3
+ exports.DescribeApplicationStateCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DescribeApplicationStateCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeMigrationTaskCommand = void 0;
3
+ exports.DescribeMigrationTaskCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DescribeMigrationTaskCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisassociateCreatedArtifactCommand = void 0;
3
+ exports.DisassociateCreatedArtifactCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DisassociateCreatedArtifactCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisassociateDiscoveredResourceCommand = void 0;
3
+ exports.DisassociateDiscoveredResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class DisassociateDiscoveredResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportMigrationTaskCommand = void 0;
3
+ exports.ImportMigrationTaskCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ImportMigrationTaskCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListApplicationStatesCommand = void 0;
3
+ exports.ListApplicationStatesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListApplicationStatesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListCreatedArtifactsCommand = void 0;
3
+ exports.ListCreatedArtifactsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListCreatedArtifactsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListDiscoveredResourcesCommand = void 0;
3
+ exports.ListDiscoveredResourcesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListMigrationTasksCommand = void 0;
3
+ exports.ListMigrationTasksCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListMigrationTasksCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListProgressUpdateStreamsCommand = void 0;
3
+ exports.ListProgressUpdateStreamsCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class ListProgressUpdateStreamsCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotifyApplicationStateCommand = void 0;
3
+ exports.NotifyApplicationStateCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class NotifyApplicationStateCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotifyMigrationTaskStateCommand = void 0;
3
+ exports.NotifyMigrationTaskStateCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class NotifyMigrationTaskStateCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutResourceAttributesCommand = void 0;
3
+ exports.PutResourceAttributesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class PutResourceAttributesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MigrationHubServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./MigrationHub"), exports);
6
5
  tslib_1.__exportStar(require("./MigrationHubClient"), exports);
6
+ tslib_1.__exportStar(require("./MigrationHub"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
10
  var MigrationHubServiceException_1 = require("./models/MigrationHubServiceException");
11
11
  Object.defineProperty(exports, "MigrationHubServiceException", { enumerable: true, get: function () { return MigrationHubServiceException_1.MigrationHubServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MigrationHubServiceException = void 0;
3
+ exports.MigrationHubServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class MigrationHubServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class MigrationHubClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_AssociateCreatedArtifactCommand, se_AssociateCreatedArtifactCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class AssociateCreatedArtifactCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_AssociateDiscoveredResourceCommand, se_AssociateDiscoveredResourceCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class AssociateDiscoveredResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateProgressUpdateStreamCommand, se_CreateProgressUpdateStreamCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class CreateProgressUpdateStreamCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteProgressUpdateStreamCommand, se_DeleteProgressUpdateStreamCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DeleteProgressUpdateStreamCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeApplicationStateCommand, se_DescribeApplicationStateCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DescribeApplicationStateCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeMigrationTaskCommand, se_DescribeMigrationTaskCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DescribeMigrationTaskCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DisassociateCreatedArtifactCommand, se_DisassociateCreatedArtifactCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DisassociateCreatedArtifactCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DisassociateDiscoveredResourceCommand, se_DisassociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class DisassociateDiscoveredResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ImportMigrationTaskCommand, se_ImportMigrationTaskCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ImportMigrationTaskCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListApplicationStatesCommand, se_ListApplicationStatesCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListApplicationStatesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListCreatedArtifactsCommand, se_ListCreatedArtifactsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListCreatedArtifactsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListDiscoveredResourcesCommand, se_ListDiscoveredResourcesCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListDiscoveredResourcesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListMigrationTasksCommand, se_ListMigrationTasksCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListMigrationTasksCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListProgressUpdateStreamsCommand, se_ListProgressUpdateStreamsCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class ListProgressUpdateStreamsCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_NotifyApplicationStateCommand, se_NotifyApplicationStateCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class NotifyApplicationStateCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_NotifyMigrationTaskStateCommand, se_NotifyMigrationTaskStateCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class NotifyMigrationTaskStateCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutResourceAttributesCommand, se_PutResourceAttributesCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
5
6
  export class PutResourceAttributesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./MigrationHub";
2
1
  export * from "./MigrationHubClient";
2
+ export * from "./MigrationHub";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class MigrationHubServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -26,6 +26,7 @@ import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput
26
26
  import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "./commands/NotifyMigrationTaskStateCommand";
27
27
  import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "./commands/PutResourceAttributesCommand";
28
28
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
29
+ export { __Client };
29
30
  /**
30
31
  * @public
31
32
  */
@@ -140,7 +141,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
140
141
  /**
141
142
  * @public
142
143
  */
143
- type MigrationHubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
144
+ export type MigrationHubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
144
145
  /**
145
146
  * @public
146
147
  *
@@ -151,7 +152,7 @@ export interface MigrationHubClientConfig extends MigrationHubClientConfigType {
151
152
  /**
152
153
  * @public
153
154
  */
154
- type MigrationHubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
155
+ export type MigrationHubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
155
156
  /**
156
157
  * @public
157
158
  *
@@ -181,4 +182,3 @@ export declare class MigrationHubClient extends __Client<__HttpHandlerOptions, S
181
182
  */
182
183
  destroy(): void;
183
184
  }
184
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { AssociateCreatedArtifactRequest, AssociateCreatedArtifactResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { AssociateDiscoveredResourceRequest, AssociateDiscoveredResourceResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { DeleteProgressUpdateStreamRequest, DeleteProgressUpdateStreamResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { DescribeApplicationStateRequest, DescribeApplicationStateResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { DescribeMigrationTaskRequest, DescribeMigrationTaskResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { DisassociateCreatedArtifactRequest, DisassociateCreatedArtifactResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { DisassociateDiscoveredResourceRequest, DisassociateDiscoveredResourceResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ImportMigrationTaskRequest, ImportMigrationTaskResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ListApplicationStatesRequest, ListApplicationStatesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ListCreatedArtifactsRequest, ListCreatedArtifactsResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ListMigrationTasksRequest, ListMigrationTasksResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { ListProgressUpdateStreamsRequest, ListProgressUpdateStreamsResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { NotifyApplicationStateRequest, NotifyApplicationStateResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { NotifyMigrationTaskStateRequest, NotifyMigrationTaskStateResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
5
  import { PutResourceAttributesRequest, PutResourceAttributesResult } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,16 @@
1
- export * from "./MigrationHub";
1
+ /**
2
+ * <p>The AWS Migration Hub API methods help to obtain server and application migration status
3
+ * and integrate your resource-specific migration tool by providing a programmatic interface
4
+ * to Migration Hub.</p>
5
+ * <p>Remember that you must set your AWS Migration Hub home region before you call any of
6
+ * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
7
+ * must make the API calls while in your home region.</p>
8
+ *
9
+ * @packageDocumentation
10
+ */
2
11
  export * from "./MigrationHubClient";
12
+ export * from "./MigrationHub";
3
13
  export * from "./commands";
4
- export * from "./models";
5
14
  export * from "./pagination";
15
+ export * from "./models";
6
16
  export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -119,6 +119,7 @@ import {
119
119
  ClientResolvedEndpointParameters,
120
120
  EndpointParameters,
121
121
  } from "./endpoint/EndpointParameters";
122
+ export { __Client };
122
123
  export type ServiceInputTypes =
123
124
  | AssociateCreatedArtifactCommandInput
124
125
  | AssociateDiscoveredResourceCommandInput
@@ -179,7 +180,7 @@ export interface ClientDefaults
179
180
  logger?: __Logger;
180
181
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
181
182
  }
182
- type MigrationHubClientConfigType = Partial<
183
+ export type MigrationHubClientConfigType = Partial<
183
184
  __SmithyConfiguration<__HttpHandlerOptions>
184
185
  > &
185
186
  ClientDefaults &
@@ -192,7 +193,7 @@ type MigrationHubClientConfigType = Partial<
192
193
  ClientInputEndpointParameters;
193
194
  export interface MigrationHubClientConfig
194
195
  extends MigrationHubClientConfigType {}
195
- type MigrationHubClientResolvedConfigType =
196
+ export type MigrationHubClientResolvedConfigType =
196
197
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
197
198
  Required<ClientDefaults> &
198
199
  RegionResolvedConfig &
@@ -214,4 +215,3 @@ export declare class MigrationHubClient extends __Client<
214
215
  constructor(configuration: MigrationHubClientConfig);
215
216
  destroy(): void;
216
217
  }
217
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  AssociateCreatedArtifactRequest,
16
16
  AssociateCreatedArtifactResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface AssociateCreatedArtifactCommandInput
19
20
  extends AssociateCreatedArtifactRequest {}
20
21
  export interface AssociateCreatedArtifactCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  AssociateDiscoveredResourceRequest,
16
16
  AssociateDiscoveredResourceResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface AssociateDiscoveredResourceCommandInput
19
20
  extends AssociateDiscoveredResourceRequest {}
20
21
  export interface AssociateDiscoveredResourceCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  CreateProgressUpdateStreamRequest,
16
16
  CreateProgressUpdateStreamResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateProgressUpdateStreamCommandInput
19
20
  extends CreateProgressUpdateStreamRequest {}
20
21
  export interface CreateProgressUpdateStreamCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteProgressUpdateStreamRequest,
16
16
  DeleteProgressUpdateStreamResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteProgressUpdateStreamCommandInput
19
20
  extends DeleteProgressUpdateStreamRequest {}
20
21
  export interface DeleteProgressUpdateStreamCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DescribeApplicationStateRequest,
16
16
  DescribeApplicationStateResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeApplicationStateCommandInput
19
20
  extends DescribeApplicationStateRequest {}
20
21
  export interface DescribeApplicationStateCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DescribeMigrationTaskRequest,
16
16
  DescribeMigrationTaskResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DescribeMigrationTaskCommandInput
19
20
  extends DescribeMigrationTaskRequest {}
20
21
  export interface DescribeMigrationTaskCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DisassociateCreatedArtifactRequest,
16
16
  DisassociateCreatedArtifactResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DisassociateCreatedArtifactCommandInput
19
20
  extends DisassociateCreatedArtifactRequest {}
20
21
  export interface DisassociateCreatedArtifactCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DisassociateDiscoveredResourceRequest,
16
16
  DisassociateDiscoveredResourceResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DisassociateDiscoveredResourceCommandInput
19
20
  extends DisassociateDiscoveredResourceRequest {}
20
21
  export interface DisassociateDiscoveredResourceCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ImportMigrationTaskRequest,
16
16
  ImportMigrationTaskResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ImportMigrationTaskCommandInput
19
20
  extends ImportMigrationTaskRequest {}
20
21
  export interface ImportMigrationTaskCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListApplicationStatesRequest,
16
16
  ListApplicationStatesResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListApplicationStatesCommandInput
19
20
  extends ListApplicationStatesRequest {}
20
21
  export interface ListApplicationStatesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListCreatedArtifactsRequest,
16
16
  ListCreatedArtifactsResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListCreatedArtifactsCommandInput
19
20
  extends ListCreatedArtifactsRequest {}
20
21
  export interface ListCreatedArtifactsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListDiscoveredResourcesRequest,
16
16
  ListDiscoveredResourcesResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListDiscoveredResourcesCommandInput
19
20
  extends ListDiscoveredResourcesRequest {}
20
21
  export interface ListDiscoveredResourcesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListMigrationTasksRequest,
16
16
  ListMigrationTasksResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListMigrationTasksCommandInput
19
20
  extends ListMigrationTasksRequest {}
20
21
  export interface ListMigrationTasksCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListProgressUpdateStreamsRequest,
16
16
  ListProgressUpdateStreamsResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListProgressUpdateStreamsCommandInput
19
20
  extends ListProgressUpdateStreamsRequest {}
20
21
  export interface ListProgressUpdateStreamsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  NotifyApplicationStateRequest,
16
16
  NotifyApplicationStateResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface NotifyApplicationStateCommandInput
19
20
  extends NotifyApplicationStateRequest {}
20
21
  export interface NotifyApplicationStateCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  NotifyMigrationTaskStateRequest,
16
16
  NotifyMigrationTaskStateResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface NotifyMigrationTaskStateCommandInput
19
20
  extends NotifyMigrationTaskStateRequest {}
20
21
  export interface NotifyMigrationTaskStateCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  PutResourceAttributesRequest,
16
16
  PutResourceAttributesResult,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface PutResourceAttributesCommandInput
19
20
  extends PutResourceAttributesRequest {}
20
21
  export interface PutResourceAttributesCommandOutput
@@ -1,6 +1,6 @@
1
- export * from "./MigrationHub";
2
1
  export * from "./MigrationHubClient";
2
+ export * from "./MigrationHub";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { MigrationHubServiceException } from "./models/MigrationHubServiceException";
@@ -2,6 +2,7 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
5
6
  export declare class MigrationHubServiceException extends __ServiceException {
6
7
  constructor(options: __ServiceExceptionOptions);
7
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
4
- "version": "3.337.0",
4
+ "version": "3.338.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.337.0",
25
- "@aws-sdk/config-resolver": "3.337.0",
26
- "@aws-sdk/credential-provider-node": "3.337.0",
27
- "@aws-sdk/fetch-http-handler": "3.337.0",
28
- "@aws-sdk/hash-node": "3.337.0",
29
- "@aws-sdk/invalid-dependency": "3.337.0",
30
- "@aws-sdk/middleware-content-length": "3.337.0",
31
- "@aws-sdk/middleware-endpoint": "3.337.0",
32
- "@aws-sdk/middleware-host-header": "3.337.0",
33
- "@aws-sdk/middleware-logger": "3.337.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.337.0",
35
- "@aws-sdk/middleware-retry": "3.337.0",
36
- "@aws-sdk/middleware-serde": "3.337.0",
37
- "@aws-sdk/middleware-signing": "3.337.0",
38
- "@aws-sdk/middleware-stack": "3.337.0",
39
- "@aws-sdk/middleware-user-agent": "3.337.0",
40
- "@aws-sdk/node-config-provider": "3.337.0",
41
- "@aws-sdk/node-http-handler": "3.337.0",
42
- "@aws-sdk/smithy-client": "3.337.0",
43
- "@aws-sdk/types": "3.337.0",
44
- "@aws-sdk/url-parser": "3.337.0",
24
+ "@aws-sdk/client-sts": "3.338.0",
25
+ "@aws-sdk/config-resolver": "3.338.0",
26
+ "@aws-sdk/credential-provider-node": "3.338.0",
27
+ "@aws-sdk/fetch-http-handler": "3.338.0",
28
+ "@aws-sdk/hash-node": "3.338.0",
29
+ "@aws-sdk/invalid-dependency": "3.338.0",
30
+ "@aws-sdk/middleware-content-length": "3.338.0",
31
+ "@aws-sdk/middleware-endpoint": "3.338.0",
32
+ "@aws-sdk/middleware-host-header": "3.338.0",
33
+ "@aws-sdk/middleware-logger": "3.338.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.338.0",
35
+ "@aws-sdk/middleware-retry": "3.338.0",
36
+ "@aws-sdk/middleware-serde": "3.338.0",
37
+ "@aws-sdk/middleware-signing": "3.338.0",
38
+ "@aws-sdk/middleware-stack": "3.338.0",
39
+ "@aws-sdk/middleware-user-agent": "3.338.0",
40
+ "@aws-sdk/node-config-provider": "3.338.0",
41
+ "@aws-sdk/node-http-handler": "3.338.0",
42
+ "@aws-sdk/smithy-client": "3.338.0",
43
+ "@aws-sdk/types": "3.338.0",
44
+ "@aws-sdk/url-parser": "3.338.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.337.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.337.0",
50
- "@aws-sdk/util-endpoints": "3.337.0",
51
- "@aws-sdk/util-retry": "3.337.0",
52
- "@aws-sdk/util-user-agent-browser": "3.337.0",
53
- "@aws-sdk/util-user-agent-node": "3.337.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.338.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.338.0",
50
+ "@aws-sdk/util-endpoints": "3.338.0",
51
+ "@aws-sdk/util-retry": "3.338.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.338.0",
53
+ "@aws-sdk/util-user-agent-node": "3.338.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",