Function LambdaApiFp

  • LambdaApi - functional programming interface

    Parameters

    Returns {
        lambdaCreateFunctions(funcId, onlineFunctionCallRequest?, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        lambdaCreateRequests(functionCallRequest, xOrganization?, org?, orgId?, options?) => Promise<((axios?, basePath?) => AxiosPromise<FunctionCall>)>;
        lambdaDeleteRequests(id, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        lambdaListFunctions(options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        lambdaListRequests(options?) => Promise<((axios?, basePath?) => AxiosPromise<FunctionCall[]>)>;
        lambdaRetrieveFunctions(funcId, options?) => Promise<((axios?, basePath?) => AxiosPromise<object>)>;
        lambdaRetrieveRequests(id, options?) => Promise<((axios?, basePath?) => AxiosPromise<FunctionCall>)>;
    }

    • lambdaCreateFunctions:function
      • Allows to execute a function for immediate computation. Intended for short-lived executions, useful for interactive calls. When executed for interactive annotation, the job id must be specified in the 'job' input field. The task id is not required in this case, but if it is specified, it must match the job task id.

        Parameters

        • funcId: string
        • Optional onlineFunctionCallRequest: OnlineFunctionCallRequest
        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Throws

    • lambdaCreateRequests:function
      • Parameters

        • functionCallRequest: FunctionCallRequest
        • Optional xOrganization: string

          Organization unique slug

        • Optional org: string

          Organization unique slug

        • Optional orgId: number

          Organization identifier

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<FunctionCall>)>

        Summary

        Method calls the function

        Throws

    • lambdaDeleteRequests:function
      • Parameters

        • id: string

          Request id

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Method cancels the request

        Throws

    • lambdaListFunctions:function
      • Parameters

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Method returns a list of functions

        Throws

    • lambdaListRequests:function
      • Parameters

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<FunctionCall[]>)>

        Summary

        Method returns a list of requests

        Throws

    • lambdaRetrieveFunctions:function
      • Parameters

        • funcId: string
        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<object>)>

        Summary

        Method returns the information about the function

        Throws

    • lambdaRetrieveRequests:function
      • Parameters

        • id: string

          Request id

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<FunctionCall>)>

        Summary

        Method returns the status of the request

        Throws

    Export

Generated using TypeDoc