- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
UnarchiveWaveCommand
Unarchive wave.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { MgnClient, UnarchiveWaveCommand } from "@aws-sdk/client-mgn"; // ES Modules import
// const { MgnClient, UnarchiveWaveCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
const client = new MgnClient(config);
const input = { // UnarchiveWaveRequest
waveID: "STRING_VALUE", // required
accountID: "STRING_VALUE",
};
const command = new UnarchiveWaveCommand(input);
const response = await client.send(command);
// { // Wave
// waveID: "STRING_VALUE",
// arn: "STRING_VALUE",
// name: "STRING_VALUE",
// description: "STRING_VALUE",
// isArchived: true || false,
// waveAggregatedStatus: { // WaveAggregatedStatus
// lastUpdateDateTime: "STRING_VALUE",
// replicationStartedDateTime: "STRING_VALUE",
// healthStatus: "STRING_VALUE",
// progressStatus: "STRING_VALUE",
// totalApplications: Number("long"),
// },
// creationDateTime: "STRING_VALUE",
// lastModifiedDateTime: "STRING_VALUE",
// tags: { // TagsMap
// "<keys>": "STRING_VALUE",
// },
// };
UnarchiveWaveCommand Input
See UnarchiveWaveCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
waveID Required | string | undefined | Wave ID. |
accountID | string | undefined | Account ID. |
UnarchiveWaveCommand Output
See UnarchiveWaveCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
arn | string | undefined | Wave ARN. |
creationDateTime | string | undefined | Wave creation dateTime. |
description | string | undefined | Wave description. |
isArchived | boolean | undefined | Wave archival status. |
lastModifiedDateTime | string | undefined | Wave last modified dateTime. |
name | string | undefined | Wave name. |
tags | Record<string, string> | undefined | Wave tags. |
waveAggregatedStatus | WaveAggregatedStatus | undefined | Wave aggregated status. |
waveID | string | undefined | Wave ID. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ResourceNotFoundException | client | Resource not found exception. |
ServiceQuotaExceededException | client | The request could not be completed because its exceeded the service quota. |
UninitializedAccountException | client | Uninitialized account exception. |
MgnServiceException | Base exception class for all service exceptions from Mgn service. |