All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloudapi20160714.AsyncClient Maven / Gradle / Ivy

There is a newer version: 3.0.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714;

import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.cloudapi20160714.models.*;
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();
    }

    CompletableFuture abolishApi(AbolishApiRequest request);

    CompletableFuture addAccessControlListEntry(AddAccessControlListEntryRequest request);

    /**
      * The restriction policy on app IDs for a specific policy. You can restrict app IDs only for whitelists. The IpControlType values of whitelists are ALLOW.
      * *   You can add only one app ID restriction policy at a time.
      * *   If this parameter is empty, no restriction is imposed on the app IDs.
      * *   If this parameter is not empty, there is restriction not only on IP addresses, but also on apps.
      * *   Please note that if this parameter is not empty and the security authentication method of the API is No Authentication, all API calls are restricted.
      * *   If this parameter is not empty for a blacklist, API Gateway automatically skips this parameter and sets only restriction on IP addresses. The IpControlType value of a blacklist is REFUSE.
      *
     */
    CompletableFuture addIpControlPolicyItem(AddIpControlPolicyItemRequest request);

    /**
      * The type of the special throttling policy. Valid values:
      * *   **APP**
      * *   **USER**
      *
     */
    CompletableFuture addTrafficSpecialControl(AddTrafficSpecialControlRequest request);

    CompletableFuture attachPlugin(AttachPluginRequest request);

    CompletableFuture batchAbolishApis(BatchAbolishApisRequest request);

    CompletableFuture batchDeployApis(BatchDeployApisRequest request);

    CompletableFuture createAccessControlList(CreateAccessControlListRequest request);

    /**
      * *   This operation is intended for API providers.
      * *   The name of each API within the same group must be unique.
      * *   Each request path within the same group must be unique.
      * *   The QPS limit on this operation is 50 per user.
      *
     */
    CompletableFuture createApi(CreateApiRequest request);

    CompletableFuture createApiGroup(CreateApiGroupRequest request);

    CompletableFuture createApiStageVariable(CreateApiStageVariableRequest request);

    CompletableFuture createApp(CreateAppRequest request);

    CompletableFuture createBackend(CreateBackendRequest request);

    CompletableFuture createBackendModel(CreateBackendModelRequest request);

    CompletableFuture createDataset(CreateDatasetRequest request);

    CompletableFuture createDatasetItem(CreateDatasetItemRequest request);

    CompletableFuture createInstance(CreateInstanceRequest request);

    CompletableFuture createIntranetDomain(CreateIntranetDomainRequest request);

    CompletableFuture createIpControl(CreateIpControlRequest request);

    CompletableFuture createLogConfig(CreateLogConfigRequest request);

    /**
      * *   For more information about the model definition, see [JSON Schema Draft 4](https://tools.ietf.org/html/draft-zyp-json-schema-04?spm=a2c4g.11186623.2.10.2e977ff7p4BpQd).
      * *   JSON Schema supports only element attributes of the Object type.
      *
     */
    CompletableFuture createModel(CreateModelRequest request);

    CompletableFuture createMonitorGroup(CreateMonitorGroupRequest request);

    CompletableFuture createPlugin(CreatePluginRequest request);

    /**
      * The Key value of the key. The value must be 6 to 20 characters in length and can contain letters, digits, and underscores (\\_). It must start with a letter.
      *
     */
    CompletableFuture createSignature(CreateSignatureRequest request);

    /**
      * ThrottlingTest
      *
     */
    CompletableFuture createTrafficControl(CreateTrafficControlRequest request);

    CompletableFuture deleteAccessControlList(DeleteAccessControlListRequest request);

    /**
      * The ID of the request.
      *
     */
    CompletableFuture deleteAllTrafficSpecialControl(DeleteAllTrafficSpecialControlRequest request);

    CompletableFuture deleteApi(DeleteApiRequest request);

    CompletableFuture deleteApiGroup(DeleteApiGroupRequest request);

    CompletableFuture deleteApiStageVariable(DeleteApiStageVariableRequest request);

    CompletableFuture deleteApp(DeleteAppRequest request);

    CompletableFuture deleteBackend(DeleteBackendRequest request);

    CompletableFuture deleteBackendModel(DeleteBackendModelRequest request);

    CompletableFuture deleteDataset(DeleteDatasetRequest request);

    CompletableFuture deleteDatasetItem(DeleteDatasetItemRequest request);

    /**
      * The custom domain name.
      *
     */
    CompletableFuture deleteDomain(DeleteDomainRequest request);

    CompletableFuture deleteDomainCertificate(DeleteDomainCertificateRequest request);

    CompletableFuture deleteInstance(DeleteInstanceRequest request);

    /**
      * The ID of the request.
      *
     */
    CompletableFuture deleteIpControl(DeleteIpControlRequest request);

    CompletableFuture deleteLogConfig(DeleteLogConfigRequest request);

    CompletableFuture deleteModel(DeleteModelRequest request);

    CompletableFuture deleteMonitorGroup(DeleteMonitorGroupRequest request);

    CompletableFuture deletePlugin(DeletePluginRequest request);

    /**
      * The ID of the request.
      *
     */
    CompletableFuture deleteSignature(DeleteSignatureRequest request);

    CompletableFuture deleteTrafficControl(DeleteTrafficControlRequest request);

    /**
      * The type of the special throttling policy. Valid values:
      * *   **APP**
      * *   **USER**
      *
     */
    CompletableFuture deleteTrafficSpecialControl(DeleteTrafficSpecialControlRequest request);

    /**
      * The ID of the API.
      *
     */
    CompletableFuture deployApi(DeployApiRequest request);

    CompletableFuture describeAbolishApiTask(DescribeAbolishApiTaskRequest request);

    CompletableFuture describeAccessControlListAttribute(DescribeAccessControlListAttributeRequest request);

    CompletableFuture describeAccessControlLists(DescribeAccessControlListsRequest request);

    /**
      * The ID of the public key.
      *
     */
    CompletableFuture describeApi(DescribeApiRequest request);

    CompletableFuture describeApiDoc(DescribeApiDocRequest request);

    /**
      * *   This operation is intended for API providers.
      *
     */
    CompletableFuture describeApiGroup(DescribeApiGroupRequest request);

    CompletableFuture describeApiGroupVpcWhitelist(DescribeApiGroupVpcWhitelistRequest request);

    CompletableFuture describeApiGroups(DescribeApiGroupsRequest request);

    /**
      * The name of the runtime environment. Valid values:
      * *   **RELEASE**
      * *   **TEST: the test environment**
      *
     */
    CompletableFuture describeApiHistories(DescribeApiHistoriesRequest request);

    /**
      * You can call this operation to query the definition of a specified published version of an API.
      * *   This operation is intended for API providers.
      * *   Each time an API is published, API Gateway records the publishing details, such as the time and the API definition. You can use the version number obtained from other API operations to query the details of an API definition that is published on a specific occasion.
      *
     */
    CompletableFuture describeApiHistory(DescribeApiHistoryRequest request);

    /**
      * The ID of the API group.
      *
     */
    CompletableFuture describeApiIpControls(DescribeApiIpControlsRequest request);

    CompletableFuture describeApiLatencyData(DescribeApiLatencyDataRequest request);

    CompletableFuture describeApiMarketAttributes(DescribeApiMarketAttributesRequest request);

    CompletableFuture describeApiQpsData(DescribeApiQpsDataRequest request);

    /**
      * The runtime environment. Valid values:
      * *   **RELEASE**
      * *   **TEST**
      *
     */
    CompletableFuture describeApiSignatures(DescribeApiSignaturesRequest request);

    /**
      * The runtime environment of the API. Valid values:
      * *   **RELEASE**
      * *   **TEST**: the test environment
      *
     */
    CompletableFuture describeApiTrafficControls(DescribeApiTrafficControlsRequest request);

    CompletableFuture describeApiTrafficData(DescribeApiTrafficDataRequest request);

    /**
      * *   This operation is intended for API callers.
      * *   This operation returns a list of all APIs that are being defined. The basic information about these APIs is also returned in the list.
      * *   This operation returns all APIs that are being edited, regardless of their environments. The returned definitions may be different from the definitions in the environments.
      *
     */
    CompletableFuture describeApis(DescribeApisRequest request);

    CompletableFuture describeApisByApp(DescribeApisByAppRequest request);

    CompletableFuture describeApisByBackend(DescribeApisByBackendRequest request);

    /**
      * The number of entries to return on each page. Maximum value: 100. Default value: 10.
      *
     */
    CompletableFuture describeApisByIpControl(DescribeApisByIpControlRequest request);

    /**
      * The ID of the signature key.
      *
     */
    CompletableFuture describeApisBySignature(DescribeApisBySignatureRequest request);

    /**
      * The number of entries to return on each page. Maximum value: 100. Default value: 10.
      *
     */
    CompletableFuture describeApisByTrafficControl(DescribeApisByTrafficControlRequest request);

    CompletableFuture describeApp(DescribeAppRequest request);

    CompletableFuture describeAppAttributes(DescribeAppAttributesRequest request);

    CompletableFuture describeAppSecurity(DescribeAppSecurityRequest request);

    /**
      * The ID of the app.
      *
     */
    CompletableFuture describeApps(DescribeAppsRequest request);

    /**
      * The number of the page to return. Pages start from page 1. Default value: 1.
      *
     */
    CompletableFuture describeAuthorizedApis(DescribeAuthorizedApisRequest request);

    CompletableFuture describeAuthorizedApps(DescribeAuthorizedAppsRequest request);

    CompletableFuture describeBackendInfo(DescribeBackendInfoRequest request);

    CompletableFuture describeBackendList(DescribeBackendListRequest request);

    CompletableFuture describeDatasetInfo(DescribeDatasetInfoRequest request);

    CompletableFuture describeDatasetItemInfo(DescribeDatasetItemInfoRequest request);

    CompletableFuture describeDatasetItemList(DescribeDatasetItemListRequest request);

    CompletableFuture describeDatasetList(DescribeDatasetListRequest request);

    CompletableFuture describeDeployApiTask(DescribeDeployApiTaskRequest request);

    CompletableFuture describeDeployedApi(DescribeDeployedApiRequest request);

    CompletableFuture describeDeployedApis(DescribeDeployedApisRequest request);

    /**
      * The ID of the API group to which the domain name is bound. This ID is generated by the system and globally unique.
      *
     */
    CompletableFuture describeDomain(DescribeDomainRequest request);

    CompletableFuture describeHistoryApis(DescribeHistoryApisRequest request);

    CompletableFuture describeImportOASTask(DescribeImportOASTaskRequest request);

    CompletableFuture describeInstanceDropConnections(DescribeInstanceDropConnectionsRequest request);

    CompletableFuture describeInstanceDropPacket(DescribeInstanceDropPacketRequest request);

    CompletableFuture describeInstanceHttpCode(DescribeInstanceHttpCodeRequest request);

    CompletableFuture describeInstanceLatency(DescribeInstanceLatencyRequest request);

    CompletableFuture describeInstanceNewConnections(DescribeInstanceNewConnectionsRequest request);

    CompletableFuture describeInstancePackets(DescribeInstancePacketsRequest request);

    CompletableFuture describeInstanceQps(DescribeInstanceQpsRequest request);

    CompletableFuture describeInstanceSlbConnect(DescribeInstanceSlbConnectRequest request);

    CompletableFuture describeInstanceTraffic(DescribeInstanceTrafficRequest request);

    CompletableFuture describeInstances(DescribeInstancesRequest request);

    CompletableFuture describeIpControlPolicyItems(DescribeIpControlPolicyItemsRequest request);

    /**
      * *   This operation is intended for API providers.
      * *   This operation is used to query the ACLs in a region. Region is a system parameter.
      * *   You can filter the query results by ACL ID, name, or type.
      * *   This operation cannot be used to query specific policies. If you want to query specific policies, call the [DescribeIpControlPolicyItems](~~65532~~) operation.
      *
     */
    CompletableFuture describeIpControls(DescribeIpControlsRequest request);

    CompletableFuture describeLogConfig(DescribeLogConfigRequest request);

    CompletableFuture describeMarketRemainsQuota(DescribeMarketRemainsQuotaRequest request);

    /**
      * The name of the model.
      *
     */
    CompletableFuture describeModels(DescribeModelsRequest request);

    CompletableFuture describePluginApis(DescribePluginApisRequest request);

    CompletableFuture describePluginSchemas(DescribePluginSchemasRequest request);

    CompletableFuture describePluginTemplates(DescribePluginTemplatesRequest request);

    CompletableFuture describePlugins(DescribePluginsRequest request);

    /**
      * *   This operation is intended for API callers.
      * *   This operation supports pagination.
      *
     */
    CompletableFuture describePluginsByApi(DescribePluginsByApiRequest request);

    CompletableFuture describePurchasedApiGroup(DescribePurchasedApiGroupRequest request);

    CompletableFuture describePurchasedApiGroups(DescribePurchasedApiGroupsRequest request);

    CompletableFuture describePurchasedApis(DescribePurchasedApisRequest request);

    CompletableFuture describeRegions(DescribeRegionsRequest request);

    /**
      * The IDs of the keys to query.
      *
     */
    CompletableFuture describeSignatures(DescribeSignaturesRequest request);

    /**
      * The ID of the group to which the API belongs.
      *
     */
    CompletableFuture describeSignaturesByApi(DescribeSignaturesByApiRequest request);

    CompletableFuture describeSummaryData(DescribeSummaryDataRequest request);

    /**
      * The returned information about system parameters. It is an array that consists of SystemParam data.
      *
     */
    CompletableFuture describeSystemParameters(DescribeSystemParametersRequest request);

    /**
      * The specified group ID. This parameter must be specified together with ApiId and StageName.
      *
     */
    CompletableFuture describeTrafficControls(DescribeTrafficControlsRequest request);

    /**
      * The ID of the API.
      *
     */
    CompletableFuture describeTrafficControlsByApi(DescribeTrafficControlsByApiRequest request);

    CompletableFuture describeUpdateBackendTask(DescribeUpdateBackendTaskRequest request);

    CompletableFuture describeUpdateVpcInfoTask(DescribeUpdateVpcInfoTaskRequest request);

    CompletableFuture describeVpcAccesses(DescribeVpcAccessesRequest request);

    CompletableFuture describeZones(DescribeZonesRequest request);

    CompletableFuture detachPlugin(DetachPluginRequest request);

    CompletableFuture disableInstanceAccessControl(DisableInstanceAccessControlRequest request);

    CompletableFuture dryRunSwagger(DryRunSwaggerRequest request);

    CompletableFuture enableInstanceAccessControl(EnableInstanceAccessControlRequest request);

    CompletableFuture importOAS(ImportOASRequest request);

    /**
      * 0009db9c828549768a200320714b8930
      *
     */
    CompletableFuture importSwagger(ImportSwaggerRequest request);

    CompletableFuture listTagResources(ListTagResourcesRequest request);

    /**
      * 58928
      *
     */
    CompletableFuture modifyApi(ModifyApiRequest request);

    CompletableFuture modifyApiConfiguration(ModifyApiConfigurationRequest request);

    CompletableFuture modifyApiGroup(ModifyApiGroupRequest request);

    CompletableFuture modifyApiGroupVpcWhitelist(ModifyApiGroupVpcWhitelistRequest request);

    CompletableFuture modifyApp(ModifyAppRequest request);

    CompletableFuture modifyBackend(ModifyBackendRequest request);

    CompletableFuture modifyBackendModel(ModifyBackendModelRequest request);

    CompletableFuture modifyDataset(ModifyDatasetRequest request);

    CompletableFuture modifyDatasetItem(ModifyDatasetItemRequest request);

    CompletableFuture modifyInstanceSpec(ModifyInstanceSpecRequest request);

    /**
      * The name of the ACL. The name must be 4 to 50 characters in length, and can contain letters, digits, and underscores (\\_). The name cannot start with an underscore (\\_).
      *
     */
    CompletableFuture modifyIpControl(ModifyIpControlRequest request);

    /**
      * The ID of the policy.
      *
     */
    CompletableFuture modifyIpControlPolicyItem(ModifyIpControlPolicyItemRequest request);

    CompletableFuture modifyLogConfig(ModifyLogConfigRequest request);

    CompletableFuture modifyModel(ModifyModelRequest request);

    CompletableFuture modifyPlugin(ModifyPluginRequest request);

    /**
      * The new name of the key. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (\\_). It must start with a letter.
      *
     */
    CompletableFuture modifySignature(ModifySignatureRequest request);

    /**
      * The throttling policy name. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (\\_). It cannot start with an underscore.
      *
     */
    CompletableFuture modifyTrafficControl(ModifyTrafficControlRequest request);

    CompletableFuture modifyVpcAccessAndUpdateApis(ModifyVpcAccessAndUpdateApisRequest request);

    CompletableFuture openApiGatewayService(OpenApiGatewayServiceRequest request);

    CompletableFuture queryRequestLogs(QueryRequestLogsRequest request);

    /**
      * The ID of the API group to which the domain name is bound. This ID is generated by the system and globally unique.
      *
     */
    CompletableFuture reactivateDomain(ReactivateDomainRequest request);

    CompletableFuture removeAccessControlListEntry(RemoveAccessControlListEntryRequest request);

    /**
      * The ID of the app. The ID is generated by the system and globally unique.
      *
     */
    CompletableFuture removeApisAuthorities(RemoveApisAuthoritiesRequest request);

    /**
      * The ID of the API. This ID is generated by the system and globally unique.
      *
     */
    CompletableFuture removeAppsAuthorities(RemoveAppsAuthoritiesRequest request);

    /**
      * The ID of the API group containing the API to be managed.
      *
     */
    CompletableFuture removeIpControlApis(RemoveIpControlApisRequest request);

    /**
      * The ID of a policy. Separate multiple IDs with semicolons (;). A maximum of 100 IDs can be entered.
      *
     */
    CompletableFuture removeIpControlPolicyItem(RemoveIpControlPolicyItemRequest request);

    /**
      * The ID of the signature key.
      *
     */
    CompletableFuture removeSignatureApis(RemoveSignatureApisRequest request);

    /**
      * The ID of the API group containing the APIs from which you want to unbind a specified throttling policy.
      *
     */
    CompletableFuture removeTrafficControlApis(RemoveTrafficControlApisRequest request);

    CompletableFuture removeVpcAccess(RemoveVpcAccessRequest request);

    CompletableFuture removeVpcAccessAndAbolishApis(RemoveVpcAccessAndAbolishApisRequest request);

    /**
      * The new AppCode takes effect about 2 seconds after you call this operation.
      *
     */
    CompletableFuture resetAppCode(ResetAppCodeRequest request);

    /**
      * *   This operation is intended for API callers.
      * *   A new secret is automatically generated after you have called this operation. This secret cannot be customized.
      * *   The results returned by this operation do not contain the application secret. You can obtain the secret by calling DescribeAppSecurity.
      *
     */
    CompletableFuture resetAppSecret(ResetAppSecretRequest request);

    CompletableFuture sdkGenerateByApp(SdkGenerateByAppRequest request);

    CompletableFuture sdkGenerateByAppForRegion(SdkGenerateByAppForRegionRequest request);

    CompletableFuture sdkGenerateByGroup(SdkGenerateByGroupRequest request);

    CompletableFuture setAccessControlListAttribute(SetAccessControlListAttributeRequest request);

    /**
      * The ID of the app. This ID is generated by the system and globally unique.
      *
     */
    CompletableFuture setApisAuthorities(SetApisAuthoritiesRequest request);

    /**
      * The ID of the API. This ID is generated by the system and globally unique.
      *
     */
    CompletableFuture setAppsAuthorities(SetAppsAuthoritiesRequest request);

    CompletableFuture setDomain(SetDomainRequest request);

    /**
      * 382271
      *
     */
    CompletableFuture setDomainCertificate(SetDomainCertificateRequest request);

    CompletableFuture setDomainWebSocketStatus(SetDomainWebSocketStatusRequest request);

    CompletableFuture setGroupAuthAppCode(SetGroupAuthAppCodeRequest request);

    /**
      * The ID of the API group.
      *
     */
    CompletableFuture setIpControlApis(SetIpControlApisRequest request);

    /**
      * The ID of the signature key.
      *
     */
    CompletableFuture setSignatureApis(SetSignatureApisRequest request);

    /**
      * The ID of the API group containing the APIs to which you want to bind a specified throttling policy.
      *
     */
    CompletableFuture setTrafficControlApis(SetTrafficControlApisRequest request);

    CompletableFuture setVpcAccess(SetVpcAccessRequest request);

    CompletableFuture setWildcardDomainPatterns(SetWildcardDomainPatternsRequest request);

    /**
      * The ID of the API.
      *
     */
    CompletableFuture switchApi(SwitchApiRequest request);

    /**
      * The key of tag N.
      * Valid values of N: `1 to 20.`
      *
     */
    CompletableFuture tagResources(TagResourcesRequest request);

    /**
      * Specifies whether to delete all tags. This parameter is valid only when the **TagKey.N**parameter is not specified. Default value: false. Valid values:
      * *   **true**
      * *   **false**
      *
     */
    CompletableFuture untagResources(UntagResourcesRequest request);

    CompletableFuture validateVpcConnectivity(ValidateVpcConnectivityRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy