deleteTest method
Deletes a test.
May throw AccessDeniedException.
May throw ConflictException.
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 delete.
Implementation
Future<DeleteTestResponse> deleteTest({
required String serviceArn,
required String testId,
}) async {
final $payload = <String, dynamic>{
'serviceArn': serviceArn,
'testId': testId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/v2/delete-test',
exceptionFnMap: _exceptionFns,
);
return DeleteTestResponse.fromJson(response);
}