public class ScfClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
构造器和说明 |
---|
ScfClient(Credential credential,
String region) |
ScfClient(Credential credential,
String region,
ClientProfile profile) |
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public ScfClient(Credential credential, String region)
public ScfClient(Credential credential, String region, ClientProfile profile)
public CopyFunctionResponse CopyFunction(CopyFunctionRequest req) throws TencentCloudSDKException
req
- CopyFunctionRequestTencentCloudSDKException
public CreateFunctionResponse CreateFunction(CreateFunctionRequest req) throws TencentCloudSDKException
req
- CreateFunctionRequestTencentCloudSDKException
public CreateNamespaceResponse CreateNamespace(CreateNamespaceRequest req) throws TencentCloudSDKException
req
- CreateNamespaceRequestTencentCloudSDKException
public CreateTriggerResponse CreateTrigger(CreateTriggerRequest req) throws TencentCloudSDKException
req
- CreateTriggerRequestTencentCloudSDKException
public DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest req) throws TencentCloudSDKException
req
- DeleteFunctionRequestTencentCloudSDKException
public DeleteNamespaceResponse DeleteNamespace(DeleteNamespaceRequest req) throws TencentCloudSDKException
req
- DeleteNamespaceRequestTencentCloudSDKException
public DeleteTriggerResponse DeleteTrigger(DeleteTriggerRequest req) throws TencentCloudSDKException
req
- DeleteTriggerRequestTencentCloudSDKException
public GetFunctionResponse GetFunction(GetFunctionRequest req) throws TencentCloudSDKException
req
- GetFunctionRequestTencentCloudSDKException
public GetFunctionAddressResponse GetFunctionAddress(GetFunctionAddressRequest req) throws TencentCloudSDKException
req
- GetFunctionAddressRequestTencentCloudSDKException
public GetFunctionLogsResponse GetFunctionLogs(GetFunctionLogsRequest req) throws TencentCloudSDKException
req
- GetFunctionLogsRequestTencentCloudSDKException
public InvokeResponse Invoke(InvokeRequest req) throws TencentCloudSDKException
req
- InvokeRequestTencentCloudSDKException
public ListFunctionsResponse ListFunctions(ListFunctionsRequest req) throws TencentCloudSDKException
req
- ListFunctionsRequestTencentCloudSDKException
public ListNamespacesResponse ListNamespaces(ListNamespacesRequest req) throws TencentCloudSDKException
req
- ListNamespacesRequestTencentCloudSDKException
public ListVersionByFunctionResponse ListVersionByFunction(ListVersionByFunctionRequest req) throws TencentCloudSDKException
req
- ListVersionByFunctionRequestTencentCloudSDKException
public PublishVersionResponse PublishVersion(PublishVersionRequest req) throws TencentCloudSDKException
req
- PublishVersionRequestTencentCloudSDKException
public UpdateFunctionCodeResponse UpdateFunctionCode(UpdateFunctionCodeRequest req) throws TencentCloudSDKException
req
- UpdateFunctionCodeRequestTencentCloudSDKException
public UpdateFunctionConfigurationResponse UpdateFunctionConfiguration(UpdateFunctionConfigurationRequest req) throws TencentCloudSDKException
req
- UpdateFunctionConfigurationRequestTencentCloudSDKException
public UpdateNamespaceResponse UpdateNamespace(UpdateNamespaceRequest req) throws TencentCloudSDKException
req
- UpdateNamespaceRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.