@aws-sdk/client-migration-hub 3.477.0 → 3.481.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 (93) hide show
  1. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +18 -41
  3. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeApplicationStateCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +18 -41
  7. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +18 -41
  8. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +18 -41
  9. package/dist-cjs/commands/ImportMigrationTaskCommand.js +18 -41
  10. package/dist-cjs/commands/ListApplicationStatesCommand.js +18 -41
  11. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +18 -41
  12. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +18 -41
  13. package/dist-cjs/commands/ListMigrationTasksCommand.js +18 -41
  14. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +18 -41
  15. package/dist-cjs/commands/NotifyApplicationStateCommand.js +18 -41
  16. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +18 -41
  17. package/dist-cjs/commands/PutResourceAttributesCommand.js +18 -41
  18. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  19. package/dist-cjs/pagination/ListApplicationStatesPaginator.js +2 -24
  20. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +2 -24
  21. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListMigrationTasksPaginator.js +2 -24
  23. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +2 -24
  24. package/dist-es/commands/AssociateCreatedArtifactCommand.js +18 -41
  25. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +18 -41
  26. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +18 -41
  27. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +18 -41
  28. package/dist-es/commands/DescribeApplicationStateCommand.js +18 -41
  29. package/dist-es/commands/DescribeMigrationTaskCommand.js +18 -41
  30. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +18 -41
  31. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +18 -41
  32. package/dist-es/commands/ImportMigrationTaskCommand.js +18 -41
  33. package/dist-es/commands/ListApplicationStatesCommand.js +18 -41
  34. package/dist-es/commands/ListCreatedArtifactsCommand.js +18 -41
  35. package/dist-es/commands/ListDiscoveredResourcesCommand.js +18 -41
  36. package/dist-es/commands/ListMigrationTasksCommand.js +18 -41
  37. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +18 -41
  38. package/dist-es/commands/NotifyApplicationStateCommand.js +18 -41
  39. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +18 -41
  40. package/dist-es/commands/PutResourceAttributesCommand.js +18 -41
  41. package/dist-es/endpoint/EndpointParameters.js +6 -0
  42. package/dist-es/pagination/ListApplicationStatesPaginator.js +2 -23
  43. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +2 -23
  44. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +2 -23
  45. package/dist-es/pagination/ListMigrationTasksPaginator.js +2 -23
  46. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +2 -23
  47. package/dist-types/commands/AssociateCreatedArtifactCommand.d.ts +6 -21
  48. package/dist-types/commands/AssociateDiscoveredResourceCommand.d.ts +6 -21
  49. package/dist-types/commands/CreateProgressUpdateStreamCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteProgressUpdateStreamCommand.d.ts +6 -21
  51. package/dist-types/commands/DescribeApplicationStateCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeMigrationTaskCommand.d.ts +6 -21
  53. package/dist-types/commands/DisassociateCreatedArtifactCommand.d.ts +6 -21
  54. package/dist-types/commands/DisassociateDiscoveredResourceCommand.d.ts +6 -21
  55. package/dist-types/commands/ImportMigrationTaskCommand.d.ts +6 -21
  56. package/dist-types/commands/ListApplicationStatesCommand.d.ts +6 -21
  57. package/dist-types/commands/ListCreatedArtifactsCommand.d.ts +6 -21
  58. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +6 -21
  59. package/dist-types/commands/ListMigrationTasksCommand.d.ts +6 -21
  60. package/dist-types/commands/ListProgressUpdateStreamsCommand.d.ts +6 -21
  61. package/dist-types/commands/NotifyApplicationStateCommand.d.ts +6 -21
  62. package/dist-types/commands/NotifyMigrationTaskStateCommand.d.ts +6 -21
  63. package/dist-types/commands/PutResourceAttributesCommand.d.ts +6 -21
  64. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  65. package/dist-types/pagination/ListApplicationStatesPaginator.d.ts +1 -1
  66. package/dist-types/pagination/ListCreatedArtifactsPaginator.d.ts +1 -1
  67. package/dist-types/pagination/ListDiscoveredResourcesPaginator.d.ts +1 -1
  68. package/dist-types/pagination/ListMigrationTasksPaginator.d.ts +1 -1
  69. package/dist-types/pagination/ListProgressUpdateStreamsPaginator.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +12 -24
  75. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +12 -24
  82. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  88. package/dist-types/ts3.4/pagination/ListApplicationStatesPaginator.d.ts +3 -3
  89. package/dist-types/ts3.4/pagination/ListCreatedArtifactsPaginator.d.ts +3 -3
  90. package/dist-types/ts3.4/pagination/ListDiscoveredResourcesPaginator.d.ts +3 -3
  91. package/dist-types/ts3.4/pagination/ListMigrationTasksPaginator.d.ts +3 -3
  92. package/dist-types/ts3.4/pagination/ListProgressUpdateStreamsPaginator.d.ts +3 -3
  93. package/package.json +11 -10
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCreatedArtifactsCommand, } from "../commands/ListCreatedArtifactsCommand";
2
3
  import { MigrationHubClient } from "../MigrationHubClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCreatedArtifactsCommand(input), ...args);
