API standards and multilingual preset SDKs
The OpenAPI of this product (FC-Open/2021-04-06) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Subscription
|
API |
Title |
Description |
| DescribeRegions | DescribeRegions | Queries the available regions for FC 2.0. |
Regions and zones
|
API |
Title |
Description |
| UpdateCustomDomain | UpdateCustomDomain | Modifies a custom domain name. |
| GetCustomDomain | GetCustomDomain | Queries the information about a custom domain name. |
Services
|
API |
Title |
Description |
| UpdateFunction | UpdateFunction | Updates the configuration of a function. |
| ListFunctions | ListFunctions | Lists functions. |
| InvokeFunction | InvokeFunction | Invoke a function. |
Service versions
|
API |
Title |
Description |
| PutFunctionAsyncInvokeConfig | PutFunctionAsyncInvokeConfig | Creates or modifies an asynchronous invocation configuration for a function. |
| GetFunctionAsyncInvokeConfig | GetFunctionAsyncInvokeConfig | Obtains asynchronous invocation configurations of a function. |
| ListFunctionAsyncInvokeConfigs | ListFunctionAsyncInvokeConfigs | Queries all asynchronous invocation configurations of a function in a service. If the number of configurations exceeds the value of the limit parameter, the nextToken parameter is returned. You can use the nextToken parameter to query the next page of results. |
Triggers
|
API |
Title |
Description |
| ListInstances | ListInstances | Lists the active instances for a function. |
Custom domain names
|
API |
Title |
Description |
| CreateAlias | CreateAlias | Creates an alias. |
| CreateCustomDomain | CreateCustomDomain | Adds a custom domain name. |
| CreateFunction | CreateFunction | Creates a function. |
| CreateLayerVersion | CreateLayerVersion | Releases a layer version. |
| CreateService | CreateService | Create a service. |
| CreateTrigger | CreateTrigger | A trigger is created. |
| CreateVpcBinding | CreateVpcBinding | Creates a VPC connection. |
| DeleteAlias | DeleteAlias | Deletes an alias. |
| DeleteCustomDomain | DeleteCustomDomain | Deletes a custom domain name. |
| DeleteFunction | DeleteFunction | Deletes a function. Before you delete a function, you must delete triggers of the function. |
| DeleteFunctionAsyncInvokeConfig | DeleteFunctionAsyncInvokeConfig | Deletes an asynchronous invocation configuration. |
| DeleteFunctionOnDemandConfig | DeleteFunctionOnDemandConfig | Deletes a concurrency configuration of a function. |
| DeleteLayerVersion | DeleteLayerVersion | Deletes a layer version. |
| DeleteService | DeleteService | Deletes a service. |
| DeleteServiceVersion | DeleteServiceVersion | Removes a service version. |
| DeleteTrigger | DeleteTrigger | Deletes a trigger. |
| DeleteVpcBinding | DeleteVpcBinding | Deletes an access control policy from a specified policy group for a VPC firewall. |
| DeregisterEventSource | DeregisterEventSource | Deregisters an event source for a function invocation. This API operation has been deprecated. We recommend that you do not continue to use it. |
| GetAccountSettings | GetAccountSettings | You can call this operation to query the information about an account. |
| GetAlias | GetAlias | Queries information about an alias. |
| GetFunction | GetFunction | Queries the information about a function. |
| GetFunctionCode | GetFunctionCode | Queries the code package of a function. |
| GetFunctionOnDemandConfig | GetFunctionOnDemandConfig | Obtains configurations of on-demand instances. |
| GetLayerVersion | GetLayerVersion | Queries versions of a layer. |
| GetProvisionConfig | GetProvisionConfig | Queries the details of provisioned configurations. |
| GetResourceTags | GetResourceTags | Queries all the tags of a resource. |
| GetService | GetService | Queries information about a specified service. |
| GetStatefulAsyncInvocation | GetStatefulAsyncInvocation | Gets asynchronous task records that meet specified conditions. |
| GetTrigger | GetTrigger | Queries the information about a trigger. |
| ListAliases | ListAliases | Queries all aliases of a service. |
| ListCustomDomains | ListCustomDomains | Queries available custom domain names. |
| ListEventSources | ListEventSources | Queries a list of event sources for function invocations. |
| ListLayerVersions | ListLayerVersions | Gets a list of layer versions. |
| ListLayers | ListLayers | Gets a list of layers. |
| ListOnDemandConfigs | ListOnDemandConfigs | Queries on-demand instance configurations a function. |
| ListProvisionConfigs | ListProvisionConfigs | Queries configurations of provisioned instances. |
| ListReservedCapacities | ListReservedCapacities | Queries purchased provisioned instances. This API operation has been deprecated. We recommend that you do not continue to use this API operation. |
| ListServiceVersions | ListServiceVersions | Queries all the versions of a service. |
| ListServices | ListServices | Queries a list of services. |
| ListStatefulAsyncInvocationFunctions | ListStatefulAsyncInvocationFunctions | Queries all function resources that have enabled asynchronous tasks within the current account. |
| ListStatefulAsyncInvocations | ListStatefulAsyncInvocations | Queries all asynchronous invocations in an asynchronous task that meets specific conditions. |
| ListTaggedResources | ListTaggedResources | Queries all tagged services. |
| ListTriggers | ListTriggers | Queries the triggers of a function. |
| ListVpcBindings | ListVpcBindings | Queries a list of existing VPC connections. |
| PublishServiceVersion | PublishServiceVersion | Publishes a service version. |
| PutFunctionOnDemandConfig | PutFunctionOnDemandConfig | Creates a function rule. |
| PutLayerACL | PutLayerACL | Modifies permissions of a layer. |
| PutProvisionConfig | PutProvisionConfig | Creates provisioned configurations. |
| RegisterEventSource | RegisterEventSource | Registers an event source. |
| StopStatefulAsyncInvocation | StopStatefulAsyncInvocation | Stops an asynchronous task. |
| TagResource | TagResource | Adds tags to a resource. |
| UntagResource | UntagResource | Removes tags from resources. |
| UpdateAlias | UpdateAlias | Updates an alias. |
| UpdateService | UpdateService | Updates a service. |
| UpdateTrigger | UpdateTrigger | Modifies a trigger. |