@aws-sdk/client-migration-hub 3.35.0 → 3.38.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 (210) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MigrationHub.js +0 -9
  3. package/dist-cjs/MigrationHubClient.js +0 -14
  4. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -42
  5. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -26
  6. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -29
  7. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -55
  8. package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -25
  10. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -41
  11. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -26
  12. package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -28
  13. package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -27
  14. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -39
  15. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -25
  16. package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -38
  17. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -25
  18. package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -28
  19. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -42
  20. package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -50
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +4 -26
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -157
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -11
  30. package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -11
  31. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +9 -0
  33. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/MigrationHub.js +0 -1
  39. package/dist-es/MigrationHubClient.js +0 -1
  40. package/dist-es/commands/AssociateCreatedArtifactCommand.js +0 -1
  41. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +0 -1
  42. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +0 -1
  43. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +0 -1
  44. package/dist-es/commands/DescribeApplicationStateCommand.js +0 -1
  45. package/dist-es/commands/DescribeMigrationTaskCommand.js +0 -1
  46. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +0 -1
  47. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +0 -1
  48. package/dist-es/commands/ImportMigrationTaskCommand.js +0 -1
  49. package/dist-es/commands/ListApplicationStatesCommand.js +0 -1
  50. package/dist-es/commands/ListCreatedArtifactsCommand.js +0 -1
  51. package/dist-es/commands/ListDiscoveredResourcesCommand.js +0 -1
  52. package/dist-es/commands/ListMigrationTasksCommand.js +0 -1
  53. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +0 -1
  54. package/dist-es/commands/NotifyApplicationStateCommand.js +0 -1
  55. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +0 -1
  56. package/dist-es/commands/PutResourceAttributesCommand.js +0 -1
  57. package/dist-es/commands/index.js +17 -0
  58. package/dist-es/endpoints.js +1 -2
  59. package/dist-es/index.js +4 -26
  60. package/dist-es/models/index.js +0 -1
  61. package/dist-es/models/models_0.js +0 -1
  62. package/dist-es/pagination/Interfaces.js +0 -1
  63. package/dist-es/pagination/ListApplicationStatesPaginator.js +0 -1
  64. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +0 -1
  65. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +0 -1
  66. package/dist-es/pagination/ListMigrationTasksPaginator.js +0 -1
  67. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +6 -0
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +17 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/pagination/index.d.ts +6 -0
  77. package/dist-types/ts3.4/MigrationHub.d.ts +18 -205
  78. package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -94
  79. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +2 -37
  80. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +2 -24
  82. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -50
  83. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +2 -36
  86. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +2 -23
  88. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +2 -22
  89. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +2 -34
  90. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +2 -33
  92. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +2 -37
  95. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +2 -45
  96. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  97. package/dist-types/ts3.4/index.d.ts +4 -25
  98. package/dist-types/ts3.4/models/models_0.d.ts +165 -648
  99. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  104. package/package.json +33 -30
  105. package/dist-cjs/MigrationHub.js.map +0 -1
  106. package/dist-cjs/MigrationHubClient.js.map +0 -1
  107. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  108. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  109. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeApplicationStateCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeMigrationTaskCommand.js.map +0 -1
  113. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  114. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  115. package/dist-cjs/commands/ImportMigrationTaskCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListApplicationStatesCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListCreatedArtifactsCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListMigrationTasksCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  121. package/dist-cjs/commands/NotifyApplicationStateCommand.js.map +0 -1
  122. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  123. package/dist-cjs/commands/PutResourceAttributesCommand.js.map +0 -1
  124. package/dist-cjs/endpoints.js.map +0 -1
  125. package/dist-cjs/index.js.map +0 -1
  126. package/dist-cjs/models/index.js.map +0 -1
  127. package/dist-cjs/models/models_0.js.map +0 -1
  128. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  129. package/dist-cjs/pagination/ListApplicationStatesPaginator.js.map +0 -1
  130. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  131. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/ListMigrationTasksPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  134. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  135. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  139. package/dist-es/MigrationHub.js.map +0 -1
  140. package/dist-es/MigrationHubClient.js.map +0 -1
  141. package/dist-es/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  142. package/dist-es/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  143. package/dist-es/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  144. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeApplicationStateCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeMigrationTaskCommand.js.map +0 -1
  147. package/dist-es/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  148. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  149. package/dist-es/commands/ImportMigrationTaskCommand.js.map +0 -1
  150. package/dist-es/commands/ListApplicationStatesCommand.js.map +0 -1
  151. package/dist-es/commands/ListCreatedArtifactsCommand.js.map +0 -1
  152. package/dist-es/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  153. package/dist-es/commands/ListMigrationTasksCommand.js.map +0 -1
  154. package/dist-es/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  155. package/dist-es/commands/NotifyApplicationStateCommand.js.map +0 -1
  156. package/dist-es/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  157. package/dist-es/commands/PutResourceAttributesCommand.js.map +0 -1
  158. package/dist-es/endpoints.js.map +0 -1
  159. package/dist-es/index.js.map +0 -1
  160. package/dist-es/models/index.js.map +0 -1
  161. package/dist-es/models/models_0.js.map +0 -1
  162. package/dist-es/pagination/Interfaces.js.map +0 -1
  163. package/dist-es/pagination/ListApplicationStatesPaginator.js.map +0 -1
  164. package/dist-es/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  165. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListMigrationTasksPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  168. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  169. package/dist-es/runtimeConfig.browser.js.map +0 -1
  170. package/dist-es/runtimeConfig.js.map +0 -1
  171. package/dist-es/runtimeConfig.native.js.map +0 -1
  172. package/dist-es/runtimeConfig.shared.js.map +0 -1
  173. package/jest.config.js +0 -4
  174. package/src/MigrationHub.ts +0 -788
  175. package/src/MigrationHubClient.ts +0 -340
  176. package/src/commands/AssociateCreatedArtifactCommand.ts +0 -112
  177. package/src/commands/AssociateDiscoveredResourceCommand.ts +0 -99
  178. package/src/commands/CreateProgressUpdateStreamCommand.ts +0 -102
  179. package/src/commands/DeleteProgressUpdateStreamCommand.ts +0 -128
  180. package/src/commands/DescribeApplicationStateCommand.ts +0 -95
  181. package/src/commands/DescribeMigrationTaskCommand.ts +0 -95
  182. package/src/commands/DisassociateCreatedArtifactCommand.ts +0 -114
  183. package/src/commands/DisassociateDiscoveredResourceCommand.ts +0 -104
  184. package/src/commands/ImportMigrationTaskCommand.ts +0 -98
  185. package/src/commands/ListApplicationStatesCommand.ts +0 -97
  186. package/src/commands/ListCreatedArtifactsCommand.ts +0 -109
  187. package/src/commands/ListDiscoveredResourcesCommand.ts +0 -95
  188. package/src/commands/ListMigrationTasksCommand.ts +0 -108
  189. package/src/commands/ListProgressUpdateStreamsCommand.ts +0 -98
  190. package/src/commands/NotifyApplicationStateCommand.ts +0 -98
  191. package/src/commands/NotifyMigrationTaskStateCommand.ts +0 -112
  192. package/src/commands/PutResourceAttributesCommand.ts +0 -120
  193. package/src/endpoints.ts +0 -57
  194. package/src/index.ts +0 -26
  195. package/src/models/index.ts +0 -1
  196. package/src/models/models_0.ts +0 -1319
  197. package/src/pagination/Interfaces.ts +0 -8
  198. package/src/pagination/ListApplicationStatesPaginator.ts +0 -59
  199. package/src/pagination/ListCreatedArtifactsPaginator.ts +0 -59
  200. package/src/pagination/ListDiscoveredResourcesPaginator.ts +0 -59
  201. package/src/pagination/ListMigrationTasksPaginator.ts +0 -59
  202. package/src/pagination/ListProgressUpdateStreamsPaginator.ts +0 -59
  203. package/src/protocols/Aws_json1_1.ts +0 -3163
  204. package/src/runtimeConfig.browser.ts +0 -41
  205. package/src/runtimeConfig.native.ts +0 -17
  206. package/src/runtimeConfig.shared.ts +0 -17
  207. package/src/runtimeConfig.ts +0 -46
  208. package/tsconfig.es.json +0 -10
  209. package/tsconfig.json +0 -33
  210. package/tsconfig.types.json +0 -9
