getTestGridProject method
Retrieves information about a Selenium testing project.
May throw ArgumentException.
May throw InternalServiceException.
May throw NotFoundException.
Parameter projectArn :
The ARN of the Selenium testing project, from either
CreateTestGridProject or ListTestGridProjects.
Implementation
Future<GetTestGridProjectResult> getTestGridProject({
required String projectArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DeviceFarm_20150623.GetTestGridProject'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'projectArn': projectArn,
},
);
return GetTestGridProjectResult.fromJson(jsonResponse.body);
}