describeAction method

Future<DescribeActionResponse> describeAction({
  1. required String actionId,
})

Retrieves information about an action.

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

Parameter actionId : The ID of the action.

Implementation

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