getWorkflow method

Future<GetWorkflowResponse> getWorkflow({
  1. required String workflowBuildVersionArn,
})

Get a workflow resource object.

May throw CallRateLimitExceededException. May throw ClientException. May throw ForbiddenException. May throw InvalidRequestException. May throw ServiceException. May throw ServiceUnavailableException.

Parameter workflowBuildVersionArn : The Amazon Resource Name (ARN) of the workflow resource that you want to get.

Implementation

Future<GetWorkflowResponse> getWorkflow({
  required String workflowBuildVersionArn,
}) async {
  final $query = <String, List<String>>{
    'workflowBuildVersionArn': [workflowBuildVersionArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/GetWorkflow',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetWorkflowResponse.fromJson(response);
}