describeExecution method

Future<DescribeExecutionResponse> describeExecution({
  1. required String executionId,
})

Retrieves information about the execution.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter executionId : The ID of the execution.

Implementation

Future<DescribeExecutionResponse> describeExecution({
  required String executionId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/executions/${Uri.encodeComponent(executionId)}',
    hostPrefix: 'api.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeExecutionResponse.fromJson(response);
}