public class Client
extends com.aliyun.teaopenapi.Client
_connectTimeout, _credential, _endpoint, _endpointMap, _endpointRule, _endpointType, _globalParameters, _headers, _httpProxy, _httpsProxy, _maxIdleConns, _method, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _signatureVersion, _socks5NetWork, _socks5Proxy, _spi, _suffix, _userAgent| 构造器和说明 |
|---|
Client(com.aliyun.teaopenapi.models.Config config) |
addRequestInterceptor, addResponseInterceptor, addRuntimeOptionsInterceptor, callApi, checkConfig, defaultAny, doRequest, doROARequest, doROARequestWithForm, doRPCRequest, execute, getAccessKeyId, getAccessKeySecret, getBearerToken, getRpcHeaders, getSecurityToken, getType, getUserAgent, setGatewayClient, setRpcHeaderspublic String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, Map<String,String> endpointMap, String endpoint) throws Exception
Exceptionpublic CreateCampaignResponse createCampaignWithOptions(CreateCampaignRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - CreateCampaignRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic CreateCampaignResponse createCampaign(CreateCampaignRequest request) throws Exception
request - CreateCampaignRequestExceptionpublic CreateGroupResponse createGroupWithOptions(CreateGroupRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - CreateGroupRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic CreateGroupResponse createGroup(CreateGroupRequest request) throws Exception
request - CreateGroupRequestExceptionpublic CreateInferenceJobResponse createInferenceJobWithOptions(CreateInferenceJobRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - CreateInferenceJobRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic CreateInferenceJobResponse createInferenceJob(CreateInferenceJobRequest request) throws Exception
request - CreateInferenceJobRequestExceptionpublic CreateScheduleResponse createScheduleWithOptions(CreateScheduleRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateScheduleResponse createSchedule(CreateScheduleRequest request) throws Exception
Exceptionpublic CreateSignatureResponse createSignatureWithOptions(CreateSignatureRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateSignatureResponse createSignature(CreateSignatureRequest request) throws Exception
Exceptionpublic CreateTemplateResponse createTemplateWithOptions(CreateTemplateRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateTemplateResponse createTemplate(CreateTemplateRequest request) throws Exception
Exceptionpublic CreateTrainingJobResponse createTrainingJobWithOptions(CreateTrainingJobRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CreateTrainingJobResponse createTrainingJob(CreateTrainingJobRequest request) throws Exception
Exceptionpublic DeleteCampaignResponse deleteCampaignWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteCampaignResponse deleteCampaign(String Id) throws Exception
Exceptionpublic DeleteGroupResponse deleteGroupWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteGroupResponse deleteGroup(String Id) throws Exception
Exceptionpublic DeleteInferenceJobResponse deleteInferenceJobWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteInferenceJobResponse deleteInferenceJob(String Id) throws Exception
Exceptionpublic DeleteScheduleResponse deleteScheduleWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteScheduleResponse deleteSchedule(String Id) throws Exception
Exceptionpublic DeleteSignatureResponse deleteSignatureWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteSignatureResponse deleteSignature(String Id) throws Exception
Exceptionpublic DeleteTemplateResponse deleteTemplateWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteTemplateResponse deleteTemplate(String Id) throws Exception
Exceptionpublic DeleteTrainingJobResponse deleteTrainingJobWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic DeleteTrainingJobResponse deleteTrainingJob(String Id) throws Exception
Exceptionpublic GetAlgorithmResponse getAlgorithmWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetAlgorithmResponse getAlgorithm(String Id) throws Exception
Exceptionpublic GetCampaignResponse getCampaignWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetCampaignResponse getCampaign(String Id) throws Exception
Exceptionpublic GetGroupResponse getGroupWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetGroupResponse getGroup(String Id) throws Exception
Exceptionpublic GetInferenceJobResponse getInferenceJobWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetInferenceJobResponse getInferenceJob(String Id) throws Exception
Exceptionpublic GetMessageConfigResponse getMessageConfigWithOptions(Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetMessageConfigResponse getMessageConfig() throws Exception
Exceptionpublic GetScheduleResponse getScheduleWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetScheduleResponse getSchedule(String Id) throws Exception
Exceptionpublic GetSignatureResponse getSignatureWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetSignatureResponse getSignature(String Id) throws Exception
Exceptionpublic GetTemplateResponse getTemplateWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetTemplateResponse getTemplate(String Id) throws Exception
Exceptionpublic GetTrainingJobResponse getTrainingJobWithOptions(String Id, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetTrainingJobResponse getTrainingJob(String Id) throws Exception
Exceptionpublic GetUserResponse getUserWithOptions(Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic GetUserResponse getUser() throws Exception
Exceptionpublic ListAlgorithmsResponse listAlgorithmsWithOptions(ListAlgorithmsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListAlgorithmsRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListAlgorithmsResponse listAlgorithms(ListAlgorithmsRequest request) throws Exception
request - ListAlgorithmsRequestExceptionpublic ListCampaignsResponse listCampaignsWithOptions(ListCampaignsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListCampaignsRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListCampaignsResponse listCampaigns(ListCampaignsRequest request) throws Exception
request - ListCampaignsRequestExceptionpublic ListGroupsResponse listGroupsWithOptions(ListGroupsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListGroupsRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListGroupsResponse listGroups(ListGroupsRequest request) throws Exception
request - ListGroupsRequestExceptionpublic ListInferenceJobsResponse listInferenceJobsWithOptions(ListInferenceJobsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListInferenceJobsResponse listInferenceJobs(ListInferenceJobsRequest request) throws Exception
Exceptionpublic ListMessageMetricsResponse listMessageMetricsWithOptions(ListMessageMetricsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListMessageMetricsRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListMessageMetricsResponse listMessageMetrics(ListMessageMetricsRequest request) throws Exception
request - ListMessageMetricsRequestExceptionpublic ListMessagesResponse listMessagesWithOptions(ListMessagesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListMessagesRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListMessagesResponse listMessages(ListMessagesRequest request) throws Exception
request - ListMessagesRequestExceptionpublic ListSchedulesResponse listSchedulesWithOptions(ListSchedulesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListSchedulesResponse listSchedules(ListSchedulesRequest request) throws Exception
Exceptionpublic ListSignaturesResponse listSignaturesWithOptions(ListSignaturesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListSignaturesRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListSignaturesResponse listSignatures(ListSignaturesRequest request) throws Exception
request - ListSignaturesRequestExceptionpublic ListTemplatesResponse listTemplatesWithOptions(ListTemplatesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - ListTemplatesRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic ListTemplatesResponse listTemplates(ListTemplatesRequest request) throws Exception
request - ListTemplatesRequestExceptionpublic ListTrainingJobsResponse listTrainingJobsWithOptions(ListTrainingJobsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListTrainingJobsResponse listTrainingJobs(ListTrainingJobsRequest request) throws Exception
Exceptionpublic SendMessageResponse sendMessageWithOptions(SendMessageRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic SendMessageResponse sendMessage(SendMessageRequest request) throws Exception
Exceptionpublic SmsReportResponse smsReportWithOptions(SmsReportRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - SmsReportRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic SmsReportResponse smsReport(SmsReportRequest request) throws Exception
request - SmsReportRequestExceptionpublic SmsUpResponse smsUpWithOptions(SmsUpRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - SmsUpRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic SmsUpResponse smsUp(SmsUpRequest request) throws Exception
request - SmsUpRequestExceptionpublic UpdateCampaignResponse updateCampaignWithOptions(String Id, UpdateCampaignRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - UpdateCampaignRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic UpdateCampaignResponse updateCampaign(String Id, UpdateCampaignRequest request) throws Exception
request - UpdateCampaignRequestExceptionpublic UpdateReportUrlResponse updateReportUrlWithOptions(UpdateReportUrlRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - UpdateReportUrlRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic UpdateReportUrlResponse updateReportUrl(UpdateReportUrlRequest request) throws Exception
request - UpdateReportUrlRequestExceptionpublic UpdateUploadUrlResponse updateUploadUrlWithOptions(UpdateUploadUrlRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request - UpdateUploadUrlRequestheaders - mapruntime - runtime options for this request RuntimeOptionsExceptionpublic UpdateUploadUrlResponse updateUploadUrl(UpdateUploadUrlRequest request) throws Exception
request - UpdateUploadUrlRequestExceptionCopyright © 2023. All rights reserved.