@aws-sdk/client-migration-hub 3.299.0 → 3.301.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.
@@ -43,6 +43,15 @@ export interface AssociateCreatedArtifactCommandOutput extends AssociateCreatedA
43
43
  * import { MigrationHubClient, AssociateCreatedArtifactCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
44
44
  * // const { MigrationHubClient, AssociateCreatedArtifactCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
45
45
  * const client = new MigrationHubClient(config);
46
+ * const input = { // AssociateCreatedArtifactRequest
47
+ * ProgressUpdateStream: "STRING_VALUE", // required
48
+ * MigrationTaskName: "STRING_VALUE", // required
49
+ * CreatedArtifact: { // CreatedArtifact
50
+ * Name: "STRING_VALUE", // required
51
+ * Description: "STRING_VALUE",
52
+ * },
53
+ * DryRun: true || false,
54
+ * };
46
55
  * const command = new AssociateCreatedArtifactCommand(input);
47
56
  * const response = await client.send(command);
48
57
  * ```
@@ -27,6 +27,15 @@ export interface AssociateDiscoveredResourceCommandOutput extends AssociateDisco
27
27
  * import { MigrationHubClient, AssociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
28
28
  * // const { MigrationHubClient, AssociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
29
29
  * const client = new MigrationHubClient(config);
30
+ * const input = { // AssociateDiscoveredResourceRequest
31
+ * ProgressUpdateStream: "STRING_VALUE", // required
32
+ * MigrationTaskName: "STRING_VALUE", // required
33
+ * DiscoveredResource: { // DiscoveredResource
34
+ * ConfigurationId: "STRING_VALUE", // required
35
+ * Description: "STRING_VALUE",
36
+ * },
37
+ * DryRun: true || false,
38
+ * };
30
39
  * const command = new AssociateDiscoveredResourceCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
@@ -30,6 +30,10 @@ export interface CreateProgressUpdateStreamCommandOutput extends CreateProgressU
30
30
  * import { MigrationHubClient, CreateProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
31
31
  * // const { MigrationHubClient, CreateProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
32
32
  * const client = new MigrationHubClient(config);
33
+ * const input = { // CreateProgressUpdateStreamRequest
34
+ * ProgressUpdateStreamName: "STRING_VALUE", // required
35
+ * DryRun: true || false,
36
+ * };
33
37
  * const command = new CreateProgressUpdateStreamCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -56,6 +56,10 @@ export interface DeleteProgressUpdateStreamCommandOutput extends DeleteProgressU
56
56
  * import { MigrationHubClient, DeleteProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
57
57
  * // const { MigrationHubClient, DeleteProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
58
58
  * const client = new MigrationHubClient(config);
59
+ * const input = { // DeleteProgressUpdateStreamRequest
60
+ * ProgressUpdateStreamName: "STRING_VALUE", // required
61
+ * DryRun: true || false,
62
+ * };
59
63
  * const command = new DeleteProgressUpdateStreamCommand(input);
60
64
  * const response = await client.send(command);
61
65
  * ```
@@ -26,6 +26,9 @@ export interface DescribeApplicationStateCommandOutput extends DescribeApplicati
26
26
  * import { MigrationHubClient, DescribeApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
27
27
  * // const { MigrationHubClient, DescribeApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
28
28
  * const client = new MigrationHubClient(config);
29
+ * const input = { // DescribeApplicationStateRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeApplicationStateCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DescribeMigrationTaskCommandOutput extends DescribeMigrationTas
26
26
  * import { MigrationHubClient, DescribeMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
27
27
  * // const { MigrationHubClient, DescribeMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
28
28
  * const client = new MigrationHubClient(config);
29
+ * const input = { // DescribeMigrationTaskRequest
30
+ * ProgressUpdateStream: "STRING_VALUE", // required
31
+ * MigrationTaskName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DescribeMigrationTaskCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -42,6 +42,12 @@ export interface DisassociateCreatedArtifactCommandOutput extends DisassociateCr
42
42
  * import { MigrationHubClient, DisassociateCreatedArtifactCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
43
43
  * // const { MigrationHubClient, DisassociateCreatedArtifactCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
44
44
  * const client = new MigrationHubClient(config);
45
+ * const input = { // DisassociateCreatedArtifactRequest
46
+ * ProgressUpdateStream: "STRING_VALUE", // required
47
+ * MigrationTaskName: "STRING_VALUE", // required
48
+ * CreatedArtifactName: "STRING_VALUE", // required
49
+ * DryRun: true || false,
50
+ * };
45
51
  * const command = new DisassociateCreatedArtifactCommand(input);
46
52
  * const response = await client.send(command);
47
53
  * ```
@@ -27,6 +27,12 @@ export interface DisassociateDiscoveredResourceCommandOutput extends Disassociat
27
27
  * import { MigrationHubClient, DisassociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
28
28
  * // const { MigrationHubClient, DisassociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
29
29
  * const client = new MigrationHubClient(config);
30
+ * const input = { // DisassociateDiscoveredResourceRequest
31
+ * ProgressUpdateStream: "STRING_VALUE", // required
32
+ * MigrationTaskName: "STRING_VALUE", // required
33
+ * ConfigurationId: "STRING_VALUE", // required
34
+ * DryRun: true || false,
35
+ * };
30
36
  * const command = new DisassociateDiscoveredResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -29,6 +29,11 @@ export interface ImportMigrationTaskCommandOutput extends ImportMigrationTaskRes
29
29
  * import { MigrationHubClient, ImportMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
30
30
  * // const { MigrationHubClient, ImportMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
31
31
  * const client = new MigrationHubClient(config);
32
+ * const input = { // ImportMigrationTaskRequest
33
+ * ProgressUpdateStream: "STRING_VALUE", // required
34
+ * MigrationTaskName: "STRING_VALUE", // required
35
+ * DryRun: true || false,
36
+ * };
32
37
  * const command = new ImportMigrationTaskCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -28,6 +28,13 @@ export interface ListApplicationStatesCommandOutput extends ListApplicationState
28
28
  * import { MigrationHubClient, ListApplicationStatesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
29
29
  * // const { MigrationHubClient, ListApplicationStatesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
30
30
  * const client = new MigrationHubClient(config);
31
+ * const input = { // ListApplicationStatesRequest
32
+ * ApplicationIds: [ // ApplicationIds
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
31
38
  * const command = new ListApplicationStatesCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -40,6 +40,12 @@ export interface ListCreatedArtifactsCommandOutput extends ListCreatedArtifactsR
40
40
  * import { MigrationHubClient, ListCreatedArtifactsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
41
41
  * // const { MigrationHubClient, ListCreatedArtifactsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
42
42
  * const client = new MigrationHubClient(config);
43
+ * const input = { // ListCreatedArtifactsRequest
44
+ * ProgressUpdateStream: "STRING_VALUE", // required
45
+ * MigrationTaskName: "STRING_VALUE", // required
46
+ * NextToken: "STRING_VALUE",
47
+ * MaxResults: Number("int"),
48
+ * };
43
49
  * const command = new ListCreatedArtifactsCommand(input);
44
50
  * const response = await client.send(command);
45
51
  * ```
@@ -26,6 +26,12 @@ export interface ListDiscoveredResourcesCommandOutput extends ListDiscoveredReso
26
26
  * import { MigrationHubClient, ListDiscoveredResourcesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
27
27
  * // const { MigrationHubClient, ListDiscoveredResourcesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
28
28
  * const client = new MigrationHubClient(config);
29
+ * const input = { // ListDiscoveredResourcesRequest
30
+ * ProgressUpdateStream: "STRING_VALUE", // required
31
+ * MigrationTaskName: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListDiscoveredResourcesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -39,6 +39,11 @@ export interface ListMigrationTasksCommandOutput extends ListMigrationTasksResul
39
39
  * import { MigrationHubClient, ListMigrationTasksCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
40
40
  * // const { MigrationHubClient, ListMigrationTasksCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
41
41
  * const client = new MigrationHubClient(config);
42
+ * const input = { // ListMigrationTasksRequest
43
+ * NextToken: "STRING_VALUE",
44
+ * MaxResults: Number("int"),
45
+ * ResourceName: "STRING_VALUE",
46
+ * };
42
47
  * const command = new ListMigrationTasksCommand(input);
43
48
  * const response = await client.send(command);
44
49
  * ```
@@ -26,6 +26,10 @@ export interface ListProgressUpdateStreamsCommandOutput extends ListProgressUpda
26
26
  * import { MigrationHubClient, ListProgressUpdateStreamsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
27
27
  * // const { MigrationHubClient, ListProgressUpdateStreamsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
28
28
  * const client = new MigrationHubClient(config);
29
+ * const input = { // ListProgressUpdateStreamsRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListProgressUpdateStreamsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -29,6 +29,12 @@ export interface NotifyApplicationStateCommandOutput extends NotifyApplicationSt
29
29
  * import { MigrationHubClient, NotifyApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
30
30
  * // const { MigrationHubClient, NotifyApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
31
31
  * const client = new MigrationHubClient(config);
32
+ * const input = { // NotifyApplicationStateRequest
33
+ * ApplicationId: "STRING_VALUE", // required
34
+ * Status: "STRING_VALUE", // required
35
+ * UpdateDateTime: new Date("TIMESTAMP"),
36
+ * DryRun: true || false,
37
+ * };
32
38
  * const command = new NotifyApplicationStateCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -43,6 +43,18 @@ export interface NotifyMigrationTaskStateCommandOutput extends NotifyMigrationTa
43
43
  * import { MigrationHubClient, NotifyMigrationTaskStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
44
44
  * // const { MigrationHubClient, NotifyMigrationTaskStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
45
45
  * const client = new MigrationHubClient(config);
46
+ * const input = { // NotifyMigrationTaskStateRequest
47
+ * ProgressUpdateStream: "STRING_VALUE", // required
48
+ * MigrationTaskName: "STRING_VALUE", // required
49
+ * Task: { // Task
50
+ * Status: "STRING_VALUE", // required
51
+ * StatusDetail: "STRING_VALUE",
52
+ * ProgressPercent: Number("int"),
53
+ * },
54
+ * UpdateDateTime: new Date("TIMESTAMP"), // required
55
+ * NextUpdateSeconds: Number("int"), // required
56
+ * DryRun: true || false,
57
+ * };
46
58
  * const command = new NotifyMigrationTaskStateCommand(input);
47
59
  * const response = await client.send(command);
48
60
  * ```
@@ -51,6 +51,17 @@ export interface PutResourceAttributesCommandOutput extends PutResourceAttribute
51
51
  * import { MigrationHubClient, PutResourceAttributesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
52
52
  * // const { MigrationHubClient, PutResourceAttributesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
53
53
  * const client = new MigrationHubClient(config);
54
+ * const input = { // PutResourceAttributesRequest
55
+ * ProgressUpdateStream: "STRING_VALUE", // required
56
+ * MigrationTaskName: "STRING_VALUE", // required
57
+ * ResourceAttributeList: [ // ResourceAttributeList // required
58
+ * { // ResourceAttribute
59
+ * Type: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * DryRun: true || false,
64
+ * };
54
65
  * const command = new PutResourceAttributesCommand(input);
55
66
  * const response = await client.send(command);
56
67
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migration-hub",
3
3
  "description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },