updateRecoveryGroup method
Updates a recovery group.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter cells :
A list of cell Amazon Resource Names (ARNs). This list completely replaces
the previous list.
Parameter recoveryGroupName :
The name of a recovery group.
Implementation
Future<UpdateRecoveryGroupResponse> updateRecoveryGroup({
required List<String> cells,
required String recoveryGroupName,
}) async {
final $payload = <String, dynamic>{
'cells': cells,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/recoverygroups/${Uri.encodeComponent(recoveryGroupName)}',
exceptionFnMap: _exceptionFns,
);
return UpdateRecoveryGroupResponse.fromJson(response);
}