com.aliyun.sdk.service.agency20221216.AsyncClient Maven / Gradle / Ivy
Show all versions of alibabacloud-agency20221216 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.agency20221216.models.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
/**
* description :
* Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
* You can call this operation to cancel the subscription to only one type of bill at a time.
* After the subscription to a type of bill is canceled, bills of this type are no longer pushed to the specified Object Storage Service (OSS) bucket.
* **This topic is published only on the international site (alibabacloud.com).
*
* @param request the request parameters of CancelSubscriptionBill CancelSubscriptionBillRequest
* @return CancelSubscriptionBillResponse
*/
CompletableFuture cancelSubscriptionBill(CancelSubscriptionBillRequest request);
/**
* @param request the request parameters of CreateCouponTemplate CreateCouponTemplateRequest
* @return CreateCouponTemplateResponse
*/
CompletableFuture createCouponTemplate(CreateCouponTemplateRequest request);
/**
* @param request the request parameters of CreateCustomer CreateCustomerRequest
* @return CreateCustomerResponse
*/
CompletableFuture createCustomer(CreateCustomerRequest request);
/**
* @param request the request parameters of CustomerQuotaRecordList CustomerQuotaRecordListRequest
* @return CustomerQuotaRecordListResponse
*/
CompletableFuture customerQuotaRecordList(CustomerQuotaRecordListRequest request);
/**
* description :
* Note that sometimes you may find that the customer\"s Used Credit is negative. This indicates that there is no need to restore the Used Credit, and its ready for customer\"s usage. This phenomenon occurs because a refund is generated while the customer\"s credit is full, thereby triggered additional increasing on the customer\"s credit.
* For example, if the customer\"s maximum Available Credit is 1000 with no usage, and a refund of 300 occurs, the Used Credit will become -300.
*
* @param request the request parameters of DeductOutstandingBalance DeductOutstandingBalanceRequest
* @return DeductOutstandingBalanceResponse
*/
CompletableFuture deductOutstandingBalance(DeductOutstandingBalanceRequest request);
/**
* description :
* The caller should be the Partner as identified in the Alibaba Cloud distribution model.
* **This content is only published on the international site. **
*
* @param request the request parameters of EditEndUserStatus EditEndUserStatusRequest
* @return EditEndUserStatusResponse
*/
CompletableFuture editEndUserStatus(EditEndUserStatusRequest request);
/**
* description :
* The caller should be the Partner as identified in the Alibaba Cloud distribution model.
* **This content is only published on the international site. **
*
* @param request the request parameters of EditNewBuyStatus EditNewBuyStatusRequest
* @return EditNewBuyStatusResponse
*/
CompletableFuture editNewBuyStatus(EditNewBuyStatusRequest request);
/**
* description :
* The caller should be the Partner as identified in the Alibaba Cloud distribution model.
* **This content is only published on the international site. **
*
* @param request the request parameters of EditZeroCreditShutdown EditZeroCreditShutdownRequest
* @return EditZeroCreditShutdownResponse
*/
CompletableFuture editZeroCreditShutdown(EditZeroCreditShutdownRequest request);
/**
* description :
* Caller must be a Partner from International Site, either Distribution or Reseller will do.
*
* @param request the request parameters of ExportCustomerQuotaRecord ExportCustomerQuotaRecordRequest
* @return ExportCustomerQuotaRecordResponse
*/
CompletableFuture exportCustomerQuotaRecord(ExportCustomerQuotaRecordRequest request);
/**
* @param request the request parameters of GetAccountInfo GetAccountInfoRequest
* @return GetAccountInfoResponse
*/
CompletableFuture getAccountInfo(GetAccountInfoRequest request);
/**
* @param request the request parameters of GetCoupondeductProductCode GetCoupondeductProductCodeRequest
* @return GetCoupondeductProductCodeResponse
*/
CompletableFuture getCoupondeductProductCode(GetCoupondeductProductCodeRequest request);
/**
* @param request the request parameters of GetCreditInfo GetCreditInfoRequest
* @return GetCreditInfoResponse
*/
CompletableFuture getCreditInfo(GetCreditInfoRequest request);
/**
* @param request the request parameters of GetCustomerOrders GetCustomerOrdersRequest
* @return GetCustomerOrdersResponse
*/
CompletableFuture getCustomerOrders(GetCustomerOrdersRequest request);
/**
* @param request the request parameters of GetDailyBill GetDailyBillRequest
* @return GetDailyBillResponse
*/
CompletableFuture getDailyBill(GetDailyBillRequest request);
/**
* @param request the request parameters of GetInviteStatus GetInviteStatusRequest
* @return GetInviteStatusResponse
*/
CompletableFuture getInviteStatus(GetInviteStatusRequest request);
/**
* @param request the request parameters of GetMonthlyBill GetMonthlyBillRequest
* @return GetMonthlyBillResponse
*/
CompletableFuture getMonthlyBill(GetMonthlyBillRequest request);
/**
* @param request the request parameters of GetUnassociatedCustomer GetUnassociatedCustomerRequest
* @return GetUnassociatedCustomerResponse
*/
CompletableFuture getUnassociatedCustomer(GetUnassociatedCustomerRequest request);
/**
* description :
* The current API request rate for the Cloud Product has not been disclosed.
*
* @param request the request parameters of InviteSubAccount InviteSubAccountRequest
* @return InviteSubAccountResponse
*/
CompletableFuture inviteSubAccount(InviteSubAccountRequest request);
/**
* @param request the request parameters of IssueCouponForCustomer IssueCouponForCustomerRequest
* @return IssueCouponForCustomerResponse
*/
CompletableFuture issueCouponForCustomer(IssueCouponForCustomerRequest request);
/**
* description :
* The current API request rate for cloud products has not been disclosed.
*
* @param request the request parameters of ListCountries ListCountriesRequest
* @return ListCountriesResponse
*/
CompletableFuture listCountries(ListCountriesRequest request);
/**
* @param request the request parameters of ListCouponUsage ListCouponUsageRequest
* @return ListCouponUsageResponse
*/
CompletableFuture listCouponUsage(ListCouponUsageRequest request);
/**
* description :
* Caller must be a Partner from International Site, either Distribution or Reseller will do.
*
* @param request the request parameters of QuotaListExportPaged QuotaListExportPagedRequest
* @return QuotaListExportPagedResponse
*/
CompletableFuture quotaListExportPaged(QuotaListExportPagedRequest request);
/**
* @param request the request parameters of ResendEmail ResendEmailRequest
* @return ResendEmailResponse
*/
CompletableFuture resendEmail(ResendEmailRequest request);
/**
* @param request the request parameters of SetAccountInfo SetAccountInfoRequest
* @return SetAccountInfoResponse
*/
CompletableFuture setAccountInfo(SetAccountInfoRequest request);
/**
* @param request the request parameters of SetCreditLine SetCreditLineRequest
* @return SetCreditLineResponse
*/
CompletableFuture setCreditLine(SetCreditLineRequest request);
/**
* @param request the request parameters of SetWarningThreshold SetWarningThresholdRequest
* @return SetWarningThresholdResponse
*/
CompletableFuture setWarningThreshold(SetWarningThresholdRequest request);
/**
* description :
* Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
*
* - You can call this operation to subscribe to only one type of bill at a time.
* - After the subscription to a type of bill is generated, the bill for the previous day is pushed on a daily basis from the next day. On the fifth day of each month, the full-data bill for the previous month is pushed.
* - A daily bill may be delayed. The delayed bill is pushed the next day after it is generated. The delayed bill may contain the bill data that is delayed until the previous day. We recommend that you query the full-data bill for the previous month at the beginning of each month.
* - Your account must be granted the AliyunConsumeDump2OSSRole permission.
* - The following file name formats are supported for bills:
*
* BillingItemDetailForBillingPeriod
*
* File name format of a daily bill: UID_PartnerBillingItemDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_BillingItemDetail_20190310_0001_01.
*
* File name format of a monthly full-data bill: UID_PartnerBillingItemDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetail_201903_0001_01.
* InstanceDetailForBillingPeriod
*
* File name format of a daily bill: UID_PartnerInstanceDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_InstanceDetail_20190310_0001_01.
*
* File name format of a monthly full-data bill: UID_PartnerInstanceDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetail_201903_1999-0001_01.
* BillingItemDetailMonthly
*
* File name format of a daily bill: UID_PartnerBillingItemDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
* InstanceDetailMonthly
*
* File name format of a daily bill: UID_PartnerInstanceDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
* The fileNo field exists only when the number of bill rows reaches the maximum rows in a single bill file and the bill is split into multiple files.
*
* **This topic is published only on the international site (alibabacloud.com).
*
* @param request the request parameters of SubscriptionBill SubscriptionBillRequest
* @return SubscriptionBillResponse
*/
CompletableFuture subscriptionBill(SubscriptionBillRequest request);
}