getAction method

Future<GetActionResponse> getAction({
  1. required String id,
})

Gets information about the specified FIS action.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter id : The ID of the action.

Implementation

Future<GetActionResponse> getAction({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/actions/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetActionResponse.fromJson(response);
}