Updated on 2022-09-05 GMT+08:00

SDK Overview

This document describes different SDK runtimes supported by FunctionGraph and provides the addresses for obtaining the latest SDK versions.

SDK List

Table 1 lists the SDKs supported by FunctionGraph. You can view SDK updates, obtain installation packages, and view user guides in GitHub.

Mappings Between APIs and SDKs

Table 2 lists the mappings between FunctionGraph APIs and SDKs.

Table 2 Mappings between APIs and SDKs

API

SDK Method (Same for All Runtimes)

Implementing synchronous function invocation

invoke_function

Implementing asynchronous function invocation

async_invoke_function

Obtaining the dependency list

list_dependencies

Creating a dependency

create_dependency

Deleting a dependency

delete_dependency

Obtaining a specified dependency

show_dependency

Updating a specified dependency

update_dependency

Obtaining the test event list

list_events

Creating a test event

create_event

Deleting a test event

delete_event

Obtaining the details of a test event

show_event

Updating a test event

update_event

Querying the tenant quotas

list_quotas

Obtaining function running metrics in a specified period

list_function_statistics

Querying account-level function statistics

list_statistics

Updating a trigger

update_trigger

Querying the function list

list_functions

Creating a function

create_function

Deleting a function or a function version

delete_function

Querying all version aliases of a function

list_version_aliases

Creating an alias for a function version

create_version_alias

Deleting a function alias

delete_version_alias

Querying the alias of a function version

show_version_alias

Modifying the alias information about a function version

update_version_alias

Querying the code of a function

show_function_code

Modifying the code of a function

update_function_code

Querying the metadata of a function

show_function_config

Modifying the metadata of a function

update_function_config

Querying all versions of a function

list_function_versions

Publishing a function version

create_function_version

Setting the number of reserved instances

update_function_reserved_instances

Configuring asynchronous invocation for a function version

update_function_async_invoke_config

Obtaining the asynchronous invocation configuration of a function version

show_function_async_invoke_config

Deleting the asynchronous invocation configuration of a function version

delete_function_async_invoke_config

Obtaining the asynchronous invocation configurations of all versions of a function

list_function_async_invoke_config

Deleting all triggers of a function

batch_delete_function_triggers

Querying all version aliases of a function

list_version_aliases

Creating a trigger

create_function_trigger

Deleting a trigger

delete_function_trigger

Querying the information about a trigger

show_function_trigger