getStep method
Gets a step.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID for the step.
Parameter jobId :
The job ID for the step.
Parameter queueId :
The queue ID for the step.
Parameter stepId :
The step ID.
Implementation
Future<GetStepResponse> getStep({
required String farmId,
required String jobId,
required String queueId,
required String stepId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queues/${Uri.encodeComponent(queueId)}/jobs/${Uri.encodeComponent(jobId)}/steps/${Uri.encodeComponent(stepId)}',
exceptionFnMap: _exceptionFns,
);
return GetStepResponse.fromJson(response);
}