@@ -17,260 +17,73 @@ import { NotifyApplicationStateCommandInput, NotifyApplicationStateCommandOutput
17
17
  import { NotifyMigrationTaskStateCommandInput, NotifyMigrationTaskStateCommandOutput } from "./commands/NotifyMigrationTaskStateCommand";
18
18
  import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput } from "./commands/PutResourceAttributesCommand";
19
19
  import { MigrationHubClient } from "./MigrationHubClient";
20
- /**
21
- * <p>The AWS Migration Hub API methods help to obtain server and application migration status
22
- * and integrate your resource-specific migration tool by providing a programmatic interface
23
- * to Migration Hub.</p>
24
- * <p>Remember that you must set your AWS Migration Hub home region before you call any of
25
- * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
26
- * must make the API calls while in your home region.</p>
27
- */
20
+
28
21
  export declare class MigrationHub extends MigrationHubClient {
29
- /**
30
- * <p>Associates a created artifact of an AWS cloud resource, the target receiving the
31
- * migration, with the migration task performed by a migration tool. This API has the
32
- * following traits:</p>
33
- * <ul>
34
- * <li>
35
- * <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to
36
- * indicate which AWS artifact is associated with a migration task.</p>
37
- * </li>
38
- * <li>
39
- * <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
40
- * which will contain information about type and region; for example:
41
- * <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
42
- * </li>
43
- * <li>
44
- * <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
45
- * or DMS endpoint, etc.</p>
46
- * </li>
47
- * </ul>
48
- */
22
+
49
23
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, options?: __HttpHandlerOptions): Promise<AssociateCreatedArtifactCommandOutput>;
50
24
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void): void;
51
25
  associateCreatedArtifact(args: AssociateCreatedArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateCreatedArtifactCommandOutput) => void): void;
