getTest method
Retrieves a test by ID.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter serviceArn :
The ARN of the service the test belongs to.
Parameter testId :
The identifier of the test to retrieve.
Implementation
Future<GetTestResponse> getTest({
required String serviceArn,
required String testId,
}) async {
final $query = <String, List<String>>{
'serviceArn': [serviceArn],
'testId': [testId],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v2/get-test',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetTestResponse.fromJson(response);
}