unarchiveWave method

Future<Wave> unarchiveWave({
  1. required String waveID,
  2. String? accountID,
})

Unarchive wave.

May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw UninitializedAccountException.

Parameter waveID : Wave ID.

Parameter accountID : Account ID.

Implementation

Future<Wave> unarchiveWave({
  required String waveID,
  String? accountID,
}) async {
  final $payload = <String, dynamic>{
    'waveID': waveID,
    if (accountID != null) 'accountID': accountID,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/UnarchiveWave',
    exceptionFnMap: _exceptionFns,
  );
  return Wave.fromJson(response);
}