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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503;

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

    /**
      * You can call this operation to apply for a public endpoint for an AnalyticDB for PostgreSQL instance. Both the primary and instance endpoints of an AnalyticDB for PostgreSQL instance can be public endpoints. For more information, see [Endpoints of an instance and its primary coordinator node](~~204879~~).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture allocateInstancePublicConnection(AllocateInstancePublicConnectionRequest request);

    CompletableFuture bindDBResourceGroupWithRole(BindDBResourceGroupWithRoleRequest request);

    /**
      * This operation is related to the UploadDocumentAsync operation. You can call this operation to cancel a document upload job.
      * >  If the canceling operation is complete, failed, or is canceled, you cannot call the operation again. The canceling operation only interrupts the document upload job. To remove the uploaded data, you must manually remove it or call the DeleteCollectionData operation. You can also call the document upload operation to overwrite the data by using the same FileName parameter.
      *
     */
    CompletableFuture cancelUploadDocumentJob(CancelUploadDocumentJobRequest request);

    /**
      * This operation is related to the `UpsertCollectionDataAsync` operation. You can call this operation to cancel an upload job.
      * >  If the canceling operation is complete, failed, or is canceled, you cannot call the operation again. The canceling operation only interrupts the upload job. To remove the uploaded data, you must manually remove it or call the DeleteCollectionData operation.
      *
     */
    CompletableFuture cancelUpsertCollectionDataJob(CancelUpsertCollectionDataJobRequest request);

    CompletableFuture checkHadoopDataSource(CheckHadoopDataSourceRequest request);

    CompletableFuture checkHadoopNetConnection(CheckHadoopNetConnectionRequest request);

    CompletableFuture checkJDBCSourceNetConnection(CheckJDBCSourceNetConnectionRequest request);

    CompletableFuture checkServiceLinkedRole(CheckServiceLinkedRoleRequest request);

    /**
      * *   Before you can use an AnalyticDB for PostgreSQL instance, you must create an initial account for the instance.
      * *   You can call this operation to create only initial accounts. For information about how to create other types of accounts, see [Create a database account](~~50206~~).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture createAccount(CreateAccountRequest request);

    CompletableFuture createCollection(CreateCollectionRequest request);

    /**
      * You can call this operation when you need to create AnalyticDB for PostgreSQL instances to meet the requirements of new applications or services.
      * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL instances. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
      *
     */
    CompletableFuture createDBInstance(CreateDBInstanceRequest request);

    /**
      * *   The plan management feature is supported only for pay-as-you-go instances.
      * *   When you change the compute node specifications or change the number of compute nodes, transient connections may occur. We recommend that you perform these operations during off-peak hours.
      * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      *
     */
    CompletableFuture createDBInstancePlan(CreateDBInstancePlanRequest request);

    CompletableFuture createDBResourceGroup(CreateDBResourceGroupRequest request);

    CompletableFuture createDocumentCollection(CreateDocumentCollectionRequest request);

    CompletableFuture createExtensions(CreateExtensionsRequest request);

    CompletableFuture createExternalDataService(CreateExternalDataServiceRequest request);

    CompletableFuture createHadoopDataSource(CreateHadoopDataSourceRequest request);

    CompletableFuture createJDBCDataSource(CreateJDBCDataSourceRequest request);

    CompletableFuture createNamespace(CreateNamespaceRequest request);

    /**
      * *   You can call this operation to create a sample dataset for an AnalyticDB for PostgreSQL instance. Then, you can execute query statements on the sample dataset to use or test your instance. For more information about query statements, see [Dataset information and query examples](~~452277~~).
      * *   This operation is supported only for AnalyticDB for PostgreSQL V6.3.8.8 and V6.3.10.3 or later, excluding the versions from V6.3.9.0 to V6.3.10.2.
      *
     */
    CompletableFuture createSampleData(CreateSampleDataRequest request);

    CompletableFuture createSecret(CreateSecretRequest request);

    CompletableFuture createServiceLinkedRole(CreateServiceLinkedRoleRequest request);

    CompletableFuture createStreamingDataService(CreateStreamingDataServiceRequest request);

    CompletableFuture createStreamingDataSource(CreateStreamingDataSourceRequest request);

    CompletableFuture createStreamingJob(CreateStreamingJobRequest request);

    CompletableFuture createVectorIndex(CreateVectorIndexRequest request);

    CompletableFuture deleteCollection(DeleteCollectionRequest request);

    CompletableFuture deleteCollectionData(DeleteCollectionDataRequest request);

    /**
      * *   Subscription instances cannot be manually released. They are automatically released when they expire.
      * *   You can call this operation to release pay-as-you-go instances only when they are in the **Running** state.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture deleteDBInstance(DeleteDBInstanceRequest request);

    /**
      * If you no longer need a plan, you can call this operation to delete the plan. The plan management feature is supported only for AnalyticDB for PostgreSQL instances in Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture deleteDBInstancePlan(DeleteDBInstancePlanRequest request);

    CompletableFuture deleteDBResourceGroup(DeleteDBResourceGroupRequest request);

    CompletableFuture deleteDocument(DeleteDocumentRequest request);

    CompletableFuture deleteDocumentCollection(DeleteDocumentCollectionRequest request);

    CompletableFuture deleteExtension(DeleteExtensionRequest request);

    CompletableFuture deleteExternalDataService(DeleteExternalDataServiceRequest request);

    CompletableFuture deleteHadoopDataSource(DeleteHadoopDataSourceRequest request);

    CompletableFuture deleteJDBCDataSource(DeleteJDBCDataSourceRequest request);

    CompletableFuture deleteNamespace(DeleteNamespaceRequest request);

    CompletableFuture deleteSecret(DeleteSecretRequest request);

    CompletableFuture deleteStreamingDataService(DeleteStreamingDataServiceRequest request);

    CompletableFuture deleteStreamingDataSource(DeleteStreamingDataSourceRequest request);

    CompletableFuture deleteStreamingJob(DeleteStreamingJobRequest request);

    CompletableFuture deleteVectorIndex(DeleteVectorIndexRequest request);

    /**
      * This operation is called to query the information of the privileged account in an AnalyticDB for PostgreSQL instance, such as its state, description, and the instance.
      * ## Limit
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeAccounts(DescribeAccountsRequest request);

    CompletableFuture describeActiveSQLRecords(DescribeActiveSQLRecordsRequest request);

    /**
      * When you create an AnalyticDB for PostgreSQL instance, you can call this operation to query the available resources within a zone.
      *
     */
    CompletableFuture describeAvailableResources(DescribeAvailableResourcesRequest request);

    /**
      * You can call this operation to query the backup settings of an AnalyticDB for PostgreSQL instance in elastic storage mode. Periodically backing data can prevent data loss. For more information about how to modify backup policies, see [ModifyBackupPolicy](~~210095~~).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeBackupPolicy(DescribeBackupPolicyRequest request);

    CompletableFuture describeCollection(DescribeCollectionRequest request);

    /**
      * ##
      * You can call this operation to query the information about coordinator and compute nodes in an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBClusterNode(DescribeDBClusterNodeRequest request);

    /**
      * You can query monitoring information only within the last 30 days.
      *
     */
    CompletableFuture describeDBClusterPerformance(DescribeDBClusterPerformanceRequest request);

    /**
      * ##
      * You can call this operation to query the information about an AnalyticDB for PostgreSQL instance, such as the instance type, network type, and instance state.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstanceAttribute(DescribeDBInstanceAttributeRequest request);

    /**
      * You can call this operation to query the details of data bloat on an AnalyticDB for PostgreSQL instance in elastic storage mode. The minor version of the instance must be V6.3.10.1 or later. For more information about how to view and update the minor version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstanceDataBloat(DescribeDBInstanceDataBloatRequest request);

    /**
      * To prevent data skew from affecting your database service, you can call this operation to query the details about data skew on an AnalyticDB for PostgreSQL instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstanceDataSkew(DescribeDBInstanceDataSkewRequest request);

    /**
      * You can call this operation to query the distribution and states of coordinator and compute nodes in an AnalyticDB for PostgreSQL instance.
      *
     */
    CompletableFuture describeDBInstanceDiagnosisSummary(DescribeDBInstanceDiagnosisSummaryRequest request);

    /**
      * You can call this operation to query the error logs of an AnalyticDB for PostgreSQL instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstanceErrorLog(DescribeDBInstanceErrorLogRequest request);

    /**
      * You can call this operation to query the whitelists of IP addresses that are allowed to access an AnalyticDB for PostgreSQL instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstanceIPArrayList(DescribeDBInstanceIPArrayListRequest request);

    /**
      * Appropriate indexes can accelerate database queries. You can call this operation to query the index usage of an AnalyticDB for PostgreSQL instance.
      * This operation is available only for instances of V6.3.10.1 or later in elastic storage mode. For information about how to view and update the minor version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      *
     */
    CompletableFuture describeDBInstanceIndexUsage(DescribeDBInstanceIndexUsageRequest request);

    CompletableFuture describeDBInstanceNetInfo(DescribeDBInstanceNetInfoRequest request);

    CompletableFuture describeDBInstancePerformance(DescribeDBInstancePerformanceRequest request);

    /**
      * You can call this operation to query the details of plans for an AnalyticDB for PostgreSQL instance in Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstancePlans(DescribeDBInstancePlansRequest request);

    CompletableFuture describeDBInstanceSSL(DescribeDBInstanceSSLRequest request);

    CompletableFuture describeDBInstanceSupportMaxPerformance(DescribeDBInstanceSupportMaxPerformanceRequest request);

    /**
      * ##
      * You can call this operation to query the instance types, network types, and states of AnalyticDB for PostgreSQL instances within a region.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDBInstances(DescribeDBInstancesRequest request);

    CompletableFuture describeDBResourceGroup(DescribeDBResourceGroupRequest request);

    CompletableFuture describeDBResourceManagementMode(DescribeDBResourceManagementModeRequest request);

    CompletableFuture describeDBVersionInfos(DescribeDBVersionInfosRequest request);

    /**
      * You can call this operation to query a list of backup sets and backup details only for instances in elastic storage mode.
      *
     */
    CompletableFuture describeDataBackups(DescribeDataBackupsRequest request);

    CompletableFuture describeDataReDistributeInfo(DescribeDataReDistributeInfoRequest request);

    /**
      * Data sharing is supported only for instances in Serverless mode.
      *
     */
    CompletableFuture describeDataShareInstances(DescribeDataShareInstancesRequest request);

    /**
      * You can call this operation to query the details of data sharing performance metrics for an AnalyticDB for PostgreSQL instance in Serverless mode, such as the number of shared topics and the amount of data shared.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDataSharePerformance(DescribeDataSharePerformanceRequest request);

    /**
      * To facilitate management, you can call this operation to query all databases and database accounts on an AnalyticDB for PostgreSQL instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDiagnosisDimensions(DescribeDiagnosisDimensionsRequest request);

    /**
      * You can call this operation to query the details of query execution on an AnalyticDB for PostgreSQL instance in elastic storage mode within a specified time range.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDiagnosisMonitorPerformance(DescribeDiagnosisMonitorPerformanceRequest request);

    /**
      * You can call this operation to query the details of SQL queries on an AnalyticDB for PostgreSQL instance within a specified time range.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeDiagnosisRecords(DescribeDiagnosisRecordsRequest request);

    /**
      * You can call this operation to query the information about a query for an AnalyticDB for PostgreSQL instance, including the SQL statement, execution plan text, and execution plan tree.
      * This operation is available only for instances of V6.3.10.1 or later in elastic storage mode. For information about how to view and update the minor version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      *
     */
    CompletableFuture describeDiagnosisSQLInfo(DescribeDiagnosisSQLInfoRequest request);

    CompletableFuture describeDocument(DescribeDocumentRequest request);

    /**
      * You must call the [DownloadDiagnosisRecords](~~447700~~) operation to download the query diagnostic information before you can call this operation to query the download records and download URLs.
      * This operation is available only for instances of V6.3.10.1 or later in elastic storage mode. For information about how to view and update the minor version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      *
     */
    CompletableFuture describeDownloadRecords(DescribeDownloadRecordsRequest request);

    CompletableFuture describeDownloadSQLLogs(DescribeDownloadSQLLogsRequest request);

    CompletableFuture describeExternalDataService(DescribeExternalDataServiceRequest request);

    CompletableFuture describeHadoopClustersInSameNet(DescribeHadoopClustersInSameNetRequest request);

    CompletableFuture describeHadoopConfigs(DescribeHadoopConfigsRequest request);

    CompletableFuture describeHadoopDataSource(DescribeHadoopDataSourceRequest request);

    /**
      * This operation is called to query the health status of an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode and its coordinator and compute nodes.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeHealthStatus(DescribeHealthStatusRequest request);

    CompletableFuture describeIMVInfos(DescribeIMVInfosRequest request);

    CompletableFuture describeJDBCDataSource(DescribeJDBCDataSourceRequest request);

    CompletableFuture describeLogBackups(DescribeLogBackupsRequest request);

    CompletableFuture describeModifyParameterLog(DescribeModifyParameterLogRequest request);

    CompletableFuture describeNamespace(DescribeNamespaceRequest request);

    /**
      * This operation can be called to query the details of parameters in an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeParameters(DescribeParametersRequest request);

    /**
      * When you create AnalyticDB for PostgreSQL instances, you can call this operation to query the details of vSwitches within a specified region or zone.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeRdsVSwitchs(DescribeRdsVSwitchsRequest request);

    /**
      * When you create an AnalyticDB for PostgreSQL instance, you can call this operation to query the available VPCs within a specified region or zone.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeRdsVpcs(DescribeRdsVpcsRequest request);

    /**
      * Before you create an AnalyticDB for PostgreSQL instance, you must call this operation to query available regions and zones.
      * ## Limit
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeRegions(DescribeRegionsRequest request);

    CompletableFuture describeRoles(DescribeRolesRequest request);

    /**
      * This operation is not available for instances in reserved storage mode.
      *
     */
    CompletableFuture describeSQLLogCount(DescribeSQLLogCountRequest request);

    /**
      * > This operation is no longer used. To query SQL execution logs, call the [DescribeSQLLogsV2](~~453722~~) operation.
      *
     */
    CompletableFuture describeSQLLogs(DescribeSQLLogsRequest request);

    /**
      * You can call this operation to query SQL logs of an AnalyticDB for PostgreSQL instance within a specific time range.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeSQLLogsV2(DescribeSQLLogsV2Request request);

    /**
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeSampleData(DescribeSampleDataRequest request);

    CompletableFuture describeStreamingDataService(DescribeStreamingDataServiceRequest request);

    CompletableFuture describeStreamingDataSource(DescribeStreamingDataSourceRequest request);

    CompletableFuture describeStreamingJob(DescribeStreamingJobRequest request);

    CompletableFuture describeSupportFeatures(DescribeSupportFeaturesRequest request);

    CompletableFuture describeTable(DescribeTableRequest request);

    CompletableFuture describeTags(DescribeTagsRequest request);

    CompletableFuture describeUserEncryptionKeyList(DescribeUserEncryptionKeyListRequest request);

    /**
      * You can call this operation to query the details of a lock-waiting query only for an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeWaitingSQLInfo(DescribeWaitingSQLInfoRequest request);

    /**
      * You can call this operation to query the lock diagnostics records only for an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture describeWaitingSQLRecords(DescribeWaitingSQLRecordsRequest request);

    /**
      * *   You can call this operation only for AnalyticDB for PostgreSQL V6.0 instances in elastic storage mode whose minor version is V6.6.1.0 or later.
      * *   You can call this operation to disable resource group management only for AnalyticDB for PostgreSQL instances that are in the **Running** state.
      * *   **Note: When the resource management method is switched, your AnalyticDB for PostgreSQL instance restarts and becomes unavailable for approximately 5 minutes. To prevent your business from being affected, call this operation during off-peak hours.
      *
     */
    CompletableFuture disableDBResourceGroup(DisableDBResourceGroupRequest request);

    /**
      * You can call this operation to download the query diagnostic information of an AnalyticDB for PostgreSQL instance. After the download is complete, you can call the [DescribeDownloadRecords](~~447712~~) operation to query download records and download URLs.
      * This operation is available only for instances of V6.3.10.1 or later in elastic storage mode. For more information about how to view and update the minor engine version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture downloadDiagnosisRecords(DownloadDiagnosisRecordsRequest request);

    CompletableFuture downloadSQLLogsRecords(DownloadSQLLogsRecordsRequest request);

    /**
      * *   You can call this operation only for AnalyticDB for PostgreSQL V6.0 instances in elastic storage mode whose minor version is V6.6.1.0 or later.
      * *   You can call this operation to enable resource group management only for AnalyticDB for PostgreSQL instances that are in the **Running** state.
      * *   **Note: When the resource management mode is changed, your AnalyticDB for PostgreSQL instance is restarted and remains unavailable within 5 minutes. To prevent your business from being affected, call this operation during off-peak hours.
      *
     */
    CompletableFuture enableDBResourceGroup(EnableDBResourceGroupRequest request);

    CompletableFuture executeStatement(ExecuteStatementRequest request);

    CompletableFuture getSecretValue(GetSecretValueRequest request);

    /**
      * This operation is related to the UploadDocumentAsync operation. You can call the UploadDocumentAsync operation to create an upload job and obtain the job ID, and then call the GetUploadDocumentJob operation to query the execution information of the job.
      * >  Suggestions:
      * *   Determine whether the document upload job times out based on the document complexity and the number of tokens after chunking. In most cases, a job that lasts more than 2 hours is considered timeout.
      *
     */
    CompletableFuture getUploadDocumentJob(GetUploadDocumentJobRequest request);

    /**
      * This operation is related to the `UpsertCollectionDataAsync` operation. You can call the `UpsertCollectionDataAsync` operation to create an upload job and obtain a job ID, and then call the GetUpsertCollectionDataJob operation to query the execution information of the job.
      * >  We recommend that you evaluate the amount of time required for the upload job based on 1,000 data entries every second, and then query the job progress every 5 seconds. The timeout period can be set to 30 minutes after the evaluated amount of time.
      *
     */
    CompletableFuture getUpsertCollectionDataJob(GetUpsertCollectionDataJobRequest request);

    CompletableFuture grantCollection(GrantCollectionRequest request);

    CompletableFuture handleActiveSQLRecord(HandleActiveSQLRecordRequest request);

    CompletableFuture initVectorDatabase(InitVectorDatabaseRequest request);

    CompletableFuture listCollections(ListCollectionsRequest request);

    CompletableFuture listDatabases(ListDatabasesRequest request);

    CompletableFuture listDocumentCollections(ListDocumentCollectionsRequest request);

    CompletableFuture listDocuments(ListDocumentsRequest request);

    CompletableFuture listExternalDataServices(ListExternalDataServicesRequest request);

    CompletableFuture listExternalDataSources(ListExternalDataSourcesRequest request);

    CompletableFuture listInstanceExtensions(ListInstanceExtensionsRequest request);

    CompletableFuture listNamespaces(ListNamespacesRequest request);

    CompletableFuture listSchemas(ListSchemasRequest request);

    CompletableFuture listSecrets(ListSecretsRequest request);

    CompletableFuture listStreamingDataServices(ListStreamingDataServicesRequest request);

    CompletableFuture listStreamingDataSources(ListStreamingDataSourcesRequest request);

    CompletableFuture listStreamingJobs(ListStreamingJobsRequest request);

    CompletableFuture listTables(ListTablesRequest request);

    CompletableFuture listTagResources(ListTagResourcesRequest request);

    CompletableFuture modifyAccountDescription(ModifyAccountDescriptionRequest request);

    CompletableFuture modifyBackupPolicy(ModifyBackupPolicyRequest request);

    CompletableFuture modifyDBInstanceConfig(ModifyDBInstanceConfigRequest request);

    CompletableFuture modifyDBInstanceConnectionString(ModifyDBInstanceConnectionStringRequest request);

    /**
      * To make it easy to identify AnalyticDB for PostgreSQL instances, you can call this operation to modify the description of instances.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture modifyDBInstanceDescription(ModifyDBInstanceDescriptionRequest request);

    /**
      * The system maintains AnalyticDB for PostgreSQL instances during the maintenance window that you specify. We recommend that you set the maintenance window to off-peak hours to minimize the impact on your business.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture modifyDBInstanceMaintainTime(ModifyDBInstanceMaintainTimeRequest request);

    /**
      * Resource Management allows you to build an organizational structure for resources based on your business requirements. You can use resource directories, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see [What is Resource Management?](~~94475~~)
      *
     */
    CompletableFuture modifyDBInstanceResourceGroup(ModifyDBInstanceResourceGroupRequest request);

    CompletableFuture modifyDBInstanceSSL(ModifyDBInstanceSSLRequest request);

    CompletableFuture modifyDBResourceGroup(ModifyDBResourceGroupRequest request);

    CompletableFuture modifyExternalDataService(ModifyExternalDataServiceRequest request);

    CompletableFuture modifyHadoopDataSource(ModifyHadoopDataSourceRequest request);

    CompletableFuture modifyJDBCDataSource(ModifyJDBCDataSourceRequest request);

    /**
      * This operation is not available for instances in reserved storage mode.
      * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      *
     */
    CompletableFuture modifyMasterSpec(ModifyMasterSpecRequest request);

    /**
      * This operation can be called to modify parameters of an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture modifyParameters(ModifyParametersRequest request);

    CompletableFuture modifySQLCollectorPolicy(ModifySQLCollectorPolicyRequest request);

    /**
      * To ensure the security and stability of AnalyticDB for PostgreSQL instances, the system denies all external IP addresses to access AnalyticDB for PostgreSQL instances by default. Before you can use an AnalyticDB for PostgreSQL instance, you must add the IP address or CIDR block of your client to the IP address whitelist of the instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture modifySecurityIps(ModifySecurityIpsRequest request);

    CompletableFuture modifyStreamingDataService(ModifyStreamingDataServiceRequest request);

    CompletableFuture modifyStreamingDataSource(ModifyStreamingDataSourceRequest request);

    CompletableFuture modifyStreamingJob(ModifyStreamingJobRequest request);

    CompletableFuture modifyVectorConfiguration(ModifyVectorConfigurationRequest request);

    CompletableFuture pauseDataRedistribute(PauseDataRedistributeRequest request);

    /**
      * You can call this operation to pause an AnalyticDB for PostgreSQL instance that is in the **Running** state.
      * This operation is available only for AnalyticDB for PostgreSQL instances in Serverless mode that run V1.0.2.1 or later. For more information about how to view and update the minor engine version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      * >  Before you call this operation, make sure that you are familiar with the billing methods and pricing of AnalyticDB for PostgreSQL instances. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture pauseInstance(PauseInstanceRequest request);

    CompletableFuture queryCollectionData(QueryCollectionDataRequest request);

    CompletableFuture rebalanceDBInstance(RebalanceDBInstanceRequest request);

    CompletableFuture releaseInstancePublicConnection(ReleaseInstancePublicConnectionRequest request);

    CompletableFuture resetAccountPassword(ResetAccountPasswordRequest request);

    CompletableFuture resetIMVMonitorData(ResetIMVMonitorDataRequest request);

    /**
      * A restart takes about 3 to 30 minutes. During the restart, services are unavailable. We recommend that you restart the instance during off-peak hours. After the instance is restarted and enters the running state, you can access the instance.
      * ## Limit
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture restartDBInstance(RestartDBInstanceRequest request);

    CompletableFuture resumeDataRedistribute(ResumeDataRedistributeRequest request);

    /**
      * You can call this operation to resume an AnalyticDB for PostgreSQL instance that is in the **Paused** state.
      * This operation is available only for AnalyticDB for PostgreSQL instances in Serverless mode that run V1.0.2.1 or later. For more information about how to view and update the minor engine version of an instance, see [View the minor engine version](~~277424~~) and [Update the minor engine version](~~139271~~).
      * >  Before you call this operation, make sure that you are familiar with the billing methods and pricing of AnalyticDB for PostgreSQL instances. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture resumeInstance(ResumeInstanceRequest request);

    /**
      * You can call this operation to enable or disable a specified plan. The plan management feature is supported only for AnalyticDB for PostgreSQL instances in Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture setDBInstancePlanStatus(SetDBInstancePlanStatusRequest request);

    /**
      * This operation is called to enable or disable data sharing for an AnalyticDB for PostgreSQL instance in Serverless mode.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
      *
     */
    CompletableFuture setDataShareInstance(SetDataShareInstanceRequest request);

    /**
      * This operation is not supported for AnalyticDB for PostgreSQL instances in elastic storage mode or Serverless mode.
      *
     */
    CompletableFuture switchDBInstanceNetType(SwitchDBInstanceNetTypeRequest request);

    CompletableFuture tagResources(TagResourcesRequest request);

    CompletableFuture unbindDBResourceGroupWithRole(UnbindDBResourceGroupWithRoleRequest request);

    /**
      * You can call this operation to release a sample dataset from an AnalyticDB for PostgreSQL instance. You must have already loaded the sample dataset.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture unloadSampleData(UnloadSampleDataRequest request);

    CompletableFuture untagResources(UntagResourcesRequest request);

    CompletableFuture updateCollectionDataMetadata(UpdateCollectionDataMetadataRequest request);

    /**
      * You can call this operation to modify a plan for an AnalyticDB for PostgreSQL instance in Serverless mode. For example, you can modify a plan for periodically pausing and resuming an instance or scaling an instance.
      * ## Limits
      * You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
      *
     */
    CompletableFuture updateDBInstancePlan(UpdateDBInstancePlanRequest request);

    /**
      * This operation is not available for instances in reserved storage mode.
      * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](~~35406~~) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
      *
     */
    CompletableFuture upgradeDBInstance(UpgradeDBInstanceRequest request);

    CompletableFuture upgradeDBVersion(UpgradeDBVersionRequest request);

    CompletableFuture upgradeExtensions(UpgradeExtensionsRequest request);

    CompletableFuture upsertChunks(UpsertChunksRequest request);

    CompletableFuture upsertCollectionData(UpsertCollectionDataRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy