getWorkflow
inline suspend fun ImagebuilderClient.getWorkflow(crossinline block: GetWorkflowRequest.Builder.() -> Unit): GetWorkflowResponse
Retrieves a workflow resource object.
Samples
// The following example retrieves a workflow build version. The response includes the YAML workflow
// document in the data field and the parameters that Image Builder extracted from it when the workflow was
// created.
val resp = imagebuilderClient.getWorkflow {
workflowBuildVersionArn = "arn:aws:imagebuilder:us-west-2:111122223333:workflow/build/my-example-workflow/1.0.0/1"
}Content copied to clipboard