getBackupPlanFromTemplate method
Future<GetBackupPlanFromTemplateOutput>
getBackupPlanFromTemplate({
- required String backupPlanTemplateId,
Returns the template specified by its templateId as a backup
plan.
May throw InvalidParameterValueException.
May throw MissingParameterValueException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
Parameter backupPlanTemplateId :
Uniquely identifies a stored backup plan template.
Implementation
Future<GetBackupPlanFromTemplateOutput> getBackupPlanFromTemplate({
required String backupPlanTemplateId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/backup/template/plans/${Uri.encodeComponent(backupPlanTemplateId)}/toPlan',
exceptionFnMap: _exceptionFns,
);
return GetBackupPlanFromTemplateOutput.fromJson(response);
}