deleteWorkflow

Deletes a specific workflow resource. You can't delete a workflow build version while an image pipeline references it. The request fails with ResourceDependencyException.

Samples

// The following example deletes the workflow build version that the ARN specifies.
val resp = imagebuilderClient.deleteWorkflow {
    workflowBuildVersionArn = "arn:aws:imagebuilder:us-west-2:111122223333:workflow/build/my-example-workflow/1.0.0/1"
}