52
- /**
53
- * <p>Associates a discovered resource ID from Application Discovery Service with a migration
54
- * task.</p>
55
- */
26
+
56
27
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDiscoveredResourceCommandOutput>;
57
28
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
58
29
  associateDiscoveredResource(args: AssociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDiscoveredResourceCommandOutput) => void): void;
59
- /**
60
- * <p>Creates a progress update stream which is an AWS resource used for access control as
61
- * well as a namespace for migration task names that is implicitly linked to your AWS account.
62
- * It must uniquely identify the migration tool as it is used for all updates made by the
63
- * tool; however, it does not need to be unique for each AWS account because it is scoped to
64
- * the AWS account.</p>
65
- */
30
+
66
31
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateProgressUpdateStreamCommandOutput>;
67
32
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void): void;
68
33
  createProgressUpdateStream(args: CreateProgressUpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProgressUpdateStreamCommandOutput) => void): void;
69
- /**
70
- * <p>Deletes a progress update stream, including all of its tasks, which was previously
71
- * created as an AWS resource used for access control. This API has the following
72
- * traits:</p>
73
- * <ul>
74
- * <li>
75
- * <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the
76
- * stream name (same as a <code>CreateProgressUpdateStream</code> call).</p>
77
- * </li>
78
- * <li>
79
- * <p>The call will return, and a background process will asynchronously delete the
80
- * stream and all of its resources (tasks, associated resources, resource attributes,
81
- * created artifacts).</p>
82
- * </li>
83
- * <li>
84
- * <p>If the stream takes time to be deleted, it might still show up on a
85
- * <code>ListProgressUpdateStreams</code> call.</p>
86
- * </li>
87
- * <li>
88
- * <p>
89
- * <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>,
90
- * <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs related to the
91
- * tasks belonging to the stream will throw "InvalidInputException" if the stream of the
92
- * same name is in the process of being deleted.</p>
93
- * </li>
94
- * <li>
95
- * <p>Once the stream and all of its resources are deleted,
96
- * <code>CreateProgressUpdateStream</code> for a stream of the same name will
97
- * succeed, and that stream will be an entirely new logical resource (without any
98
- * resources associated with the old stream).</p>
99
- * </li>
100
- * </ul>
101
- */
34
+
102
35
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProgressUpdateStreamCommandOutput>;
103
36
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void): void;
104
37
  deleteProgressUpdateStream(args: DeleteProgressUpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProgressUpdateStreamCommandOutput) => void): void;
