getRestoreTestingPlan method

Future<GetRestoreTestingPlanOutput> getRestoreTestingPlan({
  1. required String restoreTestingPlanName,
})

Returns RestoreTestingPlan details for the specified RestoreTestingPlanName. The details are the body of a restore testing plan in JSON format, in addition to plan metadata.

May throw ResourceNotFoundException. May throw ServiceUnavailableException.

Parameter restoreTestingPlanName : Required unique name of the restore testing plan.

Implementation

Future<GetRestoreTestingPlanOutput> getRestoreTestingPlan({
  required String restoreTestingPlanName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/restore-testing/plans/${Uri.encodeComponent(restoreTestingPlanName)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRestoreTestingPlanOutput.fromJson(response);
}