batchGetStep

Retrieves multiple steps in a single request. This is a batch version of the GetStep API.

The result of getting each step is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

Samples

import aws.sdk.kotlin.services.deadline.model.BatchGetStepIdentifier

fun main() { 
   //sampleStart 
   // Get multiple steps in a single request
deadlineClient.batchGetStep {
    identifiers = listOf<BatchGetStepIdentifier>(
        BatchGetStepIdentifier {
            farmId = "farm-1234567890abcdef1234567890abcdef"
            queueId = "queue-1234567890abcdef1234567890abcdef"
            jobId = "job-1234567890abcdef1234567890abcdef"
            stepId = "step-1234567890abcdef1234567890abcdef"
        },
        BatchGetStepIdentifier {
            farmId = "farm-1234567890abcdef1234567890abcdef"
            queueId = "queue-1234567890abcdef1234567890abcdef"
            jobId = "job-1234567890abcdef1234567890abcdef"
            stepId = "step-234567890abcdef1234567890abcdef1"
        }            
    )
} 
   //sampleEnd
}