105
- /**
106
- * <p>Gets the migration status of an application.</p>
107
- */
38
+
108
39
  describeApplicationState(args: DescribeApplicationStateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationStateCommandOutput>;
109
40
  describeApplicationState(args: DescribeApplicationStateCommandInput, cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void): void;
110
41
  describeApplicationState(args: DescribeApplicationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationStateCommandOutput) => void): void;
111
- /**
112
- * <p>Retrieves a list of all attributes associated with a specific migration task.</p>
113
- */
42
+
114
43
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMigrationTaskCommandOutput>;
115
44
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void): void;
116
45
  describeMigrationTask(args: DescribeMigrationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMigrationTaskCommandOutput) => void): void;
117
- /**
118
- * <p>Disassociates a created artifact of an AWS resource with a migration task performed by a
119
- * migration tool that was previously associated. This API has the following traits:</p>
120
- * <ul>
121
- * <li>
122
- * <p>A migration user can call the <code>DisassociateCreatedArtifacts</code> operation
123
- * to disassociate a created AWS Artifact from a migration task.</p>
124
- * </li>
125
- * <li>
126
- * <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
127
- * which will contain information about type and region; for example:
128
- * <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
129
- * </li>
130
- * <li>
131
- * <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
132
- * or RDS instance, etc.</p>
133
- * </li>
134
- * </ul>
135
- */
46
+
136
47
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateCreatedArtifactCommandOutput>;
137
48
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void): void;
138
49
  disassociateCreatedArtifact(args: DisassociateCreatedArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateCreatedArtifactCommandOutput) => void): void;
139
- /**
140
- * <p>Disassociate an Application Discovery Service discovered resource from a migration
141
- * task.</p>
142
- */
50
+
143
51
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDiscoveredResourceCommandOutput>;
144
52
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
145
53
  disassociateDiscoveredResource(args: DisassociateDiscoveredResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDiscoveredResourceCommandOutput) => void): void;
146
- /**
147
- * <p>Registers a new migration task which represents a server, database, etc., being migrated
148
- * to AWS by a migration tool.</p>
149
- * <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as
150
- * the migration tool must first register the migration task with Migration Hub.</p>
151
- */
54
+
152
55
  importMigrationTask(args: ImportMigrationTaskCommandInput, options?: __HttpHandlerOptions): Promise<ImportMigrationTaskCommandOutput>;
153
56
  importMigrationTask(args: ImportMigrationTaskCommandInput, cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void): void;
154
57
  importMigrationTask(args: ImportMigrationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportMigrationTaskCommandOutput) => void): void;
155
- /**
156
- * <p>Lists all the migration statuses for your applications. If you use the optional
157
- * <code>ApplicationIds</code> parameter, only the migration statuses for those
158
- * applications will be returned.</p>
159
- */
58
+
160
59
  listApplicationStates(args: ListApplicationStatesCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationStatesCommandOutput>;
161
60
  listApplicationStates(args: ListApplicationStatesCommandInput, cb: (err: any, data?: ListApplicationStatesCommandOutput) => void): void;
162
61
  listApplicationStates(args: ListApplicationStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationStatesCommandOutput) => void): void;
163
- /**
164
- * <p>Lists the created artifacts attached to a given migration task in an update stream. This
165
- * API has the following traits:</p>
166
- * <ul>
167
- * <li>
168
- * <p>Gets the list of the created artifacts while
169
- * migration is taking place.</p>
170
- * </li>
171
- * <li>
172
- * <p>Shows the artifacts created by the migration tool that was associated by the
173
- * <code>AssociateCreatedArtifact</code> API. </p>
174
- * </li>
175
- * <li>
176
- * <p>Lists created artifacts in a paginated interface. </p>
177
- * </li>
178
- * </ul>
179
- */
62
+
180
63
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, options?: __HttpHandlerOptions): Promise<ListCreatedArtifactsCommandOutput>;
181
64
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void): void;
182
65
  listCreatedArtifacts(args: ListCreatedArtifactsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCreatedArtifactsCommandOutput) => void): void;
183
- /**
184
- * <p>Lists discovered resources associated with the given <code>MigrationTask</code>.</p>
185
- */
66
+
186
67
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoveredResourcesCommandOutput>;
187
68
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
188
69
  listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
