describeTransaction method
Returns the details of a single transaction.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter transactionId :
The transaction for which to return status.
Implementation
Future<DescribeTransactionResponse> describeTransaction({
required String transactionId,
}) async {
final $payload = <String, dynamic>{
'TransactionId': transactionId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/DescribeTransaction',
exceptionFnMap: _exceptionFns,
);
return DescribeTransactionResponse.fromJson(response);
}