getRestoreTestingSelection method

Future<GetRestoreTestingSelectionOutput> getRestoreTestingSelection({
  1. required String restoreTestingPlanName,
  2. required String restoreTestingSelectionName,
})

Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.

May throw ResourceNotFoundException. May throw ServiceUnavailableException.

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

Parameter restoreTestingSelectionName : Required unique name of the restore testing selection.

Implementation

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