189
- /**
190
- * <p>Lists all, or filtered by resource name, migration tasks associated with the user
191
- * account making this call. This API has the following traits:</p>
192
- * <ul>
193
- * <li>
194
- * <p>Can show a summary list of the most recent migration tasks.</p>
195
- * </li>
196
- * <li>
197
- * <p>Can show a summary list of migration tasks associated with a given discovered
198
- * resource.</p>
199
- * </li>
200
- * <li>
201
- * <p>Lists migration tasks in a paginated interface.</p>
202
- * </li>
203
- * </ul>
204
- */
70
+
205
71
  listMigrationTasks(args: ListMigrationTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListMigrationTasksCommandOutput>;
206
72
  listMigrationTasks(args: ListMigrationTasksCommandInput, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
207
73
  listMigrationTasks(args: ListMigrationTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMigrationTasksCommandOutput) => void): void;
208
- /**
209
- * <p>Lists progress update streams associated with the user account making this call.</p>
210
- */
74
+
211
75
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListProgressUpdateStreamsCommandOutput>;
212
76
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
213
77
  listProgressUpdateStreams(args: ListProgressUpdateStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProgressUpdateStreamsCommandOutput) => void): void;
214
- /**
215
- * <p>Sets the migration state of an application. For a given application identified by the
216
- * value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
217
- * three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
218
- * COMPLETED</code>.</p>
219
- */
78
+
220
79
  notifyApplicationState(args: NotifyApplicationStateCommandInput, options?: __HttpHandlerOptions): Promise<NotifyApplicationStateCommandOutput>;
221
80
  notifyApplicationState(args: NotifyApplicationStateCommandInput, cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void): void;
222
81
  notifyApplicationState(args: NotifyApplicationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyApplicationStateCommandOutput) => void): void;
223
- /**
224
- * <p>Notifies Migration Hub of the current status, progress, or other detail regarding a
225
- * migration task. This API has the following traits:</p>
226
- * <ul>
227
- * <li>
228
- * <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
229
- * the latest progress and status.</p>
230
- * </li>
231
- * <li>
232
- * <p>
233
- * <code>MigrationTaskName</code> is used for addressing updates to the correct
234
- * target.</p>
235
- * </li>
236
- * <li>
237
- * <p>
238
- * <code>ProgressUpdateStream</code> is used for access control and to provide a
239
- * namespace for each migration tool.</p>
240
- * </li>
241
- * </ul>
242
- */
82
+
243
83
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, options?: __HttpHandlerOptions): Promise<NotifyMigrationTaskStateCommandOutput>;
244
84
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void): void;
245
85
  notifyMigrationTaskState(args: NotifyMigrationTaskStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyMigrationTaskStateCommandOutput) => void): void;
246
- /**
247
- * <p>Provides identifying details of the resource being migrated so that it can be associated
248
- * in the Application Discovery Service repository. This association occurs asynchronously
249
- * after <code>PutResourceAttributes</code> returns.</p>
250
- * <important>
251
- * <ul>
252
- * <li>
253
- * <p>Keep in mind that subsequent calls to PutResourceAttributes will override
254
- * previously stored attributes. For example, if it is first called with a MAC
255
- * address, but later, it is desired to <i>add</i> an IP address, it
256
- * will then be required to call it with <i>both</i> the IP and MAC
257
- * addresses to prevent overriding the MAC address.</p>
258
- * </li>
259
- * <li>
260
- * <p>Note the instructions regarding the special use case of the <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList">
261
- * <code>ResourceAttributeList</code>
262
- * </a> parameter when specifying any
263
- * "VM" related value.</p>
264
- * </li>
265
- * </ul>
266
- * </important>
267
- *
268
- * <note>
269
- * <p>Because this is an asynchronous call, it will always return 200, whether an
270
- * association occurs or not. To confirm if an association was found based on the provided
271
- * details, call <code>ListDiscoveredResources</code>.</p>
272
- * </note>
273
- */
86
+
274
87
  putResourceAttributes(args: PutResourceAttributesCommandInput, options?: __HttpHandlerOptions): Promise<PutResourceAttributesCommandOutput>;
