getOperation method
Gets the details of an operation by specifying the operation ID.
May throw InternalServerException.
May throw ValidationException.
Parameter operationId :
The ID of the operation.
Implementation
Future<GetOperationOutput> getOperation({
required String operationId,
}) async {
final $payload = <String, dynamic>{
'OperationId': operationId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/get-operation',
exceptionFnMap: _exceptionFns,
);
return GetOperationOutput.fromJson(response);
}