deleteWorkflow method
Deletes a specific workflow resource.
May throw CallRateLimitExceededException.
May throw ClientException.
May throw ForbiddenException.
May throw InvalidRequestException.
May throw ResourceDependencyException.
May throw ServiceException.
May throw ServiceUnavailableException.
Parameter workflowBuildVersionArn :
The Amazon Resource Name (ARN) of the workflow resource to delete.
Implementation
Future<DeleteWorkflowResponse> deleteWorkflow({
required String workflowBuildVersionArn,
}) async {
final $query = <String, List<String>>{
'workflowBuildVersionArn': [workflowBuildVersionArn],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/DeleteWorkflow',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteWorkflowResponse.fromJson(response);
}