275
88
  putResourceAttributes(args: PutResourceAttributesCommandInput, cb: (err: any, data?: PutResourceAttributesCommandOutput) => void): void;
276
89
  putResourceAttributes(args: PutResourceAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourceAttributesCommandOutput) => void): void;
@@ -26,129 +26,59 @@ import { PutResourceAttributesCommandInput, PutResourceAttributesCommandOutput }
26
26
  export declare type ServiceInputTypes = AssociateCreatedArtifactCommandInput | AssociateDiscoveredResourceCommandInput | CreateProgressUpdateStreamCommandInput | DeleteProgressUpdateStreamCommandInput | DescribeApplicationStateCommandInput | DescribeMigrationTaskCommandInput | DisassociateCreatedArtifactCommandInput | DisassociateDiscoveredResourceCommandInput | ImportMigrationTaskCommandInput | ListApplicationStatesCommandInput | ListCreatedArtifactsCommandInput | ListDiscoveredResourcesCommandInput | ListMigrationTasksCommandInput | ListProgressUpdateStreamsCommandInput | NotifyApplicationStateCommandInput | NotifyMigrationTaskStateCommandInput | PutResourceAttributesCommandInput;
27
27
  export declare type ServiceOutputTypes = AssociateCreatedArtifactCommandOutput | AssociateDiscoveredResourceCommandOutput | CreateProgressUpdateStreamCommandOutput | DeleteProgressUpdateStreamCommandOutput | DescribeApplicationStateCommandOutput | DescribeMigrationTaskCommandOutput | DisassociateCreatedArtifactCommandOutput | DisassociateDiscoveredResourceCommandOutput | ImportMigrationTaskCommandOutput | ListApplicationStatesCommandOutput | ListCreatedArtifactsCommandOutput | ListDiscoveredResourcesCommandOutput | ListMigrationTasksCommandOutput | ListProgressUpdateStreamsCommandOutput | NotifyApplicationStateCommandOutput | NotifyMigrationTaskStateCommandOutput | PutResourceAttributesCommandOutput;
28
28
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
29
- /**
30
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
31
- */
29
+
32
30
  requestHandler?: __HttpHandler;
33
- /**
34
- * A constructor for a class implementing the {@link __Hash} interface
35
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
36
- * @internal
37
- */
31
+
38
32
  sha256?: __HashConstructor;
39
- /**
40
- * The function that will be used to convert strings into HTTP endpoints.
41
- * @internal
42
- */
33
+
43
34
  urlParser?: __UrlParser;
44
- /**
45
- * A function that can calculate the length of a request body.
46
- * @internal
47
- */
35
+
48
36
  bodyLengthChecker?: (body: any) => number | undefined;
49
- /**
50
- * A function that converts a stream into an array of bytes.
51
- * @internal
52
- */
37
+
53
38
  streamCollector?: __StreamCollector;
54
- /**
55
- * The function that will be used to convert a base64-encoded string to a byte array.
56
- * @internal
57
- */
39
+
58
40
  base64Decoder?: __Decoder;
59
- /**
60
- * The function that will be used to convert binary data to a base64-encoded string.
61
- * @internal
62
- */
41
+
63
42
  base64Encoder?: __Encoder;
64
- /**
65
- * The function that will be used to convert a UTF8-encoded string to a byte array.
66
- * @internal
67
- */
43
+
68
44
  utf8Decoder?: __Decoder;
69
- /**
70
- * The function that will be used to convert binary data to a UTF-8 encoded string.
71
- * @internal
72
- */
45
+
73
46
  utf8Encoder?: __Encoder;
74
- /**
75
- * The runtime environment.
76
- * @internal
77
- */
47
+
78
48
  runtime?: string;
79
- /**
80
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
81
- * trait of an operation.
82
- */
49
+
83
50
  disableHostPrefix?: boolean;
84
- /**
85
- * Value for how many times a request will be made at most in case of retry.
86
- */
51
+
87
52
  maxAttempts?: number | __Provider<number>;
88
- /**
89
- * Specifies which retry algorithm to use.
90
- */
53
+
91
54
  retryMode?: string | __Provider<string>;
92
- /**
93
- * Optional logger for logging debug/info/warn/error.
94
- */
55
+
95
56
  logger?: __Logger;
