getFunctionRecursionConfig method

Future<GetFunctionRecursionConfigResponse> getFunctionRecursionConfig({
  1. required String functionName,
})

Returns your function's recursive loop detection configuration.

May throw InvalidParameterValueException. May throw ResourceNotFoundException. May throw ServiceException. May throw TooManyRequestsException.

Parameter functionName : The name of the function.

Implementation

Future<GetFunctionRecursionConfigResponse> getFunctionRecursionConfig({
  required String functionName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2024-08-31/functions/${Uri.encodeComponent(functionName)}/recursion-config',
    exceptionFnMap: _exceptionFns,
  );
  return GetFunctionRecursionConfigResponse.fromJson(response);
}