5
- };
6
- export async function* paginateListCreatedArtifacts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MigrationHubClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCreatedArtifacts = createPaginator(MigrationHubClient, ListCreatedArtifactsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDiscoveredResourcesCommand, } from "../commands/ListDiscoveredResourcesCommand";
2
3
  import { MigrationHubClient } from "../MigrationHubClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDiscoveredResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateListDiscoveredResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MigrationHubClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDiscoveredResources = createPaginator(MigrationHubClient, ListDiscoveredResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMigrationTasksCommand, } from "../commands/ListMigrationTasksCommand";
2
3
  import { MigrationHubClient } from "../MigrationHubClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMigrationTasksCommand(input), ...args);
5
- };
6
- export async function* paginateListMigrationTasks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MigrationHubClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMigrationTasks = createPaginator(MigrationHubClient, ListMigrationTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListProgressUpdateStreamsCommand, } from "../commands/ListProgressUpdateStreamsCommand";
2
3
  import { MigrationHubClient } from "../MigrationHubClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListProgressUpdateStreamsCommand(input), ...args);
5
- };
6
- export async function* paginateListProgressUpdateStreams(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof MigrationHubClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected MigrationHub | MigrationHubClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListProgressUpdateStreams = createPaginator(MigrationHubClient, ListProgressUpdateStreamsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { AssociateCreatedArtifactRequest, AssociateCreatedArtifactResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateCreatedArtifactCommandInput extends AssociateCreatedAr
21
20
  */
22
21
  export interface AssociateCreatedArtifactCommandOutput extends AssociateCreatedArtifactResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateCreatedArtifactCommand_base: {
24
+ new (input: AssociateCreatedArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a created artifact of an AWS cloud resource, the target receiving the
@@ -106,23 +109,5 @@ export interface AssociateCreatedArtifactCommandOutput extends AssociateCreatedA
106
109
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
107
110
  *
108
111
  */
109
- export declare class AssociateCreatedArtifactCommand extends $Command<AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig> {
110
- readonly input: AssociateCreatedArtifactCommandInput;
111
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
112
- /**
113
- * @public
114
- */
115
- constructor(input: AssociateCreatedArtifactCommandInput);
116
- /**
117
- * @internal
118
- */
119
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput>;
120
- /**
121
- * @internal
122
- */
123
- private serialize;
124
- /**
125
- * @internal
126
- */
127
- private deserialize;
112
+ export declare class AssociateCreatedArtifactCommand extends AssociateCreatedArtifactCommand_base {
128
113
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { AssociateDiscoveredResourceRequest, AssociateDiscoveredResourceResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateDiscoveredResourceCommandInput extends AssociateDiscov
21
20
  */
22
21
  export interface AssociateDiscoveredResourceCommandOutput extends AssociateDiscoveredResourceResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateDiscoveredResourceCommand_base: {
24
+ new (input: AssociateDiscoveredResourceCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a discovered resource ID from Application Discovery Service with a migration
@@ -95,23 +98,5 @@ export interface AssociateDiscoveredResourceCommandOutput extends AssociateDisco
95
98
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
96
99
  *
97
100
  */
98
- export declare class AssociateDiscoveredResourceCommand extends $Command<AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig> {
99
- readonly input: AssociateDiscoveredResourceCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: AssociateDiscoveredResourceCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class AssociateDiscoveredResourceCommand extends AssociateDiscoveredResourceCommand_base {
117
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateProgressUpdateStreamCommandInput extends CreateProgressUp
21
20
  */
22
21
  export interface CreateProgressUpdateStreamCommandOutput extends CreateProgressUpdateStreamResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateProgressUpdateStreamCommand_base: {
24
+ new (input: CreateProgressUpdateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a progress update stream which is an AWS resource used for access control as
@@ -83,23 +86,5 @@ export interface CreateProgressUpdateStreamCommandOutput extends CreateProgressU
83
86
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
84
87
  *
85
88
  */
86
- export declare class CreateProgressUpdateStreamCommand extends $Command<CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig> {
87
- readonly input: CreateProgressUpdateStreamCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: CreateProgressUpdateStreamCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class CreateProgressUpdateStreamCommand extends CreateProgressUpdateStreamCommand_base {
105
90
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { DeleteProgressUpdateStreamRequest, DeleteProgressUpdateStreamResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteProgressUpdateStreamCommandInput extends DeleteProgressUp
21
20
  */
22
21
  export interface DeleteProgressUpdateStreamCommandOutput extends DeleteProgressUpdateStreamResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteProgressUpdateStreamCommand_base: {
24
+ new (input: DeleteProgressUpdateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a progress update stream, including all of its tasks, which was previously
@@ -114,23 +117,5 @@ export interface DeleteProgressUpdateStreamCommandOutput extends DeleteProgressU
114
117
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
115
118
  *
116
119
  */
117
- export declare class DeleteProgressUpdateStreamCommand extends $Command<DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig> {
118
- readonly input: DeleteProgressUpdateStreamCommandInput;
119
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
- /**
121
- * @public
122
- */
123
- constructor(input: DeleteProgressUpdateStreamCommandInput);
124
- /**
125
- * @internal
126
- */
127
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput>;
128
- /**
129
- * @internal
130
- */
131
- private serialize;
132
- /**
133
- * @internal
134
- */
135
- private deserialize;
120
+ export declare class DeleteProgressUpdateStreamCommand extends DeleteProgressUpdateStreamCommand_base {
136
121
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { DescribeApplicationStateRequest, DescribeApplicationStateResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeApplicationStateCommandInput extends DescribeApplicatio
21
20
  */
22
21
  export interface DescribeApplicationStateCommandOutput extends DescribeApplicationStateResult, __MetadataBearer {
23
22
  }
23
+ declare const DescribeApplicationStateCommand_base: {
24
+ new (input: DescribeApplicationStateCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the migration status of an application.</p>
@@ -83,23 +86,5 @@ export interface DescribeApplicationStateCommandOutput extends DescribeApplicati
83
86
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
84
87
  *
85
88
  */
86
- export declare class DescribeApplicationStateCommand extends $Command<DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput, MigrationHubClientResolvedConfig> {
87
- readonly input: DescribeApplicationStateCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: DescribeApplicationStateCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeApplicationStateCommandInput, DescribeApplicationStateCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class DescribeApplicationStateCommand extends DescribeApplicationStateCommand_base {
105
90
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { DescribeMigrationTaskRequest, DescribeMigrationTaskResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeMigrationTaskCommandInput extends DescribeMigrationTask
21
20
  */
22
21
  export interface DescribeMigrationTaskCommandOutput extends DescribeMigrationTaskResult, __MetadataBearer {
23
22
  }
23
+ declare const DescribeMigrationTaskCommand_base: {
24
+ new (input: DescribeMigrationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves a list of all attributes associated with a specific migration task.</p>
@@ -93,23 +96,5 @@ export interface DescribeMigrationTaskCommandOutput extends DescribeMigrationTas
93
96
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
94
97
  *
95
98
  */
96
- export declare class DescribeMigrationTaskCommand extends $Command<DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput, MigrationHubClientResolvedConfig> {
97
- readonly input: DescribeMigrationTaskCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: DescribeMigrationTaskCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeMigrationTaskCommandInput, DescribeMigrationTaskCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
99
+ export declare class DescribeMigrationTaskCommand extends DescribeMigrationTaskCommand_base {
115
100
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { DisassociateCreatedArtifactRequest, DisassociateCreatedArtifactResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisassociateCreatedArtifactCommandInput extends DisassociateCre
21
20
  */
22
21
  export interface DisassociateCreatedArtifactCommandOutput extends DisassociateCreatedArtifactResult, __MetadataBearer {
23
22
  }
23
+ declare const DisassociateCreatedArtifactCommand_base: {
24
+ new (input: DisassociateCreatedArtifactCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Disassociates a created artifact of an AWS resource with a migration task performed by a
@@ -102,23 +105,5 @@ export interface DisassociateCreatedArtifactCommandOutput extends DisassociateCr
102
105
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
103
106
  *
104
107
  */
105
- export declare class DisassociateCreatedArtifactCommand extends $Command<DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig> {
106
- readonly input: DisassociateCreatedArtifactCommandInput;
107
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
- /**
109
- * @public
110
- */
111
- constructor(input: DisassociateCreatedArtifactCommandInput);
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateCreatedArtifactCommandInput, DisassociateCreatedArtifactCommandOutput>;
116
- /**
117
- * @internal
118
- */
119
- private serialize;
120
- /**
121
- * @internal
122
- */
123
- private deserialize;
108
+ export declare class DisassociateCreatedArtifactCommand extends DisassociateCreatedArtifactCommand_base {
124
109
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { DisassociateDiscoveredResourceRequest, DisassociateDiscoveredResourceResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisassociateDiscoveredResourceCommandInput extends Disassociate
21
20
  */
22
21
  export interface DisassociateDiscoveredResourceCommandOutput extends DisassociateDiscoveredResourceResult, __MetadataBearer {
23
22
  }
23
+ declare const DisassociateDiscoveredResourceCommand_base: {
24
+ new (input: DisassociateDiscoveredResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Disassociate an Application Discovery Service discovered resource from a migration
@@ -87,23 +90,5 @@ export interface DisassociateDiscoveredResourceCommandOutput extends Disassociat
87
90
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
88
91
  *
89
92
  */
90
- export declare class DisassociateDiscoveredResourceCommand extends $Command<DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig> {
91
- readonly input: DisassociateDiscoveredResourceCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: DisassociateDiscoveredResourceCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateDiscoveredResourceCommandInput, DisassociateDiscoveredResourceCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class DisassociateDiscoveredResourceCommand extends DisassociateDiscoveredResourceCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { ImportMigrationTaskRequest, ImportMigrationTaskResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ImportMigrationTaskCommandInput extends ImportMigrationTaskRequ
21
20
  */
22
21
  export interface ImportMigrationTaskCommandOutput extends ImportMigrationTaskResult, __MetadataBearer {
23
22
  }
23
+ declare const ImportMigrationTaskCommand_base: {
24
+ new (input: ImportMigrationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Registers a new migration task which represents a server, database, etc., being migrated
@@ -88,23 +91,5 @@ export interface ImportMigrationTaskCommandOutput extends ImportMigrationTaskRes
88
91
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
89
92
  *
90
93
  */
91
- export declare class ImportMigrationTaskCommand extends $Command<ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput, MigrationHubClientResolvedConfig> {
92
- readonly input: ImportMigrationTaskCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: ImportMigrationTaskCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportMigrationTaskCommandInput, ImportMigrationTaskCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class ImportMigrationTaskCommand extends ImportMigrationTaskCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { ListApplicationStatesRequest, ListApplicationStatesResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListApplicationStatesCommandInput extends ListApplicationStates
21
20
  */
22
21
  export interface ListApplicationStatesCommandOutput extends ListApplicationStatesResult, __MetadataBearer {
23
22
  }
23
+ declare const ListApplicationStatesCommand_base: {
24
+ new (input: ListApplicationStatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all the migration statuses for your applications. If you use the optional
@@ -85,23 +88,5 @@ export interface ListApplicationStatesCommandOutput extends ListApplicationState
85
88
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
86
89
  *
87
90
  */
88
- export declare class ListApplicationStatesCommand extends $Command<ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput, MigrationHubClientResolvedConfig> {
89
- readonly input: ListApplicationStatesCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: ListApplicationStatesCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationStatesCommandInput, ListApplicationStatesCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class ListApplicationStatesCommand extends ListApplicationStatesCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { ListCreatedArtifactsRequest, ListCreatedArtifactsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListCreatedArtifactsCommandInput extends ListCreatedArtifactsRe
21
20
  */
22
21
  export interface ListCreatedArtifactsCommandOutput extends ListCreatedArtifactsResult, __MetadataBearer {
23
22
  }
23
+ declare const ListCreatedArtifactsCommand_base: {
24
+ new (input: ListCreatedArtifactsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the created artifacts attached to a given migration task in an update stream. This
@@ -100,23 +103,5 @@ export interface ListCreatedArtifactsCommandOutput extends ListCreatedArtifactsR
100
103
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
101
104
  *
102
105
  */
103
- export declare class ListCreatedArtifactsCommand extends $Command<ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput, MigrationHubClientResolvedConfig> {
104
- readonly input: ListCreatedArtifactsCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: ListCreatedArtifactsCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCreatedArtifactsCommandInput, ListCreatedArtifactsCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class ListCreatedArtifactsCommand extends ListCreatedArtifactsCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubClient";
5
4
  import { ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListDiscoveredResourcesCommandInput extends ListDiscoveredResou
21
20
  */
22
21
  export interface ListDiscoveredResourcesCommandOutput extends ListDiscoveredResourcesResult, __MetadataBearer {
23
22
  }
23
+ declare const ListDiscoveredResourcesCommand_base: {
24
+ new (input: ListDiscoveredResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput, MigrationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists discovered resources associated with the given <code>MigrationTask</code>.</p>
@@ -86,23 +89,5 @@ export interface ListDiscoveredResourcesCommandOutput extends ListDiscoveredReso
86
89
  * <p>Base exception class for all service exceptions from MigrationHub service.</p>
87
90
  *
88
91
  */
89
- export declare class ListDiscoveredResourcesCommand extends $Command<ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput, MigrationHubClientResolvedConfig> {
90
- readonly input: ListDiscoveredResourcesCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: ListDiscoveredResourcesCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class ListDiscoveredResourcesCommand extends ListDiscoveredResourcesCommand_base {
108
93
  }