96
- /**
97
- * Unique service identifier.
98
- * @internal
99
- */
57
+
100
58
  serviceId?: string;
101
- /**
102
- * The AWS region to which this client will send requests
103
- */
59
+
104
60
  region?: string | __Provider<string>;
105
- /**
106
- * Default credentials provider; Not available in browser runtime.
107
- * @internal
108
- */
61
+
109
62
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
110
- /**
111
- * Fetch related hostname, signing name or signing region with given region.
112
- * @internal
113
- */
63
+
114
64
  regionInfoProvider?: RegionInfoProvider;
115
- /**
116
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
117
- * @internal
118
- */
65
+
119
66
  defaultUserAgentProvider?: Provider<__UserAgent>;
120
67
  }
121
68
  declare type MigrationHubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
122
- /**
123
- * The configuration interface of MigrationHubClient class constructor that set the region, credentials and other options.
124
- */
69
+
125
70
  export interface MigrationHubClientConfig extends MigrationHubClientConfigType {
126
71
  }
127
72
  declare type MigrationHubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
128
- /**
129
- * The resolved configuration interface of MigrationHubClient class. This is resolved and normalized from the {@link MigrationHubClientConfig | constructor configuration interface}.
130
- */
73
+
131
74
  export interface MigrationHubClientResolvedConfig extends MigrationHubClientResolvedConfigType {
132
75
  }
133
- /**
134
- * <p>The AWS Migration Hub API methods help to obtain server and application migration status
135
- * and integrate your resource-specific migration tool by providing a programmatic interface
136
- * to Migration Hub.</p>
137
- * <p>Remember that you must set your AWS Migration Hub home region before you call any of
138
- * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
139
- * must make the API calls while in your home region.</p>
140
- */
76
+
141
77
  export declare class MigrationHubClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubClientResolvedConfig> {
142
- /**
143
- * The resolved configuration of MigrationHubClient class. This is resolved and normalized from the {@link MigrationHubClientConfig | constructor configuration interface}.
144
- */
78
+
145
79
  readonly config: MigrationHubClientResolvedConfig;
146
80
  constructor(configuration: MigrationHubClientConfig);
147
- /**
148
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
149
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
150
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
151
- */
81
+
152
82
  destroy(): void;
153
83
  }
154
84
  export {};
@@ -6,46 +6,11 @@ export interface AssociateCreatedArtifactCommandInput extends AssociateCreatedAr
6
6
  }
7
7
  export interface AssociateCreatedArtifactCommandOutput extends AssociateCreatedArtifactResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Associates a created artifact of an AWS cloud resource, the target receiving the
11
- * migration, with the migration task performed by a migration tool. This API has the
12
- * following traits:</p>
13
- * <ul>
14
- * <li>
15
- * <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to
16
- * indicate which AWS artifact is associated with a migration task.</p>
17
- * </li>
18
- * <li>
19
- * <p>The created artifact name must be provided in ARN (Amazon Resource Name) format
20
- * which will contain information about type and region; for example:
21
- * <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p>
22
- * </li>
23
- * <li>
24
- * <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance,
25
- * or DMS endpoint, etc.</p>
26
- * </li>
27
- * </ul>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MigrationHubClient, AssociateCreatedArtifactCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
32
- * // const { MigrationHubClient, AssociateCreatedArtifactCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
33
- * const client = new MigrationHubClient(config);
34
- * const command = new AssociateCreatedArtifactCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link AssociateCreatedArtifactCommandInput} for command's `input` shape.
39
- * @see {@link AssociateCreatedArtifactCommandOutput} for command's `response` shape.
40
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
9
+
43
10
  export declare class AssociateCreatedArtifactCommand extends $Command<AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig> {
44
11
  readonly input: AssociateCreatedArtifactCommandInput;
45
12
  constructor(input: AssociateCreatedArtifactCommandInput);
46
- /**
47
- * @internal
48
- */
13
+
49
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput>;
50
15
  private serialize;
51
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface AssociateDiscoveredResourceCommandInput extends AssociateDiscov
6
6
  }
7
7
  export interface AssociateDiscoveredResourceCommandOutput extends AssociateDiscoveredResourceResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Associates a discovered resource ID from Application Discovery Service with a migration
