getEventAction method

Future<GetEventActionResponse> getEventAction({
  1. required String eventActionId,
})

This operation retrieves information about an event action.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter eventActionId : The unique identifier for the event action.

Implementation

Future<GetEventActionResponse> getEventAction({
  required String eventActionId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/event-actions/${Uri.encodeComponent(eventActionId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetEventActionResponse.fromJson(response);
}