11
- * task.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { MigrationHubClient, AssociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
16
- * // const { MigrationHubClient, AssociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
17
- * const client = new MigrationHubClient(config);
18
- * const command = new AssociateDiscoveredResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link AssociateDiscoveredResourceCommandInput} for command's `input` shape.
23
- * @see {@link AssociateDiscoveredResourceCommandOutput} for command's `response` shape.
24
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class AssociateDiscoveredResourceCommand extends $Command<AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig> {
28
11
  readonly input: AssociateDiscoveredResourceCommandInput;
29
12
  constructor(input: AssociateDiscoveredResourceCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface CreateProgressUpdateStreamCommandInput extends CreateProgressUp
6
6
  }
7
7
  export interface CreateProgressUpdateStreamCommandOutput extends CreateProgressUpdateStreamResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a progress update stream which is an AWS resource used for access control as
11
- * well as a namespace for migration task names that is implicitly linked to your AWS account.
12
- * It must uniquely identify the migration tool as it is used for all updates made by the
13
- * tool; however, it does not need to be unique for each AWS account because it is scoped to
14
- * the AWS account.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { MigrationHubClient, CreateProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
19
- * // const { MigrationHubClient, CreateProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
20
- * const client = new MigrationHubClient(config);
21
- * const command = new CreateProgressUpdateStreamCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link CreateProgressUpdateStreamCommandInput} for command's `input` shape.
26
- * @see {@link CreateProgressUpdateStreamCommandOutput} for command's `response` shape.
27
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class CreateProgressUpdateStreamCommand extends $Command<CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig> {
31
11
  readonly input: CreateProgressUpdateStreamCommandInput;
32
12
  constructor(input: CreateProgressUpdateStreamCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,59 +6,11 @@ export interface DeleteProgressUpdateStreamCommandInput extends DeleteProgressUp
6
6
  }
7
7
  export interface DeleteProgressUpdateStreamCommandOutput extends DeleteProgressUpdateStreamResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a progress update stream, including all of its tasks, which was previously
11
- * created as an AWS resource used for access control. This API has the following
12
- * traits:</p>
13
- * <ul>
14
- * <li>
15
- * <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the
16
- * stream name (same as a <code>CreateProgressUpdateStream</code> call).</p>
17
- * </li>
18
- * <li>
19
- * <p>The call will return, and a background process will asynchronously delete the
20
- * stream and all of its resources (tasks, associated resources, resource attributes,
21
- * created artifacts).</p>
22
- * </li>
23
- * <li>
24
- * <p>If the stream takes time to be deleted, it might still show up on a
25
- * <code>ListProgressUpdateStreams</code> call.</p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>,
30
- * <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs related to the
31
- * tasks belonging to the stream will throw "InvalidInputException" if the stream of the
32
- * same name is in the process of being deleted.</p>
33
- * </li>
34
- * <li>
35
- * <p>Once the stream and all of its resources are deleted,
36
- * <code>CreateProgressUpdateStream</code> for a stream of the same name will
37
- * succeed, and that stream will be an entirely new logical resource (without any
38
- * resources associated with the old stream).</p>
39
- * </li>
40
- * </ul>
41
- * @example
42
- * Use a bare-bones client and the command you need to make an API call.
43
- * ```javascript
44
- * import { MigrationHubClient, DeleteProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
45
- * // const { MigrationHubClient, DeleteProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
46
- * const client = new MigrationHubClient(config);
47
- * const command = new DeleteProgressUpdateStreamCommand(input);
48
- * const response = await client.send(command);
49
- * ```
50
- *
51
- * @see {@link DeleteProgressUpdateStreamCommandInput} for command's `input` shape.
52
- * @see {@link DeleteProgressUpdateStreamCommandOutput} for command's `response` shape.
53
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
54
- *
55
- */
9
+
56
10
  export declare class DeleteProgressUpdateStreamCommand extends $Command<DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig> {
57
11
  readonly input: DeleteProgressUpdateStreamCommandInput;
58
12
  constructor(input: DeleteProgressUpdateStreamCommandInput);
59
- /**
60
- * @internal
61
- */
13
+
62
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProgressUpdateStreamCommandInput, DeleteProgressUpdateStreamCommandOutput>;
63
15
  private serialize;
64
16
  private deserialize;